diff options
Diffstat (limited to 'keyboards/clueboard/66_hotswap')
-rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/gen1.c | 30 | ||||
-rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/keyboard.json | 73 |
2 files changed, 73 insertions, 30 deletions
diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.c b/keyboards/clueboard/66_hotswap/gen1/gen1.c index e13a05de05..e2da60b918 100644 --- a/keyboards/clueboard/66_hotswap/gen1/gen1.c +++ b/keyboards/clueboard/66_hotswap/gen1/gen1.c @@ -93,34 +93,4 @@ const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = { { 0, C5_14 }, // k96 KC_DOWN { 0, C5_15 } // k97 KC_RGHT }; - -led_config_t g_led_config = { - { - // Key Matrix to LED Index - { 0, 1, 2, 3, 4, 5, 6, 7 }, - { 15, 16, 17, 18, 19, 20, 21, 22 }, - { 30, 31, 32, 33, 34, 35, 36, 37 }, - { 43, NO_LED, 44, 45, 46, 47, 48, 49 }, - { 56, 57, 58, NO_LED, NO_LED, 60, 61, NO_LED }, - { 8, 9, 10, 11, 12, 13, NO_LED, 14 }, - { 23, 24, 25, 26, 27, 28, NO_LED, 29 }, - { 38, 39, 40, 41, NO_LED, 42, NO_LED, NO_LED }, - { 50, 51, 52, 53, NO_LED, 54, 55, NO_LED }, - { 64, NO_LED, 65, 66, 67, 68, 69, 70 } - }, { - // LED Index to Physical Position - { 0, 0 }, { 15, 0 }, { 29, 0 }, { 43, 0 }, { 58, 0 }, { 72, 0 }, { 87, 0 }, { 101, 0 }, { 116, 0 }, { 130, 0 }, { 145, 0 }, { 159, 0 }, { 173, 0 }, { 195, 0 }, { 224, 0 }, - { 4, 16 }, { 22, 16 }, { 36, 16 }, { 51, 16 }, { 65, 16 }, { 80, 16 }, { 94, 16 }, { 108, 16 }, { 123, 16 }, { 137, 16 }, { 152, 16 }, { 166, 16 }, { 181, 16 }, { 199, 16 }, { 224, 16 }, - { 5, 32 }, { 25, 32 }, { 40, 32 }, { 54, 32 }, { 69, 32 }, { 83, 32 }, { 98, 32 }, { 112, 32 }, { 126, 32 }, { 141, 32 }, { 155, 32 }, { 170, 32 }, { 184, 32 }, - { 16, 48 }, { 33, 48 }, { 47, 48 }, { 61, 48 }, { 76, 48 }, { 90, 48 }, { 105, 48 }, { 119, 48 }, { 134, 48 }, { 148, 48 }, { 163, 48 }, { 188, 48 }, { 210, 48 }, - { 9, 64 }, { 27, 64 }, { 45, 64 }, { 60, 64 }, { 74, 64 }, { 88, 64 }, { 103, 64 }, { 117, 64 }, { 136, 64 }, { 154, 64 }, { 168, 64 }, { 186, 64 }, { 195, 64 }, { 210, 64 }, { 224, 64 } - }, { - // LED Index to Flag - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - } -}; #endif diff --git a/keyboards/clueboard/66_hotswap/gen1/keyboard.json b/keyboards/clueboard/66_hotswap/gen1/keyboard.json index 17e47e66fe..de858443cc 100644 --- a/keyboards/clueboard/66_hotswap/gen1/keyboard.json +++ b/keyboards/clueboard/66_hotswap/gen1/keyboard.json @@ -39,6 +39,79 @@ "wave_left_right": true, "wave_up_down": true }, + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 1}, + {"matrix": [0, 1], "x": 15, "y": 0, "flags": 4}, + {"matrix": [0, 2], "x": 29, "y": 0, "flags": 4}, + {"matrix": [0, 3], "x": 43, "y": 0, "flags": 4}, + {"matrix": [0, 4], "x": 58, "y": 0, "flags": 4}, + {"matrix": [0, 5], "x": 72, "y": 0, "flags": 4}, + {"matrix": [0, 6], "x": 87, "y": 0, "flags": 4}, + {"matrix": [0, 7], "x": 101, "y": 0, "flags": 4}, + {"matrix": [5, 0], "x": 116, "y": 0, "flags": 4}, + {"matrix": [5, 1], "x": 130, "y": 0, "flags": 4}, + {"matrix": [5, 2], "x": 145, "y": 0, "flags": 4}, + {"matrix": [5, 3], "x": 159, "y": 0, "flags": 4}, + {"matrix": [5, 4], "x": 173, "y": 0, "flags": 4}, + {"matrix": [5, 5], "x": 195, "y": 0, "flags": 1}, + {"matrix": [5, 7], "x": 224, "y": 0, "flags": 1}, + {"matrix": [1, 0], "x": 4, "y": 16, "flags": 1}, + {"matrix": [1, 1], "x": 22, "y": 16, "flags": 4}, + {"matrix": [1, 2], "x": 36, "y": 16, "flags": 4}, + {"matrix": [1, 3], "x": 51, "y": 16, "flags": 4}, + {"matrix": [1, 4], "x": 65, "y": 16, "flags": 4}, + {"matrix": [1, 5], "x": 80, "y": 16, "flags": 4}, + {"matrix": [1, 6], "x": 94, "y": 16, "flags": 4}, + {"matrix": [1, 7], "x": 108, "y": 16, "flags": 4}, + {"matrix": [6, 0], "x": 123, "y": 16, "flags": 4}, + {"matrix": [6, 1], "x": 137, "y": 16, "flags": 4}, + {"matrix": [6, 2], "x": 152, "y": 16, "flags": 4}, + {"matrix": [6, 3], "x": 166, "y": 16, "flags": 4}, + {"matrix": [6, 4], "x": 181, "y": 16, "flags": 4}, + {"matrix": [6, 5], "x": 199, "y": 16, "flags": 1}, + {"matrix": [6, 7], "x": 224, "y": 16, "flags": 1}, + {"matrix": [2, 0], "x": 5, "y": 32, "flags": 1}, + {"matrix": [2, 1], "x": 25, "y": 32, "flags": 4}, + {"matrix": [2, 2], "x": 40, "y": 32, "flags": 4}, + {"matrix": [2, 3], "x": 54, "y": 32, "flags": 4}, + {"matrix": [2, 4], "x": 69, "y": 32, "flags": 4}, + {"matrix": [2, 5], "x": 83, "y": 32, "flags": 4}, + {"matrix": [2, 6], "x": 98, "y": 32, "flags": 4}, + {"matrix": [2, 7], "x": 112, "y": 32, "flags": 4}, + {"matrix": [7, 0], "x": 126, "y": 32, "flags": 4}, + {"matrix": [7, 1], "x": 141, "y": 32, "flags": 4}, + {"matrix": [7, 2], "x": 155, "y": 32, "flags": 4}, + {"matrix": [7, 3], "x": 170, "y": 32, "flags": 4}, + {"matrix": [7, 5], "x": 184, "y": 32, "flags": 1}, + {"matrix": [3, 0], "x": 16, "y": 48, "flags": 1}, + {"matrix": [3, 2], "x": 33, "y": 48, "flags": 4}, + {"matrix": [3, 3], "x": 47, "y": 48, "flags": 4}, + {"matrix": [3, 4], "x": 61, "y": 48, "flags": 4}, + {"matrix": [3, 5], "x": 76, "y": 48, "flags": 4}, + {"matrix": [3, 6], "x": 90, "y": 48, "flags": 4}, + {"matrix": [3, 7], "x": 105, "y": 48, "flags": 4}, + {"matrix": [8, 0], "x": 119, "y": 48, "flags": 4}, + {"matrix": [8, 1], "x": 134, "y": 48, "flags": 4}, + {"matrix": [8, 2], "x": 148, "y": 48, "flags": 4}, + {"matrix": [8, 3], "x": 163, "y": 48, "flags": 4}, + {"matrix": [8, 5], "x": 188, "y": 48, "flags": 1}, + {"matrix": [8, 6], "x": 210, "y": 48, "flags": 1}, + {"matrix": [4, 0], "x": 9, "y": 64, "flags": 1}, + {"matrix": [4, 1], "x": 27, "y": 64, "flags": 1}, + {"matrix": [4, 2], "x": 45, "y": 64, "flags": 1}, + {"x": 60, "y": 64, "flags": 1}, + {"matrix": [4, 5], "x": 74, "y": 64, "flags": 1}, + {"matrix": [4, 6], "x": 88, "y": 64, "flags": 1}, + {"x": 103, "y": 64, "flags": 1}, + {"x": 117, "y": 64, "flags": 1}, + {"matrix": [9, 0], "x": 136, "y": 64, "flags": 1}, + {"matrix": [9, 2], "x": 154, "y": 64, "flags": 1}, + {"matrix": [9, 3], "x": 168, "y": 64, "flags": 1}, + {"matrix": [9, 4], "x": 186, "y": 64, "flags": 1}, + {"matrix": [9, 5], "x": 195, "y": 64, "flags": 1}, + {"matrix": [9, 6], "x": 210, "y": 64, "flags": 1}, + {"matrix": [9, 7], "x": 224, "y": 64, "flags": 1} + ], "driver": "is31fl3731" }, "matrix_pins": { |