From ce0a7f2fa4067734dfca41266d22bae8561b99ab Mon Sep 17 00:00:00 2001 From: ai03 Date: Mon, 30 Oct 2023 08:19:22 +0900 Subject: [PATCH 1/8] Make firmware for Duet --- keyboards/ai03/duet/config.h | 6 + keyboards/ai03/duet/info.json | 139 ++++++++++++++++++ .../ai03/duet/keymaps/coordinate/README.md | 4 + .../ai03/duet/keymaps/coordinate/keymap.c | 35 +++++ keyboards/ai03/duet/keymaps/default/README.md | 4 + keyboards/ai03/duet/keymaps/default/keymap.c | 16 ++ keyboards/ai03/duet/readme.md | 22 +++ keyboards/ai03/duet/rules.mk | 2 + 8 files changed, 228 insertions(+) create mode 100644 keyboards/ai03/duet/config.h create mode 100644 keyboards/ai03/duet/info.json create mode 100644 keyboards/ai03/duet/keymaps/coordinate/README.md create mode 100644 keyboards/ai03/duet/keymaps/coordinate/keymap.c create mode 100644 keyboards/ai03/duet/keymaps/default/README.md create mode 100644 keyboards/ai03/duet/keymaps/default/keymap.c create mode 100644 keyboards/ai03/duet/readme.md create mode 100644 keyboards/ai03/duet/rules.mk diff --git a/keyboards/ai03/duet/config.h b/keyboards/ai03/duet/config.h new file mode 100644 index 000000000000..5ad1b1d7318a --- /dev/null +++ b/keyboards/ai03/duet/config.h @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define DYNAMIC_KEYMAP_LAYER_COUNT 1 +#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 128 diff --git a/keyboards/ai03/duet/info.json b/keyboards/ai03/duet/info.json new file mode 100644 index 000000000000..0851c47b8ee1 --- /dev/null +++ b/keyboards/ai03/duet/info.json @@ -0,0 +1,139 @@ +{ + "manufacturer": "ai03 Design Studio", + "keyboard_name": "Duet Switch Tester", + "maintainer": "ai03-2725", + "processor": "RP2040", + "bootloader": "rp2040", + "usb": { + "vid": "0xA103", + "pid": "0x0028", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, + "diode_direction": "COL2ROW", + "matrix_pins": { + "rows": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5"], + "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP24", "GP23", "GP22", "GP18", "GP14", "GP13", "GP12", "GP11", "GP10", "GP9", "GP8", "GP7", "GP6"] + }, + "layouts": { + "LAYOUT": { + "layout": [ + { "matrix": [0, 0], "x": 0, "y": 0 }, + { "matrix": [0, 1], "x": 1, "y": 0 }, + { "matrix": [0, 2], "x": 2.25, "y": 0 }, + { "matrix": [0, 3], "x": 3.25, "y": 0 }, + { "matrix": [0, 4], "x": 4.5, "y": 0 }, + { "matrix": [0, 5], "x": 5.5, "y": 0 }, + { "matrix": [0, 6], "x": 6.75, "y": 0 }, + { "matrix": [0, 7], "x": 7.75, "y": 0 }, + { "matrix": [0, 8], "x": 9, "y": 0 }, + { "matrix": [0, 9], "x": 10, "y": 0 }, + { "matrix": [0, 10], "x": 11.25, "y": 0 }, + { "matrix": [0, 11], "x": 12.25, "y": 0 }, + { "matrix": [0, 12], "x": 13.5, "y": 0 }, + { "matrix": [0, 13], "x": 14.5, "y": 0 }, + { "matrix": [0, 14], "x": 15.75, "y": 0 }, + { "matrix": [0, 15], "x": 16.75, "y": 0 }, + { "matrix": [0, 16], "x": 18, "y": 0 }, + { "matrix": [0, 17], "x": 19, "y": 0 }, + { "matrix": [1, 0], "x": 0, "y": 1 }, + { "matrix": [1, 1], "x": 1, "y": 1 }, + { "matrix": [1, 2], "x": 2.25, "y": 1 }, + { "matrix": [1, 3], "x": 3.25, "y": 1 }, + { "matrix": [1, 4], "x": 4.5, "y": 1 }, + { "matrix": [1, 5], "x": 5.5, "y": 1 }, + { "matrix": [1, 6], "x": 6.75, "y": 1 }, + { "matrix": [1, 7], "x": 7.75, "y": 1 }, + { "matrix": [1, 8], "x": 9, "y": 1 }, + { "matrix": [1, 9], "x": 10, "y": 1 }, + { "matrix": [1, 10], "x": 11.25, "y": 1 }, + { "matrix": [1, 11], "x": 12.25, "y": 1 }, + { "matrix": [1, 12], "x": 13.5, "y": 1 }, + { "matrix": [1, 13], "x": 14.5, "y": 1 }, + { "matrix": [1, 14], "x": 15.75, "y": 1 }, + { "matrix": [1, 15], "x": 16.75, "y": 1 }, + { "matrix": [1, 16], "x": 18, "y": 1 }, + { "matrix": [1, 17], "x": 19, "y": 1 }, + { "matrix": [2, 0], "x": 0, "y": 2 }, + { "matrix": [2, 1], "x": 1, "y": 2 }, + { "matrix": [2, 2], "x": 2.25, "y": 2 }, + { "matrix": [2, 3], "x": 3.25, "y": 2 }, + { "matrix": [2, 4], "x": 4.5, "y": 2 }, + { "matrix": [2, 5], "x": 5.5, "y": 2 }, + { "matrix": [2, 6], "x": 6.75, "y": 2 }, + { "matrix": [2, 7], "x": 7.75, "y": 2 }, + { "matrix": [2, 8], "x": 9, "y": 2 }, + { "matrix": [2, 9], "x": 10, "y": 2 }, + { "matrix": [2, 10], "x": 11.25, "y": 2 }, + { "matrix": [2, 11], "x": 12.25, "y": 2 }, + { "matrix": [2, 12], "x": 13.5, "y": 2 }, + { "matrix": [2, 13], "x": 14.5, "y": 2 }, + { "matrix": [2, 14], "x": 15.75, "y": 2 }, + { "matrix": [2, 15], "x": 16.75, "y": 2 }, + { "matrix": [2, 16], "x": 18, "y": 2 }, + { "matrix": [2, 17], "x": 19, "y": 2 }, + { "matrix": [3, 0], "x": 0, "y": 3 }, + { "matrix": [3, 1], "x": 1, "y": 3 }, + { "matrix": [3, 2], "x": 2.25, "y": 3 }, + { "matrix": [3, 3], "x": 3.25, "y": 3 }, + { "matrix": [3, 4], "x": 4.5, "y": 3 }, + { "matrix": [3, 5], "x": 5.5, "y": 3 }, + { "matrix": [3, 6], "x": 6.75, "y": 3 }, + { "matrix": [3, 7], "x": 7.75, "y": 3 }, + { "matrix": [3, 8], "x": 9, "y": 3 }, + { "matrix": [3, 9], "x": 10, "y": 3 }, + { "matrix": [3, 10], "x": 11.25, "y": 3 }, + { "matrix": [3, 11], "x": 12.25, "y": 3 }, + { "matrix": [3, 12], "x": 13.5, "y": 3 }, + { "matrix": [3, 13], "x": 14.5, "y": 3 }, + { "matrix": [3, 14], "x": 15.75, "y": 3 }, + { "matrix": [3, 15], "x": 16.75, "y": 3 }, + { "matrix": [3, 16], "x": 18, "y": 3 }, + { "matrix": [3, 17], "x": 19, "y": 3 }, + { "matrix": [4, 0], "x": 0, "y": 4 }, + { "matrix": [4, 1], "x": 1, "y": 4 }, + { "matrix": [4, 2], "x": 2.25, "y": 4 }, + { "matrix": [4, 3], "x": 3.25, "y": 4 }, + { "matrix": [4, 4], "x": 4.5, "y": 4 }, + { "matrix": [4, 5], "x": 5.5, "y": 4 }, + { "matrix": [4, 6], "x": 6.75, "y": 4 }, + { "matrix": [4, 7], "x": 7.75, "y": 4 }, + { "matrix": [4, 8], "x": 9, "y": 4 }, + { "matrix": [4, 9], "x": 10, "y": 4 }, + { "matrix": [4, 10], "x": 11.25, "y": 4 }, + { "matrix": [4, 11], "x": 12.25, "y": 4 }, + { "matrix": [4, 12], "x": 13.5, "y": 4 }, + { "matrix": [4, 13], "x": 14.5, "y": 4 }, + { "matrix": [4, 14], "x": 15.75, "y": 4 }, + { "matrix": [4, 15], "x": 16.75, "y": 4 }, + { "matrix": [4, 16], "x": 18, "y": 4 }, + { "matrix": [4, 17], "x": 19, "y": 4 }, + { "matrix": [5, 0], "x": 0, "y": 5 }, + { "matrix": [5, 1], "x": 1, "y": 5 }, + { "matrix": [5, 2], "x": 2.25, "y": 5 }, + { "matrix": [5, 3], "x": 3.25, "y": 5 }, + { "matrix": [5, 4], "x": 4.5, "y": 5 }, + { "matrix": [5, 5], "x": 5.5, "y": 5 }, + { "matrix": [5, 6], "x": 6.75, "y": 5 }, + { "matrix": [5, 7], "x": 7.75, "y": 5 }, + { "matrix": [5, 8], "x": 9, "y": 5 }, + { "matrix": [5, 9], "x": 10, "y": 5 }, + { "matrix": [5, 10], "x": 11.25, "y": 5 }, + { "matrix": [5, 11], "x": 12.25, "y": 5 }, + { "matrix": [5, 12], "x": 13.5, "y": 5 }, + { "matrix": [5, 13], "x": 14.5, "y": 5 }, + { "matrix": [5, 14], "x": 15.75, "y": 5 }, + { "matrix": [5, 15], "x": 16.75, "y": 5 }, + { "matrix": [5, 16], "x": 18, "y": 5 }, + { "matrix": [5, 17], "x": 19, "y": 5 } + ] + } + } +} diff --git a/keyboards/ai03/duet/keymaps/coordinate/README.md b/keyboards/ai03/duet/keymaps/coordinate/README.md new file mode 100644 index 000000000000..de8245875d11 --- /dev/null +++ b/keyboards/ai03/duet/keymaps/coordinate/README.md @@ -0,0 +1,4 @@ +# The coordinate keymap for Duet + +An example keymap which sends a string `[a-r][0-5]` corresponding to the column-row position of the pressed switch. +Possibly useful for pairing to a kiosk device provided the display application can parse and handle this format. diff --git a/keyboards/ai03/duet/keymaps/coordinate/keymap.c b/keyboards/ai03/duet/keymaps/coordinate/keymap.c new file mode 100644 index 000000000000..201071b3237f --- /dev/null +++ b/keyboards/ai03/duet/keymaps/coordinate/keymap.c @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include QMK_KEYBOARD_H + + +/* Coordinate keymap - designed to send a string in the format [a-r][0-5] corresponding to the matrix position, where a0 is the top left and r5 is bottom right */ + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0 + ), + +}; + + +/* String generation */ + +bool process_record_user(uint16_t keycode, keyrecord_t *record) +{ + + if (record->event.pressed) { + char col = record->event.key.col + 'a'; + char row = record->event.key.row + '0'; + char result[2] = {col, row}; + send_string(result); + } + + return false; +} diff --git a/keyboards/ai03/duet/keymaps/default/README.md b/keyboards/ai03/duet/keymaps/default/README.md new file mode 100644 index 000000000000..fdf727dc96f3 --- /dev/null +++ b/keyboards/ai03/duet/keymaps/default/README.md @@ -0,0 +1,4 @@ +# The default keymap for Duet + +Since this is a very irregular keyboard with unique use cases, the keymap should be customized to meet one's needs and to match the requirements of the corresponding display software (if any). +By default, all keys send `KC_0` to simply notify the host that an arbitrary key has been pressed. diff --git a/keyboards/ai03/duet/keymaps/default/keymap.c b/keyboards/ai03/duet/keymaps/default/keymap.c new file mode 100644 index 000000000000..ea8a6e3dd226 --- /dev/null +++ b/keyboards/ai03/duet/keymaps/default/keymap.c @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0 + ), + +}; diff --git a/keyboards/ai03/duet/readme.md b/keyboards/ai03/duet/readme.md new file mode 100644 index 000000000000..160db990f61c --- /dev/null +++ b/keyboards/ai03/duet/readme.md @@ -0,0 +1,22 @@ +# Duet Switch Tester + +A switch tester intended for event/storefront use + +* Keyboard Maintainer: [ai03](https://github.com/ai03-2725) +* Hardware Supported: RP2040 +* Hardware Availability: [Open-source](https://github.com/ai03-2725/duet-switch-tester) + + +Make example for this keyboard (after setting up your build environment): + + make ai03/duet:default + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Press the reset button on the back of the PCB while holding the Bootmode switch +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/ai03/duet/rules.mk b/keyboards/ai03/duet/rules.mk new file mode 100644 index 000000000000..59f8593f1849 --- /dev/null +++ b/keyboards/ai03/duet/rules.mk @@ -0,0 +1,2 @@ +EEPROM_DRIVER = wear_leveling +WEAR_LEVELING_DRIVER = rp2040_flash From 2d92ec3ad436396f09d5dc527e4e540f791aa289 Mon Sep 17 00:00:00 2001 From: ai03 Date: Mon, 30 Oct 2023 08:31:06 +0900 Subject: [PATCH 2/8] Modify files to meet PR checklist --- keyboards/ai03/duet/info.json | 234 +++++++++++++++++----------------- keyboards/ai03/duet/readme.md | 8 +- 2 files changed, 124 insertions(+), 118 deletions(-) diff --git a/keyboards/ai03/duet/info.json b/keyboards/ai03/duet/info.json index 0851c47b8ee1..1d11c868a37f 100644 --- a/keyboards/ai03/duet/info.json +++ b/keyboards/ai03/duet/info.json @@ -2,13 +2,8 @@ "manufacturer": "ai03 Design Studio", "keyboard_name": "Duet Switch Tester", "maintainer": "ai03-2725", - "processor": "RP2040", "bootloader": "rp2040", - "usb": { - "vid": "0xA103", - "pid": "0x0028", - "device_version": "1.0.0" - }, + "diode_direction": "COL2ROW", "features": { "bootmagic": true, "command": false, @@ -17,122 +12,127 @@ "mousekey": false, "nkro": true }, - "diode_direction": "COL2ROW", "matrix_pins": { - "rows": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5"], - "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP24", "GP23", "GP22", "GP18", "GP14", "GP13", "GP12", "GP11", "GP10", "GP9", "GP8", "GP7", "GP6"] + "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP24", "GP23", "GP22", "GP18", "GP14", "GP13", "GP12", "GP11", "GP10", "GP9", "GP8", "GP7", "GP6"], + "rows": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5"] + }, + "processor": "RP2040", + "usb": { + "device_version": "1.0.0", + "pid": "0x0028", + "vid": "0xA103" }, "layouts": { "LAYOUT": { "layout": [ - { "matrix": [0, 0], "x": 0, "y": 0 }, - { "matrix": [0, 1], "x": 1, "y": 0 }, - { "matrix": [0, 2], "x": 2.25, "y": 0 }, - { "matrix": [0, 3], "x": 3.25, "y": 0 }, - { "matrix": [0, 4], "x": 4.5, "y": 0 }, - { "matrix": [0, 5], "x": 5.5, "y": 0 }, - { "matrix": [0, 6], "x": 6.75, "y": 0 }, - { "matrix": [0, 7], "x": 7.75, "y": 0 }, - { "matrix": [0, 8], "x": 9, "y": 0 }, - { "matrix": [0, 9], "x": 10, "y": 0 }, - { "matrix": [0, 10], "x": 11.25, "y": 0 }, - { "matrix": [0, 11], "x": 12.25, "y": 0 }, - { "matrix": [0, 12], "x": 13.5, "y": 0 }, - { "matrix": [0, 13], "x": 14.5, "y": 0 }, - { "matrix": [0, 14], "x": 15.75, "y": 0 }, - { "matrix": [0, 15], "x": 16.75, "y": 0 }, - { "matrix": [0, 16], "x": 18, "y": 0 }, - { "matrix": [0, 17], "x": 19, "y": 0 }, - { "matrix": [1, 0], "x": 0, "y": 1 }, - { "matrix": [1, 1], "x": 1, "y": 1 }, - { "matrix": [1, 2], "x": 2.25, "y": 1 }, - { "matrix": [1, 3], "x": 3.25, "y": 1 }, - { "matrix": [1, 4], "x": 4.5, "y": 1 }, - { "matrix": [1, 5], "x": 5.5, "y": 1 }, - { "matrix": [1, 6], "x": 6.75, "y": 1 }, - { "matrix": [1, 7], "x": 7.75, "y": 1 }, - { "matrix": [1, 8], "x": 9, "y": 1 }, - { "matrix": [1, 9], "x": 10, "y": 1 }, - { "matrix": [1, 10], "x": 11.25, "y": 1 }, - { "matrix": [1, 11], "x": 12.25, "y": 1 }, - { "matrix": [1, 12], "x": 13.5, "y": 1 }, - { "matrix": [1, 13], "x": 14.5, "y": 1 }, - { "matrix": [1, 14], "x": 15.75, "y": 1 }, - { "matrix": [1, 15], "x": 16.75, "y": 1 }, - { "matrix": [1, 16], "x": 18, "y": 1 }, - { "matrix": [1, 17], "x": 19, "y": 1 }, - { "matrix": [2, 0], "x": 0, "y": 2 }, - { "matrix": [2, 1], "x": 1, "y": 2 }, - { "matrix": [2, 2], "x": 2.25, "y": 2 }, - { "matrix": [2, 3], "x": 3.25, "y": 2 }, - { "matrix": [2, 4], "x": 4.5, "y": 2 }, - { "matrix": [2, 5], "x": 5.5, "y": 2 }, - { "matrix": [2, 6], "x": 6.75, "y": 2 }, - { "matrix": [2, 7], "x": 7.75, "y": 2 }, - { "matrix": [2, 8], "x": 9, "y": 2 }, - { "matrix": [2, 9], "x": 10, "y": 2 }, - { "matrix": [2, 10], "x": 11.25, "y": 2 }, - { "matrix": [2, 11], "x": 12.25, "y": 2 }, - { "matrix": [2, 12], "x": 13.5, "y": 2 }, - { "matrix": [2, 13], "x": 14.5, "y": 2 }, - { "matrix": [2, 14], "x": 15.75, "y": 2 }, - { "matrix": [2, 15], "x": 16.75, "y": 2 }, - { "matrix": [2, 16], "x": 18, "y": 2 }, - { "matrix": [2, 17], "x": 19, "y": 2 }, - { "matrix": [3, 0], "x": 0, "y": 3 }, - { "matrix": [3, 1], "x": 1, "y": 3 }, - { "matrix": [3, 2], "x": 2.25, "y": 3 }, - { "matrix": [3, 3], "x": 3.25, "y": 3 }, - { "matrix": [3, 4], "x": 4.5, "y": 3 }, - { "matrix": [3, 5], "x": 5.5, "y": 3 }, - { "matrix": [3, 6], "x": 6.75, "y": 3 }, - { "matrix": [3, 7], "x": 7.75, "y": 3 }, - { "matrix": [3, 8], "x": 9, "y": 3 }, - { "matrix": [3, 9], "x": 10, "y": 3 }, - { "matrix": [3, 10], "x": 11.25, "y": 3 }, - { "matrix": [3, 11], "x": 12.25, "y": 3 }, - { "matrix": [3, 12], "x": 13.5, "y": 3 }, - { "matrix": [3, 13], "x": 14.5, "y": 3 }, - { "matrix": [3, 14], "x": 15.75, "y": 3 }, - { "matrix": [3, 15], "x": 16.75, "y": 3 }, - { "matrix": [3, 16], "x": 18, "y": 3 }, - { "matrix": [3, 17], "x": 19, "y": 3 }, - { "matrix": [4, 0], "x": 0, "y": 4 }, - { "matrix": [4, 1], "x": 1, "y": 4 }, - { "matrix": [4, 2], "x": 2.25, "y": 4 }, - { "matrix": [4, 3], "x": 3.25, "y": 4 }, - { "matrix": [4, 4], "x": 4.5, "y": 4 }, - { "matrix": [4, 5], "x": 5.5, "y": 4 }, - { "matrix": [4, 6], "x": 6.75, "y": 4 }, - { "matrix": [4, 7], "x": 7.75, "y": 4 }, - { "matrix": [4, 8], "x": 9, "y": 4 }, - { "matrix": [4, 9], "x": 10, "y": 4 }, - { "matrix": [4, 10], "x": 11.25, "y": 4 }, - { "matrix": [4, 11], "x": 12.25, "y": 4 }, - { "matrix": [4, 12], "x": 13.5, "y": 4 }, - { "matrix": [4, 13], "x": 14.5, "y": 4 }, - { "matrix": [4, 14], "x": 15.75, "y": 4 }, - { "matrix": [4, 15], "x": 16.75, "y": 4 }, - { "matrix": [4, 16], "x": 18, "y": 4 }, - { "matrix": [4, 17], "x": 19, "y": 4 }, - { "matrix": [5, 0], "x": 0, "y": 5 }, - { "matrix": [5, 1], "x": 1, "y": 5 }, - { "matrix": [5, 2], "x": 2.25, "y": 5 }, - { "matrix": [5, 3], "x": 3.25, "y": 5 }, - { "matrix": [5, 4], "x": 4.5, "y": 5 }, - { "matrix": [5, 5], "x": 5.5, "y": 5 }, - { "matrix": [5, 6], "x": 6.75, "y": 5 }, - { "matrix": [5, 7], "x": 7.75, "y": 5 }, - { "matrix": [5, 8], "x": 9, "y": 5 }, - { "matrix": [5, 9], "x": 10, "y": 5 }, - { "matrix": [5, 10], "x": 11.25, "y": 5 }, - { "matrix": [5, 11], "x": 12.25, "y": 5 }, - { "matrix": [5, 12], "x": 13.5, "y": 5 }, - { "matrix": [5, 13], "x": 14.5, "y": 5 }, - { "matrix": [5, 14], "x": 15.75, "y": 5 }, - { "matrix": [5, 15], "x": 16.75, "y": 5 }, - { "matrix": [5, 16], "x": 18, "y": 5 }, - { "matrix": [5, 17], "x": 19, "y": 5 } + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.5, "y": 0}, + {"matrix": [0, 5], "x": 5.5, "y": 0}, + {"matrix": [0, 6], "x": 6.75, "y": 0}, + {"matrix": [0, 7], "x": 7.75, "y": 0}, + {"matrix": [0, 8], "x": 9, "y": 0}, + {"matrix": [0, 9], "x": 10, "y": 0}, + {"matrix": [0, 10], "x": 11.25, "y": 0}, + {"matrix": [0, 11], "x": 12.25, "y": 0}, + {"matrix": [0, 12], "x": 13.5, "y": 0}, + {"matrix": [0, 13], "x": 14.5, "y": 0}, + {"matrix": [0, 14], "x": 15.75, "y": 0}, + {"matrix": [0, 15], "x": 16.75, "y": 0}, + {"matrix": [0, 16], "x": 18, "y": 0}, + {"matrix": [0, 17], "x": 19, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2.25, "y": 1}, + {"matrix": [1, 3], "x": 3.25, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.75, "y": 1}, + {"matrix": [1, 7], "x": 7.75, "y": 1}, + {"matrix": [1, 8], "x": 9, "y": 1}, + {"matrix": [1, 9], "x": 10, "y": 1}, + {"matrix": [1, 10], "x": 11.25, "y": 1}, + {"matrix": [1, 11], "x": 12.25, "y": 1}, + {"matrix": [1, 12], "x": 13.5, "y": 1}, + {"matrix": [1, 13], "x": 14.5, "y": 1}, + {"matrix": [1, 14], "x": 15.75, "y": 1}, + {"matrix": [1, 15], "x": 16.75, "y": 1}, + {"matrix": [1, 16], "x": 18, "y": 1}, + {"matrix": [1, 17], "x": 19, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2.25, "y": 2}, + {"matrix": [2, 3], "x": 3.25, "y": 2}, + {"matrix": [2, 4], "x": 4.5, "y": 2}, + {"matrix": [2, 5], "x": 5.5, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 9, "y": 2}, + {"matrix": [2, 9], "x": 10, "y": 2}, + {"matrix": [2, 10], "x": 11.25, "y": 2}, + {"matrix": [2, 11], "x": 12.25, "y": 2}, + {"matrix": [2, 12], "x": 13.5, "y": 2}, + {"matrix": [2, 13], "x": 14.5, "y": 2}, + {"matrix": [2, 14], "x": 15.75, "y": 2}, + {"matrix": [2, 15], "x": 16.75, "y": 2}, + {"matrix": [2, 16], "x": 18, "y": 2}, + {"matrix": [2, 17], "x": 19, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.5, "y": 3}, + {"matrix": [3, 5], "x": 5.5, "y": 3}, + {"matrix": [3, 6], "x": 6.75, "y": 3}, + {"matrix": [3, 7], "x": 7.75, "y": 3}, + {"matrix": [3, 8], "x": 9, "y": 3}, + {"matrix": [3, 9], "x": 10, "y": 3}, + {"matrix": [3, 10], "x": 11.25, "y": 3}, + {"matrix": [3, 11], "x": 12.25, "y": 3}, + {"matrix": [3, 12], "x": 13.5, "y": 3}, + {"matrix": [3, 13], "x": 14.5, "y": 3}, + {"matrix": [3, 14], "x": 15.75, "y": 3}, + {"matrix": [3, 15], "x": 16.75, "y": 3}, + {"matrix": [3, 16], "x": 18, "y": 3}, + {"matrix": [3, 17], "x": 19, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [4, 1], "x": 1, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.5, "y": 4}, + {"matrix": [4, 5], "x": 5.5, "y": 4}, + {"matrix": [4, 6], "x": 6.75, "y": 4}, + {"matrix": [4, 7], "x": 7.75, "y": 4}, + {"matrix": [4, 8], "x": 9, "y": 4}, + {"matrix": [4, 9], "x": 10, "y": 4}, + {"matrix": [4, 10], "x": 11.25, "y": 4}, + {"matrix": [4, 11], "x": 12.25, "y": 4}, + {"matrix": [4, 12], "x": 13.5, "y": 4}, + {"matrix": [4, 13], "x": 14.5, "y": 4}, + {"matrix": [4, 14], "x": 15.75, "y": 4}, + {"matrix": [4, 15], "x": 16.75, "y": 4}, + {"matrix": [4, 16], "x": 18, "y": 4}, + {"matrix": [4, 17], "x": 19, "y": 4}, + {"matrix": [5, 0], "x": 0, "y": 5}, + {"matrix": [5, 1], "x": 1, "y": 5}, + {"matrix": [5, 2], "x": 2.25, "y": 5}, + {"matrix": [5, 3], "x": 3.25, "y": 5}, + {"matrix": [5, 4], "x": 4.5, "y": 5}, + {"matrix": [5, 5], "x": 5.5, "y": 5}, + {"matrix": [5, 6], "x": 6.75, "y": 5}, + {"matrix": [5, 7], "x": 7.75, "y": 5}, + {"matrix": [5, 8], "x": 9, "y": 5}, + {"matrix": [5, 9], "x": 10, "y": 5}, + {"matrix": [5, 10], "x": 11.25, "y": 5}, + {"matrix": [5, 11], "x": 12.25, "y": 5}, + {"matrix": [5, 12], "x": 13.5, "y": 5}, + {"matrix": [5, 13], "x": 14.5, "y": 5}, + {"matrix": [5, 14], "x": 15.75, "y": 5}, + {"matrix": [5, 15], "x": 16.75, "y": 5}, + {"matrix": [5, 16], "x": 18, "y": 5}, + {"matrix": [5, 17], "x": 19, "y": 5} ] } } diff --git a/keyboards/ai03/duet/readme.md b/keyboards/ai03/duet/readme.md index 160db990f61c..00c43008b449 100644 --- a/keyboards/ai03/duet/readme.md +++ b/keyboards/ai03/duet/readme.md @@ -1,9 +1,11 @@ # Duet Switch Tester +![Cover image](https://raw.githubusercontent.com/ai03-2725/duet-switch-tester/main/images/cover.jpg) + A switch tester intended for event/storefront use * Keyboard Maintainer: [ai03](https://github.com/ai03-2725) -* Hardware Supported: RP2040 +* Hardware Supported: The [Duet PCB](https://github.com/ai03-2725/duet-switch-tester/tree/main/Duet-MainPCB), powered by the RP2040 * Hardware Availability: [Open-source](https://github.com/ai03-2725/duet-switch-tester) @@ -11,6 +13,10 @@ Make example for this keyboard (after setting up your build environment): make ai03/duet:default +Flashing example for this keyboard: + + make ai03/duet:default:flash + See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). ## Bootloader From 5f3cd581ead8a20c1c05e62ebce0d4b02d7b99c6 Mon Sep 17 00:00:00 2001 From: ai03 Date: Tue, 31 Oct 2023 02:54:08 +0900 Subject: [PATCH 3/8] Apply suggestions from code review Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/ai03/duet/config.h | 4 ++-- keyboards/ai03/duet/info.json | 3 +++ keyboards/ai03/duet/keymaps/coordinate/keymap.c | 3 ++- keyboards/ai03/duet/rules.mk | 3 +-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/keyboards/ai03/duet/config.h b/keyboards/ai03/duet/config.h index 5ad1b1d7318a..9cebd11c6bad 100644 --- a/keyboards/ai03/duet/config.h +++ b/keyboards/ai03/duet/config.h @@ -1,6 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once -#define DYNAMIC_KEYMAP_LAYER_COUNT 1 #define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 128 diff --git a/keyboards/ai03/duet/info.json b/keyboards/ai03/duet/info.json index 1d11c868a37f..3db5cd51f50d 100644 --- a/keyboards/ai03/duet/info.json +++ b/keyboards/ai03/duet/info.json @@ -22,6 +22,9 @@ "pid": "0x0028", "vid": "0xA103" }, + "eeprom": { + "driver": "wear_leveling" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/ai03/duet/keymaps/coordinate/keymap.c b/keyboards/ai03/duet/keymaps/coordinate/keymap.c index 201071b3237f..000908df8a51 100644 --- a/keyboards/ai03/duet/keymaps/coordinate/keymap.c +++ b/keyboards/ai03/duet/keymaps/coordinate/keymap.c @@ -1,4 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later #include QMK_KEYBOARD_H diff --git a/keyboards/ai03/duet/rules.mk b/keyboards/ai03/duet/rules.mk index 59f8593f1849..6e7633bfe015 100644 --- a/keyboards/ai03/duet/rules.mk +++ b/keyboards/ai03/duet/rules.mk @@ -1,2 +1 @@ -EEPROM_DRIVER = wear_leveling -WEAR_LEVELING_DRIVER = rp2040_flash +# This file intentionally left blank From 31713a695669c66a8823e4fddbb030eda466bed8 Mon Sep 17 00:00:00 2001 From: ai03 Date: Tue, 31 Oct 2023 02:57:25 +0900 Subject: [PATCH 4/8] Rename --- keyboards/ai03/duet/keymaps/coordinate/{README.md => readme.md} | 0 keyboards/ai03/duet/keymaps/default/{README.md => readme.md} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename keyboards/ai03/duet/keymaps/coordinate/{README.md => readme.md} (100%) rename keyboards/ai03/duet/keymaps/default/{README.md => readme.md} (100%) diff --git a/keyboards/ai03/duet/keymaps/coordinate/README.md b/keyboards/ai03/duet/keymaps/coordinate/readme.md similarity index 100% rename from keyboards/ai03/duet/keymaps/coordinate/README.md rename to keyboards/ai03/duet/keymaps/coordinate/readme.md diff --git a/keyboards/ai03/duet/keymaps/default/README.md b/keyboards/ai03/duet/keymaps/default/readme.md similarity index 100% rename from keyboards/ai03/duet/keymaps/default/README.md rename to keyboards/ai03/duet/keymaps/default/readme.md From e4d35c2642a3522ebcd19ae5eba31f05207f3241 Mon Sep 17 00:00:00 2001 From: ai03 Date: Tue, 31 Oct 2023 02:58:32 +0900 Subject: [PATCH 5/8] Duplicate image on imgur --- keyboards/ai03/duet/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/ai03/duet/readme.md b/keyboards/ai03/duet/readme.md index 00c43008b449..9ad8eb53d99e 100644 --- a/keyboards/ai03/duet/readme.md +++ b/keyboards/ai03/duet/readme.md @@ -1,6 +1,6 @@ # Duet Switch Tester -![Cover image](https://raw.githubusercontent.com/ai03-2725/duet-switch-tester/main/images/cover.jpg) +![Cover image](https://i.imgur.com/sFuHJbL.png) A switch tester intended for event/storefront use From 7699fb8ec37a7c0f5dd330c19157fc58edcd1d73 Mon Sep 17 00:00:00 2001 From: ai03 Date: Tue, 31 Oct 2023 09:51:28 +0900 Subject: [PATCH 6/8] Apply suggestions from code review Co-authored-by: Drashna Jaelre --- .../ai03/duet/keymaps/coordinate/keymap.c | 18 ++++++++---------- keyboards/ai03/duet/keymaps/default/keymap.c | 16 ++++++++-------- keyboards/ai03/duet/readme.md | 2 +- 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/keyboards/ai03/duet/keymaps/coordinate/keymap.c b/keyboards/ai03/duet/keymaps/coordinate/keymap.c index 000908df8a51..821c0295343f 100644 --- a/keyboards/ai03/duet/keymaps/coordinate/keymap.c +++ b/keyboards/ai03/duet/keymaps/coordinate/keymap.c @@ -9,21 +9,19 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0 - ), - + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0 + ), }; /* String generation */ -bool process_record_user(uint16_t keycode, keyrecord_t *record) -{ +bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { char col = record->event.key.col + 'a'; diff --git a/keyboards/ai03/duet/keymaps/default/keymap.c b/keyboards/ai03/duet/keymaps/default/keymap.c index ea8a6e3dd226..c27345b1b5e0 100644 --- a/keyboards/ai03/duet/keymaps/default/keymap.c +++ b/keyboards/ai03/duet/keymaps/default/keymap.c @@ -5,12 +5,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, - KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0 - ), - + [0] = LAYOUT( + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, + KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0 + ), }; diff --git a/keyboards/ai03/duet/readme.md b/keyboards/ai03/duet/readme.md index 9ad8eb53d99e..43c3d6f7c596 100644 --- a/keyboards/ai03/duet/readme.md +++ b/keyboards/ai03/duet/readme.md @@ -1,6 +1,6 @@ # Duet Switch Tester -![Cover image](https://i.imgur.com/sFuHJbL.png) +![Cover image](https://i.imgur.com/sFuHJbLh.png) A switch tester intended for event/storefront use From 53b8b4f90ea81d272b4df484e01017f551c7bf10 Mon Sep 17 00:00:00 2001 From: ai03 Date: Wed, 1 Nov 2023 09:46:12 +0900 Subject: [PATCH 7/8] Update keyboards/ai03/duet/info.json Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/ai03/duet/info.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/keyboards/ai03/duet/info.json b/keyboards/ai03/duet/info.json index 3db5cd51f50d..1d11c868a37f 100644 --- a/keyboards/ai03/duet/info.json +++ b/keyboards/ai03/duet/info.json @@ -22,9 +22,6 @@ "pid": "0x0028", "vid": "0xA103" }, - "eeprom": { - "driver": "wear_leveling" - }, "layouts": { "LAYOUT": { "layout": [ From 1f72c1c3b10b5f8c1b4d5013076efbd57df4a496 Mon Sep 17 00:00:00 2001 From: ai03 Date: Wed, 1 Nov 2023 09:46:22 +0900 Subject: [PATCH 8/8] Update keyboards/ai03/duet/keymaps/default/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/ai03/duet/keymaps/default/keymap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/ai03/duet/keymaps/default/keymap.c b/keyboards/ai03/duet/keymaps/default/keymap.c index c27345b1b5e0..29f63678a801 100644 --- a/keyboards/ai03/duet/keymaps/default/keymap.c +++ b/keyboards/ai03/duet/keymaps/default/keymap.c @@ -3,8 +3,6 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( [0] = LAYOUT( KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0, KC_0,