diff options
Diffstat (limited to 'keyboards/donutcables/scrabblepad')
-rw-r--r-- | keyboards/donutcables/scrabblepad/config.h | 17 | ||||
-rw-r--r-- | keyboards/donutcables/scrabblepad/info.json | 247 | ||||
-rw-r--r-- | keyboards/donutcables/scrabblepad/scrabblepad.c | 16 | ||||
-rw-r--r-- | keyboards/donutcables/scrabblepad/scrabblepad.h | 53 |
4 files changed, 246 insertions, 87 deletions
diff --git a/keyboards/donutcables/scrabblepad/config.h b/keyboards/donutcables/scrabblepad/config.h index dc6d1fc84a..76f004028f 100644 --- a/keyboards/donutcables/scrabblepad/config.h +++ b/keyboards/donutcables/scrabblepad/config.h @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { D5, F1, C7, F2, C6, F3, C5, F4, C4, F5, C3, F6, C2, F7, C1 } -#define MATRIX_COL_PINS { D6, D7, E0, E1, B7, D2, D3, D4, C0, B4, B5, B6, F0, E6, E7 } - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/donutcables/scrabblepad/info.json b/keyboards/donutcables/scrabblepad/info.json index 0f805c7057..8642865cd9 100644 --- a/keyboards/donutcables/scrabblepad/info.json +++ b/keyboards/donutcables/scrabblepad/info.json @@ -8,11 +8,256 @@ "pid": "0x21D7", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["D6", "D7", "E0", "E1", "B7", "D2", "D3", "D4", "C0", "B4", "B5", "B6", "F0", "E6", "E7"], + "rows": ["D5", "F1", "C7", "F2", "C6", "F3", "C5", "F4", "C4", "F5", "C3", "F6", "C2", "F7", "C1"] + }, + "diode_direction": "COL2ROW", "processor": "at90usb1286", "bootloader": "halfkay", "layouts": { "LAYOUT": { - "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}, {"x":6, "y":4}, {"x":7, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}, {"x":0, "y":5}, {"x":1, "y":5}, {"x":2, "y":5}, {"x":3, "y":5}, {"x":4, "y":5}, {"x":5, "y":5}, {"x":6, "y":5}, {"x":7, "y":5}, {"x":8, "y":5}, {"x":9, "y":5}, {"x":10, "y":5}, {"x":11, "y":5}, {"x":12, "y":5}, {"x":13, "y":5}, {"x":14, "y":5}, {"x":0, "y":6}, {"x":1, "y":6}, {"x":2, "y":6}, {"x":3, "y":6}, {"x":4, "y":6}, {"x":5, "y":6}, {"x":6, "y":6}, {"x":7, "y":6}, {"x":8, "y":6}, {"x":9, "y":6}, {"x":10, "y":6}, {"x":11, "y":6}, {"x":12, "y":6}, {"x":13, "y":6}, {"x":14, "y":6}, {"x":0, "y":7}, {"x":1, "y":7}, {"x":2, "y":7}, {"x":3, "y":7}, {"x":4, "y":7}, {"x":5, "y":7}, {"x":6, "y":7}, {"x":7, "y":7}, {"x":8, "y":7}, {"x":9, "y":7}, {"x":10, "y":7}, {"x":11, "y":7}, {"x":12, "y":7}, {"x":13, "y":7}, {"x":14, "y":7}, {"x":0, "y":8}, {"x":1, "y":8}, {"x":2, "y":8}, {"x":3, "y":8}, {"x":4, "y":8}, {"x":5, "y":8}, {"x":6, "y":8}, {"x":7, "y":8}, {"x":8, "y":8}, {"x":9, "y":8}, {"x":10, "y":8}, {"x":11, "y":8}, {"x":12, "y":8}, {"x":13, "y":8}, {"x":14, "y":8}, {"x":0, "y":9}, {"x":1, "y":9}, {"x":2, "y":9}, {"x":3, "y":9}, {"x":4, "y":9}, {"x":5, "y":9}, {"x":6, "y":9}, {"x":7, "y":9}, {"x":8, "y":9}, {"x":9, "y":9}, {"x":10, "y":9}, {"x":11, "y":9}, {"x":12, "y":9}, {"x":13, "y":9}, {"x":14, "y":9}, {"x":0, "y":10}, {"x":1, "y":10}, {"x":2, "y":10}, {"x":3, "y":10}, {"x":4, "y":10}, {"x":5, "y":10}, {"x":6, "y":10}, {"x":7, "y":10}, {"x":8, "y":10}, {"x":9, "y":10}, {"x":10, "y":10}, {"x":11, "y":10}, {"x":12, "y":10}, {"x":13, "y":10}, {"x":14, "y":10}, {"x":0, "y":11}, {"x":1, "y":11}, {"x":2, "y":11}, {"x":3, "y":11}, {"x":4, "y":11}, {"x":5, "y":11}, {"x":6, "y":11}, {"x":7, "y":11}, {"x":8, "y":11}, {"x":9, "y":11}, {"x":10, "y":11}, {"x":11, "y":11}, {"x":12, "y":11}, {"x":13, "y":11}, {"x":14, "y":11}, {"x":0, "y":12}, {"x":1, "y":12}, {"x":2, "y":12}, {"x":3, "y":12}, {"x":4, "y":12}, {"x":5, "y":12}, {"x":6, "y":12}, {"x":7, "y":12}, {"x":8, "y":12}, {"x":9, "y":12}, {"x":10, "y":12}, {"x":11, "y":12}, {"x":12, "y":12}, {"x":13, "y":12}, {"x":14, "y":12}, {"x":0, "y":13}, {"x":1, "y":13}, {"x":2, "y":13}, {"x":3, "y":13}, {"x":4, "y":13}, {"x":5, "y":13}, {"x":6, "y":13}, {"x":7, "y":13}, {"x":8, "y":13}, {"x":9, "y":13}, {"x":10, "y":13}, {"x":11, "y":13}, {"x":12, "y":13}, {"x":13, "y":13}, {"x":14, "y":13}, {"x":0, "y":14}, {"x":1, "y":14}, {"x":2, "y":14}, {"x":3, "y":14}, {"x":4, "y":14}, {"x":5, "y":14}, {"x":6, "y":14}, {"x":7, "y":14}, {"x":8, "y":14}, {"x":9, "y":14}, {"x":10, "y":14}, {"x":11, "y":14}, {"x":12, "y":14}, {"x":13, "y":14}, {"x":14, "y":14}] + "layout": [ + {"label": "k00", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "k01", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "k02", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "k03", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "k04", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "k05", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "k06", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "k07", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "k08", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "k09", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "k0A", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "k0B", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "k0C", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "k0D", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "k0E", "matrix": [0, 14], "x": 14, "y": 0}, + + {"label": "k10", "matrix": [1, 0], "x": 0, "y": 1}, + {"label": "k11", "matrix": [1, 1], "x": 1, "y": 1}, + {"label": "k12", "matrix": [1, 2], "x": 2, "y": 1}, + {"label": "k13", "matrix": [1, 3], "x": 3, "y": 1}, + {"label": "k14", "matrix": [1, 4], "x": 4, "y": 1}, + {"label": "k15", "matrix": [1, 5], "x": 5, "y": 1}, + {"label": "k16", "matrix": [1, 6], "x": 6, "y": 1}, + {"label": "k17", "matrix": [1, 7], "x": 7, "y": 1}, + {"label": "k18", "matrix": [1, 8], "x": 8, "y": 1}, + {"label": "k19", "matrix": [1, 9], "x": 9, "y": 1}, + {"label": "k1A", "matrix": [1, 10], "x": 10, "y": 1}, + {"label": "k1B", "matrix": [1, 11], "x": 11, "y": 1}, + {"label": "k1C", "matrix": [1, 12], "x": 12, "y": 1}, + {"label": "k1D", "matrix": [1, 13], "x": 13, "y": 1}, + {"label": "k1E", "matrix": [1, 14], "x": 14, "y": 1}, + + {"label": "k20", "matrix": [2, 0], "x": 0, "y": 2}, + {"label": "k21", "matrix": [2, 1], "x": 1, "y": 2}, + {"label": "k22", "matrix": [2, 2], "x": 2, "y": 2}, + {"label": "k23", "matrix": [2, 3], "x": 3, "y": 2}, + {"label": "k24", "matrix": [2, 4], "x": 4, "y": 2}, + {"label": "k25", "matrix": [2, 5], "x": 5, "y": 2}, + {"label": "k26", "matrix": [2, 6], "x": 6, "y": 2}, + {"label": "k27", "matrix": [2, 7], "x": 7, "y": 2}, + {"label": "k28", "matrix": [2, 8], "x": 8, "y": 2}, + {"label": "k29", "matrix": [2, 9], "x": 9, "y": 2}, + {"label": "k2A", "matrix": [2, 10], "x": 10, "y": 2}, + {"label": "k2B", "matrix": [2, 11], "x": 11, "y": 2}, + {"label": "k2C", "matrix": [2, 12], "x": 12, "y": 2}, + {"label": "k2D", "matrix": [2, 13], "x": 13, "y": 2}, + {"label": "k2E", "matrix": [2, 14], "x": 14, "y": 2}, + + {"label": "k30", "matrix": [3, 0], "x": 0, "y": 3}, + {"label": "k31", "matrix": [3, 1], "x": 1, "y": 3}, + {"label": "k32", "matrix": [3, 2], "x": 2, "y": 3}, + {"label": "k33", "matrix": [3, 3], "x": 3, "y": 3}, + {"label": "k34", "matrix": [3, 4], "x": 4, "y": 3}, + {"label": "k35", "matrix": [3, 5], "x": 5, "y": 3}, + {"label": "k36", "matrix": [3, 6], "x": 6, "y": 3}, + {"label": "k37", "matrix": [3, 7], "x": 7, "y": 3}, + {"label": "k38", "matrix": [3, 8], "x": 8, "y": 3}, + {"label": "k39", "matrix": [3, 9], "x": 9, "y": 3}, + {"label": "k3A", "matrix": [3, 10], "x": 10, "y": 3}, + {"label": "k3B", "matrix": [3, 11], "x": 11, "y": 3}, + {"label": "k3C", "matrix": [3, 12], "x": 12, "y": 3}, + {"label": "k3D", "matrix": [3, 13], "x": 13, "y": 3}, + {"label": "k3E", "matrix": [3, 14], "x": 14, "y": 3}, + + {"label": "k40", "matrix": [4, 0], "x": 0, "y": 4}, + {"label": "k41", "matrix": [4, 1], "x": 1, "y": 4}, + {"label": "k42", "matrix": [4, 2], "x": 2, "y": 4}, + {"label": "k43", "matrix": [4, 3], "x": 3, "y": 4}, + {"label": "k44", "matrix": [4, 4], "x": 4, "y": 4}, + {"label": "k45", "matrix": [4, 5], "x": 5, "y": 4}, + {"label": "k46", "matrix": [4, 6], "x": 6, "y": 4}, + {"label": "k47", "matrix": [4, 7], "x": 7, "y": 4}, + {"label": "k48", "matrix": [4, 8], "x": 8, "y": 4}, + {"label": "k49", "matrix": [4, 9], "x": 9, "y": 4}, + {"label": "k4A", "matrix": [4, 10], "x": 10, "y": 4}, + {"label": "k4B", "matrix": [4, 11], "x": 11, "y": 4}, + {"label": "k4C", "matrix": [4, 12], "x": 12, "y": 4}, + {"label": "k4D", "matrix": [4, 13], "x": 13, "y": 4}, + {"label": "k4E", "matrix": [4, 14], "x": 14, "y": 4}, + + {"label": "k50", "matrix": [5, 0], "x": 0, "y": 5}, + {"label": "k51", "matrix": [5, 1], "x": 1, "y": 5}, + {"label": "k52", "matrix": [5, 2], "x": 2, "y": 5}, + {"label": "k53", "matrix": [5, 3], "x": 3, "y": 5}, + {"label": "k54", "matrix": [5, 4], "x": 4, "y": 5}, + {"label": "k55", "matrix": [5, 5], "x": 5, "y": 5}, + {"label": "k56", "matrix": [5, 6], "x": 6, "y": 5}, + {"label": "k57", "matrix": [5, 7], "x": 7, "y": 5}, + {"label": "k58", "matrix": [5, 8], "x": 8, "y": 5}, + {"label": "k59", "matrix": [5, 9], "x": 9, "y": 5}, + {"label": "k5A", "matrix": [5, 10], "x": 10, "y": 5}, + {"label": "k5B", "matrix": [5, 11], "x": 11, "y": 5}, + {"label": "k5C", "matrix": [5, 12], "x": 12, "y": 5}, + {"label": "k5D", "matrix": [5, 13], "x": 13, "y": 5}, + {"label": "k5E", "matrix": [5, 14], "x": 14, "y": 5}, + + {"label": "k60", "matrix": [6, 0], "x": 0, "y": 6}, + {"label": "k61", "matrix": [6, 1], "x": 1, "y": 6}, + {"label": "k62", "matrix": [6, 2], "x": 2, "y": 6}, + {"label": "k63", "matrix": [6, 3], "x": 3, "y": 6}, + {"label": "k64", "matrix": [6, 4], "x": 4, "y": 6}, + {"label": "k65", "matrix": [6, 5], "x": 5, "y": 6}, + {"label": "k66", "matrix": [6, 6], "x": 6, "y": 6}, + {"label": "k67", "matrix": [6, 7], "x": 7, "y": 6}, + {"label": "k68", "matrix": [6, 8], "x": 8, "y": 6}, + {"label": "k69", "matrix": [6, 9], "x": 9, "y": 6}, + {"label": "k6A", "matrix": [6, 10], "x": 10, "y": 6}, + {"label": "k6B", "matrix": [6, 11], "x": 11, "y": 6}, + {"label": "k6C", "matrix": [6, 12], "x": 12, "y": 6}, + {"label": "k6D", "matrix": [6, 13], "x": 13, "y": 6}, + {"label": "k6E", "matrix": [6, 14], "x": 14, "y": 6}, + + {"label": "k70", "matrix": [7, 0], "x": 0, "y": 7}, + {"label": "k71", "matrix": [7, 1], "x": 1, "y": 7}, + {"label": "k72", "matrix": [7, 2], "x": 2, "y": 7}, + {"label": "k73", "matrix": [7, 3], "x": 3, "y": 7}, + {"label": "k74", "matrix": [7, 4], "x": 4, "y": 7}, + {"label": "k75", "matrix": [7, 5], "x": 5, "y": 7}, + {"label": "k76", "matrix": [7, 6], "x": 6, "y": 7}, + {"label": "k77", "matrix": [7, 7], "x": 7, "y": 7}, + {"label": "k78", "matrix": [7, 8], "x": 8, "y": 7}, + {"label": "k79", "matrix": [7, 9], "x": 9, "y": 7}, + {"label": "k7A", "matrix": [7, 10], "x": 10, "y": 7}, + {"label": "k7B", "matrix": [7, 11], "x": 11, "y": 7}, + {"label": "k7C", "matrix": [7, 12], "x": 12, "y": 7}, + {"label": "k7D", "matrix": [7, 13], "x": 13, "y": 7}, + {"label": "k7E", "matrix": [7, 14], "x": 14, "y": 7}, + + {"label": "k80", "matrix": [8, 0], "x": 0, "y": 8}, + {"label": "k81", "matrix": [8, 1], "x": 1, "y": 8}, + {"label": "k82", "matrix": [8, 2], "x": 2, "y": 8}, + {"label": "k83", "matrix": [8, 3], "x": 3, "y": 8}, + {"label": "k84", "matrix": [8, 4], "x": 4, "y": 8}, + {"label": "k85", "matrix": [8, 5], "x": 5, "y": 8}, + {"label": "k86", "matrix": [8, 6], "x": 6, "y": 8}, + {"label": "k87", "matrix": [8, 7], "x": 7, "y": 8}, + {"label": "k88", "matrix": [8, 8], "x": 8, "y": 8}, + {"label": "k89", "matrix": [8, 9], "x": 9, "y": 8}, + {"label": "k8A", "matrix": [8, 10], "x": 10, "y": 8}, + {"label": "k8B", "matrix": [8, 11], "x": 11, "y": 8}, + {"label": "k8C", "matrix": [8, 12], "x": 12, "y": 8}, + {"label": "k8D", "matrix": [8, 13], "x": 13, "y": 8}, + {"label": "k8E", "matrix": [8, 14], "x": 14, "y": 8}, + + {"label": "k90", "matrix": [9, 0], "x": 0, "y": 9}, + {"label": "k91", "matrix": [9, 1], "x": 1, "y": 9}, + {"label": "k92", "matrix": [9, 2], "x": 2, "y": 9}, + {"label": "k93", "matrix": [9, 3], "x": 3, "y": 9}, + {"label": "k94", "matrix": [9, 4], "x": 4, "y": 9}, + {"label": "k95", "matrix": [9, 5], "x": 5, "y": 9}, + {"label": "k96", "matrix": [9, 6], "x": 6, "y": 9}, + {"label": "k97", "matrix": [9, 7], "x": 7, "y": 9}, + {"label": "k98", "matrix": [9, 8], "x": 8, "y": 9}, + {"label": "k99", "matrix": [9, 9], "x": 9, "y": 9}, + {"label": "k9A", "matrix": [9, 10], "x": 10, "y": 9}, + {"label": "k9B", "matrix": [9, 11], "x": 11, "y": 9}, + {"label": "k9C", "matrix": [9, 12], "x": 12, "y": 9}, + {"label": "k9D", "matrix": [9, 13], "x": 13, "y": 9}, + {"label": "k9E", "matrix": [9, 14], "x": 14, "y": 9}, + + {"label": "kA0", "matrix": [10, 0], "x": 0, "y": 10}, + {"label": "kA1", "matrix": [10, 1], "x": 1, "y": 10}, + {"label": "kA2", "matrix": [10, 2], "x": 2, "y": 10}, + {"label": "kA3", "matrix": [10, 3], "x": 3, "y": 10}, + {"label": "kA4", "matrix": [10, 4], "x": 4, "y": 10}, + {"label": "kA5", "matrix": [10, 5], "x": 5, "y": 10}, + {"label": "kA6", "matrix": [10, 6], "x": 6, "y": 10}, + {"label": "kA7", "matrix": [10, 7], "x": 7, "y": 10}, + {"label": "kA8", "matrix": [10, 8], "x": 8, "y": 10}, + {"label": "kA9", "matrix": [10, 9], "x": 9, "y": 10}, + {"label": "kAA", "matrix": [10, 10], "x": 10, "y": 10}, + {"label": "kAB", "matrix": [10, 11], "x": 11, "y": 10}, + {"label": "kAC", "matrix": [10, 12], "x": 12, "y": 10}, + {"label": "kAD", "matrix": [10, 13], "x": 13, "y": 10}, + {"label": "kAE", "matrix": [10, 14], "x": 14, "y": 10}, + + {"label": "kB0", "matrix": [11, 0], "x": 0, "y": 11}, + {"label": "kB1", "matrix": [11, 1], "x": 1, "y": 11}, + {"label": "kB2", "matrix": [11, 2], "x": 2, "y": 11}, + {"label": "kB3", "matrix": [11, 3], "x": 3, "y": 11}, + {"label": "kB4", "matrix": [11, 4], "x": 4, "y": 11}, + {"label": "kB5", "matrix": [11, 5], "x": 5, "y": 11}, + {"label": "kB6", "matrix": [11, 6], "x": 6, "y": 11}, + {"label": "kB7", "matrix": [11, 7], "x": 7, "y": 11}, + {"label": "kB8", "matrix": [11, 8], "x": 8, "y": 11}, + {"label": "kB9", "matrix": [11, 9], "x": 9, "y": 11}, + {"label": "kBA", "matrix": [11, 10], "x": 10, "y": 11}, + {"label": "kBB", "matrix": [11, 11], "x": 11, "y": 11}, + {"label": "kBC", "matrix": [11, 12], "x": 12, "y": 11}, + {"label": "kBD", "matrix": [11, 13], "x": 13, "y": 11}, + {"label": "kBE", "matrix": [11, 14], "x": 14, "y": 11}, + + {"label": "kC0", "matrix": [12, 0], "x": 0, "y": 12}, + {"label": "kC1", "matrix": [12, 1], "x": 1, "y": 12}, + {"label": "kC2", "matrix": [12, 2], "x": 2, "y": 12}, + {"label": "kC3", "matrix": [12, 3], "x": 3, "y": 12}, + {"label": "kC4", "matrix": [12, 4], "x": 4, "y": 12}, + {"label": "kC5", "matrix": [12, 5], "x": 5, "y": 12}, + {"label": "kC6", "matrix": [12, 6], "x": 6, "y": 12}, + {"label": "kC7", "matrix": [12, 7], "x": 7, "y": 12}, + {"label": "kC8", "matrix": [12, 8], "x": 8, "y": 12}, + {"label": "kC9", "matrix": [12, 9], "x": 9, "y": 12}, + {"label": "kCA", "matrix": [12, 10], "x": 10, "y": 12}, + {"label": "kCB", "matrix": [12, 11], "x": 11, "y": 12}, + {"label": "kCC", "matrix": [12, 12], "x": 12, "y": 12}, + {"label": "kCD", "matrix": [12, 13], "x": 13, "y": 12}, + {"label": "kCE", "matrix": [12, 14], "x": 14, "y": 12}, + + {"label": "kD0", "matrix": [13, 0], "x": 0, "y": 13}, + {"label": "kD1", "matrix": [13, 1], "x": 1, "y": 13}, + {"label": "kD2", "matrix": [13, 2], "x": 2, "y": 13}, + {"label": "kD3", "matrix": [13, 3], "x": 3, "y": 13}, + {"label": "kD4", "matrix": [13, 4], "x": 4, "y": 13}, + {"label": "kD5", "matrix": [13, 5], "x": 5, "y": 13}, + {"label": "kD6", "matrix": [13, 6], "x": 6, "y": 13}, + {"label": "kD7", "matrix": [13, 7], "x": 7, "y": 13}, + {"label": "kD8", "matrix": [13, 8], "x": 8, "y": 13}, + {"label": "kD9", "matrix": [13, 9], "x": 9, "y": 13}, + {"label": "kDA", "matrix": [13, 10], "x": 10, "y": 13}, + {"label": "kDB", "matrix": [13, 11], "x": 11, "y": 13}, + {"label": "kDC", "matrix": [13, 12], "x": 12, "y": 13}, + {"label": "kDD", "matrix": [13, 13], "x": 13, "y": 13}, + {"label": "kDE", "matrix": [13, 14], "x": 14, "y": 13}, + + {"label": "kE0", "matrix": [14, 0], "x": 0, "y": 14}, + {"label": "kE1", "matrix": [14, 1], "x": 1, "y": 14}, + {"label": "kE2", "matrix": [14, 2], "x": 2, "y": 14}, + {"label": "kE3", "matrix": [14, 3], "x": 3, "y": 14}, + {"label": "kE4", "matrix": [14, 4], "x": 4, "y": 14}, + {"label": "kE5", "matrix": [14, 5], "x": 5, "y": 14}, + {"label": "kE6", "matrix": [14, 6], "x": 6, "y": 14}, + {"label": "kE7", "matrix": [14, 7], "x": 7, "y": 14}, + {"label": "kE8", "matrix": [14, 8], "x": 8, "y": 14}, + {"label": "kE9", "matrix": [14, 9], "x": 9, "y": 14}, + {"label": "kEA", "matrix": [14, 10], "x": 10, "y": 14}, + {"label": "kEB", "matrix": [14, 11], "x": 11, "y": 14}, + {"label": "kEC", "matrix": [14, 12], "x": 12, "y": 14}, + {"label": "kED", "matrix": [14, 13], "x": 13, "y": 14}, + {"label": "kEE", "matrix": [14, 14], "x": 14, "y": 14} + ] } } } diff --git a/keyboards/donutcables/scrabblepad/scrabblepad.c b/keyboards/donutcables/scrabblepad/scrabblepad.c deleted file mode 100644 index 88e60fea26..0000000000 --- a/keyboards/donutcables/scrabblepad/scrabblepad.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2021 DonutCables <contact@donutcables.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include "scrabblepad.h" diff --git a/keyboards/donutcables/scrabblepad/scrabblepad.h b/keyboards/donutcables/scrabblepad/scrabblepad.h deleted file mode 100644 index f27d990eb2..0000000000 --- a/keyboards/donutcables/scrabblepad/scrabblepad.h +++ /dev/null @@ -1,53 +0,0 @@ -/* Copyright 2021 DonutCables <contact@donutcables.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \ - k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, \ - k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, \ - k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, \ - k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5A, k5B, k5C, k5D, k5E, \ - k60, k61, k62, k63, k64, k65, k66, k67, k68, k69, k6A, k6B, k6C, k6D, k6E, \ - k70, k71, k72, k73, k74, k75, k76, k77, k78, k79, k7A, k7B, k7C, k7D, k7E, \ - k80, k81, k82, k83, k84, k85, k86, k87, k88, k89, k8A, k8B, k8C, k8D, k8E, \ - k90, k91, k92, k93, k94, k95, k96, k97, k98, k99, k9A, k9B, k9C, k9D, k9E, \ - kA0, kA1, kA2, kA3, kA4, kA5, kA6, kA7, kA8, kA9, kAA, kAB, kAC, kAD, kAE, \ - kB0, kB1, kB2, kB3, kB4, kB5, kB6, kB7, kB8, kB9, kBA, kBB, kBC, kBD, kBE, \ - kC0, kC1, kC2, kC3, kC4, kC5, kC6, kC7, kC8, kC9, kCA, kCB, kCC, kCD, kCE, \ - kD0, kD1, kD2, kD3, kD4, kD5, kD6, kD7, kD8, kD9, kDA, kDB, kDC, kDD, kDE, \ - kE0, kE1, kE2, kE3, kE4, kE5, kE6, kE7, kE8, kE9, kEA, kEB, kEC, kED, kEE \ -) \ -{ \ - { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, }, \ - { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, }, \ - { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, }, \ - { k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5A, k5B, k5C, k5D, k5E, }, \ - { k60, k61, k62, k63, k64, k65, k66, k67, k68, k69, k6A, k6B, k6C, k6D, k6E, }, \ - { k70, k71, k72, k73, k74, k75, k76, k77, k78, k79, k7A, k7B, k7C, k7D, k7E, }, \ - { k80, k81, k82, k83, k84, k85, k86, k87, k88, k89, k8A, k8B, k8C, k8D, k8E, }, \ - { k90, k91, k92, k93, k94, k95, k96, k97, k98, k99, k9A, k9B, k9C, k9D, k9E, }, \ - { kA0, kA1, kA2, kA3, kA4, kA5, kA6, kA7, kA8, kA9, kAA, kAB, kAC, kAD, kAE, }, \ - { kB0, kB1, kB2, kB3, kB4, kB5, kB6, kB7, kB8, kB9, kBA, kBB, kBC, kBD, kBE, }, \ - { kC0, kC1, kC2, kC3, kC4, kC5, kC6, kC7, kC8, kC9, kCA, kCB, kCC, kCD, kCE, }, \ - { kD0, kD1, kD2, kD3, kD4, kD5, kD6, kD7, kD8, kD9, kDA, kDB, kDC, kDD, kDE, }, \ - { kE0, kE1, kE2, kE3, kE4, kE5, kE6, kE7, kE8, kE9, kEA, kEB, kEC, kED, kEE } \ -} |