port rebound: add supports for 1.5u mods (#406)

This commit is contained in:
Dong Zhou 2023-03-12 17:00:14 -04:00 committed by GitHub
parent bdf741cbe5
commit f979841cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 10 deletions

View File

@ -5,8 +5,8 @@
#define VIAL_KEYBOARD_UID {0xAE, 0x02, 0xAA, 0xA7, 0xC0, 0x1D, 0xFF, 0xE3} #define VIAL_KEYBOARD_UID {0xAE, 0x02, 0xAA, 0xA7, 0xC0, 0x1D, 0xFF, 0xE3}
/* delete these two lines if you have newer wiring than 4.3 */ /* delete these two lines if you have newer wiring than 4.3 */
#undef MATRIX_ROW_PINS /* #undef MATRIX_ROW_PINS */
#define MATRIX_ROW_PINS { D5, B7, D4, C6, F7, F6, F5, F4 } /* #define MATRIX_ROW_PINS { D5, B7, D4, C6, F7, F6, F5, F4 } */
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1} #define VIAL_UNLOCK_COMBO_ROWS { 0, 1}
#define VIAL_UNLOCK_COMBO_COLS { 0, 0 } #define VIAL_UNLOCK_COMBO_COLS { 0, 0 }

View File

@ -5,7 +5,7 @@
"lighting": "qmk_rgblight", "lighting": "qmk_rgblight",
"matrix": {"rows": 8, "cols": 7}, "matrix": {"rows": 8, "cols": 7},
"layouts": { "layouts": {
"labels":["2u space"], "labels":["2u space", "1.5u mods"],
"keymap": "keymap":
[ [
[ [
@ -105,9 +105,9 @@
"c": "#aaaaaa" "c": "#aaaaaa"
}, },
"3,0", "3,0",
"4,0", "4,0\n\n\n1,0",
"3,1", "3,1\n\n\n1,0",
"4,1", "4,1\n\n\n1,0",
"3,2\n\n\n0,0", "3,2\n\n\n0,0",
{ {
"c": "#cccccc" "c": "#cccccc"
@ -143,7 +143,15 @@
[ [
{ {
"y": -0.75, "y": -0.75,
"x": 6.5, "x": 3.5,
"w": 1.5
},
"4,0\n\n\n1,1",
{
"w": 1.5
},
"4,1\n\n\n1,1",
{
"w": 2 "w": 2
}, },
"4,2\n\n\n0,1", "4,2\n\n\n0,1",
@ -151,10 +159,18 @@
"x": 3.5, "x": 3.5,
"w": 2 "w": 2
}, },
"3,4\n\n\n0,1" "3,4\n\n\n0,1",
{
"w": 1.5
},
"3,5\n\n\n1,1",
{
"w": 1.5
},
"3,6\n\n\n1,1"
] ]
] ]
} }
} }