From 66780783c79ba8be38dcc0921b15ddd68827e97d Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Mon, 19 Feb 2024 16:36:28 -0800 Subject: [PATCH 001/107] [Bug] Fix pmw33xx sensor corruption on get-cpi call (#23116) --- drivers/sensors/pmw3360.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/sensors/pmw3360.c b/drivers/sensors/pmw3360.c index a7dc687f50d..8408daa9451 100644 --- a/drivers/sensors/pmw3360.c +++ b/drivers/sensors/pmw3360.c @@ -15,6 +15,9 @@ uint16_t pmw33xx_get_cpi(uint8_t sensor) { } uint8_t cpival = pmw33xx_read(sensor, REG_Config1); + // In some cases (100, 900, 1700, 2500), reading the CPI corrupts the firmware and the sensor stops responding. + // To avoid this, we write the value back to the sensor, which seems to prevent the corruption. + pmw33xx_write(sensor, REG_Config1, cpival); return (uint16_t)((cpival + 1) & 0xFF) * PMW33XX_CPI_STEP; } From 7df44ffb751369d7632d6bb6affb8119ce3d038b Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 20 Feb 2024 11:45:25 +1100 Subject: [PATCH 002/107] Fix double code indenting (#23117) --- docs/feature_combo.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/docs/feature_combo.md b/docs/feature_combo.md index 2e802446b6b..61f8b2ee197 100644 --- a/docs/feature_combo.md +++ b/docs/feature_combo.md @@ -333,27 +333,26 @@ will give the _NAV layer as a reference to it's self. All other layers will have the default for their combo reference layer. If the default is not set, all other layers will reference themselves. - ```c - #define COMBO_REF_DEFAULT _MY_COMBO_LAYER - ... - - uint8_t combo_ref_from_layer(uint8_t layer){ - switch (get_highest_layer(layer_state)){ - case _DVORAK: return _QWERTY; - case _NAV: return _NAV; - default: return _MY_COMBO_LAYER; - } - return layer; // important if default is not in case. +```c +#define COMBO_REF_DEFAULT _MY_COMBO_LAYER + +uint8_t combo_ref_from_layer(uint8_t layer){ + switch (get_highest_layer(layer_state)){ + case _DVORAK: return _QWERTY; + case _NAV: return _NAV; + default: return _MY_COMBO_LAYER; } - ``` + return layer; // important if default is not in case. +} +``` The equivalent definition using the combo macros is this: - ```c - COMBO_REF_LAYER(_DVORAK, _QWERTY) - COMBO_REF_LAYER(_NAV, _NAV) - DEFAULT_REF_LAYER(_MY_COMBO_LAYER). - ``` +```c +COMBO_REF_LAYER(_DVORAK, _QWERTY) +COMBO_REF_LAYER(_NAV, _NAV) +DEFAULT_REF_LAYER(_MY_COMBO_LAYER). +``` ## User callbacks From 865a8f42a6128dfc09a24fe749b0d78d8c69b70e Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 20 Feb 2024 21:13:18 +1100 Subject: [PATCH 003/107] WS2812 bitbang: prefix for `NOP_FUDGE` define (#23110) --- keyboards/xelus/xs60/hotswap/config.h | 2 +- keyboards/xelus/xs60/soldered/config.h | 2 +- platforms/chibios/drivers/ws2812_bitbang.c | 15 ++++++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/keyboards/xelus/xs60/hotswap/config.h b/keyboards/xelus/xs60/hotswap/config.h index 56ecd57ec9d..877313776ad 100644 --- a/keyboards/xelus/xs60/hotswap/config.h +++ b/keyboards/xelus/xs60/hotswap/config.h @@ -40,4 +40,4 @@ #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Bitbang WS2812 -#define NOP_FUDGE 0.4 +#define WS2812_BITBANG_NOP_FUDGE 0.4 diff --git a/keyboards/xelus/xs60/soldered/config.h b/keyboards/xelus/xs60/soldered/config.h index 4b7be4d4414..5b966800c68 100644 --- a/keyboards/xelus/xs60/soldered/config.h +++ b/keyboards/xelus/xs60/soldered/config.h @@ -42,4 +42,4 @@ #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Bitbang WS2812 -#define NOP_FUDGE 0.4 +#define WS2812_BITBANG_NOP_FUDGE 0.4 diff --git a/platforms/chibios/drivers/ws2812_bitbang.c b/platforms/chibios/drivers/ws2812_bitbang.c index 593377068bc..1ed87c4381e 100644 --- a/platforms/chibios/drivers/ws2812_bitbang.c +++ b/platforms/chibios/drivers/ws2812_bitbang.c @@ -3,18 +3,23 @@ #include "gpio.h" #include "chibios_config.h" +// DEPRECATED - DO NOT USE +#if defined(NOP_FUDGE) +# define WS2812_BITBANG_NOP_FUDGE NOP_FUDGE +#endif + /* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */ -#ifndef NOP_FUDGE +#ifndef WS2812_BITBANG_NOP_FUDGE # if defined(STM32F0XX) || defined(STM32F1XX) || defined(GD32VF103) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX) || defined(WB32F3G71xx) || defined(WB32FQ95xx) -# define NOP_FUDGE 0.4 +# define WS2812_BITBANG_NOP_FUDGE 0.4 # else # if defined(RP2040) # error "Please use `vendor` WS2812 driver for RP2040" # else -# error "NOP_FUDGE configuration required" +# error "WS2812_BITBANG_NOP_FUDGE configuration required" # endif -# define NOP_FUDGE 1 // this just pleases the compile so the above error is easier to spot +# define WS2812_BITBANG_NOP_FUDGE 1 // this just pleases the compile so the above error is easier to spot # endif #endif @@ -33,7 +38,7 @@ #endif #define NUMBER_NOPS 6 -#define CYCLES_PER_SEC (CPU_CLOCK / NUMBER_NOPS * NOP_FUDGE) +#define CYCLES_PER_SEC (CPU_CLOCK / NUMBER_NOPS * WS2812_BITBANG_NOP_FUDGE) #define NS_PER_SEC (1000000000L) // Note that this has to be SIGNED since we want to be able to check for negative values of derivatives #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC) #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE) From 61fa6949fbb537f54d48a4fc0218ff2b6873e940 Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Tue, 20 Feb 2024 11:34:24 +0100 Subject: [PATCH 004/107] [Core] Allow ChibiOS `SIO` driver for `UART` driver (#22839) * onekey: stm32f3_disco: add usart pins and activate peripheral Signed-off-by: Stefan Kerkmann * chibios: uart: change SD1 prefix to UART Signed-off-by: Stefan Kerkmann * chibios: uart: add SIO driver and RP2040 compatibility Signed-off-by: Stefan Kerkmann Co-authored-by: Sergey Vlasov * Update platforms/chibios/drivers/uart.h Co-authored-by: Joel Challis --------- Signed-off-by: Stefan Kerkmann Co-authored-by: Sergey Vlasov Co-authored-by: Joel Challis --- builddefs/common_features.mk | 13 +- docs/platformdev_rp2040.md | 15 +- docs/uart_driver.md | 30 ++- .../handwired/onekey/stm32f3_disco/config.h | 6 + .../handwired/onekey/stm32f3_disco/mcuconf.h | 6 + .../GENERIC_PROMICRO_RP2040/configs/config.h | 28 ++- .../chibios/boards/QMK_BLOK/configs/config.h | 24 +++ .../boards/QMK_PM2040/configs/config.h | 24 +++ platforms/chibios/chibios_config.h | 14 ++ platforms/chibios/drivers/uart.c | 70 ------- platforms/chibios/drivers/uart.h | 194 +++++++++++++----- platforms/chibios/drivers/uart_serial.c | 65 ++++++ platforms/chibios/drivers/uart_sio.c | 77 +++++++ platforms/chibios/platform.mk | 11 + 14 files changed, 428 insertions(+), 149 deletions(-) delete mode 100644 platforms/chibios/drivers/uart.c create mode 100644 platforms/chibios/drivers/uart_serial.c create mode 100644 platforms/chibios/drivers/uart_sio.c diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 58e41f52302..7227a5558e2 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -960,6 +960,15 @@ ifeq ($(strip $(SPI_DRIVER_REQUIRED)), yes) endif ifeq ($(strip $(UART_DRIVER_REQUIRED)), yes) - OPT_DEFS += -DHAL_USE_SERIAL=TRUE - QUANTUM_LIB_SRC += uart.c + ifeq ($(strip $(PLATFORM)), CHIBIOS) + ifneq ($(filter $(MCU_SERIES),RP2040),) + OPT_DEFS += -DHAL_USE_SIO=TRUE + QUANTUM_LIB_SRC += uart_sio.c + else + OPT_DEFS += -DHAL_USE_SERIAL=TRUE + QUANTUM_LIB_SRC += uart_serial.c + endif + else + QUANTUM_LIB_SRC += uart.c + endif endif diff --git a/docs/platformdev_rp2040.md b/docs/platformdev_rp2040.md index 890dadb6f06..593a8198eb1 100644 --- a/docs/platformdev_rp2040.md +++ b/docs/platformdev_rp2040.md @@ -2,7 +2,7 @@ The following table shows the current driver status for peripherals on RP2040 MCUs: -| System | Support | +| System | Support | | ---------------------------------------------------------------- | ---------------------------------------------- | | [ADC driver](adc_driver.md) | :heavy_check_mark: | | [Audio](audio_driver.md#pwm-hardware) | :heavy_check_mark: | @@ -13,7 +13,7 @@ The following table shows the current driver status for peripherals on RP2040 MC | [External EEPROMs](eeprom_driver.md) | :heavy_check_mark: using `I2C` or `SPI` driver | | [EEPROM emulation](eeprom_driver.md#wear_leveling-configuration) | :heavy_check_mark: | | [serial driver](serial_driver.md) | :heavy_check_mark: using `SIO` or `PIO` driver | -| [UART driver](uart_driver.md) | Support planned (no ETA) | +| [UART driver](uart_driver.md) | :heavy_check_mark: using `SIO` driver | ## GPIO @@ -52,6 +52,13 @@ To configure the I2C driver please read the [ChibiOS/ARM](i2c_driver.md#arm-conf To configure the SPI driver please read the [ChibiOS/ARM](spi_driver.md#chibiosarm-configuration) section. +### UART Driver + +| RP2040 Peripheral | `mcuconf.h` values | `UART_DRIVER` | +| ----------------- | ------------------ | ------------- | +| `UART0` | `RP_SIO_USE_UART0` | `SIOD0` | +| `UART1` | `RP_SIO_USE_UART1` | `SIOD1` | + ## Double-tap reset boot-loader entry :id=double-tap The double-tap reset mechanism is an alternate way in QMK to enter the embedded mass storage UF2 boot-loader of the RP2040. It enables bootloader entry by a fast double-tap of the reset pin on start up, which is similar to the behavior of AVR Pro Micros. This feature activated by default for the Pro Micro RP2040 board, but has to be configured for other boards. To activate it, add the following options to your keyboards `config.h` file: @@ -87,6 +94,10 @@ This is the default board that is chosen, unless any other RP2040 board is selec | `SOFT_SERIAL_PIN` | undefined, use `SERIAL_USART_TX_PIN` | | `SERIAL_USART_TX_PIN` | `GP0` | | `SERIAL_USART_RX_PIN` | `GP1` | +| **UART driver** | | +| `UART_DRIVER` | `SIOD0` | +| `UART_TX_PIN` | `GP0` | +| `UART_RX_PIN` | `GP1` | ?> The pin-outs of Adafruit's KB2040 and Boardsource's Blok both deviate from the Sparkfun Pro Micro RP2040. Lookup the pin-out of these boards and adjust your keyboards pin definition accordingly if you want to use these boards. diff --git a/docs/uart_driver.md b/docs/uart_driver.md index a88278d5438..9b0a92d23d1 100644 --- a/docs/uart_driver.md +++ b/docs/uart_driver.md @@ -32,13 +32,7 @@ No special setup is required - just connect the `RX` and `TX` pins of your UART You'll need to determine which pins can be used for UART -- as an example, STM32 parts generally have multiple UART peripherals, labeled USART1, USART2, USART3 etc. -To enable UART, modify your board's `halconf.h` to enable the serial driver: - -```c -#define HAL_USE_SERIAL TRUE -``` - -Then, modify your board's `mcuconf.h` to enable the peripheral you've chosen, for example: +To enable UART, modify your board's `mcuconf.h` to enable the peripheral you've chosen, for example: ```c #undef STM32_SERIAL_USE_USART2 @@ -47,17 +41,17 @@ Then, modify your board's `mcuconf.h` to enable the peripheral you've chosen, fo Configuration-wise, you'll need to set up the peripheral as per your MCU's datasheet -- the defaults match the pins for a Proton-C, i.e. STM32F303. -|`config.h` override |Description |Default Value| -|--------------------------|---------------------------------------------------------------|-------------| -|`#define SERIAL_DRIVER` |USART peripheral to use - USART1 -> `SD1`, USART2 -> `SD2` etc.|`SD1` | -|`#define SD1_TX_PIN` |The pin to use for TX |`A9` | -|`#define SD1_TX_PAL_MODE` |The alternate function mode for TX |`7` | -|`#define SD1_RX_PIN` |The pin to use for RX |`A10` | -|`#define SD1_RX_PAL_MODE` |The alternate function mode for RX |`7` | -|`#define SD1_CTS_PIN` |The pin to use for CTS |`A11` | -|`#define SD1_CTS_PAL_MODE`|The alternate function mode for CTS |`7` | -|`#define SD1_RTS_PIN` |The pin to use for RTS |`A12` | -|`#define SD1_RTS_PAL_MODE`|The alternate function mode for RTS |`7` | +| `config.h` override | Description | Default Value | +| --------------------------- | --------------------------------------------------------------- | ------------- | +| `#define UART_DRIVER` | USART peripheral to use - USART1 -> `SD1`, USART2 -> `SD2` etc. | `SD1` | +| `#define UART_TX_PIN` | The pin to use for TX | `A9` | +| `#define UART_TX_PAL_MODE` | The alternate function mode for TX | `7` | +| `#define UART_RX_PIN` | The pin to use for RX | `A10` | +| `#define UART_RX_PAL_MODE` | The alternate function mode for RX | `7` | +| `#define UART_CTS_PIN` | The pin to use for CTS | `A11` | +| `#define UART_CTS_PAL_MODE` | The alternate function mode for CTS | `7` | +| `#define UART_RTS_PIN` | The pin to use for RTS | `A12` | +| `#define UART_RTS_PAL_MODE` | The alternate function mode for RTS | `7` | ## API :id=api diff --git a/keyboards/handwired/onekey/stm32f3_disco/config.h b/keyboards/handwired/onekey/stm32f3_disco/config.h index a0e3c54ec1c..0927767772a 100644 --- a/keyboards/handwired/onekey/stm32f3_disco/config.h +++ b/keyboards/handwired/onekey/stm32f3_disco/config.h @@ -4,3 +4,9 @@ #pragma once #define ADC_PIN A0 + +#define UART_TX_PIN C4 +#define UART_RX_PIN C5 + +#define SERIAL_USART_TX_PIN C4 +#define SERIAL_USART_RX_PIN C4 diff --git a/keyboards/handwired/onekey/stm32f3_disco/mcuconf.h b/keyboards/handwired/onekey/stm32f3_disco/mcuconf.h index 9172860b0f1..520a5dc3048 100644 --- a/keyboards/handwired/onekey/stm32f3_disco/mcuconf.h +++ b/keyboards/handwired/onekey/stm32f3_disco/mcuconf.h @@ -7,3 +7,9 @@ #undef STM32_ADC_USE_ADC1 #define STM32_ADC_USE_ADC1 TRUE + +#undef STM32_SIO_USE_USART1 +#define STM32_SIO_USE_USART1 TRUE + +#undef STM32_SERIAL_USE_USART1 +#define STM32_SERIAL_USE_USART1 TRUE diff --git a/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/config.h b/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/config.h index 9209e99e760..73c2b40f469 100644 --- a/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/config.h +++ b/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/config.h @@ -1,4 +1,4 @@ -// Copyright 2022 Stefan Kerkmann +// Copyright 2024 Stefan Kerkmann // SPDX-License-Identifier: GPL-2.0-or-later #pragma once @@ -55,8 +55,32 @@ # define SERIAL_USART_RX_PIN GP1 #endif +/**====================== + ** UART Driver + *========================**/ + +#if !defined(UART_DRIVER) +# define UART_DRIVER SIOD0 +#endif + +#if !defined(UART_TX_PIN) +# define UART_TX_PIN GP0 +#endif + +#if !defined(UART_RX_PIN) +# define UART_RX_PIN GP1 +#endif + +#if !defined(UART_CTS_PIN) +# define UART_CTS_PIN GP2 +#endif + +#if !defined(UART_RTS_PIN) +# define UART_RTS_PIN GP3 +#endif + /**====================== ** Double-tap *========================**/ -#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET diff --git a/platforms/chibios/boards/QMK_BLOK/configs/config.h b/platforms/chibios/boards/QMK_BLOK/configs/config.h index 168afb1fc46..834dc497d3b 100644 --- a/platforms/chibios/boards/QMK_BLOK/configs/config.h +++ b/platforms/chibios/boards/QMK_BLOK/configs/config.h @@ -3,6 +3,10 @@ #pragma once +/**====================== + ** I2C Driver + *========================**/ + #ifndef I2C_DRIVER # define I2C_DRIVER I2CD0 #endif @@ -13,6 +17,26 @@ # define I2C1_SCL_PIN D0 #endif +/**====================== + ** UART Driver + *========================**/ + +#ifndef UART_DRIVER +# define UART_DRIVER SIOD0 +#endif + +#ifndef UART_TX_PIN +# define UART_TX_PIN D3 +#endif + +#ifndef UART_RX_PIN +# define UART_RX_PIN D2 +#endif + +/**====================== + ** Double-tap + *========================**/ + #ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET # define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #endif diff --git a/platforms/chibios/boards/QMK_PM2040/configs/config.h b/platforms/chibios/boards/QMK_PM2040/configs/config.h index ec85ae0cf40..f8b46b7fe45 100644 --- a/platforms/chibios/boards/QMK_PM2040/configs/config.h +++ b/platforms/chibios/boards/QMK_PM2040/configs/config.h @@ -3,6 +3,10 @@ #pragma once +/**====================== + ** I2C Driver + *========================**/ + #ifndef I2C_DRIVER # define I2C_DRIVER I2CD1 #endif @@ -13,6 +17,26 @@ # define I2C1_SCL_PIN D0 #endif +/**====================== + ** UART Driver + *========================**/ + +#ifndef UART_DRIVER +# define UART_DRIVER SIOD0 +#endif + +#ifndef UART_TX_PIN +# define UART_TX_PIN D3 +#endif + +#ifndef UART_RX_PIN +# define UART_RX_PIN D2 +#endif + +/**====================== + ** Double-tap + *========================**/ + #ifndef RP2040_BOOTLOADER_DOUBLE_TAP_RESET # define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #endif diff --git a/platforms/chibios/chibios_config.h b/platforms/chibios/chibios_config.h index f1636f9da05..759ac6943ba 100644 --- a/platforms/chibios/chibios_config.h +++ b/platforms/chibios/chibios_config.h @@ -69,6 +69,20 @@ # ifndef SPI_MISO_PAL_MODE # define SPI_MISO_PAL_MODE (PAL_MODE_ALTERNATE_SPI | PAL_RP_PAD_SLEWFAST | PAL_RP_PAD_DRIVE4) # endif + +# ifndef UART_TX_PAL_MODE +# define UART_TX_PAL_MODE PAL_MODE_ALTERNATE_UART +# endif +# ifndef UART_RX_PAL_MODE +# define UART_RX_PAL_MODE PAL_MODE_ALTERNATE_UART +# endif +# ifndef UART_CTS_PAL_MODE +# define UART_CTS_PAL_MODE PAL_MODE_ALTERNATE_UART +# endif +# ifndef UART_RTS_PAL_MODE +# define UART_RTS_PAL_MODE PAL_MODE_ALTERNATE_UART +# endif + #endif // STM32 compatibility diff --git a/platforms/chibios/drivers/uart.c b/platforms/chibios/drivers/uart.c deleted file mode 100644 index 39a59dd4450..00000000000 --- a/platforms/chibios/drivers/uart.c +++ /dev/null @@ -1,70 +0,0 @@ -/* Copyright 2021 - * - * 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 3 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 . - */ - -#include "uart.h" - -#if defined(MCU_KINETIS) -static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE}; -#elif defined(WB32F3G71xx) || defined(WB32FQ95xx) -static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE, SD1_WRDLEN, SD1_STPBIT, SD1_PARITY, SD1_ATFLCT}; -#else -static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE, SD1_CR1, SD1_CR2, SD1_CR3}; -#endif - -void uart_init(uint32_t baud) { - static bool is_initialised = false; - - if (!is_initialised) { - is_initialised = true; - -#if defined(MCU_KINETIS) - serialConfig.sc_speed = baud; -#else - serialConfig.speed = baud; -#endif - -#if defined(USE_GPIOV1) - palSetLineMode(SD1_TX_PIN, SD1_TX_PAL_MODE); - palSetLineMode(SD1_RX_PIN, SD1_RX_PAL_MODE); -#else - palSetLineMode(SD1_TX_PIN, PAL_MODE_ALTERNATE(SD1_TX_PAL_MODE) | PAL_OUTPUT_TYPE_PUSHPULL | PAL_OUTPUT_SPEED_HIGHEST); - palSetLineMode(SD1_RX_PIN, PAL_MODE_ALTERNATE(SD1_RX_PAL_MODE) | PAL_OUTPUT_TYPE_PUSHPULL | PAL_OUTPUT_SPEED_HIGHEST); -#endif - sdStart(&SERIAL_DRIVER, &serialConfig); - } -} - -void uart_write(uint8_t data) { - sdPut(&SERIAL_DRIVER, data); -} - -uint8_t uart_read(void) { - msg_t res = sdGet(&SERIAL_DRIVER); - - return (uint8_t)res; -} - -void uart_transmit(const uint8_t *data, uint16_t length) { - sdWrite(&SERIAL_DRIVER, data, length); -} - -void uart_receive(uint8_t *data, uint16_t length) { - sdRead(&SERIAL_DRIVER, data, length); -} - -bool uart_available(void) { - return !sdGetWouldBlock(&SERIAL_DRIVER); -} diff --git a/platforms/chibios/drivers/uart.h b/platforms/chibios/drivers/uart.h index 16983072cec..c1945575f13 100644 --- a/platforms/chibios/drivers/uart.h +++ b/platforms/chibios/drivers/uart.h @@ -1,18 +1,7 @@ -/* Copyright 2021 - * - * 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 3 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 . - */ +// Copyright 2024 Stefan Kerkmann +// Copyright 2021 QMK +// Copyright 2024 Stefan Kerkmann +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once @@ -24,93 +13,188 @@ #include "gpio.h" #include "chibios_config.h" -#ifndef SERIAL_DRIVER -# define SERIAL_DRIVER SD1 +// ======== DEPRECATED DEFINES - DO NOT USE ======== +#ifdef SERIAL_DRIVER +# define UART_DRIVER SERIAL_DRIVER +#endif +#ifdef SD1_TX_PIN +# define UART_TX_PIN SD1_TX_PIN +#endif +#ifdef SD1_RX_PIN +# define UART_RX_PIN SD1_RX_PIN +#endif +#ifdef SD1_CTS_PIN +# define UART_CTS_PIN SD1_CTS_PIN +#endif +#ifdef SD1_RTS_PIN +# define UART_RTS_PIN SD1_RTS_PIN +#endif +#ifdef SD1_TX_PAL_MODE +# define UART_TX_PAL_MODE SD1_TX_PAL_MODE +#endif +#ifdef SD1_RX_PAL_MODE +# define UART_RX_PAL_MODE SD1_RX_PAL_MODE +#endif +#ifdef SD1_CTS_PAL_MODE +# define UART_RTS_PAL_MODE SD1_CTS_PAL_MODE +#endif +#ifdef SD1_RTS_PAL_MODE +# define UART_TX_PAL_MODE SD1_RTS_PAL_MODE +#endif +#ifdef SD1_CR1 +# define UART_CR1 SD1_CR1 +#endif +#ifdef SD1_CR2 +# define UART_CR2 SD1_CR2 +#endif +#ifdef SD1_CR3 +# define UART_CR3 SD1_CR3 +#endif +#ifdef SD1_WRDLEN +# define UART_WRDLEN SD1_WRDLEN +#endif +#ifdef SD1_STPBIT +# define UART_STPBIT SD1_STPBIT +#endif +#ifdef SD1_PARITY +# define UART_PARITY SD1_PARITY +#endif +#ifdef SD1_ATFLCT +# define UART_ATFLCT SD1_ATFLCT +#endif +// ======== + +#ifndef UART_DRIVER +# if (HAL_USE_SERIAL == TRUE) +# define UART_DRIVER SD1 +# elif (HAL_USE_SIO == TRUE) +# define UART_DRIVER SIOD1 +# endif #endif -#ifndef SD1_TX_PIN -# define SD1_TX_PIN A9 +#ifndef UART_TX_PIN +# define UART_TX_PIN A9 #endif -#ifndef SD1_RX_PIN -# define SD1_RX_PIN A10 +#ifndef UART_RX_PIN +# define UART_RX_PIN A10 #endif -#ifndef SD1_CTS_PIN -# define SD1_CTS_PIN A11 +#ifndef UART_CTS_PIN +# define UART_CTS_PIN A11 #endif -#ifndef SD1_RTS_PIN -# define SD1_RTS_PIN A12 +#ifndef UART_RTS_PIN +# define UART_RTS_PIN A12 #endif #ifdef USE_GPIOV1 -# ifndef SD1_TX_PAL_MODE -# define SD1_TX_PAL_MODE PAL_MODE_ALTERNATE_PUSHPULL +# ifndef UART_TX_PAL_MODE +# define UART_TX_PAL_MODE PAL_MODE_ALTERNATE_PUSHPULL # endif -# ifndef SD1_RX_PAL_MODE -# define SD1_RX_PAL_MODE PAL_MODE_INPUT +# ifndef UART_RX_PAL_MODE +# define UART_RX_PAL_MODE PAL_MODE_INPUT # endif -# ifndef SD1_CTS_PAL_MODE -# define SD1_CTS_PAL_MODE PAL_MODE_INPUT +# ifndef UART_CTS_PAL_MODE +# define UART_CTS_PAL_MODE PAL_MODE_INPUT # endif -# ifndef SD1_RTS_PAL_MODE -# define SD1_RTS_PAL_MODE PAL_MODE_ALTERNATE_PUSHPULL +# ifndef UART_RTS_PAL_MODE +# define UART_RTS_PAL_MODE PAL_MODE_ALTERNATE_PUSHPULL # endif #else -# ifndef SD1_TX_PAL_MODE -# define SD1_TX_PAL_MODE 7 +# ifndef UART_TX_PAL_MODE +# define UART_TX_PAL_MODE 7 # endif -# ifndef SD1_RX_PAL_MODE -# define SD1_RX_PAL_MODE 7 +# ifndef UART_RX_PAL_MODE +# define UART_RX_PAL_MODE 7 # endif -# ifndef SD1_CTS_PAL_MODE -# define SD1_CTS_PAL_MODE 7 +# ifndef UART_CTS_PAL_MODE +# define UART_CTS_PAL_MODE 7 # endif -# ifndef SD1_RTS_PAL_MODE -# define SD1_RTS_PAL_MODE 7 +# ifndef UART_RTS_PAL_MODE +# define UART_RTS_PAL_MODE 7 # endif #endif -#ifndef SD1_CR1 -# define SD1_CR1 0 +#ifndef UART_CR1 +# define UART_CR1 0 #endif -#ifndef SD1_CR2 -# define SD1_CR2 0 +#ifndef UART_CR2 +# define UART_CR2 0 #endif -#ifndef SD1_CR3 -# define SD1_CR3 0 +#ifndef UART_CR3 +# define UART_CR3 0 #endif -#ifndef SD1_WRDLEN -# define SD1_WRDLEN 3 +#ifndef UART_WRDLEN +# define UART_WRDLEN 3 #endif -#ifndef SD1_STPBIT -# define SD1_STPBIT 0 +#ifndef UART_STPBIT +# define UART_STPBIT 0 #endif -#ifndef SD1_PARITY -# define SD1_PARITY 0 +#ifndef UART_PARITY +# define UART_PARITY 0 #endif -#ifndef SD1_ATFLCT -# define SD1_ATFLCT 0 +#ifndef UART_ATFLCT +# define UART_ATFLCT 0 #endif +/** + * @brief Initialize the UART driver. This function must be called only once, + * before any of the below functions can be called. + * + * @param baud The baud rate to transmit and receive at. This may depend on the + * device you are communicating with. Common values are 1200, 2400, 4800, 9600, + * 19200, 38400, 57600, and 115200. + */ void uart_init(uint32_t baud); +/** + * @brief Transmit a single byte. + * + * @param data The byte to transmit. + */ void uart_write(uint8_t data); +/** + * @brief Receive a single byte. + * + * @return uint8_t The byte read from the receive buffer. This function will + * block if the buffer is empty (ie. no data to read). + */ uint8_t uart_read(void); +/** + * @brief Transmit multiple bytes. + * + * @param data A pointer to the data to write from. + * @param length The number of bytes to write. Take care not to overrun the + * length of `data`. + */ void uart_transmit(const uint8_t *data, uint16_t length); +/** + * @brief Receive multiple bytes. + * + * @param data A pointer to the buffer to read into. + * @param length The number of bytes to read. Take care not to overrun the + * length of `data`. + */ void uart_receive(uint8_t *data, uint16_t length); +/** + * @brief Return whether the receive buffer contains data. Call this function + * to determine if `uart_read()` will return data immediately. + * + * @return true If there is data available to read. + * @return false If there is no data available to read. + */ bool uart_available(void); diff --git a/platforms/chibios/drivers/uart_serial.c b/platforms/chibios/drivers/uart_serial.c new file mode 100644 index 00000000000..6aff4eae47a --- /dev/null +++ b/platforms/chibios/drivers/uart_serial.c @@ -0,0 +1,65 @@ +// Copyright 2024 Stefan Kerkmann (@KarlK90) +// Copyright 2021 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "uart.h" + +#if defined(MCU_KINETIS) +static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE}; +#elif defined(WB32F3G71xx) || defined(WB32FQ95xx) +static SerialConfig serialConfig = { + SERIAL_DEFAULT_BITRATE, UART_WRDLEN, UART_STPBIT, UART_PARITY, UART_ATFLCT, +}; +#else +static SerialConfig serialConfig = { + SERIAL_DEFAULT_BITRATE, + UART_CR1, + UART_CR2, + UART_CR3, +}; +#endif + +void uart_init(uint32_t baud) { + static bool is_initialised = false; + + if (is_initialised) { + return; + } + is_initialised = true; + +#if defined(MCU_KINETIS) + serialConfig.sc_speed = baud; +#else + serialConfig.speed = baud; +#endif + +#if defined(USE_GPIOV1) + palSetLineMode(UART_TX_PIN, UART_TX_PAL_MODE); + palSetLineMode(UART_RX_PIN, UART_RX_PAL_MODE); +#else + palSetLineMode(UART_TX_PIN, PAL_MODE_ALTERNATE(UART_TX_PAL_MODE) | PAL_OUTPUT_TYPE_PUSHPULL | PAL_OUTPUT_SPEED_HIGHEST); + palSetLineMode(UART_RX_PIN, PAL_MODE_ALTERNATE(UART_RX_PAL_MODE) | PAL_OUTPUT_TYPE_PUSHPULL | PAL_OUTPUT_SPEED_HIGHEST); +#endif + + sdStart(&UART_DRIVER, &serialConfig); +} + +void uart_write(uint8_t data) { + sdPut(&UART_DRIVER, data); +} + +uint8_t uart_read(void) { + return (uint8_t)sdGet(&UART_DRIVER); +} + +void uart_transmit(const uint8_t *data, uint16_t length) { + sdWrite(&UART_DRIVER, data, length); +} + +void uart_receive(uint8_t *data, uint16_t length) { + sdRead(&UART_DRIVER, data, length); +} + +bool uart_available(void) { + return !sdGetWouldBlock(&UART_DRIVER); +} diff --git a/platforms/chibios/drivers/uart_sio.c b/platforms/chibios/drivers/uart_sio.c new file mode 100644 index 00000000000..ebf51ae5a81 --- /dev/null +++ b/platforms/chibios/drivers/uart_sio.c @@ -0,0 +1,77 @@ +// Copyright 2024 Stefan Kerkmann (@KarlK90) +// Copyright 2021 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "uart.h" + +#if defined(MCU_RP) +// 38400 baud, 8 data bits, 1 stop bit, no parity, no flow control +static SIOConfig sioConfig = { + .baud = SIO_DEFAULT_BITRATE, + .UARTLCR_H = (UART_UARTLCR_H_WLEN_8BITS | UART_UARTLCR_H_FEN), + .UARTCR = 0U, + .UARTIFLS = (UART_UARTIFLS_RXIFLSEL_1_8F | UART_UARTIFLS_TXIFLSEL_1_8E), + .UARTDMACR = 0U, +}; +#else +static SIOConfig sioConfig = { + .baud = SIO_DEFAULT_BITRATE, +# if defined(MCU_STM32) && defined(CHIBIOS_HAL_USARTv3) + .presc = USART_PRESC1, +# endif + .cr1 = UART_CR1, + .cr2 = UART_CR2, + .cr3 = UART_CR3, +}; +#endif + +void uart_init(uint32_t baud) { + static bool is_initialised = false; + + if (is_initialised) { + return; + } + is_initialised = true; + + sioConfig.baud = baud; + +#if defined(USE_GPIOV1) + palSetLineMode(UART_TX_PIN, UART_TX_PAL_MODE); + palSetLineMode(UART_RX_PIN, UART_RX_PAL_MODE); +#else + palSetLineMode(UART_TX_PIN, PAL_MODE_ALTERNATE(UART_TX_PAL_MODE) | PAL_OUTPUT_TYPE_PUSHPULL | PAL_OUTPUT_SPEED_HIGHEST); + palSetLineMode(UART_RX_PIN, PAL_MODE_ALTERNATE(UART_RX_PAL_MODE) | PAL_OUTPUT_TYPE_PUSHPULL | PAL_OUTPUT_SPEED_HIGHEST); +#endif + + sioStart(&UART_DRIVER, &sioConfig); +} + +void uart_write(uint8_t data) { + chnPutTimeout(&UART_DRIVER, data, TIME_INFINITE); +} + +uint8_t uart_read(void) { + msg_t result = chnGetTimeout(&UART_DRIVER, TIME_INFINITE); + + if (sioHasRXErrorsX(&UART_DRIVER)) { + sioGetAndClearErrors(&UART_DRIVER); + } + + return (uint8_t)result; +} + +void uart_transmit(const uint8_t *data, uint16_t length) { + chnWrite(&UART_DRIVER, data, length); +} + +void uart_receive(uint8_t *data, uint16_t length) { + chnRead(&UART_DRIVER, data, length); + + if (sioHasRXErrorsX(&UART_DRIVER)) { + sioGetAndClearErrors(&UART_DRIVER); + } +} + +bool uart_available() { + return !sioIsRXEmptyX(&UART_DRIVER); +} diff --git a/platforms/chibios/platform.mk b/platforms/chibios/platform.mk index f38a888012e..a2178412f3f 100644 --- a/platforms/chibios/platform.mk +++ b/platforms/chibios/platform.mk @@ -329,6 +329,17 @@ ifeq ($(strip $(USE_CHIBIOS_CONTRIB)),yes) EXTRAINCDIRS += $(PLATFORMINC_CONTRIB) $(HALINC_CONTRIB) $(CHIBIOS_CONTRIB)/os/various endif +# +# Extract supported HAL drivers +############################################################################## + +define add_lld_driver_define + $(eval driver := $(word 2,$(subst /LLD/, ,$(1)))) + $(eval OPT_DEFS += -DCHIBIOS_HAL_$(driver)) +endef + +$(foreach dir,$(EXTRAINCDIRS),$(if $(findstring /LLD/,$(dir)),$(call add_lld_driver_define,$(dir)))) + # # Project, sources and paths ############################################################################## From b7b00d58b85afb685aa9736511aae0f3145228a9 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Tue, 20 Feb 2024 10:04:04 -0700 Subject: [PATCH 005/107] Fixup inett_studio/sq80 (#23121) --- keyboards/inett_studio/sq80/hotswap_layout_i/info.json | 2 -- .../inett_studio/sq80/hotswap_layout_i/keymaps/via/keymap.json | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/keyboards/inett_studio/sq80/hotswap_layout_i/info.json b/keyboards/inett_studio/sq80/hotswap_layout_i/info.json index 3d18b0fc942..f9e61e716aa 100644 --- a/keyboards/inett_studio/sq80/hotswap_layout_i/info.json +++ b/keyboards/inett_studio/sq80/hotswap_layout_i/info.json @@ -23,8 +23,6 @@ }, "features": { "bootmagic": true, - "command": true, - "console": false, "extrakey": true, "mousekey": true, "nkro": true diff --git a/keyboards/inett_studio/sq80/hotswap_layout_i/keymaps/via/keymap.json b/keyboards/inett_studio/sq80/hotswap_layout_i/keymaps/via/keymap.json index d3d432ab1b6..da50359f649 100644 --- a/keyboards/inett_studio/sq80/hotswap_layout_i/keymaps/via/keymap.json +++ b/keyboards/inett_studio/sq80/hotswap_layout_i/keymaps/via/keymap.json @@ -4,8 +4,7 @@ "layout": "LAYOUT_tkl_ansi", "config": { "features": { - "via": true, - "lto": true + "via": true } }, "layers": [ From b26e5c585b785d2c78ea72111721804c4661208a Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 20 Feb 2024 22:22:00 +0000 Subject: [PATCH 006/107] Manual user keymap removal (#23119) --- .../dz60/keymaps/iso_de_andys8/README.md | 3 - keyboards/dz60/keymaps/iso_de_andys8/keymap.c | 38 ---- keyboards/dz60/keymaps/iso_de_andys8/rules.mk | 15 -- .../dz60/keymaps/iso_de_arrow_0x544d/keymap.c | 96 --------- .../keymaps/iso_de_arrow_0x544d/readme.md | 10 - keyboards/gon/nerd60/keymaps/mauin/keymap.c | 114 ----------- keyboards/gon/nerd60/keymaps/mauin/readme.md | 5 - keyboards/gon/nerd60/keymaps/mauin/rules.mk | 18 -- .../6x6/keymaps/dumam/keymap.c | 59 ------ .../tritium_numpad/keymaps/blu/keymap.c | 40 ---- .../tritium_numpad/keymaps/blu/layers.json | 1 - .../tritium_numpad/keymaps/blu/readme.md | 13 -- keyboards/hotdox/keymaps/bliss/keymap.c | 173 ---------------- keyboards/hotdox/keymaps/bliss/readme.md | 8 - keyboards/hotdox/keymaps/bliss/rules.mk | 5 - .../keymaps/devinceble_hhkb_tofu/keymap.c | 52 ----- .../keymaps/devinceble_hhkb_tofu/readme.md | 9 - .../keymaps/devinceble_hhkb_tofu/rules.mk | 2 - keyboards/kc60/keymaps/dbroqua_hhkb/keymap.c | 51 ----- keyboards/kc60/keymaps/dbroqua_hhkb/readme.md | 9 - .../q1v1/iso/keymaps/mkillewald_iso/config.h | 23 --- .../q1v1/iso/keymaps/mkillewald_iso/keymap.c | 153 -------------- .../iso/keymaps/mkillewald_iso/keymap_user.h | 33 --- .../q1v1/iso/keymaps/mkillewald_iso/readme.md | 54 ----- .../keymaps/mkillewald_iso/rgb_matrix_user.c | 84 -------- .../keymaps/mkillewald_iso/rgb_matrix_user.h | 26 --- .../q1v1/iso/keymaps/mkillewald_iso/rules.mk | 6 - .../lfkeyboards/lfk87/keymaps/gbchk/keymap.c | 89 --------- .../lfkeyboards/lfk87/keymaps/gbchk/rules.mk | 1 - .../lets_split_eh/keymaps/resfury/config.h | 23 --- .../lets_split_eh/keymaps/resfury/keymap.c | 189 ------------------ .../lets_split_eh/keymaps/resfury/readme.md | 7 - .../lets_split_eh/keymaps/resfury/rules.mk | 1 - .../mechlovin/hex4b/keymaps/nazzer/keymap.c | 98 --------- .../mechlovin/hex4b/keymaps/nazzer/reame.md | 15 -- .../mechlovin/hex4b/keymaps/nazzer/rules.mk | 1 - .../mokulua/standard/keymaps/silly/config.h | 6 - .../mokulua/standard/keymaps/silly/keymap.c | 128 ------------ .../mokulua/standard/keymaps/silly/readme.md | 1 - .../mokulua/standard/keymaps/silly/rules.mk | 2 - keyboards/nasu/keymaps/mariocs/config.h | 5 - keyboards/nasu/keymaps/mariocs/keymap.c | 60 ------ keyboards/nasu/keymaps/mariocs/readme.md | 14 -- keyboards/nasu/keymaps/mariocs/rules.mk | 2 - keyboards/ok60/keymaps/ebrowncross/keymap.c | 30 --- keyboards/org60/keymaps/boardy/keymap.c | 114 ----------- keyboards/org60/keymaps/boardy/readme.md | 7 - keyboards/org60/keymaps/boardy/rules.mk | 10 - keyboards/pearl/keymaps/phil/keymap.c | 88 -------- .../percent/skog_lite/keymaps/binman/keymap.c | 20 -- .../skog_lite/keymaps/binman/readme.md | 3 - .../primekb/prime_e/keymaps/gwillad/keymap.c | 79 -------- .../primekb/prime_e/keymaps/gwillad/readme.md | 7 - .../primekb/prime_e/keymaps/gwillad/rules.mk | 1 - .../keymaps/jockyxu1122_ansi/keymap.c | 89 --------- .../keymaps/jockyxu1122_ansi/readme.md | 66 ------ .../keymaps/jockyxu1122_iso/keymap.c | 103 ---------- .../keymaps/jockyxu1122_iso/readme.md | 61 ------ 58 files changed, 2420 deletions(-) delete mode 100644 keyboards/dz60/keymaps/iso_de_andys8/README.md delete mode 100644 keyboards/dz60/keymaps/iso_de_andys8/keymap.c delete mode 100644 keyboards/dz60/keymaps/iso_de_andys8/rules.mk delete mode 100644 keyboards/dz60/keymaps/iso_de_arrow_0x544d/keymap.c delete mode 100644 keyboards/dz60/keymaps/iso_de_arrow_0x544d/readme.md delete mode 100644 keyboards/gon/nerd60/keymaps/mauin/keymap.c delete mode 100644 keyboards/gon/nerd60/keymaps/mauin/readme.md delete mode 100644 keyboards/gon/nerd60/keymaps/mauin/rules.mk delete mode 100644 keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c delete mode 100644 keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c delete mode 100644 keyboards/handwired/tritium_numpad/keymaps/blu/layers.json delete mode 100644 keyboards/handwired/tritium_numpad/keymaps/blu/readme.md delete mode 100644 keyboards/hotdox/keymaps/bliss/keymap.c delete mode 100644 keyboards/hotdox/keymaps/bliss/readme.md delete mode 100644 keyboards/hotdox/keymaps/bliss/rules.mk delete mode 100644 keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/keymap.c delete mode 100644 keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/readme.md delete mode 100644 keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/rules.mk delete mode 100644 keyboards/kc60/keymaps/dbroqua_hhkb/keymap.c delete mode 100644 keyboards/kc60/keymaps/dbroqua_hhkb/readme.md delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/config.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap.c delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap_user.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/readme.md delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.c delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rules.mk delete mode 100644 keyboards/lfkeyboards/lfk87/keymaps/gbchk/keymap.c delete mode 100644 keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk delete mode 100644 keyboards/maple_computing/lets_split_eh/keymaps/resfury/config.h delete mode 100644 keyboards/maple_computing/lets_split_eh/keymaps/resfury/keymap.c delete mode 100644 keyboards/maple_computing/lets_split_eh/keymaps/resfury/readme.md delete mode 100644 keyboards/maple_computing/lets_split_eh/keymaps/resfury/rules.mk delete mode 100644 keyboards/mechlovin/hex4b/keymaps/nazzer/keymap.c delete mode 100644 keyboards/mechlovin/hex4b/keymaps/nazzer/reame.md delete mode 100644 keyboards/mechlovin/hex4b/keymaps/nazzer/rules.mk delete mode 100644 keyboards/mechwild/mokulua/standard/keymaps/silly/config.h delete mode 100644 keyboards/mechwild/mokulua/standard/keymaps/silly/keymap.c delete mode 100644 keyboards/mechwild/mokulua/standard/keymaps/silly/readme.md delete mode 100644 keyboards/mechwild/mokulua/standard/keymaps/silly/rules.mk delete mode 100644 keyboards/nasu/keymaps/mariocs/config.h delete mode 100644 keyboards/nasu/keymaps/mariocs/keymap.c delete mode 100644 keyboards/nasu/keymaps/mariocs/readme.md delete mode 100644 keyboards/nasu/keymaps/mariocs/rules.mk delete mode 100644 keyboards/ok60/keymaps/ebrowncross/keymap.c delete mode 100644 keyboards/org60/keymaps/boardy/keymap.c delete mode 100644 keyboards/org60/keymaps/boardy/readme.md delete mode 100644 keyboards/org60/keymaps/boardy/rules.mk delete mode 100755 keyboards/pearl/keymaps/phil/keymap.c delete mode 100755 keyboards/percent/skog_lite/keymaps/binman/keymap.c delete mode 100755 keyboards/percent/skog_lite/keymaps/binman/readme.md delete mode 100644 keyboards/primekb/prime_e/keymaps/gwillad/keymap.c delete mode 100644 keyboards/primekb/prime_e/keymaps/gwillad/readme.md delete mode 100644 keyboards/primekb/prime_e/keymaps/gwillad/rules.mk delete mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/keymap.c delete mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/readme.md delete mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/keymap.c delete mode 100644 keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/readme.md diff --git a/keyboards/dz60/keymaps/iso_de_andys8/README.md b/keyboards/dz60/keymaps/iso_de_andys8/README.md deleted file mode 100644 index 504726adf51..00000000000 --- a/keyboards/dz60/keymaps/iso_de_andys8/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ISO DE layout - -This layout is ISO-DE and similar to a standard 60 ISO layout. There are vim style arrow keys on the function layer. The bottom right is the expected default. diff --git a/keyboards/dz60/keymaps/iso_de_andys8/keymap.c b/keyboards/dz60/keymaps/iso_de_andys8/keymap.c deleted file mode 100644 index dfd5e75b541..00000000000 --- a/keyboards/dz60/keymaps/iso_de_andys8/keymap.c +++ /dev/null @@ -1,38 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* ISO 60 layout by andys8 (ISO German keyboard layout shown) - * - * This layout starts from a standard ISO 60% layout, and adds a function layer. - * - * ,-----------------------------------------------------------------------------------------. - * | Esc | 1 ! | 2 " | 3 § | 4 $ | 5 % | 6 & | 7 / | 8 ( | 9 ) | 0 = | ß ? | ´ ` | Backspace | - * |-----------------------------------------------------------------------------------------| - * | Tab | Q | W | E | R | T | Z | U | I | O | P | Ä | + * | Enter | - * |---------------------------------------------------------------------------------- | - * | Layer_1 | A | S | D | F | G | H | J | K | L | Ö | Ü | # ' | | - * |-----------------------------------------------------------------------------------------| - * | Shift | < > | Y | X | C | V | B | N | M | , ; | . : | - _ | Shift | - * |-----------------------------------------------------------------------------------------| - * | LCtl | LGUI | LAlt | Space | RAlt | RGUI | App | RCtl | - * `-----------------------------------------------------------------------------------------' - */ - LAYOUT_60_iso( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, - MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL - ), - - - LAYOUT_60_iso( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, - KC_NO, KC_NO, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_PSCR, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_END, KC_DEL, KC_NO, KC_NO, - KC_LSFT, BL_TOGG, KC_APP, KC_PAUS, KC_INS, KC_NO, KC_MPLY, KC_MSTP, KC_MUTE, KC_VOLD, KC_VOLU, KC_NO, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_BSPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT - ), - -}; diff --git a/keyboards/dz60/keymaps/iso_de_andys8/rules.mk b/keyboards/dz60/keymaps/iso_de_andys8/rules.mk deleted file mode 100644 index 0aa5b794605..00000000000 --- a/keyboards/dz60/keymaps/iso_de_andys8/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# comment out to disable the options. -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no -AUTO_SHIFT_ENABLE = no # If the time depressed is greater than or equal to the AUTO_SHIFT_TIMEOUT, then a shifted version of the key is emitted. If the time is less than the AUTO_SHIFT_TIMEOUT time, then the normal state is emitted -TAP_DANCE_ENABLE = no diff --git a/keyboards/dz60/keymaps/iso_de_arrow_0x544d/keymap.c b/keyboards/dz60/keymaps/iso_de_arrow_0x544d/keymap.c deleted file mode 100644 index 76a93b50be4..00000000000 --- a/keyboards/dz60/keymaps/iso_de_arrow_0x544d/keymap.c +++ /dev/null @@ -1,96 +0,0 @@ -/* Copyright 2021 Tobias Minn (@0x544D) - * - * 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 . - */ - -#include QMK_KEYBOARD_H - -enum layers_idx{ - _BL = 0, // base layer - _FN1, // function layer 1 - _FN2 // function layer 2 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* ISO 60 layout by 0x544D (ISO German keyboard layout shown) - * - * Keyboard uses a HW layout with dedicated arrow keys. To accomplish that, the key on the - * left of the "UP arrow" key serves a dual purpose as "-_" when pressed short and as "RShift" key - * when you hold the key. To trigger the "underscore" you need to hold LShift and press "-_". - * - * ,-----------------------------------------------------------------------------------------. - * | Esc | 1 ! | 2 " | 3 § | 4 $ | 5 % | 6 & | 7 / | 8 ( | 9 ) | 0 = | ß ? | ´ ` | Backspace | - * |-----------------------------------------------------------------------------------------| - * | Tab | Q | W | E | R | T | Z | U | I | O | P | Ü | + * | Enter | - * |---------------------------------------------------------------------------------- | - * | MO(2) | A | S | D | F | G | H | J | K | L | Ö | Ä | # ' | | - * |-----------------------------------------------------------------------------------------| - * | Shift | < > | Y | X | C | V | B | N | M | , ; | .: |-_ /Shift | Up | Del | - * |-----------------------------------------------------------------------------------------| - * | LCtl | LGUI | LAlt | Space |RAlt| MO(1)| Lft | Dwn | Rgh | - * `-----------------------------------------------------------------------------------------' - */ - [_BL] = LAYOUT_60_iso_arrow_one_bksp( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, - MO(2), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_UP, KC_DEL, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* Funtion Layer 1: Media Controls with arrow keys / RShift (Play Pause), F keys, - * RGB backlight control - * ,-----------------------------------------------------------------------------------------. - * | °^ | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | - * |-----------------------------------------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |---------------------------------------------------------------------------------- | - * | | | | | | | | | | | | | | | - * |-----------------------------------------------------------------------------------------| - * | | | | | | RGB-|RGB_T| RGB+| | | | MPlay |Vol_U| | - * |-----------------------------------------------------------------------------------------| - * | | | | | |Trans| MPrv|Vol_D| MNxt| - * `-----------------------------------------------------------------------------------------' - */ - [_FN1] = LAYOUT_60_iso_arrow_one_bksp( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_RMOD,RGB_TOG, RGB_MOD, KC_NO, KC_NO, KC_NO, KC_MPLY, KC_VOLU, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT - ), - - - /* Funtion Layer 2: Media Controls left hand, F keys, Page up/down, Home/end, Program/QK_BOOT - * ,-----------------------------------------------------------------------------------------. - * | °^ | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | - * |-----------------------------------------------------------------------------------------| - * | | |Vol_D|Vol_U| | | | | | |QK_BOOT| | | | - * |---------------------------------------------------------------------------------- | - * | Trans |MPrv |MPlay| MNxt| | | | | | | | | | | - * |-----------------------------------------------------------------------------------------| - * | | | | | | | | | | | | |PGUP | | - * |-----------------------------------------------------------------------------------------| - * | | | | | | | Home|PGDN | End | - * `-----------------------------------------------------------------------------------------' - */ - [_FN2] = LAYOUT_60_iso_arrow_one_bksp( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, - KC_NO, KC_NO, KC_VOLD, KC_VOLU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_NO, - KC_TRNS, KC_MRWD, KC_MPLY, KC_MNXT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PGUP, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_HOME, KC_PGDN, KC_END - ) -}; \ No newline at end of file diff --git a/keyboards/dz60/keymaps/iso_de_arrow_0x544d/readme.md b/keyboards/dz60/keymaps/iso_de_arrow_0x544d/readme.md deleted file mode 100644 index a3d58c159fc..00000000000 --- a/keyboards/dz60/keymaps/iso_de_arrow_0x544d/readme.md +++ /dev/null @@ -1,10 +0,0 @@ -# DZ60 - ISO DE Arrow Layout - -![DZ60 ISO DE Arrow Layout Image](https://i.imgur.com/rfQRr7n.png) - -This is a modified version of the ISO DE layout for the DZ60 board. It has dedicated -arrow keys and standard spacebar and backspace keys. - -The keyboard uses a hardware layout with dedicated arrow keys. To accomplish that, the key on the -left of the "UP arrow" key serves a dual purpose as "-\_" when pressed short and as "RShift" key -when you hold the key. To trigger the "underscore" you need to hold LShift and press "-\_". diff --git a/keyboards/gon/nerd60/keymaps/mauin/keymap.c b/keyboards/gon/nerd60/keymaps/mauin/keymap.c deleted file mode 100644 index e410d6c0cfe..00000000000 --- a/keyboards/gon/nerd60/keymaps/mauin/keymap.c +++ /dev/null @@ -1,114 +0,0 @@ -/* Copyright 2017 Marvin Ramin (@Mauin) - * - * 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 . - */ -#include QMK_KEYBOARD_H - -// Keymap layers -enum layer_names { - _BS, // Base Layer - _FN, // Function Layer - _SY // System Layer -}; - -enum custom_keycodes { - ESC_GRV = SAFE_RANGE -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Layer 0: Default Layer - * ,-----------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| = | BSp | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \| - * |-----------------------------------------------------------| - * |Funct | A| S| D| F| G| H| J| K| L| ;| '|Enter | - * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /| Shift | - * |-----------------------------------------------------------' - * | Ctl|Alt|Gui | Space |Gui |Alt| F2| Ctl | - * `-----------------------------------------------------------' - */ - [_BS] = LAYOUT_all( - ESC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, XXXXXXX, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, XXXXXXX, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, MO(2), KC_RCTL - ), - - /* Layer 1: Function Layer - * ,-----------------------------------------------------------. - * | | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11| F12| Del | - * |-----------------------------------------------------------| - * | |Prv|Ply|Nxt| | |Pg^|Hme|Up |End| |Br-|Br+| | - * |-----------------------------------------------------------| - * |Hold |Mte|Vl-|Vl+| | |Pgv|Lft|Dwn|Rgt| | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------' - * | | | | | | | | | - * `-----------------------------------------------------------' - */ - [_FN] = LAYOUT_all( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, XXXXXXX, KC_DEL, - XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, XXXXXXX, KC_PGUP, KC_HOME, KC_UP, KC_END, XXXXXXX, KC_SCRL, KC_PAUS, XXXXXXX, - KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, XXXXXXX, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, - KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), - - /* Layer 2: System Layer - * ,-----------------------------------------------------------. - * |Reset| | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------' - * | | | | | | | | | - * `-----------------------------------------------------------' - */ - [_SY] = LAYOUT_all( - QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_TRNS, XXXXXXX - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - uint8_t esc_grv_mask = get_mods() & MOD_BIT(KC_LGUI); - switch (keycode) { - case ESC_GRV: - if (esc_grv_mask) { - if (record->event.pressed) { - register_code16(G(KC_GRV)); - } else { - unregister_code16(G(KC_GRV)); - } - } else { - if (record->event.pressed) { - register_code(KC_ESC); - } else { - unregister_code(KC_ESC); - } - } - break; - } - return true; -} diff --git a/keyboards/gon/nerd60/keymaps/mauin/readme.md b/keyboards/gon/nerd60/keymaps/mauin/readme.md deleted file mode 100644 index 63be7c3923f..00000000000 --- a/keyboards/gon/nerd60/keymaps/mauin/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# Mauin's keymap for the GON NerD - -This layout is based on a Pok3r style layout with a standard base layer. - -Function layers provide access to navigation and media keys. diff --git a/keyboards/gon/nerd60/keymaps/mauin/rules.mk b/keyboards/gon/nerd60/keymaps/mauin/rules.mk deleted file mode 100644 index 4bf836c22a2..00000000000 --- a/keyboards/gon/nerd60/keymaps/mauin/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -MIDI_ENABLE = no # MIDI support -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6 diff --git a/keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c b/keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c deleted file mode 100644 index 421a1e62474..00000000000 --- a/keyboards/handwired/dactyl_manuform/6x6/keymaps/dumam/keymap.c +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2021 Bartosz Nowak (@dumam) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -enum custom_layers { - _QWERTY, // daily use and coding - _MOVE, // mouse, arrows, browsing useful keys - _CONF, // machine settings, keyboard settings, backlight -}; -#define _KC_SPC LT(_CONF, KC_SPC) -#define _KC_ENT LT(_MOVE, KC_ENT) - -#define KC_SPEC SC_SENT // Right Shift when held, Enter when tapped -#define KC_INS_ KC_INS -#define KC_TAB_ KC_TAB -#define RESET__ QK_BOOT - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_QWERTY] = LAYOUT_6x6_5_thumb( - - KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,KC_F6 , KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,KC_F11 ,KC_F12 , - KC_GRV ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_MINS, - KC_BSLS,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T , KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,KC_EQL , - KC_SLSH,KC_A ,KC_S ,KC_D ,KC_F ,KC_G , KC_H ,KC_J ,KC_K ,KC_L ,KC_LBRC,KC_RBRC, - KC_LSFT,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SCLN,KC_QUOT, - KC_LGUI,KC_ESC , KC_HOME,KC_END , - _KC_SPC, _KC_ENT, - KC_TAB_,KC_BSPC, KC_DEL ,KC_RSFT, - KC_LCTL,KC_LALT, KC_RALT,KC_RCTL - ), - - [_CONF] = LAYOUT_6x6_5_thumb( - - RESET__,XXXXXXX,XXXXXXX,XXXXXXX,KC_SLEP,KC_WAKE, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,RESET__, - XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, - XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, - XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,KC_PGUP,XXXXXXX, XXXXXXX,KC_PGUP,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, - XXXXXXX,KC_CAPS,KC_MENU,XXXXXXX,KC_PGDN,KC_LGUI, KC_LGUI,KC_PGDN,XXXXXXX,KC_INS_,KC_PSCR,XXXXXXX, - _______,_______, _______,_______, - _______, _______, - _______,_______, _______,_______, - _______,_______, _______,_______ - ), - - [_MOVE] = LAYOUT_6x6_5_thumb( - - RESET__,XXXXXXX,XXXXXXX,KC_MPRV,KC_MPLY,KC_MPLY, KC_MUTE,KC_VOLD,KC_VOLU,XXXXXXX,XXXXXXX,RESET__, - XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, - XXXXXXX,XXXXXXX,XXXXXXX,KC_MS_U,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,KC_UP ,XXXXXXX,XXXXXXX,XXXXXXX, - XXXXXXX,XXXXXXX,KC_MS_L,KC_MS_D,KC_MS_R,XXXXXXX, XXXXXXX,KC_LEFT,KC_DOWN,KC_RGHT,XXXXXXX,XXXXXXX, - XXXXXXX,XXXXXXX,KC_BTN1,KC_BTN3,KC_BTN2,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, - _______,_______, _______,_______, - _______, _______, - _______,_______, _______,_______, - _______,_______, _______,_______ - ), -}; diff --git a/keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c b/keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c deleted file mode 100644 index ce4066dca23..00000000000 --- a/keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c +++ /dev/null @@ -1,40 +0,0 @@ -#include QMK_KEYBOARD_H - -void keyboard_pre_init_user(void) -{ - // Set layer LED as an output - setPinOutput(B0); -} - -layer_state_t layer_state_set_user(layer_state_t state) -{ - // Switch layer LED accordingly - switch (get_highest_layer(state)) { - case 0: - writePinHigh(B0); - break; - case 1: - writePinLow(B0); - break; - } - return state; -} - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_6x4( - KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - KC_P7, KC_P8, KC_P9, KC_PPLS, - KC_P4, KC_P5, KC_P6, KC_BSPC, - KC_P1, KC_P2, KC_P3, KC_PENT, - KC_P0, KC_UP, KC_PDOT, TT(1), - KC_LEFT, KC_DOWN, KC_RGHT, BL_STEP - ), - [1] = LAYOUT_ortho_6x4( - KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_K, KC_NO, KC_NO, - KC_H, KC_NO, KC_L, KC_NO, - KC_NO, KC_J, KC_NO, KC_NO, - KC_LSFT, KC_Z, KC_X, KC_TRNS, - KC_NO, KC_NO, KC_NO, KC_NO - ) -}; diff --git a/keyboards/handwired/tritium_numpad/keymaps/blu/layers.json b/keyboards/handwired/tritium_numpad/keymaps/blu/layers.json deleted file mode 100644 index fca4d01591e..00000000000 --- a/keyboards/handwired/tritium_numpad/keymaps/blu/layers.json +++ /dev/null @@ -1 +0,0 @@ -[["KC_NUM", "KC_PSLS", "KC_PAST", "KC_PMNS", "KC_P7", "KC_P8", "KC_P9", "KC_PPLS", "KC_P4", "KC_P5", "KC_P6", "KC_BSPC", "KC_P1", "KC_P2", "KC_P3", "KC_PENT", "KC_P0", "KC_UP", "KC_PDOT", "TT(1)", "KC_LEFT", "KC_DOWN", "KC_RGHT", "BL_STEP"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_K", "KC_NO", "KC_NO", "KC_H", "KC_NO", "KC_L", "KC_NO", "KC_NO", "KC_J", "KC_NO", "KC_NO", "KC_LSFT", "KC_Z", "KC_X", "KC_TRNS", "KC_NO", "KC_NO", "KC_NO", "KC_NO"]] \ No newline at end of file diff --git a/keyboards/handwired/tritium_numpad/keymaps/blu/readme.md b/keyboards/handwired/tritium_numpad/keymaps/blu/readme.md deleted file mode 100644 index fd07b155fb7..00000000000 --- a/keyboards/handwired/tritium_numpad/keymaps/blu/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated Keymap Layout - -This layout was generated by the QMK API. You can find the JSON data used to -generate this keymap in the file layers.json. - -To make use of this file you will need follow the following steps: - -* Download or Clone QMK Firmware: -* Extract QMK Firmware to a location on your hard drive -* Copy this folder into %s -* You are now ready to compile or use your keymap with the source - -More information can be found in the QMK docs: \ No newline at end of file diff --git a/keyboards/hotdox/keymaps/bliss/keymap.c b/keyboards/hotdox/keymaps/bliss/keymap.c deleted file mode 100644 index b83114d0248..00000000000 --- a/keyboards/hotdox/keymaps/bliss/keymap.c +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright 2021 Benjamin Chausse - * - * 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 . - */ - -#include QMK_KEYBOARD_H -#include "version.h" - -enum layer_names { - BASE, // default layer - FUNC, // functions keys, numbpad, and arrows -}; - -enum custom_keycodes { - VRSN = SAFE_RANGE, - RGB_SLD -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Keymap 0: default layer - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | | 7 | 8 | 9 | 0 | - | = | BkSp | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | Tab | Q | W | E | R | T | { | | } | Y | U | I | O | P | \ | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | TUX | A | S | D | F | G |------| |------| H | J | K | L | ; | '/TUX | - * |--------+------+------+------+------+------| ^ | | & |------+------+------+------+------+--------| - * | Shft/( | Z | X | C | V | B | | | | N | M | , | . | / | Shft/) | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | Ctrl | Alt | Caps | MP1 | FUNC | | MR1 | MS1 | [ | ] | TFUNC | - * `----------------------------------' `----------------------------------' - * ,-------------. ,---------------. - * | | Prnt | | INS | HOME | - * ,------|------|------| |------+--------+------. - * | | | Vol+ | | PgUp | | | - * | Space|Backsp|------| |------| Enter | : | - * | |ace | Vol- | | PgDn | | | - * `--------------------' `----------------------' - * - * MR1: Record macro 1 Prnt: Print Screen - * MS1: Stop recording macro 1 INS: INSERT - * MP1: Play macro 1 TFUNC: Goto FUNC only while pressed - * FUNC: Set FUNC as default layer - * - * - */ - -/* If it accepts an argument (i.e, is a function), it doesn't need KC_. */ -/* Otherwise, it needs KC_* */ - [BASE] = LAYOUT_ergodox( /* layer 0: default */ - /* Left hand */ - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, LSFT(KC_LBRC), - MT(MOD_LGUI, KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, LSFT(KC_6), - KC_LCTL, KC_LALT, KC_CAPS, DM_PLY1, DF(1), - - KC_NO, KC_PSCR, - KC_VOLU, - KC_SPC, KC_BSPC, KC_VOLD, - - /* right hand */ - KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, - RSFT(KC_RBRC), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - KC_H, KC_J, KC_K, KC_L, KC_SCLN, MT(MOD_RGUI, KC_QUOT), - RSFT(KC_7), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - DM_REC1, DM_RSTP, KC_LBRC, KC_RBRC, MO(1), - - KC_INS, KC_HOME, - KC_PGUP, - KC_PGDN, KC_ENT, RSFT(KC_SCLN)), - -/* Keymap 1: function keys, numpad, and arrows - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | | UP | | | | | | / | 7 | 8 | 9 | - | \ | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | LEFT | DOWN |RIGHT | |------| |------| * | 4 | 5 | 6 | + | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | | | | | | | | % | 1 | 2 | 3 | , | Shft/) | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | Ctrl | Alt | Caps | | MAIN | | 0 | . | [ | ] | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,---------------. - * | | Prnt | | Ins | Home | - * ,------|------|------| |------+--------+------. - * | | | Vol+ | | PgUp | | | - * | Space|Backsp|------| |------| Enter | Equal| - * | |ace | Vol- | | PgDn | | | - * `--------------------' `----------------------' - */ - - [FUNC] = LAYOUT_ergodox( /* layer 1: func */ - /* left hand */ - KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, - KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_LCTL, KC_LALT, KC_CAPS, KC_NO, DF(0), - - KC_NO, KC_PSCR, - KC_VOLU, - KC_SPC, KC_BSPC, KC_VOLD, - - /* right hand */ - KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, - KC_NO, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_PMNS, KC_BSLS, - KC_PAST, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_NO, - KC_NO, LSFT(KC_5), KC_P1, KC_P2, KC_P3, KC_PCMM, SC_RSPC, - KC_P0, KC_PDOT, KC_LBRC, KC_RBRC, KC_NO, - - KC_INS, KC_HOME, - KC_PGUP, - KC_PGDN, KC_ENT, KC_PEQL) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - // dynamically generate these. - case VRSN: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - case RGB_SLD: - if (record->event.pressed) { - #ifdef RGBLIGHT_ENABLE - rgblight_mode(1); - #endif - } - return false; - break; - } - return true; -} - - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - - uint8_t layer = get_highest_layer(layer_state); - - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - switch (layer) { - // TODO: Make this relevant to the ErgoDox EZ. - case 1: - ergodox_right_led_1_on(); - break; - case 2: - ergodox_right_led_2_on(); - break; - default: - // none - break; - } -}; diff --git a/keyboards/hotdox/keymaps/bliss/readme.md b/keyboards/hotdox/keymaps/bliss/readme.md deleted file mode 100644 index a31ee2826ec..00000000000 --- a/keyboards/hotdox/keymaps/bliss/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# Bliss for Hotdox - -This keymap for the ergodox hotdox is a take on a development setup I quite -enjoy. Developers constantly use brackets and they should therefore be -accessible instead of hidden away behind a shift key. Also this setup aims to minimize hand travel with a layer containing a numpad as well as arrows. Finally, -this setup incorporates a dynamic macro recorder for an easy, software agnostic way to program macros. - -All keybinding diagrams can be read in the `keymap.c` file. It is quite well documented. diff --git a/keyboards/hotdox/keymaps/bliss/rules.mk b/keyboards/hotdox/keymaps/bliss/rules.mk deleted file mode 100644 index ca616d75eed..00000000000 --- a/keyboards/hotdox/keymaps/bliss/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes - -EXTRAKEY_ENABLE = yes -DYNAMIC_MACRO_ENABLE = yes diff --git a/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/keymap.c b/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/keymap.c deleted file mode 100644 index 4aa8b940b2b..00000000000 --- a/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/keymap.c +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright 2019 Devinceble AKA Vimwarrior - * - * 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 . - */ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RCTL, MO(2), KC_RGUI - ), - [1] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_TRNS, KC_BTN1, KC_MS_U, KC_BTN2, KC_WH_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, - KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_RGHT, KC_TRNS, - KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DOWN, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, - KC_CAPS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, BL_TOGG, BL_STEP, BL_ON, BL_OFF, BL_UP, BL_DOWN,BL_BRTG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) -}; - -void matrix_init_user(void) { - -} - -void matrix_scan_user(void) { - -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - return true; -} diff --git a/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/readme.md b/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/readme.md deleted file mode 100644 index ebd416aea57..00000000000 --- a/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devinceble AKA Vimwarrior HHKB Tofu Keymap - -Build Hex File: - - make kbdfans/kbd6x:devinceble_hhkb_tofu - -Flash Keyboard - - make kbdfans/kbd6x:devinceble_hhkb_tofu:flash diff --git a/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/rules.mk b/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/rules.mk deleted file mode 100644 index 23f4c567445..00000000000 --- a/keyboards/kbdfans/kbd6x/keymaps/devinceble_hhkb_tofu/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -BOOTLOADER = atmel-dfu -MOUSEKEY_ENABLE = yes diff --git a/keyboards/kc60/keymaps/dbroqua_hhkb/keymap.c b/keyboards/kc60/keymaps/dbroqua_hhkb/keymap.c deleted file mode 100644 index 2189e5bc5c3..00000000000 --- a/keyboards/kc60/keymaps/dbroqua_hhkb/keymap.c +++ /dev/null @@ -1,51 +0,0 @@ - -#include QMK_KEYBOARD_H - -enum layer_names { - _QWERTY, - _FN -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Qwerty - * ,-----------------------------------------------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - * |-----------------------------------------------------------------------------------------+ - * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bksp | - * |-----------------------------------------------------------------------------------------+ - * | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter | - * |-----------------------------------------------------------------------------------------+ - * | Shift | Z | X | C | V | B | N | M | , | . | / | RShift | FN | - * |-----------------------------------------------------------------------------------------+ - * | LGUI | LAlt | Space | RAlt | RGUI | - * `-----------------------------------------------------------------' - */ - [0] = LAYOUT_all( /* Basic QWERTY */ - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT, - KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN), - _______, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, _______, _______ - ), - - /* Layer 1 - * ,-----------------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | - * |-----------------------------------------------------------------------------------------+ - * | CAPS | Led | Led-| Led+| | | | | Psc | Slck| Paus| Up | | | - * |-----------------------------------------------------------------------------------------+ - * | | Vol-| Vol+| Mute| | | * | / | Home| PgUp| Left|Right| | - * |-----------------------------------------------------------------------------------------+ - * | | Prev| Play| Next| | | + | - | End |PgDn| Down| | | - * |-----------------------------------------------------------------------------------------+ - * | | | | Stop | | - * `-----------------------------------------------------------------' - */ - [_FN] = LAYOUT_all( /* Layer 1 */ - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_CAPS, BL_TOGG, BL_UP, BL_DOWN, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, _______, - _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, KC_MSTP, _______, _______, _______ - ) -}; diff --git a/keyboards/kc60/keymaps/dbroqua_hhkb/readme.md b/keyboards/kc60/keymaps/dbroqua_hhkb/readme.md deleted file mode 100644 index be99a3bc7e7..00000000000 --- a/keyboards/kc60/keymaps/dbroqua_hhkb/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# Dbroqua HHKB like Layout - -Like the HHKB but with a KC60 PCB :D. - -# Programming Instructions: -Enter into programming mode and run the following command. -``` -$ sudo KEYMAP=dbroqua_hhkb make dfu -``` \ No newline at end of file diff --git a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/config.h b/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/config.h deleted file mode 100644 index acd208b8c67..00000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * 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 . - */ - -#pragma once - -#ifdef RGB_MATRIX_ENABLE -# define RGB_MATRIX_SLEEP -# define CAPS_LOCK_INDICATOR_COLOR RGB_RED -# define FN_LAYER_COLOR RGB_ORANGE -#endif \ No newline at end of file diff --git a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap.c b/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap.c deleted file mode 100644 index f86a84e468d..00000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap.c +++ /dev/null @@ -1,153 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * 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 . - */ - -#include QMK_KEYBOARD_H -#include "keymap_user.h" -#ifdef RGB_MATRIX_ENABLE -# include "rgb_matrix_user.h" -#endif - -// clang-format off - -typedef union { - uint32_t raw; - struct { - bool caps_lock_light_tab :1; - bool caps_lock_light_alphas :1; - bool fn_layer_transparent_keys_off :1; - bool fn_layer_color_enable :1; - }; -} user_config_t; - -user_config_t user_config; - -enum custom_keycodes { - KC_LIGHT_TAB_TOGGLE = QK_KB_2, // TECH DEBT: Starts at QK_KB_2 to maintain ordering with VIA definitions. See #19884. Revert to QK_KB_0 when VIA catches up with QMK. - KC_LIGHT_ALPHAS_TOGGLE, - KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE, - KC_FN_LAYER_COLOR_TOGGLE -}; - -#define KC_LTTOG KC_LIGHT_TAB_TOGGLE -#define KC_LATOG KC_LIGHT_ALPHAS_TOGGLE -#define KC_TKTOG KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE -#define KC_FCTOG KC_FN_LAYER_COLOR_TOGGLE -#define KC_TASK LGUI(KC_TAB) -#define KC_FLXP LGUI(KC_E) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[MAC_BASE] = LAYOUT_iso_83( - KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL, KC_INS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(MAC_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[MAC_FN] = LAYOUT_iso_83( - KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_LTTOG, KC_LATOG, KC_TKTOG, KC_FCTOG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[WIN_BASE] = LAYOUT_iso_83( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(WIN_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[WIN_FN] = LAYOUT_iso_83( - KC_TRNS, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_LTTOG, KC_LATOG, KC_TKTOG, KC_FCTOG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) - -}; - -// clang-format on - -void matrix_init_user(void) { -#ifdef RGB_MATRIX_ENABLE - rgb_matrix_init_user(); -#endif -} - -void keyboard_post_init_user(void) { - user_config.raw = eeconfig_read_user(); -} - -void eeconfig_init_user(void) { - user_config.raw = 0; - user_config.caps_lock_light_tab = false; - user_config.caps_lock_light_alphas = false; - user_config.fn_layer_transparent_keys_off = true; - user_config.fn_layer_color_enable = false; - eeconfig_update_user(user_config.raw); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case KC_LIGHT_TAB_TOGGLE: - if (record->event.pressed) { - user_config.caps_lock_light_tab ^= 1; // bitwise xor to toggle status bit - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - case KC_LIGHT_ALPHAS_TOGGLE: - if (record->event.pressed) { - user_config.caps_lock_light_alphas ^= 1; - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - case KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE: - if (record->event.pressed) { - user_config.fn_layer_transparent_keys_off ^= 1; - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - case KC_FN_LAYER_COLOR_TOGGLE: - if (record->event.pressed) { - user_config.fn_layer_color_enable ^= 1; - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - default: - return true; // Process all other keycodes normally - } -} - -bool get_caps_lock_light_tab(void) { - return user_config.caps_lock_light_tab; -} - -bool get_caps_lock_light_alphas(void) { - return user_config.caps_lock_light_alphas; -} - -bool get_fn_layer_transparent_keys_off(void) { - return user_config.fn_layer_transparent_keys_off; -} - -bool get_fn_layer_color_enable(void) { - return user_config.fn_layer_color_enable; -} diff --git a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap_user.h b/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap_user.h deleted file mode 100644 index 87b1baf47f2..00000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/keymap_user.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * 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 . - */ - -#pragma once - -// clang-format off - -enum layers { - MAC_BASE, - MAC_FN, - WIN_BASE, - WIN_FN -}; - -// clang-format on - -bool get_caps_lock_light_tab(void); -bool get_caps_lock_light_alphas(void); -bool get_fn_layer_transparent_keys_off(void); -bool get_fn_layer_color_enable(void); \ No newline at end of file diff --git a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/readme.md b/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/readme.md deleted file mode 100644 index 25d835b1c02..00000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/readme.md +++ /dev/null @@ -1,54 +0,0 @@ -## mkillewald's Keychron Q1 keymap (ISO rev_0102) v1.0.4 - -This keymap builds on the keymap by Grayson Carr (gtg465x) but adds a couple options. - -## Features: -- On macOS, F3 opens Mission Control and F4 opens Launchpad without needing to configure shortcuts in System Preferences -- RGB lighting turns off when the computer sleeps -- Caps Lock RGB indicator - - the Caps Lock key will light when Caps Lock is enabled with the following options: - - #define CAPS_LOCK_INDICATOR_COLOR [color] in config.h to set the backlight color used for the indicator when Caps Lock is enabled (default: red) - - Fn+Z will toggle lighting the TAB key when Caps Lock is enabled. This is useful with non backlit keycaps/legends. (default: off) - - Fn+X will toggle lighting all the alpha keys when Caps Lock is enabled. (default: off) - -- Dynamic Fn layer RGB indicator - - When the Fn key is held down, any keys defined on the Fn layer in this firmware or in VIA will be highlighted with the following options: - - #define FN_LAYER_COLOR [color] in config.h to set a static color for defined keys (default: orange) - - Fn+C will toggle turning off RGB for keys with no definition (default: RGB off) - - Fn+V will toggle lighting the defined Fn layer keys with the static color set with FN_LAYER_COLOR (default: static color off) - -- All custom keycodes can be moved to different keys in VIA by using the ANY key with the following keycodes: - - USER(0) (default: F3) macOS Mission Control - - USER(1) (default: F4) macOS Launchpad - - USER(2) (default: Fn+Z) Caps Lock light Tab toggle - - USER(3) (default: Fn+X) Caps Lock light alphas toggle - - USER(4) (default: Fn+C) Fn layer non-defined keys RGB toggle - - USER(5) (default: Fn+V) Fn layer defined keys static color toggle - -RGB must be toggled on for all indicators to function. If you do not want an RGB mode active but still want the indicators, toggle RGB on and turn the brightness all the way off. The indicators will remain at full brightness. - -Please make sure to save any customizations you have made in VIA to a .json file before flashing the firmware. Sometimes it has been necessary to re-apply those changes in VIA after flashing the firmware. If that is the case, you will most likely need to manually add the USER(0) through USER(5) custom keycodes after loading your customizations from the saved .json file. Then re-save a new .json file which will have your previous customizations and the custom keycodes for future use as needed. - -#### USE AT YOUR OWN RISK - -## Changelog: - -v1.0.4 October 9, 2021 -- Caps Lock and Fn layer toggles are now stored in eeprom so settings will remain when Q1 is unplugged - -v1.0.3 October 8, 2021 -- now using keycode toggles instead of preprocessor directives to set the various Caps Lock and Fn Layer RGB lighting options. This allows for setting the options from user space without having to recompile. - -v1.0.2 October 7, 2021 -- adapted Grayson Carr's (gtg465x) Caps Lock alphas and dynamic Fn layer RGB routines -- added CAPS_LOCK_INDICATOR_LIGHT_TAB config option to enable/disable lighting Tab with Caps Lock indicator -- added FN_LAYER_COLOR config option to set FN layer static color - -v1.0.1 October 7, 2021 -- Mission Control and Launchpad custom keycodes are now defined using the VIA user keycodes range so thay can be labeled properly in VIA (adopted change from gtg465x) - -v1.0.0 September 30, 2021 -- Initial release built upon keymap by Grayson Carr (gtg465x) -- defined Mission Control (F3) and Launchpad (F4) keycodes for macOs -- RGB backlight turns off when computer sleeps -- added Caps Lock indicator lighting both the Caps Lock and Tab LEDs for better effect on non-backlit keycaps diff --git a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.c b/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.c deleted file mode 100644 index c6fa5f1f155..00000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.c +++ /dev/null @@ -1,84 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * 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 . - */ - -#include QMK_KEYBOARD_H -#include "rgb_matrix_user.h" -#include "keymap_user.h" - -keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT]; - -void rgb_matrix_init_user(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - uint8_t led_index = g_led_config.matrix_co[row][col]; - if (led_index != NO_LED) { - led_index_key_position[led_index] = (keypos_t){.row = row, .col = col}; - } - } - } -} - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - uint8_t current_layer = get_highest_layer(layer_state); - switch (current_layer) { - case MAC_BASE: - case WIN_BASE: -#ifdef CAPS_LOCK_INDICATOR_COLOR - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_caps_lock_indicator, CAPS_LOCK_INDICATOR_COLOR); - } -#endif - break; - case MAC_FN: - case WIN_FN: -#ifdef FN_LAYER_COLOR - if (get_fn_layer_color_enable()) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_not_transparent, FN_LAYER_COLOR); - } -#endif - if (get_fn_layer_transparent_keys_off()) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_transparent, RGB_OFF); - } - break; - } - return false; -} - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue) { - for (uint8_t i = led_min; i < led_max; i++) { - uint16_t keycode = keymap_key_to_keycode(layer, led_index_key_position[i]); - if ((*is_keycode)(keycode)) { - rgb_matrix_set_color(i, red, green, blue); - } - } -} - -bool is_caps_lock_indicator(uint16_t keycode) { - bool indicator = keycode == KC_CAPS; - - if (get_caps_lock_light_tab()) { - indicator = keycode == KC_TAB || keycode == KC_CAPS; - } - - if (get_caps_lock_light_alphas()) { - return (KC_A <= keycode && keycode <= KC_Z) || indicator; - } else { - return indicator; - } -} - -bool is_transparent(uint16_t keycode) { return keycode == KC_TRNS; } -bool is_not_transparent(uint16_t keycode) { return keycode != KC_TRNS; } diff --git a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.h b/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.h deleted file mode 100644 index 1fb79c0b2a1..00000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rgb_matrix_user.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * 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 . - */ - -#pragma once - -void rgb_matrix_init_user(void); - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue); - -bool is_caps_lock_indicator(uint16_t keycode); -bool is_transparent(uint16_t keycode); -bool is_not_transparent(uint16_t keycode); - diff --git a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rules.mk b/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rules.mk deleted file mode 100644 index af720e37ee7..00000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/mkillewald_iso/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -VIA_ENABLE = yes -MOUSEKEY_ENABLE = no - -ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) - SRC += rgb_matrix_user.c -endif \ No newline at end of file diff --git a/keyboards/lfkeyboards/lfk87/keymaps/gbchk/keymap.c b/keyboards/lfkeyboards/lfk87/keymaps/gbchk/keymap.c deleted file mode 100644 index 0191b3570fe..00000000000 --- a/keyboards/lfkeyboards/lfk87/keymaps/gbchk/keymap.c +++ /dev/null @@ -1,89 +0,0 @@ -#include QMK_KEYBOARD_H - -enum keymap_layout { - VANILLA = 0, // matches MF68 layout - FUNC, // 0x08 - SETTINGS, // 0x10 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap VANILLA: (Base Layer) Default Layer - * ,-----------------------------------------------------------------------------. - * |Esc |f1| f2| f3| f4| | f5| f6| f7| f8| | f9|f10|f11|f12| |Prnt|ScLk|Paus| - * |-----------------------------------------------------------| |--------------| - * | ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0| - | = |Backsp | | Ins|Home|PgUp| - * |-----------------------------------------------------------| |--------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \| | Del| End|PgDn| - * |-----------------------------------------------------------| `--------------' - * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return | - * |-----------------------------------------------------------| ,----. - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | | Up | - * |-----------------------------------------------------------| ,-------------. - * |Ctrl|Gui |Alt | Space |ALT |GUI |Func|CTRL | |Lft| Dn |Rig | - * `-----------------------------------------------------------' `-------------' - */ - [VANILLA] = LAYOUT_tkl_ansi( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, LGUI(KC_D), KC_F6, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(FUNC), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* Keymap FUNCTION: Function Layer - * ,-------------------------------------------------------------. ,--------------. - * |Esc |f1| f2| f3| f4| | f5| f6| f7| f8| | f9|f10|f11|f12 | |Prnt|ScLk|Paus| - * |-------------------------------------------------------------| |--------------| - * | ` |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Delete | | | | | - * |-------------------------------------------------------------| |--------------| - * |Tab | |PgU| | | | | | Up| | | | | | | | | | - * |-------------------------------------------------------------| `--------------' - * |Control|Hme|PgD|End| | | |Lft|Dwn|Rgt| | | | - * |-------------------------------------------------------------| ,----. - * |Shift | |Del| | | | |Mute|V- |V+ | |TG(SETTINGS)| | Up | - * |-------------------------------------------------------------' ,-------------. - * |Func|Win |Alt | PgD |Alt |Ctrl |Func | |Lft| Dn |Rig | - * `------------------------------------------------------' `-------------' - */ - [FUNC] = LAYOUT_tkl_ansi( - KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, _______, _______, - XXXXXXX, XXXXXXX, KC_PGUP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, - _______, KC_HOME, KC_PGDN, KC_END, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, - _______, XXXXXXX, KC_DEL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, TG(SETTINGS), _______, - _______, _______, _______, KC_PGDN, _______, _______, _______, _______, _______, _______, _______ - ), - - /* Keymap SETTINGS: Settings Layer - * ,-----------------------------------------------------------. ,-------------. - * |Esc |f1| f2| f3| f4| | f5| f6| f7| f8| | f9|f10|f11|f12 | |Prnt|ScLk|Paus| - * |-------------------------------------------------------------| |--------------| - * |FN0 | | | | | | | | | | |BL-|BL+|BL Togl| |RGB Tog |Val+| - * |-----------------------------------------------------------| |-------------| - * |MuMode| | | | | | | | | | | | |LEDTst| |RGB Mode|Val-| - * |-----------------------------------------------------------| `-------------' - * |AudTgl |Hz+|MS+| | | | | | | | | | RST | - * |-----------------------------------------------------------| ,----. - * |ClickTgl|Hz-|MS-| | | | | | | | |Layer Clr | |Hue+| - * |--------------------------------------------------------------------------. - * | | | | | | | | | |Sat-|Hue-|Sat+| - * `----------------------------------------------------------------------------' - */ - [SETTINGS] = LAYOUT_tkl_ansi( - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, BL_DOWN, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, BL_DOWN, BL_UP, BL_TOGG, RGB_TOG, RGB_VAI, XXXXXXX, - MU_NEXT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_MOD, RGB_VAD, XXXXXXX, - AU_TOGG, KC_F1, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, MU_TOGG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_HUI, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, RGB_SAD, RGB_HUD, RGB_SAI - ) -}; - -void matrix_init_user(void) { - // This keymap only has a single base layer, so reset the default if needed - if (eeconfig_read_default_layer() > 1) { - eeconfig_update_default_layer(1); - default_layer_set(1); - } -} diff --git a/keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk b/keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk deleted file mode 100644 index bcd6b23d237..00000000000 --- a/keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk +++ /dev/null @@ -1 +0,0 @@ -WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/config.h b/keyboards/maple_computing/lets_split_eh/keymaps/resfury/config.h deleted file mode 100644 index 0055bbf459d..00000000000 --- a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert - -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 . -*/ - -#pragma once - -#define EE_HANDS \ No newline at end of file diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/keymap.c b/keyboards/maple_computing/lets_split_eh/keymaps/resfury/keymap.c deleted file mode 100644 index d4b06c6ef35..00000000000 --- a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/keymap.c +++ /dev/null @@ -1,189 +0,0 @@ -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -enum resfury_layers { - _COLEMAK, - _DVORAK, - _QWERTY -}; - -enum resfury_keycodes { - COLEMAK = SAFE_RANGE, - DVORAK, - QWERTY, -}; - -#define _LOWER 3 -#define _RAISE 4 -#define _FUNCTION 15 -#define _ADJUST 16 - -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) -#define FUNCTION MO(_FUNCTION) -#define ADJUST MO(_ADJUST) - - -// Defines for task manager and such -#define CALTDEL LCTL(LALT(KC_DEL)) -#define TSKMGR LCTL(LSFT(KC_ESC)) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Colemak - * ,-----------------------------------------------------------------------------------. - * | Esc | Q | W | F | P | G | J | L | U | Y | ; | \ | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * |F/TAB | A | R | S | T | D | H | N | E | I | O | ' | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | K | M | , | . | / |Shift | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | Ent |Lower | Bksp | Spc | Raise| Left | Up | Down |Right | - * `-----------------------------------------------------------------------------------' - */ -[_COLEMAK] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, - LT(_FUNCTION,KC_TAB), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - OSM(MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, OSM(MOD_RSFT), - KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT -), - - /* Dvorak - * ,-----------------------------------------------------------------------------------. - * | Esc | ' | , | . | P | Y | F | G | C | R | L | / | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * |F/TAB | A | O | E | U | I | D | H | T | R | L | - | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Shift | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | Ent |Lower | Bksp | Spc | Raise| Left | Up | Down |Right | - * `-----------------------------------------------------------------------------------' - */ -[_DVORAK] = LAYOUT( - KC_ESC, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, - LT(_FUNCTION,KC_TAB), KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, - OSM(MOD_LSFT), KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, OSM(MOD_RSFT), - KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT -), - - - /* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P | \ | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * |F/TAB | A | S | D | F | G | H | J | K | L | ; | ' | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Shift | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | Ent |Lower | Bksp | Spc | Raise| Left | Up | Down |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - LT(_FUNCTION,KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - OSM(MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, OSM(MOD_RSFT), - KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 | ~ | ` | Mute | Ctl/ | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | |Lower | Bksp | Spc |Adjust| Play | Vol+ | Vol- | Next | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT( - KC_ESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_GRV), KC_GRV, KC_MUTE, RCTL(KC_BSLS), KC_PIPE, - _______, _______, _______, _______, _______, KC_BSPC, KC_SPC, ADJUST, KC_MPLY, KC_VOLU, KC_VOLD, KC_MNXT -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | 4 | 5 | 6 | + | - | + | - | = | [ | ] |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | 7 | 8 | 9 | * | / | * | / | . | Mute | Ctl/ | \ | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | , | 0 | . |Adjust| Bksp | Spc |Raise | Play | Vol+ | Vol- | Next | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - _______, KC_4, KC_5, KC_6, KC_PLUS, KC_MINS, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______, - _______, KC_7, KC_8, KC_9, KC_ASTR, KC_SLSH, KC_ASTR, KC_SLSH, KC_DOT, KC_MUTE, RCTL(KC_BSLS), KC_BSLS, - _______, KC_COMM, KC_0, KC_DOT, ADJUST, KC_BSPC, KC_SPC, _______, KC_MPLY, KC_VOLU, KC_VOLD, KC_MNXT -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * |Taskmg| | | | | | | |RGBVAI|RGBSAI|RGBHUI|caltde| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * |_COLEMAK| | | | | | | |RGBVAD|RGBSAD|RGBHUD|RGBTOG| - * |------+------+------+------+------+------|------+------+------+------+------+------| - * |_DVORAK| | | | | | | | | |RGBMOD|BLSTEP| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |_QWERTY| | | | | | | | | | | QK_BOOT| - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT( - TSKMGR, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAI, RGB_HUI, CALTDEL, - DF(_COLEMAK), _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_SAD, RGB_HUD, RGB_TOG, - DF(_DVORAK), _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_MOD, BL_STEP, - DF(_QWERTY), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT -), - -/* Function - * ,-----------------------------------------------------------------------------------. - * | Caps | | | | | | S(Hm)| Home | Up | End |S(End)| | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | Ctrl | Shift| Alt | | | | Left | Down |Right | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_FUNCTION] = LAYOUT( - KC_CAPS, _______, _______, _______, _______, _______, S(KC_HOME), KC_HOME, KC_UP, KC_END, S(KC_END), _______, - _______, KC_LCTL, KC_LSFT, KC_LALT, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - return false; - break; - - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - return false; - break; - - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - return false; - break; - } - return true; -} diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/readme.md b/keyboards/maple_computing/lets_split_eh/keymaps/resfury/readme.md deleted file mode 100644 index 6a882307b7e..00000000000 --- a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -![Let's Split Eh?](https://imgur.com/a/riUxwpl) - -# ResFury Let's Split, Eh Layout - -This layout specializes the Let's Split, Eh for Colevrak users that occasionally let others play with their toys. Adjust layer allows swapping to Colemak/Dvorak/Qwerty alphas. Heavily influenced by the default planck layout, but with up/down switched, a left hand 10-key, remapped backspace, and a few convenience keys. - -Master set by EE_HANDS method. \ No newline at end of file diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/rules.mk b/keyboards/maple_computing/lets_split_eh/keymaps/resfury/rules.mk deleted file mode 100644 index 7ad666d1a38..00000000000 --- a/keyboards/maple_computing/lets_split_eh/keymaps/resfury/rules.mk +++ /dev/null @@ -1 +0,0 @@ -RGBLIGHT_ENABLE = yes \ No newline at end of file diff --git a/keyboards/mechlovin/hex4b/keymaps/nazzer/keymap.c b/keyboards/mechlovin/hex4b/keymaps/nazzer/keymap.c deleted file mode 100644 index e0634d85dca..00000000000 --- a/keyboards/mechlovin/hex4b/keymaps/nazzer/keymap.c +++ /dev/null @@ -1,98 +0,0 @@ -/* Copyright 2020 Team Mechlovin - * Copyright 2021 Nazerim - * - * 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 . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_split_bs( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_SPC, KC_HOME, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - -}; - -bool led_update_user(led_t led_state) { - - // Toggle CAPS_LOCK LED normally - -# if LED_PIN_ON_STATE == 0 - // invert the whole thing to avoid having to conditionally !led_state.x later - led_state.raw = ~led_state.raw; -# endif -# ifdef LED_CAPS_LOCK_PIN - writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock); -# endif - - // Don't call led_update_kb - return false; -} - -layer_state_t layer_state_set_user(layer_state_t state) { - - uint8_t layer = get_highest_layer(state); - -#if defined(LED_NUM_LOCK_PIN) && defined(LED_SCROLL_LOCK_PIN) - switch (layer) { - case 0: - writePin(LED_SCROLL_LOCK_PIN, !LED_PIN_ON_STATE); - writePin(LED_NUM_LOCK_PIN, !LED_PIN_ON_STATE); - break; - case 1: - writePin(LED_SCROLL_LOCK_PIN, LED_PIN_ON_STATE); - writePin(LED_NUM_LOCK_PIN, !LED_PIN_ON_STATE); - break; - case 2: - writePin(LED_SCROLL_LOCK_PIN, !LED_PIN_ON_STATE); - writePin(LED_NUM_LOCK_PIN, LED_PIN_ON_STATE); - break; - case 3: - writePin(LED_SCROLL_LOCK_PIN, LED_PIN_ON_STATE); - writePin(LED_NUM_LOCK_PIN, LED_PIN_ON_STATE); - break; - } -#endif - - return state; - -} diff --git a/keyboards/mechlovin/hex4b/keymaps/nazzer/reame.md b/keyboards/mechlovin/hex4b/keymaps/nazzer/reame.md deleted file mode 100644 index a8a686d8bc4..00000000000 --- a/keyboards/mechlovin/hex4b/keymaps/nazzer/reame.md +++ /dev/null @@ -1,15 +0,0 @@ -# Nazzer's Hex 4b - Layers on Scroll Lock and Num Lock LED - -Repurposed the Scroll Lock and Num Lock LED's as Hex 4b does not have a NUM pad and default layout does not map Scroll Lock -- Top LED shows CAPS lock status -- Layer indicators: -- Layer 0: bottom LED off, middle LED off -- Layer 1: bottom LED on , middle LED off -- Layer 2: bottom LED off, middle LED on -- Layer 3: bottom LED on , middle LED on - -## Changelog - -### 15/11/2021 - 0.0.1 - -- Initial release diff --git a/keyboards/mechlovin/hex4b/keymaps/nazzer/rules.mk b/keyboards/mechlovin/hex4b/keymaps/nazzer/rules.mk deleted file mode 100644 index 036bd6d1c3e..00000000000 --- a/keyboards/mechlovin/hex4b/keymaps/nazzer/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/mechwild/mokulua/standard/keymaps/silly/config.h b/keyboards/mechwild/mokulua/standard/keymaps/silly/config.h deleted file mode 100644 index 271ab552924..00000000000 --- a/keyboards/mechwild/mokulua/standard/keymaps/silly/config.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2022 Kyle McCreery (@kylemccreery) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define RGBLIGHT_LAYERS \ No newline at end of file diff --git a/keyboards/mechwild/mokulua/standard/keymaps/silly/keymap.c b/keyboards/mechwild/mokulua/standard/keymaps/silly/keymap.c deleted file mode 100644 index d7fcf0f221b..00000000000 --- a/keyboards/mechwild/mokulua/standard/keymaps/silly/keymap.c +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Kyle McCreery (@kylemccreery) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -#define FN1_SPC LT(1, KC_SPC) -#define FN2_SPC LT(2, KC_SPC) -#define HSV_SILLY_PURPLE 180, 255, 255 - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE, - _FN1, - _FN2, - _RS3 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_MINS, KC_7, KC_8, KC_9, KC_0, _______, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_SCLN, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, - KC_LSFT, _______, KC_Z, KC_X, KC_C, KC_V, KC_B, TG(_RS3), KC_MUTE, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, MO(2), FN1_SPC, FN2_SPC, RGB_RMOD, RGB_MOD, FN2_SPC, FN1_SPC, MO(2), KC_LEFT, KC_DOWN, KC_RGHT - ), - [_FN1] = LAYOUT( - KC_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, _______, KC_F7, KC_F8, KC_F9, KC_F10, _______, KC_DEL, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SCLN, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLSH, KC_PGUP, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END - ), - [_FN2] = LAYOUT( - _______, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [_RS3] = LAYOUT( - KC_PAST, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_PSLS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_PPLS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_PMNS, _______, _______, _______, _______, _______, _______, TG(_RS3), _______, _______, _______, _______, _______, _______, _______, _______, - KC_HOME, KC_END, KC_PGUP, KC_K, KC_L, KC_M, KC_PGDN, _______, KC_F1, KC_F2, KC_F3, _______, _______, _______ - ) -}; - -#ifdef OLED_ENABLE - static void render_logo(void) { // Render MechWild "MW" Logo - static const char PROGMEM logo_1[] = {0x8A, 0x8B, 0x8C, 0x8D, 0x00}; - static const char PROGMEM logo_2[] = {0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0x00}; - static const char PROGMEM logo_3[] = {0xCA, 0xCB, 0xCC, 0xCD, 0x00}; - static const char PROGMEM logo_4[] = {0x20, 0x8E, 0x8F, 0x90, 0x00}; - oled_set_cursor(0,0); - oled_write_P(logo_1, false); - oled_set_cursor(0,1); - oled_write_P(logo_2, false); - oled_set_cursor(0,2); - oled_write_P(logo_3, false); - oled_set_cursor(0,3); - oled_write_P(logo_4, false); - } - bool oled_task_user(void) { - render_logo(); - oled_set_cursor(0,6); - - oled_write_ln_P(PSTR("Layer"), false); - - switch (get_highest_layer(layer_state)) { - case 0: - oled_write_ln_P(PSTR("Base"), false); - break; - case 1: - oled_write_ln_P(PSTR("FN 1"), false); - break; - case 2: - oled_write_ln_P(PSTR("FN 2"), false); - break; - case 3: - oled_write_ln_P(PSTR("RS3"), false); - break; - default: - oled_write_ln_P(PSTR("Undef"), false); - } - oled_write_ln_P(PSTR(""), false); - // Host Keyboard LED Status - led_t led_state = host_keyboard_led_state(); - oled_write_ln_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); - oled_write_ln_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false); - oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); - return false; - } -#endif - -#ifdef RGBLIGHT_ENABLE - // Optional RGB Light Mapping Zones {LED Posiiton, Number of LEDs, Colour} - const rgblight_segment_t PROGMEM _rgb_fn1[] = RGBLIGHT_LAYER_SEGMENTS( - {4, 3, HSV_GREEN}, - {12, 3, HSV_GREEN} - ); - // Light LEDs 9 & 10 in cyan when keyboard layer 1 is active - const rgblight_segment_t PROGMEM _rgb_fn2[] = RGBLIGHT_LAYER_SEGMENTS( - {4, 3, HSV_GREEN}, - {12, 3, HSV_GREEN} - ); - const rgblight_segment_t PROGMEM _rgb_rs3[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 16, HSV_SILLY_PURPLE} - ); - const rgblight_segment_t* const PROGMEM _rgb_layers[] = RGBLIGHT_LAYERS_LIST( - _rgb_fn1, - _rgb_fn2, - _rgb_rs3 - ); - layer_state_t layer_state_set_user(layer_state_t state) { - rgblight_set_layer_state(0, layer_state_cmp(state, _FN1)); - rgblight_set_layer_state(1, layer_state_cmp(state, _FN2)); - rgblight_set_layer_state(2, layer_state_cmp(state, _RS3)); - return state; - } -#endif // RGBLIGHT_ENABLE - -void keyboard_post_init_user(void) { - // Enable the LED layers - #ifdef RGBLIGHT_ENABLE - rgblight_layers = _rgb_layers; - #endif // RGBLIGHT_ENABLE - } \ No newline at end of file diff --git a/keyboards/mechwild/mokulua/standard/keymaps/silly/readme.md b/keyboards/mechwild/mokulua/standard/keymaps/silly/readme.md deleted file mode 100644 index 4659a3aaeb8..00000000000 --- a/keyboards/mechwild/mokulua/standard/keymaps/silly/readme.md +++ /dev/null @@ -1 +0,0 @@ -# A keymap customized for use by Silly. Makes use of RGB Layer indication and a remapped layer for use in specific video games. diff --git a/keyboards/mechwild/mokulua/standard/keymaps/silly/rules.mk b/keyboards/mechwild/mokulua/standard/keymaps/silly/rules.mk deleted file mode 100644 index 36b7ba9cbc9..00000000000 --- a/keyboards/mechwild/mokulua/standard/keymaps/silly/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/nasu/keymaps/mariocs/config.h b/keyboards/nasu/keymaps/mariocs/config.h deleted file mode 100644 index 18b30b7859d..00000000000 --- a/keyboards/nasu/keymaps/mariocs/config.h +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2021 Mario Cadenas (@MarioCadenas) -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once - -#define SPLIT_LED_STATE_ENABLE diff --git a/keyboards/nasu/keymaps/mariocs/keymap.c b/keyboards/nasu/keymaps/mariocs/keymap.c deleted file mode 100644 index d8cae4295d8..00000000000 --- a/keyboards/nasu/keymaps/mariocs/keymap.c +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright 2021 MarioCadenas (@MarioCadenas) - * - * 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 . - */ -#include QMK_KEYBOARD_H - -enum { - TD_LGUI, -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - layer_state_cmp(state, 1) ? setPinInputHigh(B0) : setPinInputLow(B0); - - return state; -} - -tap_dance_action_t tap_dance_actions[] = { - [TD_LGUI] = ACTION_TAP_DANCE_LAYER_TOGGLE(KC_LGUI, 1), -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT_alice_split_bs( /* Base */ - KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_TRNS, KC_BSPC, - KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(2), - KC_LCTL, KC_LALT, KC_SPC, TD(TD_LGUI), KC_SPC, KC_RALT, KC_RCTL), - -[1] = LAYOUT_alice_split_bs( /* FN */ - KC_TRNS, KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[2] = LAYOUT_alice_split_bs( /* Empty for dynamic keymaps */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[3] = LAYOUT_alice_split_bs( /* Empty for dynamic keymaps */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) -}; diff --git a/keyboards/nasu/keymaps/mariocs/readme.md b/keyboards/nasu/keymaps/mariocs/readme.md deleted file mode 100644 index b5b0e66aa80..00000000000 --- a/keyboards/nasu/keymaps/mariocs/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -# Mariocs's keymap for Nasu. - -![Layer 0](https://i.imgur.com/kxC7RL5.png) - -![Layer 1](https://i.imgur.com/v0cYmXb.png) - -![Layer 2](https://i.imgur.com/FJ4y9hP.png) - - -# Functionality - -* Via enabled. -* When layer 1 is activated (Toggled os just temporarily), the numlock led will be switched on. -* Double tapping `LGUI` key will toggle layer 1. diff --git a/keyboards/nasu/keymaps/mariocs/rules.mk b/keyboards/nasu/keymaps/mariocs/rules.mk deleted file mode 100644 index 791d5ab5021..00000000000 --- a/keyboards/nasu/keymaps/mariocs/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -TAP_DANCE_ENABLE = yes diff --git a/keyboards/ok60/keymaps/ebrowncross/keymap.c b/keyboards/ok60/keymaps/ebrowncross/keymap.c deleted file mode 100644 index 4ef2f9964c0..00000000000 --- a/keyboards/ok60/keymaps/ebrowncross/keymap.c +++ /dev/null @@ -1,30 +0,0 @@ -#include QMK_KEYBOARD_H - -// An ISO UK keymap - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_60_iso( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LGUI, KC_MENU, KC_LCTL - ), - - [1] = LAYOUT_60_iso( - KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, - _______, KC_HOME, KC_UP, KC_END, KC_PGUP, _______, _______, _______, _______, _______, KC_INS, KC_HOME, KC_PGUP, - _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, _______, _______, _______, _______, KC_DEL, KC_END, KC_PGDN, KC_PSCR, - _______, _______, BL_DOWN, BL_TOGG, BL_UP, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, - _______, _______, _______, _______, _______, MO(2), _______, _______ - ), - - [2] = LAYOUT_60_iso( - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_F9, KC_F10, KC_F11, KC_F12, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; diff --git a/keyboards/org60/keymaps/boardy/keymap.c b/keyboards/org60/keymaps/boardy/keymap.c deleted file mode 100644 index 48373de3758..00000000000 --- a/keyboards/org60/keymaps/boardy/keymap.c +++ /dev/null @@ -1,114 +0,0 @@ -#include QMK_KEYBOARD_H -#include "action_layer.h" - -// Keyboard Layers -enum keyboard_layers { - _BASE, // Base Layer - _FUNCTION, // Function Layer -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_BASE] = LAYOUT( - /* - 0: Base Layer - .--------------------------------------------------------------------------------------------------------------------------------------. - | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | _ | + | | - | | | | | | | | | | | | | | | - | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Backspace | - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | | | | | | | | { | ] | | | - | | | | | | | | | | | | | | | - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | | | | | | | : | " | | - | | | | | | | | | | | | | | - | PrntScr | A | S | D | F | G | H | J | K | L | ; | ' | Enter | - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | | | | | < | > | ? |░░░░░░| |░░░░░░░░| - | | | | | | | | | | | |░░░░░░| |░░░░░░░░| - | Shift | Z | X | C | V | B | N | M | , | . | / |░░░░░░| Up |░░░░░░░░| - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | |░░░░░░| | | | - | | | | | |░░░░░░| | | | - | Ctrl | Win | Alt | Space | FnO |░░░░░░| Left | Down | Right | - '--------------------------------------------------------------------------------------------------------------------------------------' - */ - - //--------------------------------------------------------------------------------------------------------------------------------------. - // | | | | | | | | | | | | | | - // | | | | | | | | | | | | | | - QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NO, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | | | | | | | | | | | - // | | | | | | | | | | | | | | - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | | | | | | | | | | - // | | | | | | | | | | | | | - KC_PSCR, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | | | | | | | |░░░░░░| |░░░░░░░░| - // | | | | | | | | | | |░░░░░░| |░░░░░░░░| - KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, KC_UP, KC_NO, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | |░░░░░░| | | | - // | | | | |░░░░░░| | | | - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FUNCTION),KC_NO, KC_LEFT, KC_DOWN, KC_RIGHT), - //--------------------------------------------------------------------------------------------------------------------------------------' - - - [_FUNCTION] = LAYOUT( - /* - 1: Function Layer - .--------------------------------------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | - | | | | | | | | | | | | | | | - | Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | | | | | | | | | | | - | | | | | RGB | RGB | RGB | RGB | | | | | | | - | Reset | 7 | 8 | 9 | Toggle | Mode | Pwr+ | Pwr- | | Insert | Pause | Home | End | Sleep | - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | | | | | | | | | | - | | | | | RGB | RGB | RGB | RGB | | | Page | Page | | - | Caps Lock | 4 | 5 | 6 | Hue+ | Hue- | Sat+ | Sat- | | | Up | Down | Enter | - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | | | | | | | |░░░░░░| |░░░░░░░░| - | | | | | | Back | Back | | Prev | Next | |░░░░░░| |░░░░░░░░| - | Shift | 1 | 2 | 3 | | Light+ | Light- | | Track | Track | |░░░░░░| Up |░░░░░░░░| - |--------------------------------------------------------------------------------------------------------------------------------------| - | | | | | |░░░░░░| | | | - | | | | | |░░░░░░| | | | - | Ctrl | Win | Alt | 0 | Fn0 |░░░░░░| Mute | Down | Right | - '--------------------------------------------------------------------------------------------------------------------------------------' - */ - - //--------------------------------------------------------------------------------------------------------------------------------------. - // | | | | | | | | | | | | | | - // | | | | | | | | | | | | | | - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_NO, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | | | | | | | | | | | - // | | | | | | | | | | | | | | - QK_BOOT, KC_7, KC_8, KC_9, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, KC_NO, KC_INS, KC_PAUS, KC_HOME, KC_END, KC_SLEP, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | | | | | | | | | | - // | | | | | | | | | | | | | - KC_CAPS, KC_4, KC_5, KC_6, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_NO, KC_NO, KC_PGUP, KC_PGDN, KC_NO, KC_ENT, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | | | | | | | |░░░░░░| |░░░░░░░░| - // | | | | | | | | | | |░░░░░░| |░░░░░░░░| - KC_LSFT, KC_NO, KC_1, KC_2, KC_3, KC_NO, BL_UP, BL_DOWN, KC_NO, KC_MPRV, KC_MNXT, KC_NO, KC_NO, KC_VOLU, KC_NO, - //--------------------------------------------------------------------------------------------------------------------------------------| - // | | | | |░░░░░░| | | | - // | | | | |░░░░░░| | | | - KC_LCTL, KC_LGUI, KC_LALT, KC_0, MO(_FUNCTION),KC_NO, KC_MUTE, KC_VOLD, KC_MPLY), - //--------------------------------------------------------------------------------------------------------------------------------------' - -}; - -// Loop -void matrix_scan_user(void) { - // Empty -}; diff --git a/keyboards/org60/keymaps/boardy/readme.md b/keyboards/org60/keymaps/boardy/readme.md deleted file mode 100644 index 3643fbce30e..00000000000 --- a/keyboards/org60/keymaps/boardy/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# Boardy layout - -![Uses this layout](http://i.imgur.com/k3g488o.jpg) - -This is my custom layout for my board Boardy designed to be used with an [Org60] and custom plate. - -[Org60]: https://world.taobao.com/item/544441405112.htm diff --git a/keyboards/org60/keymaps/boardy/rules.mk b/keyboards/org60/keymaps/boardy/rules.mk deleted file mode 100644 index 88ac79ecad5..00000000000 --- a/keyboards/org60/keymaps/boardy/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ - -# QMK Build Options -# change to "no" to disable the options, or define them in the Makefile in -# the appropriate keymap folder that will get included automatically -# -CONSOLE_ENABLE = no # Enable debugging console -COMMAND_ENABLE = no # Commands for debug and configuration -TAP_DANCE_ENABLE = no # Tap Dance skills -UNICODE_ENABLE = no # Unicode - diff --git a/keyboards/pearl/keymaps/phil/keymap.c b/keyboards/pearl/keymaps/phil/keymap.c deleted file mode 100755 index 79dfd4ce379..00000000000 --- a/keyboards/pearl/keymaps/phil/keymap.c +++ /dev/null @@ -1,88 +0,0 @@ -/* -Copyright 2017 Luiz Ribeiro - -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 . -*/ - -// Layer shorthand -#define COLEMAK 0 -#define QWERTY 1 -#define WIN 2 -#define _FN1 3 -#define _FN2 4 -#define LIGHT 5 - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [COLEMAK] = LAYOUT_all( - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_NO, KC_BSPC, - LGUI_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - LSFT_T(KC_DEL), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_ENT), - KC_LCTL, KC_LGUI, KC_LALT, LT(_FN1, KC_SPC), KC_NO, LT(_FN2, KC_SPC), TG(QWERTY), TG(WIN) - ), - [QWERTY] = LAYOUT_all( - KC_TRNS, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_NO, KC_TRNS, - KC_TRNS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_TRNS, - KC_TRNS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS - ), - [WIN] = LAYOUT_all( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, - LCTL_T(KC_ESC), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_LGUI, KC_LALT, KC_LCTL, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS - ), - [_FN1] = LAYOUT_all( - KC_GRV, KC_MNXT, KC_NO, KC_PIPE, KC_PLUS, KC_LBRC, KC_RBRC, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_NO, KC_TRNS, - KC_TRNS, KC_MPLY, KC_SPC, KC_UNDS, KC_EQUAL, KC_LPRN, KC_RPRN, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_TRNS, - KC_TRNS, KC_MPRV, KC_NO, KC_BSLS, KC_MINUS, KC_LCBR, KC_RCBR, KC_NO, KC_MUTE, KC_VOLU, KC_VOLD, KC_CAPS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS - ), - [_FN2] = LAYOUT_all( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LBRC, KC_RBRC, KC_NO, KC_TRNS, - KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F9, KC_F10, KC_F11, KC_F12, KC_CAPS, - TG(LIGHT), KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS - ), - [LIGHT] = LAYOUT_all( - QK_BOOT, KC_NO, BL_ON, BL_UP, BL_BRTG, RGB_M_P, RGB_M_B, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_NO, KC_NO, - KC_NO, KC_NO, BL_TOGG, BL_STEP, KC_NO, RGB_M_SN, RGB_M_K, RGB_TOG, RGB_HUD, RGB_SAD, RGB_VAD, KC_NO, - KC_NO, KC_NO, BL_OFF, BL_DOWN, KC_NO, KC_NO, KC_NO, RGB_RMOD, RGB_M_SW, RGB_M_R, RGB_M_G, KC_NO, - TG(LIGHT), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), -}; - -layer_state_t layer_state_set_kb(layer_state_t state) { - if (state & (1<. - */ -#include QMK_KEYBOARD_H - -enum primee_layers { - _DEFAULT, - _LOWER, - _RAISE, - _ADJUST -}; - -#define CTLESC MT(MOD_LCTL, KC_ESC) -#define LWRSPC LT(_LOWER, KC_SPC) -#define RSEENT LT(_RAISE, KC_ENT) -#define MOADJ MO(_ADJUST) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_DEFAULT] = LAYOUT( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, KC_BSPC, - CTLESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, MOADJ, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, LWRSPC, RSEENT, KC_RALT, KC_RCTL, KC_RGUI - ), - - [_LOWER] = LAYOUT( - KC_TRNS, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_MINS, KC_EQL, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_GRV, KC_BSLS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - - [_RAISE] = LAYOUT( - KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - - [_ADJUST] = LAYOUT( - KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; - -void matrix_init_user(void) { - // set CapsLock LED to output and low - setPinOutput(B1); - writePinLow(B1); - // set NumLock LED to output and low - setPinOutput(B2); - writePinLow(B2); - // set ScrollLock LED to output and low - setPinOutput(B3); - writePinLow(B3); -} - -//function for layer indicator LED -layer_state_t layer_state_set_user(layer_state_t state) { - writePin(B3, layer_state_cmp(state, 1)); - writePin(B2, layer_state_cmp(state, 2)); - writePin(B1, layer_state_cmp(state, 3)); - - return state; -} diff --git a/keyboards/primekb/prime_e/keymaps/gwillad/readme.md b/keyboards/primekb/prime_e/keymaps/gwillad/readme.md deleted file mode 100644 index 7886d3962e6..00000000000 --- a/keyboards/primekb/prime_e/keymaps/gwillad/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# Gwillad keymap for prime e -This is gwillad's keymap for prime e - -Besides using a tweaked version of my prefered layout, this also includes: - -* code to use the prime e leds for layers (instead of caps lock or num lock or anything else), which I thought made more sense on a 40% -* via enabled so people can still adjust their code without having to recompile diff --git a/keyboards/primekb/prime_e/keymaps/gwillad/rules.mk b/keyboards/primekb/prime_e/keymaps/gwillad/rules.mk deleted file mode 100644 index 1e5b99807cb..00000000000 --- a/keyboards/primekb/prime_e/keymaps/gwillad/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/keymap.c b/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/keymap.c deleted file mode 100644 index df9983015f1..00000000000 --- a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/keymap.c +++ /dev/null @@ -1,89 +0,0 @@ -/* - Author: jockyxu1122 - - Hightlight: split backspace, split space, arrows on bottom right, - and backlighting support (capslock's backlighting cannot be controlled separately). - - Note that "Previous track" and "next track" might only work with Windows. -*/ - -#include QMK_KEYBOARD_H - -#define DEFAULT_LAYER 0 -#define LAYER_1 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - ------------------------------------------------------------- - |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | ` |Del| - ------------------------------------------------------------- - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | - ------------------------------------------------------------- - | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | - ------------------------------------------------------------- - | Shift | Z | X | C | V | B | N | M | , | . | / | Shift| Up| - ------------------------------------------------------------- - |Ctrl| GUI| Alt| Space |MoL1| Backspc| Hm|End| <-|Dwn| ->| - ------------------------------------------------------------- - Hm: Home - MoL1: Mo(L1) - */ - [DEFAULT_LAYER] = LAYOUT_hhkb_arrow( - // row 1 - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, - KC_DEL, - // row 2 - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - // row 3 - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - // row 4 - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - // row 5 - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(LAYER_1), KC_BSPC, KC_HOME, KC_END, KC_LEFT, KC_DOWN, - KC_RIGHT - ), - - /* - ------------------------------------------------------------- - |LED| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| |Ins| - ------------------------------------------------------------- - | | | | @ | | | | | | | |BDn|BUp| | - ------------------------------------------------------------- - | | | | | | | | | | | | | | - ------------------------------------------------------------- - | | | |Cal| |www| |Mut| | | | |VUp| - ------------------------------------------------------------- - | | | | Pause | | |PUp|PDn|PTk|VDn|NTk| - ------------------------------------------------------------- - @: Email - BDn: LED brightness down - BUp: LED brightness up - Cal: Calculator - Ins: Insert - Mut: Mute - NTk: Next track - PDn: Page down - PTk: Previous track - PUp: Page up - VDn: Volume down - VUp: Volume up - www: Browser home page - */ - [LAYER_1] = LAYOUT_hhkb_arrow( - // row 1 - BL_TOGG, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_F12, KC_TRNS, KC_INS, - // row 2 - KC_TRNS, KC_TRNS, KC_TRNS, KC_MAIL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, BL_DOWN,BL_UP, KC_TRNS, - // row 3 - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - // row 4 - KC_TRNS, KC_TRNS, KC_TRNS, KC_CALC, KC_TRNS, KC_WHOM, KC_TRNS, KC_MUTE, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_VOLU, - // row 5 - KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_TRNS, KC_TRNS, KC_PGUP, KC_PGDN, KC_MPRV, KC_VOLD, - KC_MNXT - ) -}; diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/readme.md b/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/readme.md deleted file mode 100644 index 664a0a0483c..00000000000 --- a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_ansi/readme.md +++ /dev/null @@ -1,66 +0,0 @@ -Yida's keymap for BananaSplit -=== - -Hightlight: split backspace, split space, arrows on bottom right, and -backlighting support (capslock's backlighting cannot be controlled separately). - -Note that "Previous track" and "next track" might only work with Windows. - -Default layer: - -``` - ------------------------------------------------------------- - |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | ` |Del| - ------------------------------------------------------------- - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | - ------------------------------------------------------------- - | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Enter | - ------------------------------------------------------------- - | Shift | Z | X | C | V | B | N | M | , | . | / | Shift| Up| - ------------------------------------------------------------- - |Ctrl| GUI| Alt| Space |MoL1| Backspc| Hm|End| <-|Dwn| ->| - ------------------------------------------------------------- - Hm: Home - MoL1: Mo(L1) -``` - -Layer_1: - -``` - ------------------------------------------------------------- - |LED| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| |Ins| - ------------------------------------------------------------- - | | | | @ | | | | | | | |BDn|BUp| | - ------------------------------------------------------------- - | | | | | | | | | | | | | | - ------------------------------------------------------------- - | | | |Cal| |www| |Mut| | | | |VUp| - ------------------------------------------------------------- - | | | | Pause | | |PUp|PDn|PTk|VDn|NTk| - ------------------------------------------------------------- - @: Email - BDn: LED brightness down - BUp: LED brightness up - Cal: Calculator - Ins: Insert - Mut: Mute - NTk: Next track - PDn: Page down - PTk: Previous track - PUp: Page up - VDn: Volume down - VUp: Volume up - www: Browser home page -``` - -Compile and flash: - -`cd` to `/qmk_firmware` folder, then -``` -make bananasplit:jockyxu1122_ansi -``` - -A .hex file will be generated under `/qmk_firmware` folder. - - -To flash, use QMK Toolbox. diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/keymap.c b/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/keymap.c deleted file mode 100644 index 5146c8f4f33..00000000000 --- a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/keymap.c +++ /dev/null @@ -1,103 +0,0 @@ -/* - Author: jockyxu1122 - - Hightlight: split backspace, ISO Enter, split space, arrows on bottom right, - and toggable capslock backlight. - - Note that "Previous track" and "next track" might only work with Windows. -*/ - -#include QMK_KEYBOARD_H - -#define DEFAULT_LAYER 0 -#define LAYER_1 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - ------------------------------------------------------------- - |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | ` |Del| - ------------------------------------------------------------- - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Ent | - -------------------------------------------------------- - - | Caps | A | S | D | F | G | H | J | K | L | ; | ' | \ | | - ------------------------------------------------------------- - | Shift | Z | X | C | V | B | N | M | , | . | Shift| Up| / | - ------------------------------------------------------------- - |Ctrl| GUI| Alt| Space |MoL1| Backspc| Hm|End| <-|Dwn| ->| - ------------------------------------------------------------- - Hm: Home - MoL1: Mo(L1) - */ - [DEFAULT_LAYER] = LAYOUT_hhkb_arrow( - // row 1 - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, - KC_DEL, - // row 2 - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, - // row 3 - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, - // row 4 - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH, - // row 5 - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(LAYER_1), KC_BSPC, KC_HOME, KC_END, KC_LEFT, KC_DOWN, - KC_RIGHT - ), - - /* - ------------------------------------------------------------- - | | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| |Ins| - ------------------------------------------------------------- - | | | | @ | | | | | | | | | | | - -------------------------------------------------------- - - | | | | | | | | | | | | | | | - ------------------------------------------------------------- - | | | |Cal| |www| |Mut| | | |VUp| | - ------------------------------------------------------------- - | | | | Pause | | |PUp|PDn|PTk|VDn|NTk| - ------------------------------------------------------------- - @: Email - Cal: Calculator - Ins: Insert - Mut: Mute - NTk: Next track - PDn: Page down - PTk: Previous track - PUp: Page up - VDn: Volume down - VUp: Volume up - www: Browser home page - */ - [LAYER_1] = LAYOUT_hhkb_arrow( - // row 1 - KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_F12, KC_TRNS, KC_INS, - // row 2 - KC_TRNS, KC_TRNS, KC_TRNS, KC_MAIL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - // row 3 - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - // row 4 - KC_TRNS, KC_TRNS, KC_TRNS, KC_CALC, KC_TRNS, KC_WHOM, KC_TRNS, KC_MUTE, KC_TRNS, KC_TRNS, - KC_TRNS, KC_VOLU, KC_TRNS, - // row 5 - KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_TRNS, KC_TRNS, KC_PGUP, KC_PGDN, KC_MPRV, KC_VOLD, - KC_MNXT - ) -}; - -/* -Capslock's led cannot be controlled separately on bananasplit and you can only turn on/off all - leds at once. If you only install led for capslock, it will look like capslock has toggable - backlight. -*/ -bool led_update_user(led_t led_state) { - if (led_state.caps_lock) { - DDRB |= (1 << 7); - PORTB |= (1 << 7); - } else { - DDRB &= ~(1 << 7); - PORTB &= ~(1 << 7); - } - return false; -} diff --git a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/readme.md b/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/readme.md deleted file mode 100644 index e135f73e3a7..00000000000 --- a/keyboards/thevankeyboards/bananasplit/keymaps/jockyxu1122_iso/readme.md +++ /dev/null @@ -1,61 +0,0 @@ -Yida's keymap for BananaSplit -=== - -Hightlight: split backspace, ISO Enter, split space, arrows on bottom right, and toggable capslock backlight. - -Note that "Previous track" and "next track" might only work with Windows. - -Default layer: -``` - ------------------------------------------------------------- - |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | ` |Del| - ------------------------------------------------------------- - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Ent | - -------------------------------------------------------- - - | Caps | A | S | D | F | G | H | J | K | L | ; | ' | \ | | - ------------------------------------------------------------- - | Shift | Z | X | C | V | B | N | M | , | . | Shift| Up| / | - ------------------------------------------------------------- - |Ctrl| GUI| Alt| Space |MoL1| Backspc| Hm|End| <-|Dwn| ->| - ------------------------------------------------------------- - Hm: Home - MoL1: Mo(L1) -``` - -Layer_1: -``` - ------------------------------------------------------------- - | | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| |Ins| - ------------------------------------------------------------- - | | | | @ | | | | | | | | | | | - -------------------------------------------------------- - - | | | | | | | | | | | | | | | - ------------------------------------------------------------- - | | | |Cal| |www| |Mut| | | |VUp| | - ------------------------------------------------------------- - | | | | Pause | | |PUp|PDn|PTk|VDn|NTk| - ------------------------------------------------------------- - @: Email - Cal: Calculator - Ins: Insert - Mut: Mute - NTk: Next track - PDn: Page down - PTk: Previous track - PUp: Page up - VDn: Volume down - VUp: Volume up - www: Browser home page -``` - -Compile and flash: - -`cd` to `/qmk_firmware` folder, then -``` -make bananasplit:jockyxu1122_iso -``` - -A .hex file will be generated under `/qmk_firmware` folder. - - -To flash, use QMK Toolbox. From 4e04da397ef643f8fcf4afbe1d19f63aee1fc561 Mon Sep 17 00:00:00 2001 From: Logan Foster <44828794+Lrfoster03@users.noreply.github.com> Date: Wed, 21 Feb 2024 14:35:39 -0800 Subject: [PATCH 007/107] [Keyboard] Add the Compensator (#23103) * Pushed up compensator start * Addressed Firmware Changes * Fixed some keybind issues * Updated readMe * Added keymap * Adjustments for PR * adjusted on-state * Applied sugguested changes * Addressed PR changes * Addressed macro comments * Addressed layer comments --- keyboards/compensator/info.json | 163 ++++++++++++++++++ .../compensator/keymaps/default/keymap.c | 48 ++++++ keyboards/compensator/keymaps/via/keymap.c | 48 ++++++ keyboards/compensator/keymaps/via/rules.mk | 1 + keyboards/compensator/matrix_diagram.md | 25 +++ keyboards/compensator/readme.md | 24 +++ keyboards/compensator/rules.mk | 1 + 7 files changed, 310 insertions(+) create mode 100644 keyboards/compensator/info.json create mode 100644 keyboards/compensator/keymaps/default/keymap.c create mode 100644 keyboards/compensator/keymaps/via/keymap.c create mode 100644 keyboards/compensator/keymaps/via/rules.mk create mode 100644 keyboards/compensator/matrix_diagram.md create mode 100644 keyboards/compensator/readme.md create mode 100644 keyboards/compensator/rules.mk diff --git a/keyboards/compensator/info.json b/keyboards/compensator/info.json new file mode 100644 index 00000000000..ceaa1763338 --- /dev/null +++ b/keyboards/compensator/info.json @@ -0,0 +1,163 @@ +{ + "keyboard_name": "Compensator", + "manufacturer": "Highleap", + "url": "https://lrfoster03.github.io/", + "maintainer": "Lrfoster03", + "usb": { + "vid": "0x564B", + "pid": "0x0001", + "device_version": "1.0.0" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "matrix_pins": { + "rows": ["B2", "F5", "F7", "F1", "B3", "F4", "F6", "F0"], + "cols": ["B0", "D4", "B7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "B1", "D5", "D3", "D2", "D1", "D0"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "nkro": false + }, + "bootmagic": { + "matrix": [0, 5] + }, + "dynamic_keymap": { + "layer_count": 3 + }, + "indicators": { + "caps_lock": "E6", + "on_state": 0 + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [4, 0], "x": 2.25, "y": 0}, + {"matrix": [4, 1], "x": 3.25, "y": 0}, + {"matrix": [0, 2], "x": 4.25, "y": 0}, + {"matrix": [0, 3], "x": 5.25, "y": 0}, + {"matrix": [4, 2], "x": 6.5, "y": 0}, + {"matrix": [4, 3], "x": 7.5, "y": 0}, + {"matrix": [0, 4], "x": 8.5, "y": 0}, + {"matrix": [0, 5], "x": 9.75, "y": 0, "w": 1.5}, + {"matrix": [4, 4], "x": 11.25, "y": 0}, + {"matrix": [4, 5], "x": 12.25, "y": 0}, + {"matrix": [0, 6], "x": 13.25, "y": 0}, + {"matrix": [0, 7], "x": 14.25, "y": 0}, + {"matrix": [4, 6], "x": 15.25, "y": 0}, + {"matrix": [4, 7], "x": 16.25, "y": 0}, + {"matrix": [0, 8], "x": 17.25, "y": 0}, + {"matrix": [0, 9], "x": 18.25, "y": 0}, + {"matrix": [4, 8], "x": 19.25, "y": 0}, + {"matrix": [4, 9], "x": 20.25, "y": 0}, + {"matrix": [0, 10], "x": 21.25, "y": 0}, + {"matrix": [0, 11], "x": 22.25, "y": 0}, + {"matrix": [4, 10], "x": 23.25, "y": 0, "w": 1.5}, + {"matrix": [4, 11], "x": 25, "y": 0}, + {"matrix": [0, 12], "x": 26, "y": 0}, + {"matrix": [0, 13], "x": 27, "y": 0}, + {"matrix": [4, 12], "x": 28.25, "y": 0}, + {"matrix": [4, 13], "x": 29.25, "y": 0}, + {"matrix": [0, 14], "x": 30.25, "y": 0}, + {"matrix": [0, 15], "x": 31.25, "y": 0}, + {"matrix": [4, 14], "x": 32.5, "y": 0}, + {"matrix": [4, 15], "x": 33.5, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [5, 0], "x": 2.25, "y": 1}, + {"matrix": [5, 1], "x": 3.25, "y": 1}, + {"matrix": [1, 2], "x": 4.25, "y": 1}, + {"matrix": [1, 3], "x": 5.25, "y": 1}, + {"matrix": [5, 2], "x": 6.5, "y": 1}, + {"matrix": [5, 3], "x": 7.5, "y": 1}, + {"matrix": [1, 4], "x": 8.5, "y": 1}, + {"matrix": [1, 5], "x": 9.75, "y": 1, "w": 1.25}, + {"matrix": [5, 4], "x": 11.5, "y": 1}, + {"matrix": [5, 5], "x": 12.5, "y": 1}, + {"matrix": [1, 6], "x": 13.5, "y": 1}, + {"matrix": [1, 7], "x": 14.5, "y": 1}, + {"matrix": [5, 6], "x": 15.5, "y": 1}, + {"matrix": [5, 7], "x": 16.5, "y": 1}, + {"matrix": [1, 8], "x": 17.5, "y": 1}, + {"matrix": [1, 9], "x": 18.5, "y": 1}, + {"matrix": [5, 8], "x": 19.5, "y": 1}, + {"matrix": [5, 9], "x": 20.5, "y": 1}, + {"matrix": [1, 10], "x": 21.5, "y": 1}, + {"matrix": [1, 11], "x": 22.5, "y": 1, "w": 2.25}, + {"matrix": [5, 11], "x": 25, "y": 1}, + {"matrix": [1, 12], "x": 26, "y": 1}, + {"matrix": [1, 13], "x": 27, "y": 1}, + {"matrix": [5, 12], "x": 28.25, "y": 1}, + {"matrix": [5, 13], "x": 29.25, "y": 1}, + {"matrix": [1, 14], "x": 30.25, "y": 1}, + {"matrix": [1, 15], "x": 31.25, "y": 1}, + {"matrix": [5, 14], "x": 32.5, "y": 1}, + {"matrix": [5, 15], "x": 33.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [6, 0], "x": 2.25, "y": 2}, + {"matrix": [6, 1], "x": 3.25, "y": 2}, + {"matrix": [2, 2], "x": 4.25, "y": 2}, + {"matrix": [2, 3], "x": 5.25, "y": 2}, + {"matrix": [6, 2], "x": 6.5, "y": 2}, + {"matrix": [6, 3], "x": 7.5, "y": 2}, + {"matrix": [2, 4], "x": 8.5, "y": 2}, + {"matrix": [2, 5], "x": 9.75, "y": 2, "w": 1.25}, + {"matrix": [6, 4], "x": 11, "y": 2}, + {"matrix": [6, 5], "x": 12, "y": 2}, + {"matrix": [2, 6], "x": 13, "y": 2}, + {"matrix": [2, 7], "x": 14, "y": 2}, + {"matrix": [6, 6], "x": 15, "y": 2}, + {"matrix": [6, 7], "x": 16, "y": 2}, + {"matrix": [2, 8], "x": 17, "y": 2}, + {"matrix": [2, 9], "x": 18, "y": 2}, + {"matrix": [6, 8], "x": 19, "y": 2}, + {"matrix": [6, 9], "x": 20, "y": 2}, + {"matrix": [2, 10], "x": 21, "y": 2}, + {"matrix": [2, 11], "x": 22, "y": 2, "w": 1.75}, + {"matrix": [6, 10], "x": 23.75, "y": 2}, + {"matrix": [6, 11], "x": 25, "y": 2}, + {"matrix": [2, 12], "x": 26, "y": 2}, + {"matrix": [2, 13], "x": 27, "y": 2}, + {"matrix": [6, 12], "x": 28.25, "y": 2}, + {"matrix": [6, 13], "x": 29.25, "y": 2}, + {"matrix": [2, 14], "x": 30.25, "y": 2}, + {"matrix": [2, 15], "x": 31.25, "y": 2}, + {"matrix": [6, 14], "x": 32.5, "y": 2}, + {"matrix": [6, 15], "x": 33.5, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [7, 0], "x": 2.25, "y": 3}, + {"matrix": [7, 1], "x": 3.25, "y": 3}, + {"matrix": [3, 2], "x": 4.25, "y": 3}, + {"matrix": [3, 3], "x": 5.25, "y": 3}, + {"matrix": [7, 2], "x": 6.5, "y": 3}, + {"matrix": [7, 3], "x": 7.5, "y": 3}, + {"matrix": [3, 4], "x": 8.5, "y": 3}, + {"matrix": [3, 5], "x": 9.75, "y": 3, "w": 1.5}, + {"matrix": [3, 6], "x": 12.25, "y": 3, "w": 1.5}, + {"matrix": [3, 7], "x": 13.75, "y": 3, "w": 2.75}, + {"matrix": [3, 8], "x": 16.5, "y": 3, "w": 1.5}, + {"matrix": [3, 9], "x": 18, "y": 3, "w": 2.75}, + {"matrix": [3, 10], "x": 20.75, "y": 3, "w": 1.5}, + {"matrix": [7, 10], "x": 23.25, "y": 3, "w": 1.5}, + {"matrix": [7, 11], "x": 25, "y": 3}, + {"matrix": [3, 12], "x": 26, "y": 3}, + {"matrix": [3, 13], "x": 27, "y": 3}, + {"matrix": [7, 12], "x": 28.25, "y": 3}, + {"matrix": [7, 13], "x": 29.25, "y": 3}, + {"matrix": [3, 14], "x": 30.25, "y": 3}, + {"matrix": [3, 15], "x": 31.25, "y": 3}, + {"matrix": [7, 14], "x": 32.5, "y": 3}, + {"matrix": [7, 15], "x": 33.5, "y": 3} + ] + } + } +} diff --git a/keyboards/compensator/keymaps/default/keymap.c b/keyboards/compensator/keymaps/default/keymap.c new file mode 100644 index 00000000000..5e39c20e72f --- /dev/null +++ b/keyboards/compensator/keymaps/default/keymap.c @@ -0,0 +1,48 @@ +/* Copyright 2024 Lrfoster03 + * + * 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 . + */ +#include QMK_KEYBOARD_H + +enum custom_keycodes { + KC_P00 = SAFE_RANGE +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base -> XT:Num:Nav:Alphas:Nav:Num:Xt*/ + KC_F1, KC_F2, KC_PPLS, KC_P7, KC_P8, KC_P9, KC_INS, KC_HOME, KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_INS, KC_HOME, KC_PGUP, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_F1, KC_F2, + KC_F3, KC_F4, KC_PMNS, KC_P4, KC_P5, KC_P6, KC_DEL, KC_END, KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_DEL, KC_END, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PMNS, KC_F3, KC_F4, + KC_F5, KC_F6, KC_PENT, KC_P1, KC_P2, KC_P3, KC_NO, KC_UP, KC_NO, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_NO, KC_UP, KC_NO, KC_P1, KC_P2, KC_P3, KC_PENT, KC_F5, KC_F6, + KC_F7, KC_F8, KC_PMNS, KC_PDOT, KC_P0, KC_P00, KC_LEFT, KC_DOWN, KC_RIGHT, KC_LCTL, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RIGHT, KC_P00, KC_P0, KC_PDOT, KC_PMNS, KC_F7, KC_F8 + ), + + [1] = LAYOUT( /* MO(1) */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NUM, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_NUM, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + if (record->event.pressed) { + switch(keycode) { + case KC_P00: + tap_code(KC_P0); + tap_code(KC_P0); + return false; + } + } + return true; +} diff --git a/keyboards/compensator/keymaps/via/keymap.c b/keyboards/compensator/keymaps/via/keymap.c new file mode 100644 index 00000000000..d9124a96aff --- /dev/null +++ b/keyboards/compensator/keymaps/via/keymap.c @@ -0,0 +1,48 @@ +/* Copyright 2024 Lrfoster03 + * + * 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 . + */ +#include QMK_KEYBOARD_H + +enum custom_keycodes { + KC_P00 = SAFE_RANGE +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base -> XT:Num:Nav:Alphas:Nav:Num:Xt*/ + KC_F1, KC_F2, KC_PPLS, KC_P7, KC_P8, KC_P9, KC_INS, KC_HOME, KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_INS, KC_HOME, KC_PGUP, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_F1, KC_F2, + KC_F3, KC_F4, KC_PMNS, KC_P4, KC_P5, KC_P6, KC_DEL, KC_END, KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_DEL, KC_END, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PMNS, KC_F3, KC_F4, + KC_F5, KC_F6, KC_PENT, KC_P1, KC_P2, KC_P3, KC_NO, KC_UP, KC_NO, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_NO, KC_UP, KC_NO, KC_P1, KC_P2, KC_P3, KC_PENT, KC_F5, KC_F6, + KC_F7, KC_F8, KC_PMNS, KC_PDOT, KC_P0, KC_P00, KC_LEFT, KC_DOWN, KC_RIGHT, KC_LCTL, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RIGHT, KC_P00, KC_P0, KC_PDOT, KC_PMNS, KC_F7, KC_F8 + ), + + [1] = LAYOUT( /* MO(1) */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NUM, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_NUM, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + if (record->event.pressed) { + switch(keycode) { + case KC_P00: + tap_code(KC_P0); + tap_code(KC_P0); + return false; + } + } + return true; +} diff --git a/keyboards/compensator/keymaps/via/rules.mk b/keyboards/compensator/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/compensator/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/compensator/matrix_diagram.md b/keyboards/compensator/matrix_diagram.md new file mode 100644 index 00000000000..39eeec7b509 --- /dev/null +++ b/keyboards/compensator/matrix_diagram.md @@ -0,0 +1,25 @@ +# Matrix Diagram for Compensator + +``` +┌───────┐┌───────────────┐┌───────────┐┌───────────────────────────────────────────────────────────┐┌───────────┐┌───────────────┐┌───────┐ +│00 │01 ││02 │03 │04 │05 ││06 │07 │08 ││09 │0A │0B │0C │0D │0E │0F │0G │0H │0I │0J │0K │0L │0M ││0N │0O │0P ││0Q │0R │0S │0T ││0U │0V │ +├───┼───┤├───┼───┼───┼───┤├───┼───┼───│├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤├───┼───┼───│├───┼───┼───┼───┤├───┼───┤ +│10 │11 ││12 │13 │14 │15 ││16 │17 │18 ││19 │1A │1B │1C │1D │1E │1F │1G │1H │1I │1J │1K │1L ││1M │1N │1O ││1P │1Q │1R │1S ││1T │1U │ +├───┼───┤├───┼───┼───┼───┤└───┼───┼───┘├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤└───┼───┼───┘├───┼───┼───┼───┤├───┼───┤ +│20 │21 ││22 │23 │24 │25 │ │26 │ │27 │28 │29 │2A │2B │2C │2D │2E │2F │2G │2H │2I │2J │2K │ │1L │ │2M │2N │2O │2P ││2Q │2R │ +├───┼───┤├───┼───┼───┼───┤┌───┼───┼───┐├────┴┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┤┌───┼───┼───┐├───┼───┼───┼───┤├───┼───┤ +│31 │32 ││33 │34 │35 │36 ││37 │38 │39 ││3A │ │3B │3C │3D │ │3E ││3F │3G │3H ││3I │3J │3K │3L ││30 │31 │ +└───┴───┘└───┴───┴───┴───┘└───┴───┴───┘└─────┘ └─────┴───────────────────────────┴─────┘ └─────┘└───┴───┴───┘└───┴───┴───┴───┘└───┴───┘ + ┌───────┐ ┌────────┐ ┌──────────┐ ┌───────┐ + 2u Numpad Zero │36 │ │27 │ 2.25u LShift 2.75u RShift │2J │ │3I │ 2u Numpad Zero + └───────┘ └────────┘ └──────────┘ └───────┘ + ┌───┐ ┌───────────────────────────────────────┐ ┌───┐ + │ │ 2u │3C │ 10u Space │ │ 2u + │02 │ Numpad └───────────────────────────────────────┘ │0T │ Numpad + │ │ Plus │ │ Plus + ├───┤ ┌─────────┐┌─────┐┌─────────┐ 2.75 + 1.5 + ├───┤ + │ │ 2u |3C ||3C ||3C | 2.75 Split │ │ 2u + │33 │ Numpad └─────────┘└─────┘└─────────┘ Spacebar │3L │ Numpad + │ │ Enter │ │ Enter + └───┘ └───┘ +``` diff --git a/keyboards/compensator/readme.md b/keyboards/compensator/readme.md new file mode 100644 index 00000000000..13502ecad2d --- /dev/null +++ b/keyboards/compensator/readme.md @@ -0,0 +1,24 @@ +# The Compensator + +[Compensator](https://i.imgur.com/fAB2SSTh.png) + +A 40% monstrosity with 10U spacebar support and a required 2 keycap sets to fill. It supports VIA. [Geekhack Post](https://geekhack.org/index.php?topic=122493.0) + +* Keyboard Maintainer: [Lrfoster03](https://lrfoster03.github.io/) and on [GitHub](https://github.com/Lrfoster03) +* Hardware Supported: A 40% with 2 numpads, 2 nav clusters, and 2 XT columns with an ATMEGU32U4 +* Hardware Availability: Contact @victusss on discord. [vk.works Discord](https://discord.gg/7weV2kyqFB) + +## Instructions + +### Build + +Make example for this keyboard (after setting up your build environment): + + make compensator: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). + +### Flash +- Ensure PCB is plugged in and recognized by the computer +- Hold Physical reset button on back of the PCB to enter bootloader mode +- Flash using QMK Toolbox or CLI (`make compensator::flash`) diff --git a/keyboards/compensator/rules.mk b/keyboards/compensator/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/compensator/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From c371cb3bc4c42694a6b8a2325af45f83fb07da47 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 22 Feb 2024 17:51:49 +1100 Subject: [PATCH 008/107] IS31FL3729 updates (#23109) --- drivers/led/issi/is31fl3729-mono.c | 117 +++++----- drivers/led/issi/is31fl3729-mono.h | 339 +++++++++++++++-------------- drivers/led/issi/is31fl3729.c | 117 +++++----- drivers/led/issi/is31fl3729.h | 339 +++++++++++++++-------------- 4 files changed, 462 insertions(+), 450 deletions(-) diff --git a/drivers/led/issi/is31fl3729-mono.c b/drivers/led/issi/is31fl3729-mono.c index 1617dd40a7a..13d5146877f 100644 --- a/drivers/led/issi/is31fl3729-mono.c +++ b/drivers/led/issi/is31fl3729-mono.c @@ -18,6 +18,7 @@ #include "is31fl3729-mono.h" #include "i2c_master.h" +#include "gpio.h" #include "wait.h" #define IS31FL3729_PWM_REGISTER_COUNT 143 @@ -39,26 +40,43 @@ # define IS31FL3729_GLOBAL_CURRENT 0x40 #endif -#ifndef IS31FL3729_PULLDOWNUP -# define IS31FL3729_PULLDOWNUP 0x33 +#ifndef IS31FL3729_SW_PULLDOWN +# define IS31FL3729_SW_PULLDOWN IS31FL3729_SW_PULLDOWN_2K_OHM_SW_OFF +#endif + +#ifndef IS31FL3729_CS_PULLUP +# define IS31FL3729_CS_PULLUP IS31FL3729_CS_PULLUP_2K_OHM_CS_OFF #endif #ifndef IS31FL3729_SPREAD_SPECTRUM -# define IS31FL3729_SPREAD_SPECTRUM IS31FL3729_SSP_DISABLE +# define IS31FL3729_SPREAD_SPECTRUM IS31FL3729_SPREAD_SPECTRUM_DISABLE #endif #ifndef IS31FL3729_SPREAD_SPECTRUM_RANGE -# define IS31FL3729_SPREAD_SPECTRUM_RANGE IS31FL3729_RNG_5_PERCENT +# define IS31FL3729_SPREAD_SPECTRUM_RANGE IS31FL3729_SPREAD_SPECTRUM_RANGE_5_PERCENT #endif #ifndef IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME -# define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME IS31FL3729_CLT_1980_US +# define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_1980_US #endif #ifndef IS31FL3729_PWM_FREQUENCY # define IS31FL3729_PWM_FREQUENCY IS31FL3729_PWM_FREQUENCY_32K_HZ #endif +const uint8_t i2c_addresses[IS31FL3729_DRIVER_COUNT] = { + IS31FL3729_I2C_ADDRESS_1, +#ifdef IS31FL3729_I2C_ADDRESS_2 + IS31FL3729_I2C_ADDRESS_2, +# ifdef IS31FL3729_I2C_ADDRESS_3 + IS31FL3729_I2C_ADDRESS_3, +# ifdef IS31FL3729_I2C_ADDRESS_4 + IS31FL3729_I2C_ADDRESS_4, +# endif +# endif +#endif +}; + // These buffers match the PWM & scaling registers. // Storing them like this is optimal for I2C transfers to the registers. typedef struct is31fl3729_driver_t { @@ -75,27 +93,27 @@ is31fl3729_driver_t driver_buffers[IS31FL3729_DRIVER_COUNT] = {{ .scaling_buffer_dirty = false, }}; -void is31fl3729_write_register(uint8_t addr, uint8_t reg, uint8_t data) { +void is31fl3729_write_register(uint8_t index, uint8_t reg, uint8_t data) { #if IS31FL3729_I2C_PERSISTENCE > 0 for (uint8_t i = 0; i < IS31FL3729_I2C_PERSISTENCE; i++) { - if (i2c_write_register(addr << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + if (i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; } #else - i2c_write_register(addr << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT); + i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT); #endif } -void is31fl3729_write_pwm_buffer(uint8_t addr, uint8_t index) { - // Transmit PWM registers in 9 transfers of 16 bytes. +void is31fl3729_write_pwm_buffer(uint8_t index) { + // Transmit PWM registers in 11 transfers of 13 bytes. - // Iterate over the pwm_buffer contents at 16 byte intervals. - for (uint8_t i = 0; i <= IS31FL3729_PWM_REGISTER_COUNT; i += 16) { + // Iterate over the pwm_buffer contents at 13 byte intervals. + for (uint8_t i = 0; i <= IS31FL3729_PWM_REGISTER_COUNT; i += 13) { #if IS31FL3729_I2C_PERSISTENCE > 0 for (uint8_t j = 0; j < IS31FL3729_I2C_PERSISTENCE; j++) { - if (i2c_write_register(addr << 1, i, driver_buffers[index].pwm_buffer + i, 16, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + if (i2c_write_register(i2c_addresses[index] << 1, IS31FL3729_REG_PWM + i, driver_buffers[index].pwm_buffer + i, 13, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; } #else - i2c_write_register(addr << 1, i, driver_buffers[index].pwm_buffer + i, 16, IS31FL3729_I2C_TIMEOUT); + i2c_write_register(i2c_addresses[index] << 1, IS31FL3729_REG_PWM + i, driver_buffers[index].pwm_buffer + i, 13, IS31FL3729_I2C_TIMEOUT); #endif } } @@ -103,53 +121,35 @@ void is31fl3729_write_pwm_buffer(uint8_t addr, uint8_t index) { void is31fl3729_init_drivers(void) { i2c_init(); - is31fl3729_init(IS31FL3729_I2C_ADDRESS_1); -#if defined(IS31FL3729_I2C_ADDRESS_2) - is31fl3729_init(IS31FL3729_I2C_ADDRESS_2); -# if defined(IS31FL3729_I2C_ADDRESS_3) - is31fl3729_init(IS31FL3729_I2C_ADDRESS_3); -# if defined(IS31FL3729_I2C_ADDRESS_4) - is31fl3729_init(IS31FL3729_I2C_ADDRESS_4); -# endif -# endif +#if defined(IS31FL3729_SDB_PIN) + gpio_set_pin_output(IS31FL3729_SDB_PIN); + gpio_write_pin_high(IS31FL3729_SDB_PIN); #endif + for (uint8_t i = 0; i < IS31FL3729_DRIVER_COUNT; i++) { + is31fl3729_init(i); + } + for (int i = 0; i < IS31FL3729_LED_COUNT; i++) { is31fl3729_set_scaling_register(i, 0xFF); } - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_1, 0); -#if defined(IS31FL3729_I2C_ADDRESS_2) - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_2, 1); -# if defined(IS31FL3729_I2C_ADDRESS_3) - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_3, 2); -# if defined(IS31FL3729_I2C_ADDRESS_4) - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_4, 3); -# endif -# endif -#endif + for (uint8_t i = 0; i < IS31FL3729_DRIVER_COUNT; i++) { + is31fl3729_update_scaling_registers(i); + } } -void is31fl3729_init(uint8_t addr) { +void is31fl3729_init(uint8_t index) { // In order to avoid the LEDs being driven with garbage data // in the LED driver's PWM registers, shutdown is enabled last. // Set up the mode and other settings, clear the PWM registers, // then disable software shutdown. - // Set Pull up & Down for SWx CSy - is31fl3729_write_register(addr, IS31FL3729_REG_PULLDOWNUP, IS31FL3729_PULLDOWNUP); - - // Set Spread Spectrum Register if applicable - is31fl3729_write_register(addr, IS31FL3729_REG_SPREAD_SPECTRUM, ((IS31FL3729_SPREAD_SPECTRUM & 0b1) << 4) | ((IS31FL3729_SPREAD_SPECTRUM_RANGE & 0b11) << 2) | (IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME & 0b11)); - - // Set PWM Frequency Register if applicable - is31fl3729_write_register(addr, IS31FL3729_REG_PWM_FREQUENCY, IS31FL3729_PWM_FREQUENCY); - - // Set Golbal Current Control Register - is31fl3729_write_register(addr, IS31FL3729_REG_GLOBAL_CURRENT, IS31FL3729_GLOBAL_CURRENT); - - // Set to Normal operation - is31fl3729_write_register(addr, IS31FL3729_REG_CONFIGURATION, IS31FL3729_CONFIGURATION); + is31fl3729_write_register(index, IS31FL3729_REG_PULLDOWNUP, ((IS31FL3729_SW_PULLDOWN & 0b111) << 4) | (IS31FL3729_CS_PULLUP & 0b111)); + is31fl3729_write_register(index, IS31FL3729_REG_SPREAD_SPECTRUM, ((IS31FL3729_SPREAD_SPECTRUM & 0b1) << 4) | ((IS31FL3729_SPREAD_SPECTRUM_RANGE & 0b11) << 2) | (IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME & 0b11)); + is31fl3729_write_register(index, IS31FL3729_REG_PWM_FREQUENCY, IS31FL3729_PWM_FREQUENCY); + is31fl3729_write_register(index, IS31FL3729_REG_GLOBAL_CURRENT, IS31FL3729_GLOBAL_CURRENT); + is31fl3729_write_register(index, IS31FL3729_REG_CONFIGURATION, IS31FL3729_CONFIGURATION); // Wait 10ms to ensure the device has woken up. wait_ms(10); @@ -188,18 +188,18 @@ void is31fl3729_set_scaling_register(uint8_t index, uint8_t value) { driver_buffers[led.driver].scaling_buffer_dirty = true; } -void is31fl3729_update_pwm_buffers(uint8_t addr, uint8_t index) { +void is31fl3729_update_pwm_buffers(uint8_t index) { if (driver_buffers[index].pwm_buffer_dirty) { - is31fl3729_write_pwm_buffer(addr, index); + is31fl3729_write_pwm_buffer(index); driver_buffers[index].pwm_buffer_dirty = false; } } -void is31fl3729_update_scaling_registers(uint8_t addr, uint8_t index) { +void is31fl3729_update_scaling_registers(uint8_t index) { if (driver_buffers[index].scaling_buffer_dirty) { for (uint8_t i = 0; i < IS31FL3729_SCALING_REGISTER_COUNT; i++) { - is31fl3729_write_register(addr, IS31FL3729_REG_SCALING + i, driver_buffers[index].scaling_buffer[i]); + is31fl3729_write_register(index, IS31FL3729_REG_SCALING + i, driver_buffers[index].scaling_buffer[i]); } driver_buffers[index].scaling_buffer_dirty = false; @@ -207,14 +207,7 @@ void is31fl3729_update_scaling_registers(uint8_t addr, uint8_t index) { } void is31fl3729_flush(void) { - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_1, 0); -#if defined(IS31FL3729_I2C_ADDRESS_2) - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_2, 1); -# if defined(IS31FL3729_I2C_ADDRESS_3) - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_3, 2); -# if defined(IS31FL3729_I2C_ADDRESS_4) - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_4, 3); -# endif -# endif -#endif + for (uint8_t i = 0; i < IS31FL3729_DRIVER_COUNT; i++) { + is31fl3729_update_pwm_buffers(i); + } } diff --git a/drivers/led/issi/is31fl3729-mono.h b/drivers/led/issi/is31fl3729-mono.h index 815c200fd93..9afcde84b37 100644 --- a/drivers/led/issi/is31fl3729-mono.h +++ b/drivers/led/issi/is31fl3729-mono.h @@ -23,6 +23,7 @@ #include "progmem.h" #include "util.h" +#define IS31FL3729_REG_PWM 0x01 #define IS31FL3729_REG_SCALING 0x90 #define IS31FL3729_REG_CONFIGURATION 0xA0 #define IS31FL3729_REG_GLOBAL_CURRENT 0xA1 @@ -58,8 +59,8 @@ typedef struct is31fl3729_led_t { extern const is31fl3729_led_t PROGMEM g_is31fl3729_leds[IS31FL3729_LED_COUNT]; void is31fl3729_init_drivers(void); -void is31fl3729_init(uint8_t addr); -void is31fl3729_write_register(uint8_t addr, uint8_t reg, uint8_t data); +void is31fl3729_init(uint8_t index); +void is31fl3729_write_register(uint8_t index, uint8_t reg, uint8_t data); void is31fl3729_set_value(int index, uint8_t value); void is31fl3729_set_value_all(uint8_t value); @@ -70,26 +71,42 @@ void is31fl3729_set_scaling_register(uint8_t index, uint8_t value); // (eg. from a timer interrupt). // Call this while idle (in between matrix scans). // If the buffer is dirty, it will update the driver with the buffer. -void is31fl3729_update_pwm_buffers(uint8_t addr, uint8_t index); -void is31fl3729_update_scaling_registers(uint8_t addr, uint8_t index); +void is31fl3729_update_pwm_buffers(uint8_t index); +void is31fl3729_update_scaling_registers(uint8_t index); void is31fl3729_flush(void); -// Noise reduction using Spread Spectrum register -#define IS31FL3729_SSP_DISABLE 0b0 -#define IS31FL3729_SSP_ENABLE 0b1 +#define IS31FL3729_SW_PULLDOWN_0_OHM 0b000 +#define IS31FL3729_SW_PULLDOWN_0K5_OHM_SW_OFF 0b001 +#define IS31FL3729_SW_PULLDOWN_1K_OHM_SW_OFF 0b010 +#define IS31FL3729_SW_PULLDOWN_2K_OHM_SW_OFF 0b011 +#define IS31FL3729_SW_PULLDOWN_1K_OHM 0b100 +#define IS31FL3729_SW_PULLDOWN_2K_OHM 0b101 +#define IS31FL3729_SW_PULLDOWN_4K_OHM 0b110 +#define IS31FL3729_SW_PULLDOWN_8K_OHM 0b111 -#define IS31FL3729_RNG_5_PERCENT 0b00 -#define IS31FL3729_RNG_15_PERCENT 0b01 -#define IS31FL3729_RNG_24_PERCENT 0b10 -#define IS31FL3729_RNG_34_PERCENT 0b11 +#define IS31FL3729_CS_PULLUP_0_OHM 0b000 +#define IS31FL3729_CS_PULLUP_0K5_OHM_CS_OFF 0b001 +#define IS31FL3729_CS_PULLUP_1K_OHM_CS_OFF 0b010 +#define IS31FL3729_CS_PULLUP_2K_OHM_CS_OFF 0b011 +#define IS31FL3729_CS_PULLUP_1K_OHM 0b100 +#define IS31FL3729_CS_PULLUP_2K_OHM 0b101 +#define IS31FL3729_CS_PULLUP_4K_OHM 0b110 +#define IS31FL3729_CS_PULLUP_8K_OHM 0b111 -#define IS31FL3729_CLT_1980_US 0b00 -#define IS31FL3729_CLT_1200_US 0b01 -#define IS31FL3729_CLT_820_US 0b10 -#define IS31FL3729_CLT_660_US 0b11 +#define IS31FL3729_SPREAD_SPECTRUM_DISABLE 0b0 +#define IS31FL3729_SPREAD_SPECTRUM_ENABLE 0b1 + +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_5_PERCENT 0b00 +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_15_PERCENT 0b01 +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_24_PERCENT 0b10 +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_34_PERCENT 0b11 + +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_1980_US 0b00 +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_1200_US 0b01 +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_820_US 0b10 +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_660_US 0b11 -// Noise reduction using PWM Frequency register #define IS31FL3729_PWM_FREQUENCY_55K_HZ 0b000 #define IS31FL3729_PWM_FREQUENCY_32K_HZ 0b001 #define IS31FL3729_PWM_FREQUENCY_4K_HZ 0b010 @@ -99,7 +116,6 @@ void is31fl3729_flush(void); #define IS31FL3729_PWM_FREQUENCY_250_HZ 0b110 #define IS31FL3729_PWM_FREQUENCY_80K_HZ 0b111 -// Change SWx Setting using Configuration register #define IS31FL3729_CONFIG_SWS_15_9 0x01 // 15 CS x 9 SW matrix #define IS31FL3729_CONFIG_SWS_16_8 0x11 // 16 CS x 8 SW matrix #define IS31FL3729_CONFIG_SWS_16_7 0x21 // 16 CS x 7 SW matrix @@ -109,157 +125,154 @@ void is31fl3729_flush(void); #define IS31FL3729_CONFIG_SWS_16_3 0x61 // 16 CS x 3 SW matrix #define IS31FL3729_CONFIG_SWS_16_2 0x71 // 16 CS x 2 SW matrix -// Map CS SW locations to order in PWM / Scaling buffers -// This matches the ORDER in the Datasheet Register not the POSITION -// It will always count from 0x01 to (ISSI_MAX_LEDS - 1) -#define SW1_CS1 0x01 -#define SW1_CS2 0x02 -#define SW1_CS3 0x03 -#define SW1_CS4 0x04 -#define SW1_CS5 0x05 -#define SW1_CS6 0x06 -#define SW1_CS7 0x07 -#define SW1_CS8 0x08 -#define SW1_CS9 0x09 -#define SW1_CS10 0x0A -#define SW1_CS11 0x0B -#define SW1_CS12 0x0C -#define SW1_CS13 0x0D -#define SW1_CS14 0x0E -#define SW1_CS15 0x0F -#define SW1_CS16 0x10 +#define SW1_CS1 0x00 +#define SW1_CS2 0x01 +#define SW1_CS3 0x02 +#define SW1_CS4 0x03 +#define SW1_CS5 0x04 +#define SW1_CS6 0x05 +#define SW1_CS7 0x06 +#define SW1_CS8 0x07 +#define SW1_CS9 0x08 +#define SW1_CS10 0x09 +#define SW1_CS11 0x0A +#define SW1_CS12 0x0B +#define SW1_CS13 0x0C +#define SW1_CS14 0x0D +#define SW1_CS15 0x0E +#define SW1_CS16 0x0F -#define SW2_CS1 0x11 -#define SW2_CS2 0x12 -#define SW2_CS3 0x13 -#define SW2_CS4 0x14 -#define SW2_CS5 0x15 -#define SW2_CS6 0x16 -#define SW2_CS7 0x17 -#define SW2_CS8 0x18 -#define SW2_CS9 0x19 -#define SW2_CS10 0x1A -#define SW2_CS11 0x1B -#define SW2_CS12 0x1C -#define SW2_CS13 0x1D -#define SW2_CS14 0x1E -#define SW2_CS15 0x1F -#define SW2_CS16 0x20 +#define SW2_CS1 0x10 +#define SW2_CS2 0x11 +#define SW2_CS3 0x12 +#define SW2_CS4 0x13 +#define SW2_CS5 0x14 +#define SW2_CS6 0x15 +#define SW2_CS7 0x16 +#define SW2_CS8 0x17 +#define SW2_CS9 0x18 +#define SW2_CS10 0x19 +#define SW2_CS11 0x1A +#define SW2_CS12 0x1B +#define SW2_CS13 0x1C +#define SW2_CS14 0x1D +#define SW2_CS15 0x1E +#define SW2_CS16 0x1F -#define SW3_CS1 0x21 -#define SW3_CS2 0x22 -#define SW3_CS3 0x23 -#define SW3_CS4 0x24 -#define SW3_CS5 0x25 -#define SW3_CS6 0x26 -#define SW3_CS7 0x27 -#define SW3_CS8 0x28 -#define SW3_CS9 0x29 -#define SW3_CS10 0x2A -#define SW3_CS11 0x2B -#define SW3_CS12 0x2C -#define SW3_CS13 0x2D -#define SW3_CS14 0x2E -#define SW3_CS15 0x2F -#define SW3_CS16 0x30 +#define SW3_CS1 0x20 +#define SW3_CS2 0x21 +#define SW3_CS3 0x22 +#define SW3_CS4 0x23 +#define SW3_CS5 0x24 +#define SW3_CS6 0x25 +#define SW3_CS7 0x26 +#define SW3_CS8 0x27 +#define SW3_CS9 0x28 +#define SW3_CS10 0x29 +#define SW3_CS11 0x2A +#define SW3_CS12 0x2B +#define SW3_CS13 0x2C +#define SW3_CS14 0x2D +#define SW3_CS15 0x2E +#define SW3_CS16 0x2F -#define SW4_CS1 0x31 -#define SW4_CS2 0x32 -#define SW4_CS3 0x33 -#define SW4_CS4 0x34 -#define SW4_CS5 0x35 -#define SW4_CS6 0x36 -#define SW4_CS7 0x37 -#define SW4_CS8 0x38 -#define SW4_CS9 0x39 -#define SW4_CS10 0x3A -#define SW4_CS11 0x3B -#define SW4_CS12 0x3C -#define SW4_CS13 0x3D -#define SW4_CS14 0x3E -#define SW4_CS15 0x3F -#define SW4_CS16 0x40 +#define SW4_CS1 0x30 +#define SW4_CS2 0x31 +#define SW4_CS3 0x32 +#define SW4_CS4 0x33 +#define SW4_CS5 0x34 +#define SW4_CS6 0x35 +#define SW4_CS7 0x36 +#define SW4_CS8 0x37 +#define SW4_CS9 0x38 +#define SW4_CS10 0x39 +#define SW4_CS11 0x3A +#define SW4_CS12 0x3B +#define SW4_CS13 0x3C +#define SW4_CS14 0x3D +#define SW4_CS15 0x3E +#define SW4_CS16 0x3F -#define SW5_CS1 0x41 -#define SW5_CS2 0x42 -#define SW5_CS3 0x43 -#define SW5_CS4 0x44 -#define SW5_CS5 0x45 -#define SW5_CS6 0x46 -#define SW5_CS7 0x47 -#define SW5_CS8 0x48 -#define SW5_CS9 0x49 -#define SW5_CS10 0x4A -#define SW5_CS11 0x4B -#define SW5_CS12 0x4C -#define SW5_CS13 0x4D -#define SW5_CS14 0x4E -#define SW5_CS15 0x4F -#define SW5_CS16 0x50 +#define SW5_CS1 0x40 +#define SW5_CS2 0x41 +#define SW5_CS3 0x42 +#define SW5_CS4 0x43 +#define SW5_CS5 0x44 +#define SW5_CS6 0x45 +#define SW5_CS7 0x46 +#define SW5_CS8 0x47 +#define SW5_CS9 0x48 +#define SW5_CS10 0x49 +#define SW5_CS11 0x4A +#define SW5_CS12 0x4B +#define SW5_CS13 0x4C +#define SW5_CS14 0x4D +#define SW5_CS15 0x4E +#define SW5_CS16 0x4F -#define SW6_CS1 0x51 -#define SW6_CS2 0x52 -#define SW6_CS3 0x53 -#define SW6_CS4 0x54 -#define SW6_CS5 0x55 -#define SW6_CS6 0x56 -#define SW6_CS7 0x57 -#define SW6_CS8 0x58 -#define SW6_CS9 0x59 -#define SW6_CS10 0x5A -#define SW6_CS11 0x5B -#define SW6_CS12 0x5C -#define SW6_CS13 0x5D -#define SW6_CS14 0x5E -#define SW6_CS15 0x5F -#define SW6_CS16 0x60 +#define SW6_CS1 0x50 +#define SW6_CS2 0x51 +#define SW6_CS3 0x52 +#define SW6_CS4 0x53 +#define SW6_CS5 0x54 +#define SW6_CS6 0x55 +#define SW6_CS7 0x56 +#define SW6_CS8 0x57 +#define SW6_CS9 0x58 +#define SW6_CS10 0x59 +#define SW6_CS11 0x5A +#define SW6_CS12 0x5B +#define SW6_CS13 0x5C +#define SW6_CS14 0x5D +#define SW6_CS15 0x5E +#define SW6_CS16 0x5F -#define SW7_CS1 0x61 -#define SW7_CS2 0x62 -#define SW7_CS3 0x63 -#define SW7_CS4 0x64 -#define SW7_CS5 0x65 -#define SW7_CS6 0x66 -#define SW7_CS7 0x67 -#define SW7_CS8 0x68 -#define SW7_CS9 0x69 -#define SW7_CS10 0x6A -#define SW7_CS11 0x6B -#define SW7_CS12 0x6C -#define SW7_CS13 0x6D -#define SW7_CS14 0x6E -#define SW7_CS15 0x6F -#define SW7_CS16 0x70 +#define SW7_CS1 0x60 +#define SW7_CS2 0x61 +#define SW7_CS3 0x62 +#define SW7_CS4 0x63 +#define SW7_CS5 0x64 +#define SW7_CS6 0x65 +#define SW7_CS7 0x66 +#define SW7_CS8 0x67 +#define SW7_CS9 0x68 +#define SW7_CS10 0x69 +#define SW7_CS11 0x6A +#define SW7_CS12 0x6B +#define SW7_CS13 0x6C +#define SW7_CS14 0x6D +#define SW7_CS15 0x6E +#define SW7_CS16 0x6F -#define SW8_CS1 0x71 -#define SW8_CS2 0x72 -#define SW8_CS3 0x73 -#define SW8_CS4 0x74 -#define SW8_CS5 0x75 -#define SW8_CS6 0x76 -#define SW8_CS7 0x77 -#define SW8_CS8 0x78 -#define SW8_CS9 0x79 -#define SW8_CS10 0x7A -#define SW8_CS11 0x7B -#define SW8_CS12 0x7C -#define SW8_CS13 0x7D -#define SW8_CS14 0x7E -#define SW8_CS15 0x7F -#define SW8_CS16 0x80 +#define SW8_CS1 0x70 +#define SW8_CS2 0x71 +#define SW8_CS3 0x72 +#define SW8_CS4 0x73 +#define SW8_CS5 0x74 +#define SW8_CS6 0x75 +#define SW8_CS7 0x76 +#define SW8_CS8 0x77 +#define SW8_CS9 0x78 +#define SW8_CS10 0x79 +#define SW8_CS11 0x7A +#define SW8_CS12 0x7B +#define SW8_CS13 0x7C +#define SW8_CS14 0x7D +#define SW8_CS15 0x7E +#define SW8_CS16 0x7F -#define SW9_CS1 0x81 -#define SW9_CS2 0x82 -#define SW9_CS3 0x83 -#define SW9_CS4 0x84 -#define SW9_CS5 0x85 -#define SW9_CS6 0x86 -#define SW9_CS7 0x87 -#define SW9_CS8 0x88 -#define SW9_CS9 0x89 -#define SW9_CS10 0x8A -#define SW9_CS11 0x8B -#define SW9_CS12 0x8C -#define SW9_CS13 0x8D -#define SW9_CS14 0x8E -#define SW9_CS15 0x8F +#define SW9_CS1 0x80 +#define SW9_CS2 0x81 +#define SW9_CS3 0x82 +#define SW9_CS4 0x83 +#define SW9_CS5 0x84 +#define SW9_CS6 0x85 +#define SW9_CS7 0x86 +#define SW9_CS8 0x87 +#define SW9_CS9 0x88 +#define SW9_CS10 0x89 +#define SW9_CS11 0x8A +#define SW9_CS12 0x8B +#define SW9_CS13 0x8C +#define SW9_CS14 0x8D +#define SW9_CS15 0x8E diff --git a/drivers/led/issi/is31fl3729.c b/drivers/led/issi/is31fl3729.c index 06f2d168d0b..80acb22fa28 100644 --- a/drivers/led/issi/is31fl3729.c +++ b/drivers/led/issi/is31fl3729.c @@ -18,6 +18,7 @@ #include "is31fl3729.h" #include "i2c_master.h" +#include "gpio.h" #include "wait.h" #define IS31FL3729_PWM_REGISTER_COUNT 143 @@ -39,26 +40,43 @@ # define IS31FL3729_GLOBAL_CURRENT 0x40 #endif -#ifndef IS31FL3729_PULLDOWNUP -# define IS31FL3729_PULLDOWNUP 0x33 +#ifndef IS31FL3729_SW_PULLDOWN +# define IS31FL3729_SW_PULLDOWN IS31FL3729_SW_PULLDOWN_2K_OHM_SW_OFF +#endif + +#ifndef IS31FL3729_CS_PULLUP +# define IS31FL3729_CS_PULLUP IS31FL3729_CS_PULLUP_2K_OHM_CS_OFF #endif #ifndef IS31FL3729_SPREAD_SPECTRUM -# define IS31FL3729_SPREAD_SPECTRUM IS31FL3729_SSP_DISABLE +# define IS31FL3729_SPREAD_SPECTRUM IS31FL3729_SPREAD_SPECTRUM_DISABLE #endif #ifndef IS31FL3729_SPREAD_SPECTRUM_RANGE -# define IS31FL3729_SPREAD_SPECTRUM_RANGE IS31FL3729_RNG_5_PERCENT +# define IS31FL3729_SPREAD_SPECTRUM_RANGE IS31FL3729_SPREAD_SPECTRUM_RANGE_5_PERCENT #endif #ifndef IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME -# define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME IS31FL3729_CLT_1980_US +# define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_1980_US #endif #ifndef IS31FL3729_PWM_FREQUENCY # define IS31FL3729_PWM_FREQUENCY IS31FL3729_PWM_FREQUENCY_32K_HZ #endif +const uint8_t i2c_addresses[IS31FL3729_DRIVER_COUNT] = { + IS31FL3729_I2C_ADDRESS_1, +#ifdef IS31FL3729_I2C_ADDRESS_2 + IS31FL3729_I2C_ADDRESS_2, +# ifdef IS31FL3729_I2C_ADDRESS_3 + IS31FL3729_I2C_ADDRESS_3, +# ifdef IS31FL3729_I2C_ADDRESS_4 + IS31FL3729_I2C_ADDRESS_4, +# endif +# endif +#endif +}; + // These buffers match the PWM & scaling registers. // Storing them like this is optimal for I2C transfers to the registers. typedef struct is31fl3729_driver_t { @@ -75,27 +93,27 @@ is31fl3729_driver_t driver_buffers[IS31FL3729_DRIVER_COUNT] = {{ .scaling_buffer_dirty = false, }}; -void is31fl3729_write_register(uint8_t addr, uint8_t reg, uint8_t data) { +void is31fl3729_write_register(uint8_t index, uint8_t reg, uint8_t data) { #if IS31FL3729_I2C_PERSISTENCE > 0 for (uint8_t i = 0; i < IS31FL3729_I2C_PERSISTENCE; i++) { - if (i2c_write_register(addr << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + if (i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; } #else - i2c_write_register(addr << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT); + i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3729_I2C_TIMEOUT); #endif } -void is31fl3729_write_pwm_buffer(uint8_t addr, uint8_t index) { - // Transmit PWM registers in 9 transfers of 16 bytes. +void is31fl3729_write_pwm_buffer(uint8_t index) { + // Transmit PWM registers in 11 transfers of 13 bytes. - // Iterate over the pwm_buffer contents at 16 byte intervals. - for (uint8_t i = 0; i <= IS31FL3729_PWM_REGISTER_COUNT; i += 16) { + // Iterate over the pwm_buffer contents at 13 byte intervals. + for (uint8_t i = 0; i <= IS31FL3729_PWM_REGISTER_COUNT; i += 13) { #if IS31FL3729_I2C_PERSISTENCE > 0 for (uint8_t j = 0; j < IS31FL3729_I2C_PERSISTENCE; j++) { - if (i2c_write_register(addr << 1, i, driver_buffers[index].pwm_buffer + i, 16, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + if (i2c_write_register(i2c_addresses[index] << 1, IS31FL3729_REG_PWM + i, driver_buffers[index].pwm_buffer + i, 13, IS31FL3729_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; } #else - i2c_write_register(addr << 1, i, driver_buffers[index].pwm_buffer + i, 16, IS31FL3729_I2C_TIMEOUT); + i2c_write_register(i2c_addresses[index] << 1, IS31FL3729_REG_PWM + i, driver_buffers[index].pwm_buffer + i, 13, IS31FL3729_I2C_TIMEOUT); #endif } } @@ -103,53 +121,35 @@ void is31fl3729_write_pwm_buffer(uint8_t addr, uint8_t index) { void is31fl3729_init_drivers(void) { i2c_init(); - is31fl3729_init(IS31FL3729_I2C_ADDRESS_1); -#if defined(IS31FL3729_I2C_ADDRESS_2) - is31fl3729_init(IS31FL3729_I2C_ADDRESS_2); -# if defined(IS31FL3729_I2C_ADDRESS_3) - is31fl3729_init(IS31FL3729_I2C_ADDRESS_3); -# if defined(IS31FL3729_I2C_ADDRESS_4) - is31fl3729_init(IS31FL3729_I2C_ADDRESS_4); -# endif -# endif +#if defined(IS31FL3729_SDB_PIN) + gpio_set_pin_output(IS31FL3729_SDB_PIN); + gpio_write_pin_high(IS31FL3729_SDB_PIN); #endif + for (uint8_t i = 0; i < IS31FL3729_DRIVER_COUNT; i++) { + is31fl3729_init(i); + } + for (int i = 0; i < IS31FL3729_LED_COUNT; i++) { is31fl3729_set_scaling_register(i, 0xFF, 0xFF, 0xFF); } - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_1, 0); -#if defined(IS31FL3729_I2C_ADDRESS_2) - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_2, 1); -# if defined(IS31FL3729_I2C_ADDRESS_3) - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_3, 2); -# if defined(IS31FL3729_I2C_ADDRESS_4) - is31fl3729_update_scaling_registers(IS31FL3729_I2C_ADDRESS_4, 3); -# endif -# endif -#endif + for (uint8_t i = 0; i < IS31FL3729_DRIVER_COUNT; i++) { + is31fl3729_update_scaling_registers(i); + } } -void is31fl3729_init(uint8_t addr) { +void is31fl3729_init(uint8_t index) { // In order to avoid the LEDs being driven with garbage data // in the LED driver's PWM registers, shutdown is enabled last. // Set up the mode and other settings, clear the PWM registers, // then disable software shutdown. - // Set Pull up & Down for SWx CSy - is31fl3729_write_register(addr, IS31FL3729_REG_PULLDOWNUP, IS31FL3729_PULLDOWNUP); - - // Set Spread Spectrum Register if applicable - is31fl3729_write_register(addr, IS31FL3729_REG_SPREAD_SPECTRUM, ((IS31FL3729_SPREAD_SPECTRUM & 0b1) << 4) | ((IS31FL3729_SPREAD_SPECTRUM_RANGE & 0b11) << 2) | (IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME & 0b11)); - - // Set PWM Frequency Register if applicable - is31fl3729_write_register(addr, IS31FL3729_REG_PWM_FREQUENCY, IS31FL3729_PWM_FREQUENCY); - - // Set Golbal Current Control Register - is31fl3729_write_register(addr, IS31FL3729_REG_GLOBAL_CURRENT, IS31FL3729_GLOBAL_CURRENT); - - // Set to Normal operation - is31fl3729_write_register(addr, IS31FL3729_REG_CONFIGURATION, IS31FL3729_CONFIGURATION); + is31fl3729_write_register(index, IS31FL3729_REG_PULLDOWNUP, ((IS31FL3729_SW_PULLDOWN & 0b111) << 4) | (IS31FL3729_CS_PULLUP & 0b111)); + is31fl3729_write_register(index, IS31FL3729_REG_SPREAD_SPECTRUM, ((IS31FL3729_SPREAD_SPECTRUM & 0b1) << 4) | ((IS31FL3729_SPREAD_SPECTRUM_RANGE & 0b11) << 2) | (IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME & 0b11)); + is31fl3729_write_register(index, IS31FL3729_REG_PWM_FREQUENCY, IS31FL3729_PWM_FREQUENCY); + is31fl3729_write_register(index, IS31FL3729_REG_GLOBAL_CURRENT, IS31FL3729_GLOBAL_CURRENT); + is31fl3729_write_register(index, IS31FL3729_REG_CONFIGURATION, IS31FL3729_CONFIGURATION); // Wait 10ms to ensure the device has woken up. wait_ms(10); @@ -194,18 +194,18 @@ void is31fl3729_set_scaling_register(uint8_t index, uint8_t red, uint8_t green, driver_buffers[led.driver].scaling_buffer_dirty = true; } -void is31fl3729_update_pwm_buffers(uint8_t addr, uint8_t index) { +void is31fl3729_update_pwm_buffers(uint8_t index) { if (driver_buffers[index].pwm_buffer_dirty) { - is31fl3729_write_pwm_buffer(addr, index); + is31fl3729_write_pwm_buffer(index); driver_buffers[index].pwm_buffer_dirty = false; } } -void is31fl3729_update_scaling_registers(uint8_t addr, uint8_t index) { +void is31fl3729_update_scaling_registers(uint8_t index) { if (driver_buffers[index].scaling_buffer_dirty) { for (uint8_t i = 0; i < IS31FL3729_SCALING_REGISTER_COUNT; i++) { - is31fl3729_write_register(addr, IS31FL3729_REG_SCALING + i, driver_buffers[index].scaling_buffer[i]); + is31fl3729_write_register(index, IS31FL3729_REG_SCALING + i, driver_buffers[index].scaling_buffer[i]); } driver_buffers[index].scaling_buffer_dirty = false; @@ -213,14 +213,7 @@ void is31fl3729_update_scaling_registers(uint8_t addr, uint8_t index) { } void is31fl3729_flush(void) { - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_1, 0); -#if defined(IS31FL3729_I2C_ADDRESS_2) - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_2, 1); -# if defined(IS31FL3729_I2C_ADDRESS_3) - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_3, 2); -# if defined(IS31FL3729_I2C_ADDRESS_4) - is31fl3729_update_pwm_buffers(IS31FL3729_I2C_ADDRESS_4, 3); -# endif -# endif -#endif + for (uint8_t i = 0; i < IS31FL3729_DRIVER_COUNT; i++) { + is31fl3729_update_pwm_buffers(i); + } } diff --git a/drivers/led/issi/is31fl3729.h b/drivers/led/issi/is31fl3729.h index 6f2672b6a32..865c462f05e 100644 --- a/drivers/led/issi/is31fl3729.h +++ b/drivers/led/issi/is31fl3729.h @@ -23,6 +23,7 @@ #include "progmem.h" #include "util.h" +#define IS31FL3729_REG_PWM 0x01 #define IS31FL3729_REG_SCALING 0x90 #define IS31FL3729_REG_CONFIGURATION 0xA0 #define IS31FL3729_REG_GLOBAL_CURRENT 0xA1 @@ -60,8 +61,8 @@ typedef struct is31fl3729_led_t { extern const is31fl3729_led_t PROGMEM g_is31fl3729_leds[IS31FL3729_LED_COUNT]; void is31fl3729_init_drivers(void); -void is31fl3729_init(uint8_t addr); -void is31fl3729_write_register(uint8_t addr, uint8_t reg, uint8_t data); +void is31fl3729_init(uint8_t index); +void is31fl3729_write_register(uint8_t index, uint8_t reg, uint8_t data); void is31fl3729_set_color(int index, uint8_t red, uint8_t green, uint8_t blue); void is31fl3729_set_color_all(uint8_t red, uint8_t green, uint8_t blue); @@ -72,26 +73,42 @@ void is31fl3729_set_scaling_register(uint8_t index, uint8_t red, uint8_t green, // (eg. from a timer interrupt). // Call this while idle (in between matrix scans). // If the buffer is dirty, it will update the driver with the buffer. -void is31fl3729_update_pwm_buffers(uint8_t addr, uint8_t index); -void is31fl3729_update_scaling_registers(uint8_t addr, uint8_t index); +void is31fl3729_update_pwm_buffers(uint8_t index); +void is31fl3729_update_scaling_registers(uint8_t index); void is31fl3729_flush(void); -// Noise reduction using Spread Spectrum register -#define IS31FL3729_SSP_DISABLE 0b0 -#define IS31FL3729_SSP_ENABLE 0b1 +#define IS31FL3729_SW_PULLDOWN_0_OHM 0b000 +#define IS31FL3729_SW_PULLDOWN_0K5_OHM_SW_OFF 0b001 +#define IS31FL3729_SW_PULLDOWN_1K_OHM_SW_OFF 0b010 +#define IS31FL3729_SW_PULLDOWN_2K_OHM_SW_OFF 0b011 +#define IS31FL3729_SW_PULLDOWN_1K_OHM 0b100 +#define IS31FL3729_SW_PULLDOWN_2K_OHM 0b101 +#define IS31FL3729_SW_PULLDOWN_4K_OHM 0b110 +#define IS31FL3729_SW_PULLDOWN_8K_OHM 0b111 -#define IS31FL3729_RNG_5_PERCENT 0b00 -#define IS31FL3729_RNG_15_PERCENT 0b01 -#define IS31FL3729_RNG_24_PERCENT 0b10 -#define IS31FL3729_RNG_34_PERCENT 0b11 +#define IS31FL3729_CS_PULLUP_0_OHM 0b000 +#define IS31FL3729_CS_PULLUP_0K5_OHM_CS_OFF 0b001 +#define IS31FL3729_CS_PULLUP_1K_OHM_CS_OFF 0b010 +#define IS31FL3729_CS_PULLUP_2K_OHM_CS_OFF 0b011 +#define IS31FL3729_CS_PULLUP_1K_OHM 0b100 +#define IS31FL3729_CS_PULLUP_2K_OHM 0b101 +#define IS31FL3729_CS_PULLUP_4K_OHM 0b110 +#define IS31FL3729_CS_PULLUP_8K_OHM 0b111 -#define IS31FL3729_CLT_1980_US 0b00 -#define IS31FL3729_CLT_1200_US 0b01 -#define IS31FL3729_CLT_820_US 0b10 -#define IS31FL3729_CLT_660_US 0b11 +#define IS31FL3729_SPREAD_SPECTRUM_DISABLE 0b0 +#define IS31FL3729_SPREAD_SPECTRUM_ENABLE 0b1 + +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_5_PERCENT 0b00 +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_15_PERCENT 0b01 +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_24_PERCENT 0b10 +#define IS31FL3729_SPREAD_SPECTRUM_RANGE_34_PERCENT 0b11 + +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_1980_US 0b00 +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_1200_US 0b01 +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_820_US 0b10 +#define IS31FL3729_SPREAD_SPECTRUM_CYCLE_TIME_660_US 0b11 -// Noise reduction using PWM Frequency register #define IS31FL3729_PWM_FREQUENCY_55K_HZ 0b000 #define IS31FL3729_PWM_FREQUENCY_32K_HZ 0b001 #define IS31FL3729_PWM_FREQUENCY_4K_HZ 0b010 @@ -101,7 +118,6 @@ void is31fl3729_flush(void); #define IS31FL3729_PWM_FREQUENCY_250_HZ 0b110 #define IS31FL3729_PWM_FREQUENCY_80K_HZ 0b111 -// Change SWx Setting using Configuration register #define IS31FL3729_CONFIG_SWS_15_9 0x01 // 15 CS x 9 SW matrix #define IS31FL3729_CONFIG_SWS_16_8 0x11 // 16 CS x 8 SW matrix #define IS31FL3729_CONFIG_SWS_16_7 0x21 // 16 CS x 7 SW matrix @@ -111,157 +127,154 @@ void is31fl3729_flush(void); #define IS31FL3729_CONFIG_SWS_16_3 0x61 // 16 CS x 3 SW matrix #define IS31FL3729_CONFIG_SWS_16_2 0x71 // 16 CS x 2 SW matrix -// Map CS SW locations to order in PWM / Scaling buffers -// This matches the ORDER in the Datasheet Register not the POSITION -// It will always count from 0x01 to (ISSI_MAX_LEDS - 1) -#define SW1_CS1 0x01 -#define SW1_CS2 0x02 -#define SW1_CS3 0x03 -#define SW1_CS4 0x04 -#define SW1_CS5 0x05 -#define SW1_CS6 0x06 -#define SW1_CS7 0x07 -#define SW1_CS8 0x08 -#define SW1_CS9 0x09 -#define SW1_CS10 0x0A -#define SW1_CS11 0x0B -#define SW1_CS12 0x0C -#define SW1_CS13 0x0D -#define SW1_CS14 0x0E -#define SW1_CS15 0x0F -#define SW1_CS16 0x10 +#define SW1_CS1 0x00 +#define SW1_CS2 0x01 +#define SW1_CS3 0x02 +#define SW1_CS4 0x03 +#define SW1_CS5 0x04 +#define SW1_CS6 0x05 +#define SW1_CS7 0x06 +#define SW1_CS8 0x07 +#define SW1_CS9 0x08 +#define SW1_CS10 0x09 +#define SW1_CS11 0x0A +#define SW1_CS12 0x0B +#define SW1_CS13 0x0C +#define SW1_CS14 0x0D +#define SW1_CS15 0x0E +#define SW1_CS16 0x0F -#define SW2_CS1 0x11 -#define SW2_CS2 0x12 -#define SW2_CS3 0x13 -#define SW2_CS4 0x14 -#define SW2_CS5 0x15 -#define SW2_CS6 0x16 -#define SW2_CS7 0x17 -#define SW2_CS8 0x18 -#define SW2_CS9 0x19 -#define SW2_CS10 0x1A -#define SW2_CS11 0x1B -#define SW2_CS12 0x1C -#define SW2_CS13 0x1D -#define SW2_CS14 0x1E -#define SW2_CS15 0x1F -#define SW2_CS16 0x20 +#define SW2_CS1 0x10 +#define SW2_CS2 0x11 +#define SW2_CS3 0x12 +#define SW2_CS4 0x13 +#define SW2_CS5 0x14 +#define SW2_CS6 0x15 +#define SW2_CS7 0x16 +#define SW2_CS8 0x17 +#define SW2_CS9 0x18 +#define SW2_CS10 0x19 +#define SW2_CS11 0x1A +#define SW2_CS12 0x1B +#define SW2_CS13 0x1C +#define SW2_CS14 0x1D +#define SW2_CS15 0x1E +#define SW2_CS16 0x1F -#define SW3_CS1 0x21 -#define SW3_CS2 0x22 -#define SW3_CS3 0x23 -#define SW3_CS4 0x24 -#define SW3_CS5 0x25 -#define SW3_CS6 0x26 -#define SW3_CS7 0x27 -#define SW3_CS8 0x28 -#define SW3_CS9 0x29 -#define SW3_CS10 0x2A -#define SW3_CS11 0x2B -#define SW3_CS12 0x2C -#define SW3_CS13 0x2D -#define SW3_CS14 0x2E -#define SW3_CS15 0x2F -#define SW3_CS16 0x30 +#define SW3_CS1 0x20 +#define SW3_CS2 0x21 +#define SW3_CS3 0x22 +#define SW3_CS4 0x23 +#define SW3_CS5 0x24 +#define SW3_CS6 0x25 +#define SW3_CS7 0x26 +#define SW3_CS8 0x27 +#define SW3_CS9 0x28 +#define SW3_CS10 0x29 +#define SW3_CS11 0x2A +#define SW3_CS12 0x2B +#define SW3_CS13 0x2C +#define SW3_CS14 0x2D +#define SW3_CS15 0x2E +#define SW3_CS16 0x2F -#define SW4_CS1 0x31 -#define SW4_CS2 0x32 -#define SW4_CS3 0x33 -#define SW4_CS4 0x34 -#define SW4_CS5 0x35 -#define SW4_CS6 0x36 -#define SW4_CS7 0x37 -#define SW4_CS8 0x38 -#define SW4_CS9 0x39 -#define SW4_CS10 0x3A -#define SW4_CS11 0x3B -#define SW4_CS12 0x3C -#define SW4_CS13 0x3D -#define SW4_CS14 0x3E -#define SW4_CS15 0x3F -#define SW4_CS16 0x40 +#define SW4_CS1 0x30 +#define SW4_CS2 0x31 +#define SW4_CS3 0x32 +#define SW4_CS4 0x33 +#define SW4_CS5 0x34 +#define SW4_CS6 0x35 +#define SW4_CS7 0x36 +#define SW4_CS8 0x37 +#define SW4_CS9 0x38 +#define SW4_CS10 0x39 +#define SW4_CS11 0x3A +#define SW4_CS12 0x3B +#define SW4_CS13 0x3C +#define SW4_CS14 0x3D +#define SW4_CS15 0x3E +#define SW4_CS16 0x3F -#define SW5_CS1 0x41 -#define SW5_CS2 0x42 -#define SW5_CS3 0x43 -#define SW5_CS4 0x44 -#define SW5_CS5 0x45 -#define SW5_CS6 0x46 -#define SW5_CS7 0x47 -#define SW5_CS8 0x48 -#define SW5_CS9 0x49 -#define SW5_CS10 0x4A -#define SW5_CS11 0x4B -#define SW5_CS12 0x4C -#define SW5_CS13 0x4D -#define SW5_CS14 0x4E -#define SW5_CS15 0x4F -#define SW5_CS16 0x50 +#define SW5_CS1 0x40 +#define SW5_CS2 0x41 +#define SW5_CS3 0x42 +#define SW5_CS4 0x43 +#define SW5_CS5 0x44 +#define SW5_CS6 0x45 +#define SW5_CS7 0x46 +#define SW5_CS8 0x47 +#define SW5_CS9 0x48 +#define SW5_CS10 0x49 +#define SW5_CS11 0x4A +#define SW5_CS12 0x4B +#define SW5_CS13 0x4C +#define SW5_CS14 0x4D +#define SW5_CS15 0x4E +#define SW5_CS16 0x4F -#define SW6_CS1 0x51 -#define SW6_CS2 0x52 -#define SW6_CS3 0x53 -#define SW6_CS4 0x54 -#define SW6_CS5 0x55 -#define SW6_CS6 0x56 -#define SW6_CS7 0x57 -#define SW6_CS8 0x58 -#define SW6_CS9 0x59 -#define SW6_CS10 0x5A -#define SW6_CS11 0x5B -#define SW6_CS12 0x5C -#define SW6_CS13 0x5D -#define SW6_CS14 0x5E -#define SW6_CS15 0x5F -#define SW6_CS16 0x60 +#define SW6_CS1 0x50 +#define SW6_CS2 0x51 +#define SW6_CS3 0x52 +#define SW6_CS4 0x53 +#define SW6_CS5 0x54 +#define SW6_CS6 0x55 +#define SW6_CS7 0x56 +#define SW6_CS8 0x57 +#define SW6_CS9 0x58 +#define SW6_CS10 0x59 +#define SW6_CS11 0x5A +#define SW6_CS12 0x5B +#define SW6_CS13 0x5C +#define SW6_CS14 0x5D +#define SW6_CS15 0x5E +#define SW6_CS16 0x5F -#define SW7_CS1 0x61 -#define SW7_CS2 0x62 -#define SW7_CS3 0x63 -#define SW7_CS4 0x64 -#define SW7_CS5 0x65 -#define SW7_CS6 0x66 -#define SW7_CS7 0x67 -#define SW7_CS8 0x68 -#define SW7_CS9 0x69 -#define SW7_CS10 0x6A -#define SW7_CS11 0x6B -#define SW7_CS12 0x6C -#define SW7_CS13 0x6D -#define SW7_CS14 0x6E -#define SW7_CS15 0x6F -#define SW7_CS16 0x70 +#define SW7_CS1 0x60 +#define SW7_CS2 0x61 +#define SW7_CS3 0x62 +#define SW7_CS4 0x63 +#define SW7_CS5 0x64 +#define SW7_CS6 0x65 +#define SW7_CS7 0x66 +#define SW7_CS8 0x67 +#define SW7_CS9 0x68 +#define SW7_CS10 0x69 +#define SW7_CS11 0x6A +#define SW7_CS12 0x6B +#define SW7_CS13 0x6C +#define SW7_CS14 0x6D +#define SW7_CS15 0x6E +#define SW7_CS16 0x6F -#define SW8_CS1 0x71 -#define SW8_CS2 0x72 -#define SW8_CS3 0x73 -#define SW8_CS4 0x74 -#define SW8_CS5 0x75 -#define SW8_CS6 0x76 -#define SW8_CS7 0x77 -#define SW8_CS8 0x78 -#define SW8_CS9 0x79 -#define SW8_CS10 0x7A -#define SW8_CS11 0x7B -#define SW8_CS12 0x7C -#define SW8_CS13 0x7D -#define SW8_CS14 0x7E -#define SW8_CS15 0x7F -#define SW8_CS16 0x80 +#define SW8_CS1 0x70 +#define SW8_CS2 0x71 +#define SW8_CS3 0x72 +#define SW8_CS4 0x73 +#define SW8_CS5 0x74 +#define SW8_CS6 0x75 +#define SW8_CS7 0x76 +#define SW8_CS8 0x77 +#define SW8_CS9 0x78 +#define SW8_CS10 0x79 +#define SW8_CS11 0x7A +#define SW8_CS12 0x7B +#define SW8_CS13 0x7C +#define SW8_CS14 0x7D +#define SW8_CS15 0x7E +#define SW8_CS16 0x7F -#define SW9_CS1 0x81 -#define SW9_CS2 0x82 -#define SW9_CS3 0x83 -#define SW9_CS4 0x84 -#define SW9_CS5 0x85 -#define SW9_CS6 0x86 -#define SW9_CS7 0x87 -#define SW9_CS8 0x88 -#define SW9_CS9 0x89 -#define SW9_CS10 0x8A -#define SW9_CS11 0x8B -#define SW9_CS12 0x8C -#define SW9_CS13 0x8D -#define SW9_CS14 0x8E -#define SW9_CS15 0x8F +#define SW9_CS1 0x80 +#define SW9_CS2 0x81 +#define SW9_CS3 0x82 +#define SW9_CS4 0x83 +#define SW9_CS5 0x84 +#define SW9_CS6 0x85 +#define SW9_CS7 0x86 +#define SW9_CS8 0x87 +#define SW9_CS9 0x88 +#define SW9_CS10 0x89 +#define SW9_CS11 0x8A +#define SW9_CS12 0x8B +#define SW9_CS13 0x8C +#define SW9_CS14 0x8D +#define SW9_CS15 0x8E From c6668b9cd9d153ed8cdd59f2f96d9deba1001e1a Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 22 Feb 2024 21:10:16 +1100 Subject: [PATCH 009/107] Migrate `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` in remaining non-user keymaps (#23128) --- keyboards/40percentclub/ut47/keymaps/rgb/config.h | 2 +- keyboards/evyd13/gh80_3700/keymaps/rgb/config.h | 2 +- keyboards/evyd13/plain60/keymaps/rgb/config.h | 2 +- keyboards/giabalanai/keymaps/giabarinaix2led/config.h | 4 ++-- keyboards/handwired/minorca/keymaps/rgb/config.h | 2 +- keyboards/handwired/onekey/keymaps/rgb/config.h | 2 +- keyboards/keebio/iris/keymaps/dvorak/config.h | 4 ++-- keyboards/labbe/labbeminiv1/keymaps/rgb/config.h | 2 +- keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h | 4 ++-- .../recompile_keys/nomu30/keymaps/center_sprit/config.h | 2 +- keyboards/recompile_keys/nomu30/keymaps/like_jis/config.h | 2 +- keyboards/tada68/keymaps/rgb/config.h | 2 +- keyboards/thevankeyboards/minivan/keymaps/like_jis/config.h | 2 +- keyboards/tunks/ergo33/keymaps/rgb/config.h | 6 +++--- 14 files changed, 19 insertions(+), 19 deletions(-) diff --git a/keyboards/40percentclub/ut47/keymaps/rgb/config.h b/keyboards/40percentclub/ut47/keymaps/rgb/config.h index 8dc267380ae..d48ee2bf3f8 100644 --- a/keyboards/40percentclub/ut47/keymaps/rgb/config.h +++ b/keyboards/40percentclub/ut47/keymaps/rgb/config.h @@ -29,4 +29,4 @@ #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE #define WS2812_DI_PIN D3 // The pin the LED strip is connected to -#define RGBLED_NUM 7 // Number of LEDs in your strip +#define RGBLIGHT_LED_COUNT 7 // Number of LEDs in your strip diff --git a/keyboards/evyd13/gh80_3700/keymaps/rgb/config.h b/keyboards/evyd13/gh80_3700/keymaps/rgb/config.h index c0a6bf5976e..f0ae6b07ee6 100644 --- a/keyboards/evyd13/gh80_3700/keymaps/rgb/config.h +++ b/keyboards/evyd13/gh80_3700/keymaps/rgb/config.h @@ -17,7 +17,7 @@ #pragma once #define WS2812_DI_PIN B2 -#define RGBLED_NUM 8 +#define RGBLIGHT_LED_COUNT 8 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/evyd13/plain60/keymaps/rgb/config.h b/keyboards/evyd13/plain60/keymaps/rgb/config.h index e34715a7737..43c4f021976 100644 --- a/keyboards/evyd13/plain60/keymaps/rgb/config.h +++ b/keyboards/evyd13/plain60/keymaps/rgb/config.h @@ -11,7 +11,7 @@ #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 20 // limit to 20 otherwise brownouts +#define RGBLIGHT_LED_COUNT 20 // limit to 20 otherwise brownouts #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/giabalanai/keymaps/giabarinaix2led/config.h b/keyboards/giabalanai/keymaps/giabarinaix2led/config.h index dd10d213a0b..01ad55eec0f 100644 --- a/keyboards/giabalanai/keymaps/giabarinaix2led/config.h +++ b/keyboards/giabalanai/keymaps/giabarinaix2led/config.h @@ -22,8 +22,8 @@ along with this program. If not, see . # undef MATRIX_COL_PINS_RIGHT # ifdef RGBLIGHT_ENABLE -# undef RGBLED_NUM -# define RGBLED_NUM 120 +# undef RGBLIGHT_LED_COUNT +# define RGBLIGHT_LED_COUNT 120 # undef RGBLIGHT_LED_MAP # define RGBLIGHT_LED_MAP { \ 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, \ diff --git a/keyboards/handwired/minorca/keymaps/rgb/config.h b/keyboards/handwired/minorca/keymaps/rgb/config.h index 4bee6b205d7..16e748dd70b 100644 --- a/keyboards/handwired/minorca/keymaps/rgb/config.h +++ b/keyboards/handwired/minorca/keymaps/rgb/config.h @@ -12,7 +12,7 @@ #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 13 // Number of LEDs +#define RGBLIGHT_LED_COUNT 13 // Number of LEDs #define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_VAL_STEP 17 diff --git a/keyboards/handwired/onekey/keymaps/rgb/config.h b/keyboards/handwired/onekey/keymaps/rgb/config.h index 1e543837698..1434c4d0c82 100644 --- a/keyboards/handwired/onekey/keymaps/rgb/config.h +++ b/keyboards/handwired/onekey/keymaps/rgb/config.h @@ -1,6 +1,6 @@ #pragma once -#define RGBLED_NUM 9 +#define RGBLIGHT_LED_COUNT 9 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/keebio/iris/keymaps/dvorak/config.h b/keyboards/keebio/iris/keymaps/dvorak/config.h index 1fe07656475..0776d7e1798 100644 --- a/keyboards/keebio/iris/keymaps/dvorak/config.h +++ b/keyboards/keebio/iris/keymaps/dvorak/config.h @@ -21,7 +21,7 @@ along with this program. If not, see . #define MASTER_LEFT -#undef RGBLED_NUM +#undef RGBLIGHT_LED_COUNT #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL @@ -32,7 +32,7 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 12 +#define RGBLIGHT_LED_COUNT 12 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h b/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h index 0a7038363d9..087f4d76758 100644 --- a/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h +++ b/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h @@ -18,7 +18,7 @@ // ws2812 options #define WS2812_DI_PIN C7 // pin the DI on the ws2812 is hooked-up to -#define RGBLED_NUM 4 // number of LEDs +#define RGBLIGHT_LED_COUNT 4 // number of LEDs #define RGBLIGHT_DEFAULT_MODE 6 // set the rainbow mode #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h index a06078bce13..3aa0db7e381 100644 --- a/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h +++ b/keyboards/labbe/labbeminiv1/keymaps/rgbmatrix/config.h @@ -17,8 +17,8 @@ // ws2812 options #define WS2812_DI_PIN C7 // pin the DI on the ws2812 is hooked-up to -#define RGBLED_NUM 4 // number of LEDs -#define RGB_MATRIX_LED_COUNT RGBLED_NUM +#define RGBLIGHT_LED_COUNT 4 // number of LEDs +#define RGB_MATRIX_LED_COUNT RGBLIGHT_LED_COUNT #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/recompile_keys/nomu30/keymaps/center_sprit/config.h b/keyboards/recompile_keys/nomu30/keymaps/center_sprit/config.h index e7ca3c17601..42b68131be9 100644 --- a/keyboards/recompile_keys/nomu30/keymaps/center_sprit/config.h +++ b/keyboards/recompile_keys/nomu30/keymaps/center_sprit/config.h @@ -61,5 +61,5 @@ along with this program. If not, see . #define WS2812_DI_PIN B5 #define RGBLIGHT_TIMER - #define RGBLED_NUM 6 + #define RGBLIGHT_LED_COUNT 6 #endif diff --git a/keyboards/recompile_keys/nomu30/keymaps/like_jis/config.h b/keyboards/recompile_keys/nomu30/keymaps/like_jis/config.h index e7ca3c17601..42b68131be9 100644 --- a/keyboards/recompile_keys/nomu30/keymaps/like_jis/config.h +++ b/keyboards/recompile_keys/nomu30/keymaps/like_jis/config.h @@ -61,5 +61,5 @@ along with this program. If not, see . #define WS2812_DI_PIN B5 #define RGBLIGHT_TIMER - #define RGBLED_NUM 6 + #define RGBLIGHT_LED_COUNT 6 #endif diff --git a/keyboards/tada68/keymaps/rgb/config.h b/keyboards/tada68/keymaps/rgb/config.h index f902184d82a..21ddfa1850e 100755 --- a/keyboards/tada68/keymaps/rgb/config.h +++ b/keyboards/tada68/keymaps/rgb/config.h @@ -12,7 +12,7 @@ #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 16 // Number of LEDs. Change this to match your use case. +#define RGBLIGHT_LED_COUNT 16 // Number of LEDs. Change this to match your use case. #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/thevankeyboards/minivan/keymaps/like_jis/config.h b/keyboards/thevankeyboards/minivan/keymaps/like_jis/config.h index 49d7d463aaf..07915657c10 100644 --- a/keyboards/thevankeyboards/minivan/keymaps/like_jis/config.h +++ b/keyboards/thevankeyboards/minivan/keymaps/like_jis/config.h @@ -38,5 +38,5 @@ #ifdef RGBLIGHT_ENABLE #define WS2812_DI_PIN D0 #define RGBLIGHT_TIMER - #define RGBLED_NUM 3 + #define RGBLIGHT_LED_COUNT 3 #endif diff --git a/keyboards/tunks/ergo33/keymaps/rgb/config.h b/keyboards/tunks/ergo33/keymaps/rgb/config.h index 60cee638d25..036bcf81b8f 100644 --- a/keyboards/tunks/ergo33/keymaps/rgb/config.h +++ b/keyboards/tunks/ergo33/keymaps/rgb/config.h @@ -20,9 +20,9 @@ * No external LED PCB: 10 * External LED PCB: 14 */ -#if defined(RGBLED_NUM) -# undef RGBLED_NUM -# define RGBLED_NUM 10 +#if defined(RGBLIGHT_LED_COUNT) +# undef RGBLIGHT_LED_COUNT +# define RGBLIGHT_LED_COUNT 10 #endif #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD From 56802f506cee22730e004b0695d87e9e9c5983af Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Thu, 22 Feb 2024 23:47:42 +1100 Subject: [PATCH 010/107] Ensure `qmk generate-compilation-database` copies to userspace as well. (#23129) --- lib/python/qmk/build_targets.py | 5 +++-- lib/python/qmk/cli/generate/compilation_database.py | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/python/qmk/build_targets.py b/lib/python/qmk/build_targets.py index 80f587bcc04..d974d04020c 100644 --- a/lib/python/qmk/build_targets.py +++ b/lib/python/qmk/build_targets.py @@ -119,9 +119,10 @@ class BuildTarget: command = self.compile_command(build_target=build_target, dry_run=True, **env_vars) from qmk.cli.generate.compilation_database import write_compilation_database # Lazy load due to circular references output_path = QMK_FIRMWARE / 'compile_commands.json' - write_compilation_database(command=command, output_path=output_path, skip_clean=skip_clean, **env_vars) - if output_path.exists() and HAS_QMK_USERSPACE: + ret = write_compilation_database(command=command, output_path=output_path, skip_clean=skip_clean, **env_vars) + if ret and output_path.exists() and HAS_QMK_USERSPACE: shutil.copy(str(output_path), str(QMK_USERSPACE / 'compile_commands.json')) + return ret def compile(self, build_target: str = None, dry_run: bool = False, **env_vars) -> None: if self._clean or self._compiledb: diff --git a/lib/python/qmk/cli/generate/compilation_database.py b/lib/python/qmk/cli/generate/compilation_database.py index 5100d2b6d25..a2190fee66c 100755 --- a/lib/python/qmk/cli/generate/compilation_database.py +++ b/lib/python/qmk/cli/generate/compilation_database.py @@ -17,6 +17,7 @@ from qmk.constants import QMK_FIRMWARE from qmk.decorators import automagic_keyboard, automagic_keymap from qmk.keyboard import keyboard_completer, keyboard_folder from qmk.keymap import keymap_completer +from qmk.build_targets import KeyboardKeymapBuildTarget @lru_cache(maxsize=10) @@ -138,4 +139,5 @@ def generate_compilation_database(cli: MILC) -> Union[bool, int]: elif not current_keymap: cli.log.error('Could not determine keymap!') - return write_compilation_database(current_keyboard, current_keymap, QMK_FIRMWARE / 'compile_commands.json') + target = KeyboardKeymapBuildTarget(current_keyboard, current_keymap) + return target.generate_compilation_database() From 14d1d9639c4c25a6318b0f9b14606bfd07f8303d Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 26 Feb 2024 08:29:25 +1100 Subject: [PATCH 011/107] Add LED/RGB Matrix drivers to info.json schema (#23127) --- data/schemas/keyboard.jsonschema | 88 ++++++++++++++++++++------------ keyboards/moky/moky88/info.json | 2 +- 2 files changed, 56 insertions(+), 34 deletions(-) diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 79668fe386b..340eb64ba1a 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -8,7 +8,7 @@ "properties": { "driver": { "type": "string", - "enum": ["quadrature", "custom"] + "enum": ["custom", "quadrature"] }, "rotary": { "type": "array", @@ -28,14 +28,12 @@ "dip_switch_config": { "type": "object", "properties": { - "pins": { - "$ref": "qmk.definitions.v1#/mcu_pin_array" - } + "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"} } - }, + } }, "type": "object", - "not": { "required": [ "vendorId", "productId" ] }, // reject via keys... + "not": {"required": ["vendorId", "productId"]}, // reject via keys... "properties": { "keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"}, "keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"}, @@ -146,7 +144,7 @@ "properties": { "driver": { "type": "string", - "enum": ["pwm", "software", "timer", "custom"] + "enum": ["custom", "pwm", "software", "timer"] }, "default": { "type": "object", @@ -318,8 +316,8 @@ }, "features": { "$ref": "qmk.definitions.v1#/boolean_array", - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }, - "not": { "required": [ "lto" ] } + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, + "not": {"required": ["lto"]} }, "indicators": { "type": "object", @@ -344,15 +342,9 @@ "type": "object", "additionalProperties": false, "properties": { - "filename": { - "type": "string" - }, - "c_macro": { - "type": "boolean" - }, - "json_layout": { - "type": "boolean" - }, + "filename": {"type": "string"}, + "c_macro": {"type": "boolean"}, + "json_layout": {"type": "boolean"}, "layout": { "type": "array", "items": { @@ -435,10 +427,8 @@ "properties": { "animations": { "type": "object", - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" } - "additionalProperties": { - "type": "boolean" - } + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, + "additionalProperties": {"type": "boolean"} }, "default": { "type": "object", @@ -450,7 +440,24 @@ "speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"} } }, - "driver": {"type": "string"}, + "driver": { + "type": "string", + "enum": [ + "custom", + "is31fl3218", + "is31fl3729", + "is31fl3731", + "is31fl3733", + "is31fl3736", + "is31fl3737", + "is31fl3741", + "is31fl3742a", + "is31fl3743a", + "is31fl3745", + "is31fl3746a", + "snled27351" + ] + }, "center_point": { "type": "array", "minItems": 2, @@ -499,10 +506,8 @@ "properties": { "animations": { "type": "object", - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" } - "additionalProperties": { - "type": "boolean" - } + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, + "additionalProperties": {"type": "boolean"} }, "default": { "type": "object", @@ -516,7 +521,26 @@ "speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"} } }, - "driver": {"type": "string"}, + "driver": { + "type": "string", + "enum": [ + "aw20216s", + "custom", + "is31fl3218", + "is31fl3729", + "is31fl3731", + "is31fl3733", + "is31fl3736", + "is31fl3737", + "is31fl3741", + "is31fl3742a", + "is31fl3743a", + "is31fl3745", + "is31fl3746a", + "snled27351", + "ws2812" + ] + }, "center_point": { "type": "array", "minItems": 2, @@ -568,10 +592,8 @@ "properties": { "animations": { "type": "object", - "propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" } - "additionalProperties": { - "type": "boolean" - } + "propertyNames": {"$ref": "qmk.definitions.v1#/snake_case"}, + "additionalProperties": {"type": "boolean"} }, "brightness_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"}, "default": { @@ -774,7 +796,7 @@ "st7565": {"type": "boolean"}, "wpm": {"type": "boolean"} } - } + }, "watchdog": {"type": "boolean"}, "watchdog_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}, "sync_matrix_state": { diff --git a/keyboards/moky/moky88/info.json b/keyboards/moky/moky88/info.json index 79d5373ea86..38ed4dbd289 100644 --- a/keyboards/moky/moky88/info.json +++ b/keyboards/moky/moky88/info.json @@ -35,7 +35,7 @@ ] }, "rgb_matrix": { - "driver": "aw20216", + "driver": "aw20216s", "max_brightness": 108, "animations": { "alphas_mods": true, From 65a04ead32173b94152bfbd58f8ec30faa430013 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 26 Feb 2024 08:29:37 +1100 Subject: [PATCH 012/107] LED drivers: update keyboard LED configs (#23073) * IS31FL3733: update keyboard LED config * IS31FL3736: update keyboard LED config * IS31FL3737: update keyboard LED config * IS31FL3741: update keyboard LED config * IS31FL3743A: update keyboard LED config * AW20216S: update keyboard LED config * SNLED27351: update keyboard LED config --- keyboards/4pplet/perk60_iso/rev_a/rev_a.c | 124 +++--- keyboards/abko/ak84bt/ak84bt.c | 180 ++++---- keyboards/acheron/apollo/87h/gamma/gamma.c | 174 ++++---- keyboards/akko/5087/5087.c | 174 ++++---- keyboards/akko/5108/5108.c | 216 +++++----- keyboards/akko/acr87/acr87.c | 288 ++++++------- keyboards/akko/top40/top40.c | 152 +++---- keyboards/axolstudio/yeti/hotswap/hotswap.c | 128 +++--- keyboards/canary/canary60rgb/canary60rgb.c | 126 +++--- keyboards/chosfox/cf81/cf81.c | 210 ++++----- .../kd83a_bfg_edition/kd83a_bfg_edition.c | 186 ++++---- .../kd87a_bfg_edition/kd87a_bfg_edition.c | 184 ++++---- keyboards/drop/alt/v2/v2.c | 210 ++++----- keyboards/drop/cstm65/cstm65.c | 134 +++--- keyboards/drop/cstm80/cstm80.c | 176 ++++---- keyboards/drop/ctrl/v2/v2.c | 238 +++++----- keyboards/drop/sense75/sense75.c | 222 +++++----- keyboards/drop/shift/v2/v2.c | 332 +++++++------- keyboards/durgod/dgk6x/galaxy/galaxy.c | 168 ++++---- .../durgod/dgk6x/hades_ansi/hades_ansi.c | 136 +++--- keyboards/durgod/dgk6x/hades_iso/hades_iso.c | 138 +++--- keyboards/durgod/dgk6x/venus/venus.c | 122 +++--- keyboards/dztech/dz60rgb/dz60rgb.c | 126 +++--- keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c | 122 +++--- keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c | 124 +++--- keyboards/dztech/dz64rgb/dz64rgb.c | 128 +++--- keyboards/dztech/dz65rgb/v3/v3.c | 136 +++--- keyboards/dztech/tofu/ii/v1/v1.c | 132 +++--- keyboards/dztech/tofu/jr/v1/v1.c | 136 +++--- keyboards/evyd13/atom47/rev5/rev5.c | 96 ++--- keyboards/exclusive/e6_rgb/e6_rgb.c | 126 +++--- keyboards/feker/ik75/ik75.c | 256 +++++------ keyboards/flashquark/horizon_z/horizon_z.c | 122 +++--- keyboards/frooastboard/walnut/walnut.c | 96 ++--- keyboards/gmmk/gmmk2/p65/ansi/ansi.c | 174 ++++---- keyboards/gmmk/gmmk2/p65/iso/iso.c | 176 ++++---- keyboards/gmmk/gmmk2/p96/ansi/ansi.c | 238 +++++----- keyboards/gmmk/gmmk2/p96/iso/iso.c | 240 +++++------ keyboards/gmmk/numpad/numpad.c | 62 +-- keyboards/gmmk/pro/rev1/ansi/ansi.c | 196 ++++----- keyboards/gmmk/pro/rev1/iso/iso.c | 198 ++++----- keyboards/gmmk/pro/rev2/ansi/ansi.c | 196 ++++----- keyboards/gmmk/pro/rev2/iso/iso.c | 198 ++++----- keyboards/hs60/v2/v2.c | 128 +++--- keyboards/ilumkb/simpler61/simpler61.c | 122 +++--- keyboards/ilumkb/simpler64/simpler64.c | 128 +++--- keyboards/inland/kb83/kb83.c | 196 ++++----- keyboards/inland/mk47/mk47.c | 94 ++-- keyboards/inland/v83p/v83p.c | 184 ++++---- keyboards/input_club/k_type/is31fl3733-dual.h | 406 +++++++++--------- keyboards/input_club/k_type/k_type.c | 250 +++++------ keyboards/jukaie/jk01/jk01.c | 186 ++++---- keyboards/kbdcraft/adam64/adam64.c | 128 +++--- keyboards/kbdfans/bella/rgb/rgb.c | 188 ++++---- keyboards/kbdfans/bella/rgb_iso/rgb_iso.c | 190 ++++---- keyboards/kbdfans/boop65/rgb/rgb.c | 166 +++---- keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c | 144 +++---- keyboards/kbdfans/kbdmini/kbdmini.c | 104 ++--- keyboards/keebwerk/mega/ansi/ansi.c | 256 +++++------ keyboards/keychron/c1_pro/ansi/rgb/rgb.c | 176 ++++---- keyboards/keychron/c1_pro/ansi/white/white.c | 180 ++++---- keyboards/keychron/c2_pro/ansi/rgb/rgb.c | 216 +++++----- keyboards/keychron/c2_pro/ansi/white/white.c | 216 +++++----- keyboards/keychron/q0/base/base.c | 52 +-- keyboards/keychron/q0/plus/plus.c | 62 +-- .../keychron/q10/ansi_encoder/ansi_encoder.c | 176 ++++---- .../keychron/q10/iso_encoder/iso_encoder.c | 178 ++++---- .../keychron/q11/ansi_encoder/ansi_encoder.c | 178 ++++---- .../keychron/q11/iso_encoder/iso_encoder.c | 180 ++++---- .../keychron/q12/ansi_encoder/ansi_encoder.c | 208 ++++----- .../keychron/q12/iso_encoder/iso_encoder.c | 212 ++++----- keyboards/keychron/q1v1/ansi/ansi.c | 164 +++---- .../keychron/q1v1/ansi_encoder/ansi_encoder.c | 164 +++---- keyboards/keychron/q1v1/iso/iso.c | 166 +++---- .../keychron/q1v1/iso_encoder/iso_encoder.c | 166 +++---- keyboards/keychron/q1v2/ansi/ansi.c | 164 +++---- .../keychron/q1v2/ansi_encoder/ansi_encoder.c | 164 +++---- keyboards/keychron/q1v2/iso/iso.c | 166 +++---- .../keychron/q1v2/iso_encoder/iso_encoder.c | 166 +++---- keyboards/keychron/q1v2/jis/jis.c | 172 ++++---- .../keychron/q1v2/jis_encoder/jis_encoder.c | 172 ++++---- keyboards/keychron/q2/ansi/ansi.c | 134 +++--- .../keychron/q2/ansi_encoder/ansi_encoder.c | 134 +++--- keyboards/keychron/q2/iso/iso.c | 136 +++--- .../keychron/q2/iso_encoder/iso_encoder.c | 136 +++--- keyboards/keychron/q2/jis/jis.c | 142 +++--- .../keychron/q2/jis_encoder/jis_encoder.c | 142 +++--- keyboards/keychron/q3/ansi/ansi.c | 174 ++++---- .../keychron/q3/ansi_encoder/ansi_encoder.c | 174 ++++---- keyboards/keychron/q3/iso/iso.c | 176 ++++---- .../keychron/q3/iso_encoder/iso_encoder.c | 176 ++++---- keyboards/keychron/q3/jis/jis.c | 182 ++++---- .../keychron/q3/jis_encoder/jis_encoder.c | 184 ++++---- keyboards/keychron/q4/ansi/v1/v1.c | 122 +++--- keyboards/keychron/q4/ansi/v2/v2.c | 122 +++--- keyboards/keychron/q4/iso/iso.c | 124 +++--- keyboards/keychron/q5/ansi/ansi.c | 200 ++++----- .../keychron/q5/ansi_encoder/ansi_encoder.c | 200 ++++----- keyboards/keychron/q5/iso/iso.c | 202 ++++----- .../keychron/q5/iso_encoder/iso_encoder.c | 198 ++++----- keyboards/keychron/q6/ansi/ansi.c | 216 +++++----- .../keychron/q6/ansi_encoder/ansi_encoder.c | 216 +++++----- keyboards/keychron/q6/iso/iso.c | 218 +++++----- .../keychron/q6/iso_encoder/iso_encoder.c | 218 +++++----- keyboards/keychron/q60/ansi/ansi.c | 120 +++--- .../keychron/q65/ansi_encoder/ansi_encoder.c | 144 +++---- keyboards/keychron/q7/ansi/ansi.c | 144 +++---- keyboards/keychron/q7/iso/iso.c | 146 +++---- keyboards/keychron/q8/ansi/ansi.c | 140 +++--- .../keychron/q8/ansi_encoder/ansi_encoder.c | 140 +++--- keyboards/keychron/q8/iso/iso.c | 140 +++--- .../keychron/q8/iso_encoder/iso_encoder.c | 140 +++--- keyboards/keychron/q9/ansi/ansi.c | 104 ++--- .../keychron/q9/ansi_encoder/ansi_encoder.c | 104 ++--- keyboards/keychron/q9/iso/iso.c | 106 ++--- .../keychron/q9/iso_encoder/iso_encoder.c | 106 ++--- .../q9_plus/ansi_encoder/ansi_encoder.c | 108 ++--- keyboards/keychron/s1/ansi/rgb/rgb.c | 168 ++++---- keyboards/keychron/s1/ansi/white/white.c | 168 ++++---- keyboards/keychron/v1/ansi/ansi.c | 164 +++---- .../keychron/v1/ansi_encoder/ansi_encoder.c | 164 +++---- keyboards/keychron/v1/iso/iso.c | 166 +++---- .../keychron/v1/iso_encoder/iso_encoder.c | 166 +++---- keyboards/keychron/v1/jis/jis.c | 172 ++++---- .../keychron/v1/jis_encoder/jis_encoder.c | 172 ++++---- .../keychron/v10/ansi_encoder/ansi_encoder.c | 176 ++++---- .../keychron/v10/iso_encoder/iso_encoder.c | 178 ++++---- keyboards/keychron/v2/ansi/ansi.c | 134 +++--- .../keychron/v2/ansi_encoder/ansi_encoder.c | 134 +++--- keyboards/keychron/v2/iso/iso.c | 136 +++--- .../keychron/v2/iso_encoder/iso_encoder.c | 136 +++--- keyboards/keychron/v2/jis/jis.c | 142 +++--- .../keychron/v2/jis_encoder/jis_encoder.c | 142 +++--- keyboards/keychron/v3/ansi/ansi.c | 174 ++++---- .../keychron/v3/ansi_encoder/ansi_encoder.c | 176 ++++---- keyboards/keychron/v3/iso/iso.c | 176 ++++---- .../keychron/v3/iso_encoder/iso_encoder.c | 176 ++++---- keyboards/keychron/v3/jis/jis.c | 182 ++++---- .../keychron/v3/jis_encoder/jis_encoder.c | 184 ++++---- keyboards/keychron/v4/ansi/ansi.c | 122 +++--- keyboards/keychron/v4/iso/iso.c | 124 +++--- keyboards/keychron/v5/ansi/ansi.c | 200 ++++----- .../keychron/v5/ansi_encoder/ansi_encoder.c | 200 ++++----- keyboards/keychron/v5/iso/iso.c | 202 ++++----- .../keychron/v5/iso_encoder/iso_encoder.c | 198 ++++----- keyboards/keychron/v6/ansi/ansi.c | 216 +++++----- .../keychron/v6/ansi_encoder/ansi_encoder.c | 216 +++++----- keyboards/keychron/v6/iso/iso.c | 218 +++++----- .../keychron/v6/iso_encoder/iso_encoder.c | 218 +++++----- keyboards/keychron/v7/ansi/ansi.c | 144 +++---- keyboards/keychron/v7/iso/iso.c | 146 +++---- keyboards/keychron/v8/ansi/ansi.c | 140 +++--- .../keychron/v8/ansi_encoder/ansi_encoder.c | 140 +++--- keyboards/keychron/v8/iso/iso.c | 140 +++--- .../keychron/v8/iso_encoder/iso_encoder.c | 140 +++--- keyboards/kprepublic/bm40hsrgb/rev2/rev2.c | 94 ++-- keyboards/kprepublic/bm60hsrgb/rev2/rev2.c | 134 +++--- keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c | 126 +++--- .../kprepublic/bm60hsrgb_iso/rev2/rev2.c | 136 +++--- .../kprepublic/bm60hsrgb_poker/rev2/rev2.c | 130 +++--- keyboards/kprepublic/bm68hsrgb/rev2/rev2.c | 136 +++--- keyboards/kprepublic/bm80v2/bm80v2.c | 174 ++++---- keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c | 176 ++++---- .../cstc40/daughterboard/daughterboard.c | 94 ++-- .../kprepublic/cstc40/single_pcb/single_pcb.c | 94 ++-- .../latincompass/latin60rgb/latin60rgb.c | 120 +++--- .../mechlovin/adelais/rgb_led/rev3/rev3.c | 132 +++--- .../mechlovin/infinity87/rgb_rev1/rgb_rev1.c | 182 ++++---- keyboards/melgeek/mach80/rev1/rev1.c | 200 ++++----- keyboards/melgeek/mach80/rev2/rev2.c | 194 ++++----- keyboards/melgeek/mj61/rev1/rev1.c | 126 +++--- keyboards/melgeek/mj61/rev2/rev2.c | 142 +++--- keyboards/melgeek/mj63/rev1/rev1.c | 130 +++--- keyboards/melgeek/mj63/rev2/rev2.c | 142 +++--- keyboards/melgeek/mj64/rev1/rev1.c | 128 +++--- keyboards/melgeek/mj64/rev2/rev2.c | 132 +++--- keyboards/melgeek/mj64/rev3/rev3.c | 144 +++---- keyboards/melgeek/mj65/rev3/rev3.c | 152 +++---- keyboards/melgeek/mojo68/rev1/rev1.c | 142 +++--- keyboards/melgeek/mojo75/rev1/rev1.c | 184 ++++---- keyboards/melgeek/tegic/rev1/rev1.c | 182 ++++---- keyboards/melgeek/z70ultra/z70ultra.c | 150 +++---- keyboards/miller/gm862/gm862.c | 122 +++--- keyboards/monsgeek/m1/m1.c | 212 ++++----- keyboards/monsgeek/m3/m3.c | 174 ++++---- keyboards/monsgeek/m5/m5.c | 216 +++++----- keyboards/monsgeek/m6/m6.c | 184 ++++---- keyboards/mt/mt64rgb/mt64rgb.c | 128 +++--- keyboards/mt/mt84/mt84.c | 168 ++++---- keyboards/novelkeys/nk65/nk65.c | 256 +++++------ keyboards/novelkeys/nk87/nk87.c | 256 +++++------ keyboards/orthograph/orthograph.c | 190 ++++---- keyboards/owlab/voice65/hotswap/hotswap.c | 134 +++--- keyboards/owlab/voice65/soldered/soldered.c | 142 +++--- keyboards/phentech/rpk_001/rpk_001.c | 134 +++--- keyboards/planck/ez/ez.c | 108 ++--- keyboards/playkbtw/pk64rgb/pk64rgb.c | 128 +++--- .../65/projectd_65_ansi/projectd_65_ansi.c | 156 +++---- keyboards/projectd/75/ansi/ansi.c | 190 ++++---- keyboards/qwertykeys/qk100/ansi/ansi.c | 202 ++++----- keyboards/redragon/k667/k667.c | 180 ++++---- keyboards/skyloong/gk61/pro/pro.c | 136 +++--- keyboards/skyloong/gk61/pro_48/pro_48.c | 136 +++--- keyboards/skyloong/gk61/v1/v1.c | 144 +++---- keyboards/spaceholdings/nebula68/nebula68.c | 256 +++++------ keyboards/teleport/native/native.c | 170 ++++---- keyboards/tkc/portico68v2/portico68v2.c | 164 +++---- keyboards/tkc/portico75/portico75.c | 222 +++++----- keyboards/wilba_tech/wt60_a/wt60_a.c | 192 ++++----- keyboards/wilba_tech/wt65_a/wt65_a.c | 192 ++++----- keyboards/wilba_tech/wt65_b/wt65_b.c | 192 ++++----- keyboards/wilba_tech/wt75_a/wt75_a.c | 192 ++++----- keyboards/wilba_tech/wt75_b/wt75_b.c | 192 ++++----- keyboards/wilba_tech/wt75_c/wt75_c.c | 192 ++++----- keyboards/wilba_tech/wt80_a/wt80_a.c | 192 ++++----- keyboards/xelus/pachi/rgb/rev1/rev1.c | 234 +++++----- keyboards/xelus/pachi/rgb/rev2/rev2.c | 250 +++++------ 217 files changed, 17997 insertions(+), 17997 deletions(-) diff --git a/keyboards/4pplet/perk60_iso/rev_a/rev_a.c b/keyboards/4pplet/perk60_iso/rev_a/rev_a.c index 3baf8c720b1..2de3acc60d7 100644 --- a/keyboards/4pplet/perk60_iso/rev_a/rev_a.c +++ b/keyboards/4pplet/perk60_iso/rev_a/rev_a.c @@ -18,68 +18,68 @@ along with this program. If not, see . #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, K_2, J_2, L_2 }, //D402 - { 0, K_3, J_3, L_3 }, //D403 - { 0, K_4, J_4, L_4 }, //D404 - { 0, K_5, J_5, L_5 }, //D405 - { 0, K_6, J_6, L_6 }, //D406 - { 0, K_7, J_7, L_7 }, //D407 - { 0, K_8, J_8, L_8 }, //D408 - { 0, K_9, J_9, L_9 }, //D409 - { 0, K_10, J_10, L_10 }, //D410 - { 0, K_11, J_11, L_11 }, //D411 - { 0, K_12, J_12, L_12 }, //D412 - { 0, K_13, J_13, L_13 }, //D413 - { 0, K_14, J_14, L_14 }, //D414 - { 0, K_15, J_15, L_15 }, //D415 - { 0, K_1, J_1, L_1 }, //D401 - { 0, H_4, G_4, I_4 }, //D420 - { 0, H_5, G_5, I_5 }, //D421 - { 0, H_6, G_6, I_6 }, //D422 - { 0, H_7, G_7, I_7 }, //D423 - { 0, H_8, G_8, I_8 }, //D424 - { 0, H_9, G_9, I_9 }, //D425 - { 0, H_10, G_10, I_10 }, //D426 - { 0, H_11, G_11, I_11 }, //D427 - { 0, H_12, G_12, I_12 }, //D428 - { 0, H_13, G_13, I_13 }, //D429 - { 0, H_14, G_14, I_14 }, //D430 - { 0, H_15, G_15, I_15 }, //D431 - { 0, K_16, J_16, L_16 }, //D416 - { 0, H_2, G_2, I_2 }, //D418 - { 0, H_3, G_3, I_3 }, //D419 - { 0, E_5, D_5, F_5 }, //D437 - { 0, E_6, D_6, F_6 }, //D438 - { 0, E_7, D_7, F_7 }, //D439 - { 0, E_8, D_8, F_8 }, //D440 - { 0, E_9, D_9, F_9 }, //D441 - { 0, E_10, D_10, F_10 }, //D442 - { 0, E_11, D_11, F_11 }, //D443 - { 0, E_12, D_12, F_12 }, //D444 - { 0, E_13, D_13, F_13 }, //D445 - { 0, E_14, D_14, F_14 }, //D446 - { 0, H_16, G_16, I_16 }, //D432 - { 0, H_1, G_1, I_1 }, //D417 - { 0, E_3, D_3, F_3 }, //D435 - { 0, E_4, D_4, F_4 }, //D436 - { 0, B_2, A_2, C_2 }, //D450 - { 0, B_3, A_3, C_3 }, //D451 - { 0, B_4, A_4, C_4 }, //D452 - { 0, B_6, A_6, C_6 }, //D454 - { 0, B_8, A_8, C_8 }, //D456 - { 0, B_9, A_9, C_9 }, //D457 - { 0, B_10, A_10, C_10 }, //D458 - { 0, B_12, A_12, C_12 }, //D460 - { 0, B_13, A_13, C_13 }, //D461 - { 0, E_15, D_15, F_15 }, //D447 - { 0, E_1, D_1, F_1 }, //D433 - { 0, E_2, D_2, F_2 }, //D434 - { 0, B_1, A_1, C_1 }, //D449 - { 0, B_7, A_7, C_7 }, //D455 - { 0, B_11, A_11, C_11 }, //D459 - { 0, B_14, A_14, C_14 }, //D462 - { 0, B_15, A_15, C_15 }, //D463 - { 0, B_16, A_16, C_16 } //D464 + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, //D402 + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, //D403 + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, //D404 + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, //D405 + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, //D406 + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, //D407 + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, //D408 + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, //D409 + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, //D410 + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, //D411 + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, //D412 + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, //D413 + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, //D414 + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, //D415 + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, //D401 + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, //D420 + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, //D421 + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, //D422 + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, //D423 + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, //D424 + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, //D425 + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, //D426 + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, //D427 + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, //D428 + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, //D429 + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, //D430 + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, //D431 + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, //D416 + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, //D418 + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, //D419 + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, //D437 + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, //D438 + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, //D439 + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, //D440 + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, //D441 + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, //D442 + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, //D443 + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, //D444 + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, //D445 + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, //D446 + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, //D432 + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, //D417 + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, //D435 + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, //D436 + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, //D450 + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, //D451 + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, //D452 + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, //D454 + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, //D456 + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, //D457 + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, //D458 + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, //D460 + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, //D461 + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, //D447 + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, //D433 + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, //D434 + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, //D449 + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, //D455 + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, //D459 + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, //D462 + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, //D463 + { 0, SW2_CS16, SW1_CS16, SW3_CS16 } //D464 }; #define XXX NO_LED diff --git a/keyboards/abko/ak84bt/ak84bt.c b/keyboards/abko/ak84bt/ak84bt.c index 86f28a1bb29..6b87e9bab35 100644 --- a/keyboards/abko/ak84bt/ak84bt.c +++ b/keyboards/abko/ak84bt/ak84bt.c @@ -17,94 +17,94 @@ #include QMK_KEYBOARD_H const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - {0, G_1, I_1, H_1}, - {0, G_3, I_3, H_3}, - {0, G_4, I_4, H_4}, - {0, G_5, I_5, H_5}, - {0, G_6, I_6, H_6}, - {0, G_7, I_7, H_7}, - {0, G_8, I_8, H_8}, - {0, G_9, I_9, H_9}, - {0, G_10, I_10, H_10}, - {0, G_11, I_11, H_11}, - {0, G_12, I_12, H_12}, - {0, G_13, I_13, H_13}, - {0, G_14, I_14, H_14}, - {0, G_15, I_15, H_15}, - {0, D_1, F_1, E_1}, - {0, D_2, F_2, E_2}, - {0, D_3, F_3, E_3}, - {0, D_4, F_4, E_4}, - {0, D_5, F_5, E_5}, - {0, D_6, F_6, E_6}, - {0, D_7, F_7, E_7}, - {0, D_8, F_8, E_8}, - {0, D_9, F_9, E_9}, - {0, D_10, F_10, E_10}, - {0, D_11, F_11, E_11}, - {0, D_12, F_12, E_12}, - {0, D_13, F_13, E_13}, - {0, D_14, F_14, E_14}, - {0, D_15, F_15, E_15}, - {0, A_1, C_1, B_1}, - {0, A_2, C_2, B_2}, - {0, A_3, C_3, B_3}, - {0, A_4, C_4, B_4}, - {0, A_5, C_5, B_5}, - {0, A_6, C_6, B_6}, - {0, A_7, C_7, B_7}, - {0, A_8, C_8, B_8}, - {0, A_9, C_9, B_9}, - {0, A_10, C_10, B_10}, - {0, A_11, C_11, B_11}, - {0, A_12, C_12, B_12}, - {0, A_13, C_13, B_13}, - {0, A_14, C_14, B_14}, - {0, A_15, C_15, B_15}, - {1, G_1, I_1, H_1}, - {1, G_2, I_2, H_2}, - {1, G_3, I_3, H_3}, - {1, G_4, I_4, H_4}, - {1, G_5, I_5, H_5}, - {1, G_6, I_6, H_6}, - {1, G_7, I_7, H_7}, - {1, G_8, I_8, H_8}, - {1, G_9, I_9, H_9}, - {1, G_10, I_10, H_10}, - {1, G_11, I_11, H_11}, - {1, G_12, I_12, H_12}, - {1, G_13, I_13, H_13}, - {1, G_14, I_14, H_14}, - {1, G_15, I_15, H_15}, - {1, D_1, F_1, E_1}, - {1, D_2, F_2, E_2}, - {1, D_3, F_3, E_3}, - {1, D_4, F_4, E_4}, - {1, D_5, F_5, E_5}, - {1, D_6, F_6, E_6}, - {1, D_7, F_7, E_7}, - {1, D_8, F_8, E_8}, - {1, D_9, F_9, E_9}, - {1, D_10, F_10, E_10}, - {1, D_11, F_11, E_11}, - {1, D_12, F_12, E_12}, - {1, D_13, F_13, E_13}, - {1, D_14, F_14, E_14}, - {1, D_15, F_15, E_15}, - {1, A_1, C_1, B_1}, - {1, A_2, C_2, B_2}, - {1, A_3, C_3, B_3}, - {1, A_5, C_5, B_5}, - {1, A_6, C_6, B_6}, - {1, A_7, C_7, B_7}, - {1, A_8, C_8, B_8}, - {1, A_9, C_9, B_9}, - {1, A_10, C_10, B_10}, - {1, A_11, C_11, B_11}, - {1, A_12, C_12, B_12}, - {1, A_13, C_13, B_13}, - {1, A_14, C_14, B_14}, - {1, A_15, C_15, B_15}, - {0, G_2, I_2, H_2}, - {1, A_4, C_4, B_4} + {0, SW7_CS1, SW9_CS1, SW8_CS1}, + {0, SW7_CS3, SW9_CS3, SW8_CS3}, + {0, SW7_CS4, SW9_CS4, SW8_CS4}, + {0, SW7_CS5, SW9_CS5, SW8_CS5}, + {0, SW7_CS6, SW9_CS6, SW8_CS6}, + {0, SW7_CS7, SW9_CS7, SW8_CS7}, + {0, SW7_CS8, SW9_CS8, SW8_CS8}, + {0, SW7_CS9, SW9_CS9, SW8_CS9}, + {0, SW7_CS10, SW9_CS10, SW8_CS10}, + {0, SW7_CS11, SW9_CS11, SW8_CS11}, + {0, SW7_CS12, SW9_CS12, SW8_CS12}, + {0, SW7_CS13, SW9_CS13, SW8_CS13}, + {0, SW7_CS14, SW9_CS14, SW8_CS14}, + {0, SW7_CS15, SW9_CS15, SW8_CS15}, + {0, SW4_CS1, SW6_CS1, SW5_CS1}, + {0, SW4_CS2, SW6_CS2, SW5_CS2}, + {0, SW4_CS3, SW6_CS3, SW5_CS3}, + {0, SW4_CS4, SW6_CS4, SW5_CS4}, + {0, SW4_CS5, SW6_CS5, SW5_CS5}, + {0, SW4_CS6, SW6_CS6, SW5_CS6}, + {0, SW4_CS7, SW6_CS7, SW5_CS7}, + {0, SW4_CS8, SW6_CS8, SW5_CS8}, + {0, SW4_CS9, SW6_CS9, SW5_CS9}, + {0, SW4_CS10, SW6_CS10, SW5_CS10}, + {0, SW4_CS11, SW6_CS11, SW5_CS11}, + {0, SW4_CS12, SW6_CS12, SW5_CS12}, + {0, SW4_CS13, SW6_CS13, SW5_CS13}, + {0, SW4_CS14, SW6_CS14, SW5_CS14}, + {0, SW4_CS15, SW6_CS15, SW5_CS15}, + {0, SW1_CS1, SW3_CS1, SW2_CS1}, + {0, SW1_CS2, SW3_CS2, SW2_CS2}, + {0, SW1_CS3, SW3_CS3, SW2_CS3}, + {0, SW1_CS4, SW3_CS4, SW2_CS4}, + {0, SW1_CS5, SW3_CS5, SW2_CS5}, + {0, SW1_CS6, SW3_CS6, SW2_CS6}, + {0, SW1_CS7, SW3_CS7, SW2_CS7}, + {0, SW1_CS8, SW3_CS8, SW2_CS8}, + {0, SW1_CS9, SW3_CS9, SW2_CS9}, + {0, SW1_CS10, SW3_CS10, SW2_CS10}, + {0, SW1_CS11, SW3_CS11, SW2_CS11}, + {0, SW1_CS12, SW3_CS12, SW2_CS12}, + {0, SW1_CS13, SW3_CS13, SW2_CS13}, + {0, SW1_CS14, SW3_CS14, SW2_CS14}, + {0, SW1_CS15, SW3_CS15, SW2_CS15}, + {1, SW7_CS1, SW9_CS1, SW8_CS1}, + {1, SW7_CS2, SW9_CS2, SW8_CS2}, + {1, SW7_CS3, SW9_CS3, SW8_CS3}, + {1, SW7_CS4, SW9_CS4, SW8_CS4}, + {1, SW7_CS5, SW9_CS5, SW8_CS5}, + {1, SW7_CS6, SW9_CS6, SW8_CS6}, + {1, SW7_CS7, SW9_CS7, SW8_CS7}, + {1, SW7_CS8, SW9_CS8, SW8_CS8}, + {1, SW7_CS9, SW9_CS9, SW8_CS9}, + {1, SW7_CS10, SW9_CS10, SW8_CS10}, + {1, SW7_CS11, SW9_CS11, SW8_CS11}, + {1, SW7_CS12, SW9_CS12, SW8_CS12}, + {1, SW7_CS13, SW9_CS13, SW8_CS13}, + {1, SW7_CS14, SW9_CS14, SW8_CS14}, + {1, SW7_CS15, SW9_CS15, SW8_CS15}, + {1, SW4_CS1, SW6_CS1, SW5_CS1}, + {1, SW4_CS2, SW6_CS2, SW5_CS2}, + {1, SW4_CS3, SW6_CS3, SW5_CS3}, + {1, SW4_CS4, SW6_CS4, SW5_CS4}, + {1, SW4_CS5, SW6_CS5, SW5_CS5}, + {1, SW4_CS6, SW6_CS6, SW5_CS6}, + {1, SW4_CS7, SW6_CS7, SW5_CS7}, + {1, SW4_CS8, SW6_CS8, SW5_CS8}, + {1, SW4_CS9, SW6_CS9, SW5_CS9}, + {1, SW4_CS10, SW6_CS10, SW5_CS10}, + {1, SW4_CS11, SW6_CS11, SW5_CS11}, + {1, SW4_CS12, SW6_CS12, SW5_CS12}, + {1, SW4_CS13, SW6_CS13, SW5_CS13}, + {1, SW4_CS14, SW6_CS14, SW5_CS14}, + {1, SW4_CS15, SW6_CS15, SW5_CS15}, + {1, SW1_CS1, SW3_CS1, SW2_CS1}, + {1, SW1_CS2, SW3_CS2, SW2_CS2}, + {1, SW1_CS3, SW3_CS3, SW2_CS3}, + {1, SW1_CS5, SW3_CS5, SW2_CS5}, + {1, SW1_CS6, SW3_CS6, SW2_CS6}, + {1, SW1_CS7, SW3_CS7, SW2_CS7}, + {1, SW1_CS8, SW3_CS8, SW2_CS8}, + {1, SW1_CS9, SW3_CS9, SW2_CS9}, + {1, SW1_CS10, SW3_CS10, SW2_CS10}, + {1, SW1_CS11, SW3_CS11, SW2_CS11}, + {1, SW1_CS12, SW3_CS12, SW2_CS12}, + {1, SW1_CS13, SW3_CS13, SW2_CS13}, + {1, SW1_CS14, SW3_CS14, SW2_CS14}, + {1, SW1_CS15, SW3_CS15, SW2_CS15}, + {0, SW7_CS2, SW9_CS2, SW8_CS2}, + {1, SW1_CS4, SW3_CS4, SW2_CS4} }; diff --git a/keyboards/acheron/apollo/87h/gamma/gamma.c b/keyboards/acheron/apollo/87h/gamma/gamma.c index 43802bb4ad8..f047db0feaa 100644 --- a/keyboards/acheron/apollo/87h/gamma/gamma.c +++ b/keyboards/acheron/apollo/87h/gamma/gamma.c @@ -26,98 +26,98 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { * | | | B location * | | | | */ // First row - {0, CS7_SW9 , CS9_SW9 , CS8_SW9 }, //ESC 0 - {0, CS7_SW8 , CS9_SW8 , CS8_SW8 }, //F1 1 - {0, CS7_SW7 , CS9_SW7 , CS8_SW7 }, //F2 2 - {0, CS7_SW6 , CS9_SW6 , CS8_SW6 }, //F3 3 - {0, CS7_SW5 , CS9_SW5 , CS8_SW5 }, //F4 4 - {0, CS7_SW4 , CS9_SW4 , CS8_SW4 }, //F5 5 - {0, CS7_SW3 , CS9_SW3 , CS8_SW3 }, //F6 6 - {0, CS7_SW2 , CS9_SW2 , CS8_SW2 }, //F7 7 - {0, CS7_SW1 , CS9_SW1 , CS8_SW1 }, //F8 8 - {0, CS18_SW2, CS16_SW2, CS17_SW2 }, //F9 9 - {0, CS18_SW3, CS16_SW3, CS17_SW3 }, //F10 10 - {0, CS18_SW4, CS16_SW4, CS17_SW4 }, //F11 11 - {0, CS18_SW6, CS16_SW6, CS17_SW6 }, //F12 12 - {0, CS18_SW7, CS16_SW7, CS17_SW7 }, //PRI 13 - {0, CS18_SW8, CS16_SW8, CS17_SW8 }, //SCR 14 - {0, CS18_SW9, CS16_SW9, CS17_SW9 }, //PAUS 15 + {0, SW9_CS7 , SW9_CS9 , SW9_CS8 }, //ESC 0 + {0, SW8_CS7 , SW8_CS9 , SW8_CS8 }, //F1 1 + {0, SW7_CS7 , SW7_CS9 , SW7_CS8 }, //F2 2 + {0, SW6_CS7 , SW6_CS9 , SW6_CS8 }, //F3 3 + {0, SW5_CS7 , SW5_CS9 , SW5_CS8 }, //F4 4 + {0, SW4_CS7 , SW4_CS9 , SW4_CS8 }, //F5 5 + {0, SW3_CS7 , SW3_CS9 , SW3_CS8 }, //F6 6 + {0, SW2_CS7 , SW2_CS9 , SW2_CS8 }, //F7 7 + {0, SW1_CS7 , SW1_CS9 , SW1_CS8 }, //F8 8 + {0, SW2_CS18, SW2_CS16, SW2_CS17 }, //F9 9 + {0, SW3_CS18, SW3_CS16, SW3_CS17 }, //F10 10 + {0, SW4_CS18, SW4_CS16, SW4_CS17 }, //F11 11 + {0, SW6_CS18, SW6_CS16, SW6_CS17 }, //F12 12 + {0, SW7_CS18, SW7_CS16, SW7_CS17 }, //PRI 13 + {0, SW8_CS18, SW8_CS16, SW8_CS17 }, //SCR 14 + {0, SW9_CS18, SW9_CS16, SW9_CS17 }, //PAUS 15 //Second row - {0, CS12_SW9, CS11_SW9, CS10_SW9 }, //GRAVE 16 - {0, CS12_SW8, CS11_SW8, CS10_SW8 }, //1 17 - {0, CS12_SW7, CS11_SW7, CS10_SW7 }, //2 18 - {0, CS12_SW6, CS11_SW6, CS10_SW6 }, //3 19 - {0, CS12_SW5, CS11_SW5, CS10_SW5 }, //4 20 - {0, CS12_SW4, CS11_SW4, CS10_SW4 }, //5 21 - {0, CS12_SW3, CS11_SW3, CS10_SW3 }, //6 22 - {0, CS12_SW2, CS11_SW2, CS10_SW2 }, //7 23 - {0, CS12_SW1, CS11_SW1, CS10_SW1 }, //8 24 - {0, CS15_SW1, CS13_SW1, CS14_SW1 }, //9 25 - {0, CS15_SW2, CS13_SW2, CS14_SW2 }, //0 26 - {0, CS15_SW3, CS13_SW3, CS14_SW3 }, //MINUS 27 - {0, CS15_SW4, CS13_SW4, CS14_SW4 }, //PLUS 28 - {0, CS15_SW5, CS13_SW5, CS14_SW5 }, //BKSP 29 - {0, CS15_SW7, CS13_SW7, CS14_SW7 }, //INS 30 - {0, CS15_SW8, CS13_SW8, CS14_SW8 }, //HOME 31 - {0, CS15_SW9, CS13_SW9, CS14_SW9 }, //PGUP 32 + {0, SW9_CS12, SW9_CS11, SW9_CS10 }, //GRAVE 16 + {0, SW8_CS12, SW8_CS11, SW8_CS10 }, //1 17 + {0, SW7_CS12, SW7_CS11, SW7_CS10 }, //2 18 + {0, SW6_CS12, SW6_CS11, SW6_CS10 }, //3 19 + {0, SW5_CS12, SW5_CS11, SW5_CS10 }, //4 20 + {0, SW4_CS12, SW4_CS11, SW4_CS10 }, //5 21 + {0, SW3_CS12, SW3_CS11, SW3_CS10 }, //6 22 + {0, SW2_CS12, SW2_CS11, SW2_CS10 }, //7 23 + {0, SW1_CS12, SW1_CS11, SW1_CS10 }, //8 24 + {0, SW1_CS15, SW1_CS13, SW1_CS14 }, //9 25 + {0, SW2_CS15, SW2_CS13, SW2_CS14 }, //0 26 + {0, SW3_CS15, SW3_CS13, SW3_CS14 }, //MINUS 27 + {0, SW4_CS15, SW4_CS13, SW4_CS14 }, //PLUS 28 + {0, SW5_CS15, SW5_CS13, SW5_CS14 }, //BKSP 29 + {0, SW7_CS15, SW7_CS13, SW7_CS14 }, //INS 30 + {0, SW8_CS15, SW8_CS13, SW8_CS14 }, //HOME 31 + {0, SW9_CS15, SW9_CS13, SW9_CS14 }, //PGUP 32 //Third row - {0, CS4_SW9 , CS6_SW9 , CS5_SW9 }, //TAB 33 - {0, CS4_SW8 , CS6_SW8 , CS5_SW8 }, //Q 34 - {0, CS4_SW7 , CS6_SW7 , CS5_SW7 }, //W 35 - {0, CS4_SW6 , CS6_SW6 , CS5_SW6 }, //E 36 - {0, CS4_SW5 , CS6_SW5 , CS5_SW5 }, //R 37 - {0, CS4_SW4 , CS6_SW4 , CS5_SW4 }, //T 38 - {0, CS4_SW3 , CS6_SW3 , CS5_SW3 }, //Y 39 - {0, CS4_SW2 , CS6_SW2 , CS5_SW2 }, //U 40 - {0, CS4_SW1 , CS6_SW1 , CS5_SW1 }, //I 41 - {0, CS3_SW2 , CS1_SW2 , CS2_SW2 }, //O 42 - {0, CS3_SW3 , CS1_SW3 , CS2_SW3 }, //P 43 - {0, CS3_SW4 , CS1_SW4 , CS2_SW4 }, //LBRKT 44 - {0, CS3_SW5 , CS1_SW5 , CS2_SW5 }, //RBRKT 45 - {0, CS3_SW6 , CS1_SW6 , CS2_SW6 }, //BSLS 46 - {0, CS3_SW7 , CS1_SW7 , CS2_SW7 }, //DEL 47 - {0, CS3_SW8 , CS1_SW8 , CS2_SW8 }, //END 48 - {0, CS3_SW9 , CS1_SW9 , CS2_SW9 }, //PGDN 49 + {0, SW9_CS4 , SW9_CS6 , SW9_CS5 }, //TAB 33 + {0, SW8_CS4 , SW8_CS6 , SW8_CS5 }, //Q 34 + {0, SW7_CS4 , SW7_CS6 , SW7_CS5 }, //W 35 + {0, SW6_CS4 , SW6_CS6 , SW6_CS5 }, //E 36 + {0, SW5_CS4 , SW5_CS6 , SW5_CS5 }, //R 37 + {0, SW4_CS4 , SW4_CS6 , SW4_CS5 }, //T 38 + {0, SW3_CS4 , SW3_CS6 , SW3_CS5 }, //Y 39 + {0, SW2_CS4 , SW2_CS6 , SW2_CS5 }, //U 40 + {0, SW1_CS4 , SW1_CS6 , SW1_CS5 }, //I 41 + {0, SW2_CS3 , SW2_CS1 , SW2_CS2 }, //O 42 + {0, SW3_CS3 , SW3_CS1 , SW3_CS2 }, //P 43 + {0, SW4_CS3 , SW4_CS1 , SW4_CS2 }, //LBRKT 44 + {0, SW5_CS3 , SW5_CS1 , SW5_CS2 }, //RBRKT 45 + {0, SW6_CS3 , SW6_CS1 , SW6_CS2 }, //BSLS 46 + {0, SW7_CS3 , SW7_CS1 , SW7_CS2 }, //DEL 47 + {0, SW8_CS3 , SW8_CS1 , SW8_CS2 }, //END 48 + {0, SW9_CS3 , SW9_CS1 , SW9_CS2 }, //PGDN 49 //Fourth row - {0, CS33_SW9, CS32_SW9, CS31_SW9 }, //CAPS 50 - {0, CS33_SW8, CS32_SW8, CS31_SW8 }, //A 51 - {0, CS33_SW7, CS32_SW7, CS31_SW7 }, //S 52 - {0, CS33_SW6, CS32_SW6, CS31_SW6 }, //D 53 - {0, CS33_SW5, CS32_SW5, CS31_SW5 }, //F 54 - {0, CS33_SW4, CS32_SW4, CS31_SW4 }, //G 55 - {0, CS33_SW3, CS32_SW3, CS31_SW3 }, //H 56 - {0, CS33_SW2, CS32_SW2, CS31_SW2 }, //J 57 - {0, CS33_SW1, CS32_SW1, CS31_SW1 }, //K 58 - {0, CS39_SW2, CS38_SW2, CS37_SW2 }, //L 59 - {0, CS39_SW3, CS38_SW3, CS37_SW3 }, //COLON 60 - {0, CS39_SW4, CS38_SW4, CS37_SW4 }, //QUOTE 61 - {0, CS39_SW6, CS38_SW6, CS37_SW6 }, //ENTER 62 + {0, SW9_CS33, SW9_CS32, SW9_CS31 }, //CAPS 50 + {0, SW8_CS33, SW8_CS32, SW8_CS31 }, //A 51 + {0, SW7_CS33, SW7_CS32, SW7_CS31 }, //S 52 + {0, SW6_CS33, SW6_CS32, SW6_CS31 }, //D 53 + {0, SW5_CS33, SW5_CS32, SW5_CS31 }, //F 54 + {0, SW4_CS33, SW4_CS32, SW4_CS31 }, //G 55 + {0, SW3_CS33, SW3_CS32, SW3_CS31 }, //H 56 + {0, SW2_CS33, SW2_CS32, SW2_CS31 }, //J 57 + {0, SW1_CS33, SW1_CS32, SW1_CS31 }, //K 58 + {0, SW2_CS39, SW2_CS38, SW2_CS37 }, //L 59 + {0, SW3_CS39, SW3_CS38, SW3_CS37 }, //COLON 60 + {0, SW4_CS39, SW4_CS38, SW4_CS37 }, //QUOTE 61 + {0, SW6_CS39, SW6_CS38, SW6_CS37 }, //ENTER 62 //Fifth row - {0, CS30_SW9, CS28_SW9, CS29_SW9 }, //LSFT 63 - {0, CS30_SW7, CS28_SW7, CS29_SW7 }, //Z 64 - {0, CS30_SW6, CS28_SW6, CS29_SW6 }, //X 65 - {0, CS30_SW5, CS28_SW5, CS29_SW5 }, //C 66 - {0, CS30_SW4, CS28_SW4, CS29_SW4 }, //V 67 - {0, CS30_SW3, CS28_SW3, CS29_SW3 }, //B 68 - {0, CS30_SW2, CS28_SW2, CS29_SW2 }, //N 69 - {0, CS30_SW1, CS28_SW1, CS29_SW1 }, //M 70 - {0, CS36_SW1, CS35_SW1, CS34_SW1 }, //COMMA 71 - {0, CS36_SW3, CS35_SW3, CS34_SW3 }, //DOT 72 - {0, CS36_SW4, CS35_SW4, CS34_SW4 }, //SLASH 73 - {0, CS36_SW6, CS35_SW6, CS34_SW6 }, //RSFT 74 - {0, CS36_SW7, CS35_SW7, CS34_SW7 }, //UP 75 + {0, SW9_CS30, SW9_CS28, SW9_CS29 }, //LSFT 63 + {0, SW7_CS30, SW7_CS28, SW7_CS29 }, //Z 64 + {0, SW6_CS30, SW6_CS28, SW6_CS29 }, //X 65 + {0, SW5_CS30, SW5_CS28, SW5_CS29 }, //C 66 + {0, SW4_CS30, SW4_CS28, SW4_CS29 }, //V 67 + {0, SW3_CS30, SW3_CS28, SW3_CS29 }, //B 68 + {0, SW2_CS30, SW2_CS28, SW2_CS29 }, //N 69 + {0, SW1_CS30, SW1_CS28, SW1_CS29 }, //M 70 + {0, SW1_CS36, SW1_CS35, SW1_CS34 }, //COMMA 71 + {0, SW3_CS36, SW3_CS35, SW3_CS34 }, //DOT 72 + {0, SW4_CS36, SW4_CS35, SW4_CS34 }, //SLASH 73 + {0, SW6_CS36, SW6_CS35, SW6_CS34 }, //RSFT 74 + {0, SW7_CS36, SW7_CS35, SW7_CS34 }, //UP 75 //Sixth row - {0, CS27_SW9, CS25_SW9, CS26_SW9 }, //LCTRL 76 - {0, CS27_SW7, CS25_SW7, CS26_SW7 }, //LWIN 77 - {0, CS27_SW6, CS25_SW6, CS26_SW6 }, //LALT 78 - {0, CS27_SW5, CS25_SW5, CS26_SW5 }, //SPACE 79 - {0, CS27_SW3, CS25_SW3, CS26_SW3 }, //RALT 80 - {0, CS24_SW4, CS23_SW4, CS22_SW4 }, //RGUI 81 - {0, CS24_SW5, CS23_SW5, CS22_SW5 }, //MENU 82 - {0, CS24_SW6, CS23_SW6, CS22_SW6 }, //RCTRL 83 - {0, CS24_SW1, CS23_SW1, CS22_SW1 }, //LEFT 84 - {0, CS24_SW2, CS23_SW2, CS22_SW2 }, //DOWN 85 - {0, CS24_SW3, CS23_SW3, CS22_SW3 }, //RIGHT 86 + {0, SW9_CS27, SW9_CS25, SW9_CS26 }, //LCTRL 76 + {0, SW7_CS27, SW7_CS25, SW7_CS26 }, //LWIN 77 + {0, SW6_CS27, SW6_CS25, SW6_CS26 }, //LALT 78 + {0, SW5_CS27, SW5_CS25, SW5_CS26 }, //SPACE 79 + {0, SW3_CS27, SW3_CS25, SW3_CS26 }, //RALT 80 + {0, SW4_CS24, SW4_CS23, SW4_CS22 }, //RGUI 81 + {0, SW5_CS24, SW5_CS23, SW5_CS22 }, //MENU 82 + {0, SW6_CS24, SW6_CS23, SW6_CS22 }, //RCTRL 83 + {0, SW1_CS24, SW1_CS23, SW1_CS22 }, //LEFT 84 + {0, SW2_CS24, SW2_CS23, SW2_CS22 }, //DOWN 85 + {0, SW3_CS24, SW3_CS23, SW3_CS22 }, //RIGHT 86 }; diff --git a/keyboards/akko/5087/5087.c b/keyboards/akko/5087/5087.c index 6374adc301e..7dd614b4565 100644 --- a/keyboards/akko/5087/5087.c +++ b/keyboards/akko/5087/5087.c @@ -25,103 +25,103 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | | B location * | | | | */ /*row0*/ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, - {1, A_15, B_15, C_15}, - {1, A_16, B_16, C_16}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB1_CA15, CB2_CA15, CB3_CA15}, + {1, CB1_CA16, CB2_CA16, CB3_CA16}, /*row1*/ - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, - {1, D_2, E_2, F_2}, - {1, D_3, E_3, F_3}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, /*row2*/ - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, /*row3*/ - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, G_13, H_13, I_13}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, /*row4*/ - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, J_4, K_4, L_4}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, /*row5*/ - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, - {0, D_15, E_15, F_15}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/akko/5108/5108.c b/keyboards/akko/5108/5108.c index 0fd71834d19..91526289b67 100644 --- a/keyboards/akko/5108/5108.c +++ b/keyboards/akko/5108/5108.c @@ -25,124 +25,124 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | | B location * | | | | */ /*row0*/ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, - {1, A_15, B_15, C_15}, - {1, A_16, B_16, C_16}, - {1, D_11, E_11, F_11}, - {1, D_12, E_12, F_12}, - {1, D_13, E_13, F_13}, - {1, D_14, E_14, F_14}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB1_CA15, CB2_CA15, CB3_CA15}, + {1, CB1_CA16, CB2_CA16, CB3_CA16}, + {1, CB4_CA11, CB5_CA11, CB6_CA11}, + {1, CB4_CA12, CB5_CA12, CB6_CA12}, + {1, CB4_CA13, CB5_CA13, CB6_CA13}, + {1, CB4_CA14, CB5_CA14, CB6_CA14}, /*row1*/ - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1 }, - {1, D_2, E_2, F_2}, - {1, D_3, E_3, F_3}, - {1, D_4, E_4, F_4}, - {1, D_5, E_5, F_5}, - {1, D_6, E_6, F_6}, - {1, D_7, E_7, F_7}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1 }, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, + {1, CB4_CA4, CB5_CA4, CB6_CA4}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, /*row2*/ - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, - {1, D_8, E_8, F_8}, - {1, D_9, E_9, F_9}, - {1, D_10, E_10, F_10}, - {1, G_7, H_7, I_7}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, + {1, CB4_CA8, CB5_CA8, CB6_CA8}, + {1, CB4_CA9, CB5_CA9, CB6_CA9}, + {1, CB4_CA10, CB5_CA10, CB6_CA10}, + {1, CB7_CA7, CB8_CA7, CB9_CA7}, /*row3*/ - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, G_13, H_13, I_13}, - {1, G_4, H_4, I_4}, - {1, G_5, H_5, I_5}, - {1, G_6, H_6, I_6}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, + {1, CB7_CA6, CB8_CA6, CB9_CA6}, /*row4*/ - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, J_4, K_4, L_4}, - {1, J_7, K_7, L_7}, - {1, J_8, K_8, L_8}, - {1, J_9, K_9, L_9}, - {1, J_10, K_10, L_10}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA7, CB11_CA7, CB12_CA7}, + {1, CB10_CA8, CB11_CA8, CB12_CA8}, + {1, CB10_CA9, CB11_CA9, CB12_CA9}, + {1, CB10_CA10, CB11_CA10, CB12_CA10}, /*row5*/ - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, - {0, D_15, E_15, F_15}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - {1, J_5, K_5, L_5}, - {1, J_6, K_6, L_6}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, + {1, CB10_CA6, CB11_CA6, CB12_CA6}, }; #endif diff --git a/keyboards/akko/acr87/acr87.c b/keyboards/akko/acr87/acr87.c index 3e7f6034741..e2ed06a0e89 100644 --- a/keyboards/akko/acr87/acr87.c +++ b/keyboards/akko/acr87/acr87.c @@ -25,160 +25,160 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | | B location * | | | | */ /*row0*/ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, - {1, A_15, B_15, C_15}, - {1, A_16, B_16, C_16}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB1_CA15, CB2_CA15, CB3_CA15}, + {1, CB1_CA16, CB2_CA16, CB3_CA16}, /*row1*/ - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, - {1, D_2, E_2, F_2}, - {1, D_3, E_3, F_3}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, /*row2*/ - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, /*row3*/ - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, G_13, H_13, I_13}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, /*row4*/ - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, J_4, K_4, L_4}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, /*row5*/ - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, - {0, D_15, E_15, F_15}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - - {2, J_12, K_12, L_12}, - {2, J_11, K_11, L_11}, - {2, J_10, K_10, L_10}, - {2, J_9, K_9, L_9}, - {2, J_8, K_8, L_8}, - {2, J_7, K_7, L_7}, - {2, J_6, K_6, L_6}, - {2, J_5, K_5, L_5}, - {2, J_4, K_4, L_4}, - {2, J_3, K_3, L_3}, - {2, J_2, K_2, L_2}, - {2, J_1, K_1, L_1}, - {2, G_12, H_12, I_12}, - {2, G_11, H_11, I_11}, - {2, G_10, H_10, I_10}, - {2, G_9, H_9, I_9}, - - {2, A_1, B_1, C_1}, - {2, G_8, H_8, I_8}, - - {2, A_2, B_2, C_2}, - {2, G_7, H_7, I_7}, - - {2, A_3, B_3, C_3}, - {2, G_6, H_6, I_6}, - - {2, A_4, B_4, C_4}, - {2, G_5, H_5, I_5}, - - {2, A_5, B_5, C_5}, - {2, G_4, H_4, I_4}, - - {2, A_6, B_6, C_6}, - {2, G_3, H_3, I_3}, - - {2, A_7, B_7, C_7}, - {2, G_2, H_2, I_2}, - - {2, A_8, B_8, C_8}, - {2, A_9, B_9, C_9}, - {2, A_10, B_10, C_10}, - {2, A_11, B_11, C_11}, - {2, A_12, B_12, C_12}, - {2, D_1, E_1, F_1}, - {2, D_2, E_2, F_2}, - {2, D_3, E_3, F_3}, - {2, D_4, E_4, F_4}, - {2, D_5, E_5, F_5}, - {2, D_6, E_6, F_6}, - {2, D_7, E_7, F_7}, - {2, D_8, E_8, F_8}, - {2, D_9, E_9, F_9}, - {2, D_10, E_10, F_10}, - {2, D_11, E_11, F_11}, - {2, D_12, E_12, F_12}, - {2, G_1, H_1, I_1}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + + {2, CB10_CA12, CB11_CA12, CB12_CA12}, + {2, CB10_CA11, CB11_CA11, CB12_CA11}, + {2, CB10_CA10, CB11_CA10, CB12_CA10}, + {2, CB10_CA9, CB11_CA9, CB12_CA9}, + {2, CB10_CA8, CB11_CA8, CB12_CA8}, + {2, CB10_CA7, CB11_CA7, CB12_CA7}, + {2, CB10_CA6, CB11_CA6, CB12_CA6}, + {2, CB10_CA5, CB11_CA5, CB12_CA5}, + {2, CB10_CA4, CB11_CA4, CB12_CA4}, + {2, CB10_CA3, CB11_CA3, CB12_CA3}, + {2, CB10_CA2, CB11_CA2, CB12_CA2}, + {2, CB10_CA1, CB11_CA1, CB12_CA1}, + {2, CB7_CA12, CB8_CA12, CB9_CA12}, + {2, CB7_CA11, CB8_CA11, CB9_CA11}, + {2, CB7_CA10, CB8_CA10, CB9_CA10}, + {2, CB7_CA9, CB8_CA9, CB9_CA9}, + + {2, CB1_CA1, CB2_CA1, CB3_CA1}, + {2, CB7_CA8, CB8_CA8, CB9_CA8}, + + {2, CB1_CA2, CB2_CA2, CB3_CA2}, + {2, CB7_CA7, CB8_CA7, CB9_CA7}, + + {2, CB1_CA3, CB2_CA3, CB3_CA3}, + {2, CB7_CA6, CB8_CA6, CB9_CA6}, + + {2, CB1_CA4, CB2_CA4, CB3_CA4}, + {2, CB7_CA5, CB8_CA5, CB9_CA5}, + + {2, CB1_CA5, CB2_CA5, CB3_CA5}, + {2, CB7_CA4, CB8_CA4, CB9_CA4}, + + {2, CB1_CA6, CB2_CA6, CB3_CA6}, + {2, CB7_CA3, CB8_CA3, CB9_CA3}, + + {2, CB1_CA7, CB2_CA7, CB3_CA7}, + {2, CB7_CA2, CB8_CA2, CB9_CA2}, + + {2, CB1_CA8, CB2_CA8, CB3_CA8}, + {2, CB1_CA9, CB2_CA9, CB3_CA9}, + {2, CB1_CA10, CB2_CA10, CB3_CA10}, + {2, CB1_CA11, CB2_CA11, CB3_CA11}, + {2, CB1_CA12, CB2_CA12, CB3_CA12}, + {2, CB4_CA1, CB5_CA1, CB6_CA1}, + {2, CB4_CA2, CB5_CA2, CB6_CA2}, + {2, CB4_CA3, CB5_CA3, CB6_CA3}, + {2, CB4_CA4, CB5_CA4, CB6_CA4}, + {2, CB4_CA5, CB5_CA5, CB6_CA5}, + {2, CB4_CA6, CB5_CA6, CB6_CA6}, + {2, CB4_CA7, CB5_CA7, CB6_CA7}, + {2, CB4_CA8, CB5_CA8, CB6_CA8}, + {2, CB4_CA9, CB5_CA9, CB6_CA9}, + {2, CB4_CA10, CB5_CA10, CB6_CA10}, + {2, CB4_CA11, CB5_CA11, CB6_CA11}, + {2, CB4_CA12, CB5_CA12, CB6_CA12}, + {2, CB7_CA1, CB8_CA1, CB9_CA1}, }; // clang-format on diff --git a/keyboards/akko/top40/top40.c b/keyboards/akko/top40/top40.c index 2d75b774972..565dfb77c63 100644 --- a/keyboards/akko/top40/top40.c +++ b/keyboards/akko/top40/top40.c @@ -24,90 +24,90 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_5, K_5, L_5}, - {0, J_7, K_7, L_7}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, J_7, K_7, L_7}, - {1, J_6, K_6, L_6}, - {1, J_5, K_5, L_5}, - {1, J_4, K_4, L_4}, - {1, J_3, K_3, L_3}, - {1, J_2, K_2, L_2}, - {1, J_1, K_1, L_1}, - {1, G_8, H_8, I_8}, - {1, G_7, H_7, I_7}, - {1, G_6, H_6, I_6}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB10_CA7, CB11_CA7, CB12_CA7}, + {1, CB10_CA6, CB11_CA6, CB12_CA6}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB7_CA8, CB8_CA8, CB9_CA8}, + {1, CB7_CA7, CB8_CA7, CB9_CA7}, + {1, CB7_CA6, CB8_CA6, CB9_CA6}, - {1, A_4, B_4, C_4}, - {1, G_5, H_5, I_5}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, - {1, A_5, B_5, C_5}, - {1, G_4, H_4, I_4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, - {1, A_6, B_6, C_6}, - {1, G_3, H_3, I_3}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, D_1, E_1, F_1}, - {1, D_2, E_2, F_2}, - {1, D_3, E_3, F_3}, - {1, D_4, E_4, F_4}, - {1, D_5, E_5, F_5}, - {1, D_6, E_6, F_6}, - {1, D_7, E_7, F_7}, - {1, D_8, E_8, F_8}, - {1, G_2, H_2, I_2}, - {1, G_1, H_1, I_1}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, + {1, CB4_CA4, CB5_CA4, CB6_CA4}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, + {1, CB4_CA8, CB5_CA8, CB6_CA8}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, }; diff --git a/keyboards/axolstudio/yeti/hotswap/hotswap.c b/keyboards/axolstudio/yeti/hotswap/hotswap.c index dd65a16a80a..df64c809532 100644 --- a/keyboards/axolstudio/yeti/hotswap/hotswap.c +++ b/keyboards/axolstudio/yeti/hotswap/hotswap.c @@ -18,74 +18,74 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - { 0, B_15, A_15, C_15 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - { 0, E_15, D_15, F_15 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_13, G_13, I_13 }, - { 0, H_14, G_14, I_14 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_11, J_11, L_11 }, - { 0, K_12, J_12, L_12 }, - { 0, K_13, J_13, L_13 }, - { 0, K_14, J_14, L_14 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, - { 0, K_1, J_1, L_1 }, - { 0, K_16, J_16, L_16 }, - { 0, H_16, G_16, I_16 }, - { 0, E_16, D_16, F_16 }, - { 0, B_16, A_16, C_16 }, - { 0, H_15, G_15, I_15 }, - { 0, K_15, J_15, L_15 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, }; led_config_t g_led_config = { diff --git a/keyboards/canary/canary60rgb/canary60rgb.c b/keyboards/canary/canary60rgb/canary60rgb.c index 55569f50492..b14878ff22d 100644 --- a/keyboards/canary/canary60rgb/canary60rgb.c +++ b/keyboards/canary/canary60rgb/canary60rgb.c @@ -17,73 +17,73 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, J_14, K_14, L_14 }, - { 0, J_13, K_13, L_13 }, - { 0, J_12, K_12, L_12 }, - { 0, J_11, K_11, L_11 }, - { 0, J_10, K_10, L_10 }, - { 0, J_9, K_9, L_9 }, - { 0, J_8, K_8, L_8 }, - { 0, J_7, K_7, L_7 }, - { 0, J_6, K_6, L_6 }, - { 0, J_5, K_5, L_5 }, - { 0, J_4, K_4, L_4 }, - { 0, J_3, K_3, L_3 }, - { 0, J_2, K_2, L_2 }, - { 0, J_1, K_1, L_1 }, + { 0, SW10_CS14, SW11_CS14, SW12_CS14 }, + { 0, SW10_CS13, SW11_CS13, SW12_CS13 }, + { 0, SW10_CS12, SW11_CS12, SW12_CS12 }, + { 0, SW10_CS11, SW11_CS11, SW12_CS11 }, + { 0, SW10_CS10, SW11_CS10, SW12_CS10 }, + { 0, SW10_CS9, SW11_CS9, SW12_CS9 }, + { 0, SW10_CS8, SW11_CS8, SW12_CS8 }, + { 0, SW10_CS7, SW11_CS7, SW12_CS7 }, + { 0, SW10_CS6, SW11_CS6, SW12_CS6 }, + { 0, SW10_CS5, SW11_CS5, SW12_CS5 }, + { 0, SW10_CS4, SW11_CS4, SW12_CS4 }, + { 0, SW10_CS3, SW11_CS3, SW12_CS3 }, + { 0, SW10_CS2, SW11_CS2, SW12_CS2 }, + { 0, SW10_CS1, SW11_CS1, SW12_CS1 }, - { 0, G_14, H_14, I_14 }, - { 0, G_13, H_13, I_13 }, - { 0, G_12, H_12, I_12 }, - { 0, G_11, H_11, I_11 }, - { 0, G_10, H_10, I_10 }, - { 0, G_9, H_9, I_9 }, - { 0, G_8, H_8, I_8 }, - { 0, G_7, H_7, I_7 }, - { 0, G_6, H_6, I_6 }, - { 0, G_5, H_5, I_5 }, - { 0, G_4, H_4, I_4 }, - { 0, G_3, H_3, I_3 }, - { 0, G_2, H_2, I_2 }, - { 0, G_1, H_1, I_1 }, + { 0, SW7_CS14, SW8_CS14, SW9_CS14 }, + { 0, SW7_CS13, SW8_CS13, SW9_CS13 }, + { 0, SW7_CS12, SW8_CS12, SW9_CS12 }, + { 0, SW7_CS11, SW8_CS11, SW9_CS11 }, + { 0, SW7_CS10, SW8_CS10, SW9_CS10 }, + { 0, SW7_CS9, SW8_CS9, SW9_CS9 }, + { 0, SW7_CS8, SW8_CS8, SW9_CS8 }, + { 0, SW7_CS7, SW8_CS7, SW9_CS7 }, + { 0, SW7_CS6, SW8_CS6, SW9_CS6 }, + { 0, SW7_CS5, SW8_CS5, SW9_CS5 }, + { 0, SW7_CS4, SW8_CS4, SW9_CS4 }, + { 0, SW7_CS3, SW8_CS3, SW9_CS3 }, + { 0, SW7_CS2, SW8_CS2, SW9_CS2 }, + { 0, SW7_CS1, SW8_CS1, SW9_CS1 }, - { 0, D_14, E_14, F_14 }, - { 0, D_12, E_12, F_12 }, - { 0, D_11, E_11, F_11 }, - { 0, D_10, E_10, F_10 }, - { 0, D_9, E_9, F_9 }, - { 0, D_8, E_8, F_8 }, - { 0, D_7, E_7, F_7 }, - { 0, D_6, E_6, F_6 }, - { 0, D_5, E_5, F_5 }, - { 0, D_4, E_4, F_4 }, - { 0, D_3, E_3, F_3 }, - { 0, D_2, E_2, F_2 }, - { 0, D_1, E_1, F_1 }, + { 0, SW4_CS14, SW5_CS14, SW6_CS14 }, + { 0, SW4_CS12, SW5_CS12, SW6_CS12 }, + { 0, SW4_CS11, SW5_CS11, SW6_CS11 }, + { 0, SW4_CS10, SW5_CS10, SW6_CS10 }, + { 0, SW4_CS9, SW5_CS9, SW6_CS9 }, + { 0, SW4_CS8, SW5_CS8, SW6_CS8 }, + { 0, SW4_CS7, SW5_CS7, SW6_CS7 }, + { 0, SW4_CS6, SW5_CS6, SW6_CS6 }, + { 0, SW4_CS5, SW5_CS5, SW6_CS5 }, + { 0, SW4_CS4, SW5_CS4, SW6_CS4 }, + { 0, SW4_CS3, SW5_CS3, SW6_CS3 }, + { 0, SW4_CS2, SW5_CS2, SW6_CS2 }, + { 0, SW4_CS1, SW5_CS1, SW6_CS1 }, - { 0, A_14, B_14, C_14 }, - { 0, A_13, B_13, C_13 }, - { 0, A_11, B_11, C_11 }, - { 0, A_10, B_10, C_10 }, - { 0, A_9, B_9, C_9 }, - { 0, A_8, B_8, C_8 }, - { 0, A_7, B_7, C_7 }, - { 0, A_6, B_6, C_6 }, - { 0, A_5, B_5, C_5 }, - { 0, A_4, B_4, C_4 }, - { 0, A_3, B_3, C_3 }, - { 0, A_2, B_2, C_2 }, - { 0, A_1, B_1, C_1 }, + { 0, SW1_CS14, SW2_CS14, SW3_CS14 }, + { 0, SW1_CS13, SW2_CS13, SW3_CS13 }, + { 0, SW1_CS11, SW2_CS11, SW3_CS11 }, + { 0, SW1_CS10, SW2_CS10, SW3_CS10 }, + { 0, SW1_CS9, SW2_CS9, SW3_CS9 }, + { 0, SW1_CS8, SW2_CS8, SW3_CS8 }, + { 0, SW1_CS7, SW2_CS7, SW3_CS7 }, + { 0, SW1_CS6, SW2_CS6, SW3_CS6 }, + { 0, SW1_CS5, SW2_CS5, SW3_CS5 }, + { 0, SW1_CS4, SW2_CS4, SW3_CS4 }, + { 0, SW1_CS3, SW2_CS3, SW3_CS3 }, + { 0, SW1_CS2, SW2_CS2, SW3_CS2 }, + { 0, SW1_CS1, SW2_CS1, SW3_CS1 }, - { 0, A_15, B_15, C_15 }, - { 0, D_13, E_13, F_13 }, - { 0, A_12, B_12, C_12 }, - { 0, D_15, E_15, F_15 }, - { 0, G_15, H_15, I_15 }, - { 0, A_16, B_16, C_16 }, - { 0, D_16, E_16, F_16 }, - { 0, G_16, H_16, I_16 }, - { 0, J_16, K_16, L_16 } + { 0, SW1_CS15, SW2_CS15, SW3_CS15 }, + { 0, SW4_CS13, SW5_CS13, SW6_CS13 }, + { 0, SW1_CS12, SW2_CS12, SW3_CS12 }, + { 0, SW4_CS15, SW5_CS15, SW6_CS15 }, + { 0, SW7_CS15, SW8_CS15, SW9_CS15 }, + { 0, SW1_CS16, SW2_CS16, SW3_CS16 }, + { 0, SW4_CS16, SW5_CS16, SW6_CS16 }, + { 0, SW7_CS16, SW8_CS16, SW9_CS16 }, + { 0, SW10_CS16, SW11_CS16, SW12_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/chosfox/cf81/cf81.c b/keyboards/chosfox/cf81/cf81.c index b864a56bc65..2e014dbe724 100644 --- a/keyboards/chosfox/cf81/cf81.c +++ b/keyboards/chosfox/cf81/cf81.c @@ -25,122 +25,122 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, D_2, E_2, F_2}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, A_15, B_15, C_15}, - {0, G_13, H_13, I_13}, - {1, D_3, E_3, F_3}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB1_CA15, CB2_CA15, CB3_CA15}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, - {0, J_1, K_1, L_1}, - {0, A_16, B_16, C_16}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, D_7, E_7, F_7}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB1_CA16, CB2_CA16, CB3_CA16}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, - {0, D_15, E_15, F_15}, - {1, D_6, E_6, F_6}, - {1, D_5, E_5, F_5}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, - {1, G_4, H_4, I_4}, - {1, G_5, H_5, I_5}, - {1, G_6, H_6, I_6}, - {1, G_7, H_7, I_7}, - {1, G_8, H_8, I_8}, - {1, G_9, H_9, I_9}, - {1, G_10, H_10, I_10}, - {1, G_11, H_11, I_11}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, + {1, CB7_CA6, CB8_CA6, CB9_CA6}, + {1, CB7_CA7, CB8_CA7, CB9_CA7}, + {1, CB7_CA8, CB8_CA8, CB9_CA8}, + {1, CB7_CA9, CB8_CA9, CB9_CA9}, + {1, CB7_CA10, CB8_CA10, CB9_CA10}, + {1, CB7_CA11, CB8_CA11, CB9_CA11}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - {1, J_4, K_4, L_4}, - {1, J_5, K_5, L_5}, - {1, J_6, K_6, L_6}, - {1, J_7, K_7, L_7}, - {1, J_8, K_8, L_8}, - {1, J_9, K_9, L_9}, - {1, J_10, K_10, L_10}, - {1, J_11, K_11, L_11}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, + {1, CB10_CA6, CB11_CA6, CB12_CA6}, + {1, CB10_CA7, CB11_CA7, CB12_CA7}, + {1, CB10_CA8, CB11_CA8, CB12_CA8}, + {1, CB10_CA9, CB11_CA9, CB12_CA9}, + {1, CB10_CA10, CB11_CA10, CB12_CA10}, + {1, CB10_CA11, CB11_CA11, CB12_CA11}, }; // clang-format on bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) { diff --git a/keyboards/darkproject/kd83a_bfg_edition/kd83a_bfg_edition.c b/keyboards/darkproject/kd83a_bfg_edition/kd83a_bfg_edition.c index 550520e790a..f21aeeb38d3 100644 --- a/keyboards/darkproject/kd83a_bfg_edition/kd83a_bfg_edition.c +++ b/keyboards/darkproject/kd83a_bfg_edition/kd83a_bfg_edition.c @@ -25,99 +25,99 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - //{0, CS1_SW4, CS2_SW4, CS3_SW4}, // 0, k00, Esc - - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 1, k13, Esc - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 2, k26, F1 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 3, k36, F2 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 4, k31, F3 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 5, k33, F4 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 6, k07, F5 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 7, k63, F6 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 8, k71, F7 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 9, k76, F8 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 10, ka6, F9 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 11, ka7, F10 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 12, ka3, F11 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 13, ka5, F12 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 14, k97, Printscreen - {1, CS4_SW5, CS5_SW5, CS6_SW5}, // 15, k02, Del - - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 16, k16, ` - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 17, k17, 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 18, k27, 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 19, k37, 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 20, k47, 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 21, k46, 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 22, k56, 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 23, k57, 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 24, k67, 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 25, k77, 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 26, k87, 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 27, k86, - - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 28, k66, = - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 29, ka1, Backspace - {1, CS1_SW2, CS2_SW2, CS3_SW2}, // 30, kc6, Home - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 31, k11, Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 32, k10, Q - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 33, k20, W - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 34, k30, E - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 35, k40, R - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 36, k41, T - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 37, k51, Y - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 38, k50, U - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 39, k60, I - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 40, k70, O - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 41, k80, P - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 42, k81, [ - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 43, k61, ] - {1, CS1_SW9, CS2_SW9, CS3_SW9}, // 44, ka2, "\\" - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 45, k65, End - - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 46, k21, Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 47, k12, A - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 48, k22, S - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 49, k32, D - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 50, k42, F - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 51, k43, G - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 52, k53, H - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 53, k52, J - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 54, k62, K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 55, k72, L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 56, k82, ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 57, k83, ' - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 58, ka4, Enter - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 59, k15, PgUp - - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 60, k00, Shift_L - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 61, k14, Z - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 62, k24, X - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 63, k34, C - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 64, k44, V - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 65, k45, B - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 66, k55, N - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 67, k54, M - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 68, k64, , - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 69, k74, . - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 70, k85, / - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 71, k91, Shift_R - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 72, k35, Up - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 73, k25, PgDn - - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 74, k06, Ctrl_L - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 75, k90, Win_L - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 76, k93, Alt_L - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 77, k94, Space - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 78, k95, Alt_R - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 79, k92, FN - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 80, k04, Ctrl_R - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 81, k03, Left - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 82, k73, Down - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 83, k05, Right - - {1, CS10_SW10, CS11_SW10, CS12_SW10}, // 84, kb0, Z1 - {1, CS10_SW11, CS11_SW11, CS12_SW11}, // 85, kb1, Z2 + //{0, SW4_CS1, SW4_CS2, SW4_CS3}, // 0, k00, Esc + + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 1, k13, Esc + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 2, k26, F1 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 3, k36, F2 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 4, k31, F3 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 5, k33, F4 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 6, k07, F5 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 7, k63, F6 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 8, k71, F7 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 9, k76, F8 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 10, ka6, F9 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 11, ka7, F10 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 12, ka3, F11 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 13, ka5, F12 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 14, k97, Printscreen + {1, SW5_CS4, SW5_CS5, SW5_CS6}, // 15, k02, Del + + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 16, k16, ` + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 17, k17, 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 18, k27, 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 19, k37, 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 20, k47, 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 21, k46, 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 22, k56, 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 23, k57, 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 24, k67, 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 25, k77, 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 26, k87, 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 27, k86, - + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 28, k66, = + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 29, ka1, Backspace + {1, SW2_CS1, SW2_CS2, SW2_CS3}, // 30, kc6, Home + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 31, k11, Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 32, k10, Q + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 33, k20, W + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 34, k30, E + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 35, k40, R + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 36, k41, T + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 37, k51, Y + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 38, k50, U + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 39, k60, I + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 40, k70, O + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 41, k80, P + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 42, k81, [ + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 43, k61, ] + {1, SW9_CS1, SW9_CS2, SW9_CS3}, // 44, ka2, "\\" + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 45, k65, End + + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 46, k21, Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 47, k12, A + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 48, k22, S + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 49, k32, D + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 50, k42, F + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 51, k43, G + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 52, k53, H + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 53, k52, J + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 54, k62, K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 55, k72, L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 56, k82, ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 57, k83, ' + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 58, ka4, Enter + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 59, k15, PgUp + + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 60, k00, Shift_L + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 61, k14, Z + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 62, k24, X + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 63, k34, C + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 64, k44, V + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 65, k45, B + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 66, k55, N + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 67, k54, M + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 68, k64, , + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 69, k74, . + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 70, k85, / + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 71, k91, Shift_R + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 72, k35, Up + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 73, k25, PgDn + + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 74, k06, Ctrl_L + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 75, k90, Win_L + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 76, k93, Alt_L + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 77, k94, Space + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 78, k95, Alt_R + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 79, k92, FN + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 80, k04, Ctrl_R + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 81, k03, Left + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 82, k73, Down + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 83, k05, Right + + {1, SW10_CS10, SW10_CS11, SW10_CS12}, // 84, kb0, Z1 + {1, SW11_CS10, SW11_CS11, SW11_CS12}, // 85, kb1, Z2 }; #endif diff --git a/keyboards/darkproject/kd87a_bfg_edition/kd87a_bfg_edition.c b/keyboards/darkproject/kd87a_bfg_edition/kd87a_bfg_edition.c index 22d10488d2d..20a46e343ea 100644 --- a/keyboards/darkproject/kd87a_bfg_edition/kd87a_bfg_edition.c +++ b/keyboards/darkproject/kd87a_bfg_edition/kd87a_bfg_edition.c @@ -25,100 +25,100 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - //{0, CS1_SW4, CS2_SW4, CS3_SW4}, // 0, Esc - - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 1, Esc - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 2, F1 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 3, F2 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 4, F3 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 5, F4 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 6, F5 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 7, F6 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 8, F7 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 9, F8 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 10, F9 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 11, F10 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 12, F11 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 13, F12 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 14, Printscreen - {1, CS1_SW3, CS2_SW3, CS3_SW3}, // 15, Scroll Lock - {1, CS1_SW4, CS2_SW4, CS3_SW4}, // 16, Pause Break - - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 17, ` - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 18, 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 19, 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 20, 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 21, 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 22, 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 23, 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 24, 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 25, 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 26, 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 27, 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 28, - - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 29, = - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 30, Backspace - {1, CS1_SW2, CS2_SW2, CS3_SW2}, // 31, Insert - {1, CS4_SW5, CS5_SW5, CS6_SW5}, // 32, Home - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 33, Page Up - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 34, Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 35, Q - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 36, W - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 37, E - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 38, R - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 39, T - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 40, Y - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 41, U - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 42, I - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 43, O - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 44, P - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 45, [ - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 46, ] - {1, CS1_SW9, CS2_SW9, CS3_SW9}, // 47, "\\" - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 48, Delete - {1, CS4_SW6, CS5_SW6, CS6_SW6}, // 49, END - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 50, Page down - - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 51, Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 52, A - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 53, S - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 54, D - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 55, F - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 56, G - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 57, H - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 58, J - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 59, K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 60, L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 61, ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 62, ' - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 63, Enter + //{0, SW4_CS1, SW4_CS2, SW4_CS3}, // 0, Esc + + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 1, Esc + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 2, F1 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 3, F2 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 4, F3 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 5, F4 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 6, F5 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 7, F6 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 8, F7 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 9, F8 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 10, F9 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 11, F10 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 12, F11 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 13, F12 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 14, Printscreen + {1, SW3_CS1, SW3_CS2, SW3_CS3}, // 15, Scroll Lock + {1, SW4_CS1, SW4_CS2, SW4_CS3}, // 16, Pause Break + + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 17, ` + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 18, 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 19, 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 20, 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 21, 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 22, 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 23, 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 24, 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 25, 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 26, 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 27, 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 28, - + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 29, = + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 30, Backspace + {1, SW2_CS1, SW2_CS2, SW2_CS3}, // 31, Insert + {1, SW5_CS4, SW5_CS5, SW5_CS6}, // 32, Home + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 33, Page Up + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 34, Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 35, Q + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 36, W + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 37, E + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 38, R + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 39, T + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 40, Y + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 41, U + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 42, I + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 43, O + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 44, P + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 45, [ + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 46, ] + {1, SW9_CS1, SW9_CS2, SW9_CS3}, // 47, "\\" + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 48, Delete + {1, SW6_CS4, SW6_CS5, SW6_CS6}, // 49, END + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 50, Page down + + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 51, Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 52, A + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 53, S + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 54, D + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 55, F + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 56, G + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 57, H + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 58, J + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 59, K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 60, L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 61, ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 62, ' + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 63, Enter - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 64, Shift_L - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 65, Z - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 66, X - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 67, C - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 68, V - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 69, B - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 70, N - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 71, M - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 72, , - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 73, . - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 74, / - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 75, Shift_R - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 76, Up + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 64, Shift_L + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 65, Z + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 66, X + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 67, C + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 68, V + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 69, B + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 70, N + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 71, M + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 72, , + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 73, . + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 74, / + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 75, Shift_R + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 76, Up - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 77, Ctrl_L - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 78, Win_L - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 79, Alt_L - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 80, Space - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 81, Alt_R - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 82, FN - {0, CS16_SW11, CS17_SW11, CS18_SW11}, // 83, APP - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 84, Ctrl_R - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 85, Left - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 86, Down - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 87, Right + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 77, Ctrl_L + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 78, Win_L + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 79, Alt_L + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 80, Space + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 81, Alt_R + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 82, FN + {0, SW11_CS16, SW11_CS17, SW11_CS18}, // 83, APP + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 84, Ctrl_R + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 85, Left + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 86, Down + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 87, Right }; #endif diff --git a/keyboards/drop/alt/v2/v2.c b/keyboards/drop/alt/v2/v2.c index d3bb78fd12c..49ed4bfc998 100644 --- a/keyboards/drop/alt/v2/v2.c +++ b/keyboards/drop/alt/v2/v2.c @@ -4,111 +4,111 @@ # include "rgb_matrix.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 1, B_2, A_2, C_2 }, - { 1, E_3, D_3, F_3 }, - { 1, E_4, D_4, F_4 }, - { 1, E_5, D_5, F_5 }, - { 1, E_6, D_6, F_6 }, - { 1, E_7, D_7, F_7 }, - { 1, E_8, D_8, F_8 }, - { 1, B_13, A_13, C_13 }, - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, B_7, A_7, C_7 }, - { 1, E_2, D_2, F_2 }, - { 1, H_3, G_3, I_3 }, - { 1, H_4, G_4, I_4 }, - { 1, H_5, G_5, I_5 }, - { 1, H_6, G_6, I_6 }, - { 1, H_7, G_7, I_7 }, - { 1, H_8, G_8, I_8 }, - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, K_11, J_11, L_11 }, - { 0, H_6, G_6, I_6 }, - { 0, E_7, D_7, F_7 }, - { 1, H_2, G_2, I_2 }, - { 1, K_3, J_3, L_3 }, - { 1, K_4, J_4, L_4 }, - { 1, K_5, J_5, L_5 }, - { 1, K_6, J_6, L_6 }, - { 1, K_7, J_7, L_7 }, - { 1, K_8, J_8, L_8 }, - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, H_7, G_7, I_7 }, - { 1, K_2, J_2, L_2 }, - { 1, E_9, D_9, F_9 }, - { 1, B_9, A_9, C_9 }, - { 1, K_9, J_9, L_9 }, - { 1, H_9, G_9, I_9 }, - { 1, K_12, J_12, L_12 }, - { 1, K_13, J_13, L_13 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, B_11, A_11, C_11 }, - { 0, E_11, D_11, F_11 }, - { 0, K_7, J_7, L_7 }, - { 1, H_10, G_10, I_10 }, - { 1, E_10, D_10, F_10 }, - { 1, B_10, A_10, C_10 }, - { 1, H_12, G_12, I_12 }, - { 0, E_10, D_10, F_10 }, - { 0, B_10, A_10, C_10 }, - { 0, B_12, A_12, C_12 }, - { 0, H_12, G_12, I_12 }, - { 0, E_12, D_12, F_12 }, - { 1, K_11, J_11, L_11 }, - { 1, H_11, G_11, I_11 }, - { 1, E_11, D_11, F_11 }, - { 1, B_11, A_11, C_11 }, - { 1, B_12, A_12, C_12 }, - { 1, E_12, D_12, F_12 }, - { 1, E_13, D_13, F_13 }, - { 1, H_13, G_13, I_13 }, - { 0, H_9, G_9, I_9 }, - { 0, E_9, D_9, F_9 }, - { 0, B_9, A_9, C_9 }, - { 0, B_13, A_13, C_13 }, - { 0, H_13, G_13, I_13 }, - { 0, E_13, D_13, F_13 }, - { 0, K_13, J_13, L_13 }, - { 0, K_12, J_12, L_12 }, - { 0, K_8, J_8, L_8 }, - { 0, H_8, G_8, I_8 }, - { 0, E_8, D_8, F_8 }, - { 0, B_8, A_8, C_8 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 }, - { 0, B_14, A_14, C_14 }, - { 1, B_8, A_8, C_8 }, - { 1, B_7, A_7, C_7 }, - { 1, B_6, A_6, C_6 }, - { 1, B_5, A_5, C_5 }, - { 1, B_4, A_4, C_4 }, - { 1, B_3, A_3, C_3 }, - { 1, B_1, A_1, C_1 }, - { 1, E_1, D_1, F_1 }, - { 1, H_1, G_1, I_1 }, - { 1, K_1, J_1, L_1 }, - { 1, K_10, J_10, L_10 }, + { 1, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 1, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 1, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 1, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 1, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 1, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 1, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 1, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 1, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 1, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 1, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 1, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 1, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 1, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 1, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 1, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 1, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 1, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 1, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 1, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 1, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 1, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 1, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 1, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 1, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 1, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 1, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 1, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 1, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 1, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 1, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 1, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 1, SW11_CS10, SW10_CS10, SW12_CS10 }, }; #endif diff --git a/keyboards/drop/cstm65/cstm65.c b/keyboards/drop/cstm65/cstm65.c index 1c8e6bb0bbc..dff7008f593 100644 --- a/keyboards/drop/cstm65/cstm65.c +++ b/keyboards/drop/cstm65/cstm65.c @@ -4,76 +4,76 @@ # include "rgb_matrix.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - { 0, B_15, A_15, C_15 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - { 0, E_15, D_15, F_15 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, - { 1, B_1, A_1, C_1 }, - { 1, B_2, A_2, C_2 }, - { 1, B_3, A_3, C_3 }, - { 1, B_4, A_4, C_4 }, - { 1, B_5, A_5, C_5 }, - { 1, B_6, A_6, C_6 }, - { 1, B_7, A_7, C_7 }, - { 1, B_8, A_8, C_8 }, - { 1, B_9, A_9, C_9 }, - { 1, B_10, A_10, C_10 }, - { 1, B_11, A_11, C_11 }, - { 1, B_12, A_12, C_12 }, - { 1, B_13, A_13, C_13 }, - { 1, B_14, A_14, C_14 }, + { 1, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 1, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 1, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 1, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 1, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 1, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 1, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 1, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 1, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 1, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 1, SW2_CS14, SW1_CS14, SW3_CS14 }, - { 1, E_1, D_1, F_1 }, - { 1, E_2, D_2, F_2 }, - { 1, E_3, D_3, F_3 }, - { 1, E_4, D_4, F_4 }, - { 1, E_5, D_5, F_5 }, - { 1, E_6, D_6, F_6 }, - { 1, E_7, D_7, F_7 }, - { 1, E_8, D_8, F_8 }, - { 1, E_9, D_9, F_9 }, - { 1, E_10, D_10, F_10 }, - { 1, E_11, D_11, F_11 }, - { 1, E_12, D_12, F_12 }, - { 1, E_13, D_13, F_13 }, - { 1, E_14, D_14, F_14 }, + { 1, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 1, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 1, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 1, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 1, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 1, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 1, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 1, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 1, SW5_CS14, SW4_CS14, SW6_CS14 }, - { 1, H_1, G_1, I_1 }, - { 1, H_2, G_2, I_2 }, - { 1, H_3, G_3, I_3 }, - { 1, H_4, G_4, I_4 }, - { 1, H_5, G_5, I_5 }, - { 1, H_8, G_8, I_8 }, - { 1, H_9, G_9, I_9 }, - { 1, H_10, G_10, I_10 }, - { 1, H_11, G_11, I_11 }, + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 1, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 1, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 1, SW8_CS11, SW7_CS11, SW9_CS11 }, }; #endif diff --git a/keyboards/drop/cstm80/cstm80.c b/keyboards/drop/cstm80/cstm80.c index e99c7801e58..6350f3a32d6 100644 --- a/keyboards/drop/cstm80/cstm80.c +++ b/keyboards/drop/cstm80/cstm80.c @@ -4,93 +4,93 @@ # include "rgb_matrix.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - { 0, E_15, D_15, F_15 }, - { 0, E_16, D_16, F_16 }, - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_13, G_13, I_13 }, - { 0, H_14, G_14, I_14 }, - { 0, H_15, G_15, I_15 }, - { 0, H_16, G_16, I_16 }, - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_11, J_11, L_11 }, - { 0, K_12, J_12, L_12 }, - { 0, K_13, J_13, L_13 }, - { 0, K_14, J_14, L_14 }, - { 0, K_15, J_15, L_15 }, - { 0, K_16, J_16, L_16 }, - { 1, B_1, A_1, C_1 }, - { 1, B_2, A_2, C_2 }, - { 1, B_3, A_3, C_3 }, - { 1, B_4, A_4, C_4 }, - { 1, B_5, A_5, C_5 }, - { 1, B_6, A_6, C_6 }, - { 1, B_7, A_7, C_7 }, - { 1, B_8, A_8, C_8 }, - { 1, B_9, A_9, C_9 }, - { 1, B_10, A_10, C_10 }, - { 1, B_11, A_11, C_11 }, - { 1, B_12, A_12, C_12 }, - { 1, B_13, A_13, C_13 }, - { 1, B_14, A_14, C_14 }, - { 1, B_15, A_15, C_15 }, - { 1, B_16, A_16, C_16 }, - { 1, E_1, D_1, F_1 }, - { 1, E_2, D_2, F_2 }, - { 1, E_3, D_3, F_3 }, - { 1, E_4, D_4, F_4 }, - { 1, E_5, D_5, F_5 }, - { 1, E_6, D_6, F_6 }, - { 1, E_7, D_7, F_7 }, - { 1, E_8, D_8, F_8 }, - { 1, E_9, D_9, F_9 }, - { 1, E_10, D_10, F_10 }, - { 1, E_11, D_11, F_11 }, - { 1, E_12, D_12, F_12 }, - { 1, E_13, D_13, F_13 }, - { 1, H_1, G_1, I_1 }, - { 1, H_2, G_2, I_2 }, - { 1, H_3, G_3, I_3 }, - { 1, H_4, G_4, I_4 }, - { 1, H_5, G_5, I_5 }, - { 1, H_6, G_6, I_6 }, - { 1, H_7, G_7, I_7 }, - { 1, H_8, G_8, I_8 }, - { 1, H_9, G_9, I_9 }, - { 1, H_10, G_10, I_10 }, - { 1, H_11, G_11, I_11 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 1, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 1, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 1, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 1, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 1, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 1, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 1, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 1, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 1, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 1, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 1, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 1, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 1, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 1, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 1, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 1, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 1, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 1, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 1, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 1, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 1, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 1, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 1, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 1, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 1, SW8_CS11, SW7_CS11, SW9_CS11 }, }; #endif diff --git a/keyboards/drop/ctrl/v2/v2.c b/keyboards/drop/ctrl/v2/v2.c index 0c1d8210c63..81689dc78af 100644 --- a/keyboards/drop/ctrl/v2/v2.c +++ b/keyboards/drop/ctrl/v2/v2.c @@ -4,125 +4,125 @@ # include "rgb_matrix.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 1, B_2, A_2, C_2 }, - { 1, E_3, D_3, F_3 }, - { 1, E_4, D_4, F_4 }, - { 1, E_5, D_5, F_5 }, - { 1, B_6, A_6, C_6 }, - { 1, E_7, D_7, F_7 }, - { 1, E_8, D_8, F_8 }, - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 1, H_1, G_1, I_1 }, - { 1, H_2, G_2, I_2 }, - { 1, H_3, G_3, I_3 }, - { 1, H_4, G_4, I_4 }, - { 1, H_5, G_5, I_5 }, - { 1, H_6, G_6, I_6 }, - { 1, H_7, G_7, I_7 }, - { 1, H_8, G_8, I_8 }, - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 1, K_1, J_1, L_1 }, - { 1, K_2, J_2, L_2 }, - { 1, K_3, J_3, L_3 }, - { 1, K_4, J_4, L_4 }, - { 1, K_5, J_5, L_5 }, - { 1, K_6, J_6, L_6 }, - { 1, K_7, J_7, L_7 }, - { 1, K_8, J_8, L_8 }, - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 1, E_1, D_1, F_1 }, - { 1, E_2, D_2, F_2 }, - { 1, K_13, J_13, L_13 }, - { 1, K_12, J_12, L_12 }, - { 1, K_11, J_11, L_11 }, - { 1, E_6, D_6, F_6 }, - { 1, K_10, J_10, L_10 }, - { 1, K_9, J_9, L_9 }, - { 0, K_16, J_16, L_16 }, - { 0, K_15, J_15, L_15 }, - { 0, K_14, J_14, L_14 }, - { 0, K_13, J_13, L_13 }, - { 0, K_12, J_12, L_12 }, - { 1, E_14, D_14, F_14 }, - { 1, E_13, D_13, F_13 }, - { 1, H_12, G_12, I_12 }, - { 1, E_12, D_12, F_12 }, - { 1, E_11, D_11, F_11 }, - { 1, E_10, D_10, F_10 }, - { 1, E_9, D_9, F_9 }, - { 1, H_9, G_9, I_9 }, - { 0, H_16, G_16, I_16 }, - { 0, H_15, G_15, I_15 }, - { 0, H_14, G_14, I_14 }, - { 0, H_13, G_13, I_13 }, - { 0, H_11, G_11, I_11 }, - { 1, K_14, J_14, L_14 }, - { 1, H_14, G_14, I_14 }, - { 1, H_13, G_13, I_13 }, - { 1, H_10, G_10, I_10 }, - { 0, E_16, D_16, F_16 }, - { 0, E_15, D_15, F_15 }, - { 0, E_14, D_14, F_14 }, - { 0, E_13, D_13, F_13 }, - { 0, H_12, G_12, I_12 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - { 0, B_15, A_15, C_15 }, - { 0, B_16, A_16, C_16 }, - { 1, B_9, A_9, C_9 }, - { 1, B_10, A_10, C_10 }, - { 1, B_11, A_11, C_11 }, - { 1, B_12, A_12, C_12 }, - { 1, B_13, A_13, C_13 }, - { 1, B_14, A_14, C_14 }, - { 1, B_15, A_15, C_15 }, - { 1, K_15, J_15, L_15 }, - { 1, E_15, D_15, F_15 }, - { 1, H_15, G_15, I_15 }, - { 1, B_1, A_1, C_1 }, - { 1, B_3, A_3, C_3 }, - { 1, B_4, A_4, C_4 }, - { 1, B_5, A_5, C_5 }, - { 1, B_7, A_7, C_7 }, - { 1, B_8, A_8, C_8 }, - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_8, A_8, C_8 }, - { 0, B_10, A_10, C_10 }, - { 0, H_10, G_10, I_10 }, - { 0, K_10, J_10, L_10 }, - { 0, E_10, D_10, F_10 }, + { 1, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 1, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 1, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 1, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 1, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 1, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 1, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 1, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 1, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 1, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 1, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 1, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 1, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 1, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 1, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 1, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 1, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 1, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 1, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 1, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 1, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 1, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 1, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 1, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 1, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 1, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 1, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 1, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 1, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 1, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 1, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 1, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 1, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 1, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 1, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 1, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 1, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 1, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 1, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 1, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 1, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 1, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 1, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 1, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, }; #endif diff --git a/keyboards/drop/sense75/sense75.c b/keyboards/drop/sense75/sense75.c index bbe5a3aa471..1130cf12790 100644 --- a/keyboards/drop/sense75/sense75.c +++ b/keyboards/drop/sense75/sense75.c @@ -5,131 +5,131 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { // top underglow sd2-sd17 - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - { 0, B_16, A_16, C_16 }, - { 1, B_12, A_12, C_12 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 1, SW2_CS12, SW1_CS12, SW3_CS12 }, // sd1 + function + sd18 - { 0, B_1, A_1, C_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - { 0, E_15, D_15, F_15 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, // - { 1, B_13, A_13, C_13 }, + { 1, SW2_CS13, SW1_CS13, SW3_CS13 }, // sd45 + num + sd20 - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_13, G_13, I_13 }, - { 0, H_14, G_14, I_14 }, - { 0, H_15, G_15, I_15 }, - { 0, H_16, G_16, I_16 }, - { 1, B_15, A_15, C_15 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 1, SW2_CS15, SW1_CS15, SW3_CS15 }, // 44+ qwer 21 - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_11, J_11, L_11 }, - { 0, K_12, J_12, L_12 }, - { 0, K_13, J_13, L_13 }, - { 0, K_14, J_14, L_14 }, - { 0, K_15, J_15, L_15 }, - { 0, K_16, J_16, L_16 }, - { 1, B_16, A_16, C_16 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 1, SW2_CS16, SW1_CS16, SW3_CS16 }, // asdf - { 1, B_2, A_2, C_2 }, - { 1, B_3, A_3, C_3 }, - { 1, B_4, A_4, C_4 }, - { 1, B_5, A_5, C_5 }, - { 1, B_6, A_6, C_6 }, - { 1, B_7, A_7, C_7 }, - { 1, B_8, A_8, C_8 }, - { 1, B_9, A_9, C_9 }, - { 1, B_10, A_10, C_10 }, - { 1, B_11, A_11, C_11 }, - { 1, E_12, D_12, F_12 }, - { 1, E_13, D_13, F_13 }, - { 1, E_14, D_14, F_14 }, - { 1, H_15, G_15, I_15 }, + { 1, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 1, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 1, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 1, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 1, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 1, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 1, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 1, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 1, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 1, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 1, SW8_CS15, SW7_CS15, SW9_CS15 }, // 43 + zxcv + 22 - { 1, B_1, A_1, C_1 }, - { 1, E_2, D_2, F_2 }, - { 1, E_3, D_3, F_3 }, - { 1, E_4, D_4, F_4 }, - { 1, E_5, D_5, F_5 }, - { 1, E_6, D_6, F_6 }, - { 1, E_7, D_7, F_7 }, - { 1, E_8, D_8, F_8 }, - { 1, E_9, D_9, F_9 }, - { 1, E_10, D_10, F_10 }, - { 1, E_11, D_11, F_11 }, - { 1, H_12, G_12, I_12 }, - { 1, H_13, G_13, I_13 }, - { 1, H_14, G_14, I_14 }, - { 1, E_15, D_15, F_15 }, + { 1, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 1, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 1, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 1, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 1, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 1, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 1, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 1, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 1, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 1, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 1, SW5_CS15, SW4_CS15, SW6_CS15 }, // 41 + mods + 23 - { 1, H_1, G_1, I_1 }, - { 1, H_2, G_2, I_2 }, - { 1, H_3, G_3, I_3 }, - { 1, H_4, G_4, I_4 }, - { 1, H_5, G_5, I_5 }, - { 1, H_6, G_6, I_6 }, - { 1, H_7, G_7, I_7 }, - { 1, H_8, G_8, I_8 }, - { 1, H_9, G_9, I_9 }, - { 1, H_10, G_10, I_10 }, - { 1, H_11, G_11, I_11 }, - { 1, E_16, D_16, F_16 }, + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 1, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 1, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 1, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 1, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 1, SW5_CS16, SW4_CS16, SW6_CS16 }, // bottom underglow 24 - 39 - { 1, K_2, J_2, L_2 }, - { 1, K_3, J_3, L_3 }, - { 1, K_4, J_4, L_4 }, - { 1, K_6, J_6, L_6 }, - { 1, K_10, J_10, L_10 }, - { 1, K_13, J_13, L_13 }, - { 1, K_15, J_15, L_15 }, - { 1, H_16, G_16, I_16 } + { 1, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 1, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 1, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 1, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 1, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 1, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 1, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 1, SW8_CS16, SW7_CS16, SW9_CS16 } }; #endif diff --git a/keyboards/drop/shift/v2/v2.c b/keyboards/drop/shift/v2/v2.c index cbfbeda4294..4715d7b81b5 100644 --- a/keyboards/drop/shift/v2/v2.c +++ b/keyboards/drop/shift/v2/v2.c @@ -5,172 +5,172 @@ # include "rgb_matrix.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, K_1, J_1, L_1 },// LED1 - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 },// LED9 - { 1, K_1, J_1, L_1 },// LED10 - { 1, K_2, J_2, L_2 },// LED11 - { 1, K_3, J_3, L_3 },// LED12 - { 1, K_4, J_4, L_4 },// LED13 - { 1, K_9, J_9, L_9 },// LED18 - { 1, K_5, J_5, L_5 },// LED15 - { 1, K_6, J_6, L_6 },// LED19 - { 1, K_7, J_7, L_7 },// LED16 - { 1, K_8, J_8, L_8 },// LED20 - { 0, H_1, G_1, I_1 },//start2 - { 0, H_11, G_11, I_11 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 1, E_1, D_1, F_1 }, - { 1, E_2, D_2, F_2 }, - { 1, E_4, D_4, F_4 }, - { 1, E_5, D_5, F_5 }, - { 1, E_6, D_6, F_6 }, - { 1, E_7, D_7, F_7 }, - { 1, E_8, D_8, F_8 }, - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 1, B_1, A_1, C_1 }, - { 1, B_2, A_2, C_2 }, - { 1, B_3, A_3, C_3 }, - { 1, B_4, A_4, C_4 }, - { 1, B_5, A_5, C_5 }, - { 1, B_6, A_6, C_6 }, - { 1, B_7, A_7, C_7 }, - { 1, B_8, A_8, C_8 }, - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 1, B_9, A_9, C_9 }, - { 1, B_10, A_10, C_10 }, - { 1, B_11, A_11, C_11 }, - { 1, B_13, A_13, C_13 }, - { 1, B_14, A_14, C_14 }, - { 1, B_15, A_15, C_15 }, - { 1, B_16, A_16, C_16 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, H_13, G_13, I_13 }, - { 0, H_14, G_14, I_14 }, - { 0, B_14, A_14, C_14 }, - { 0, E_15, D_15, F_15 }, - { 0, B_15, A_15, C_15 }, - { 0, B_16, A_16, C_16 }, - { 1, E_9, D_9, F_9 }, - { 1, E_10, D_10, F_10 }, - { 1, E_11, D_11, F_11 }, - { 1, E_12, D_12, F_12 }, - { 1, E_13, D_13, F_13 }, - { 1, E_14, D_14, F_14 }, - { 1, E_15, D_15, F_15 }, - { 1, H_16, G_16, I_16 }, - { 0, E_11, D_11, F_11 },//start6 - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - { 1, H_9, G_9, I_9 }, - { 1, H_10, G_10, I_10 }, - { 1, H_11, G_11, I_11 }, - { 1, H_12, G_12, I_12 }, - { 1, H_13, G_13, I_13 }, - { 1, H_14, G_14, I_14 }, - { 1, H_15, G_15, I_15 }, - { 2, H_1, G_1, I_1 },//start underglow - { 2, K_1, J_1, L_1 }, - { 2, B_1, A_1, C_1 }, - { 2, E_1, D_1, F_1 }, - { 2, E_2, D_2, F_2 }, - { 2, B_2, A_2, C_2 }, - { 2, B_3, A_3, C_3 }, - { 2, E_3, D_3, F_3 }, - { 2, E_4, D_4, F_4 }, - { 2, B_4, A_4, C_4 }, - { 2, B_5, A_5, C_5 }, - { 2, E_5, D_5, F_5 }, - { 2, E_6, D_6, F_6 }, - { 2, B_6, A_6, C_6 }, - { 2, B_7, A_7, C_7 }, - { 2, E_7, D_7, F_7 }, - { 2, E_8, D_8, F_8 }, - { 2, B_8, A_8, C_8 }, - { 2, B_9, A_9, C_9 }, - { 2, E_9, D_9, F_9 }, - { 2, E_10, D_10, F_10 }, - { 2, B_10, A_10, C_10 }, - { 2, B_11, A_11, C_11 },//125 - { 2, E_11, D_11, F_11 }, - { 2, E_12, D_12, F_12 }, - { 2, B_12, A_12, C_12 }, - { 2, B_13, A_13, C_13 }, - { 2, E_13, D_13, F_13 }, - { 2, E_14, D_14, F_14 }, - { 2, B_14, A_14, C_14 }, - { 2, B_15, A_15, C_15 }, - { 2, E_15, D_15, F_15 }, - { 2, E_16, D_16, F_16 }, - { 2, B_16, A_16, C_16 }, - { 2, H_16, G_16, I_16 }, - { 2, K_16, J_16, L_16 }, - { 2, K_15, J_15, L_15 }, - { 2, H_15, G_15, I_15 }, - { 2, H_14, G_14, I_14 }, - { 2, K_14, J_14, L_14 }, - { 2, K_13, J_13, L_13 }, - { 2, H_13, G_13, I_13 }, - { 2, H_12, G_12, I_12 }, - { 2, K_12, J_12, L_12 }, - { 2, K_11, J_11, L_11 }, - { 2, H_11, G_11, I_11 }, - { 2, H_10, G_10, I_10 }, - { 2, K_10, J_10, L_10 }, - { 2, K_9, J_9, L_9 }, - { 2, H_9, G_9, I_9 }, - { 2, H_8, G_8, I_8 }, - { 2, K_8, J_8, L_8 }, - { 2, K_7, J_7, L_7 }, - { 2, H_7, G_7, I_7 }, - { 2, H_6, G_6, I_6 }, - { 2, K_6, J_6, L_6 }, - { 2, K_5, J_5, L_5 }, - { 2, H_5, G_5, I_5 }, - { 2, H_4, G_4, I_4 }, - { 2, K_4, J_4, L_4 }, - { 2, K_3, J_3, L_3 }, - { 2, H_3, G_3, I_3 }, - { 2, H_2, G_2, I_2 }, - { 2, K_2, J_2, L_2 }, - { 1, K_10, J_10, L_10 }, - { 1, K_11, J_11, L_11 }, - { 1, E_3, D_3, F_3 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 },// LED1 + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 },// LED9 + { 1, SW11_CS1, SW10_CS1, SW12_CS1 },// LED10 + { 1, SW11_CS2, SW10_CS2, SW12_CS2 },// LED11 + { 1, SW11_CS3, SW10_CS3, SW12_CS3 },// LED12 + { 1, SW11_CS4, SW10_CS4, SW12_CS4 },// LED13 + { 1, SW11_CS9, SW10_CS9, SW12_CS9 },// LED18 + { 1, SW11_CS5, SW10_CS5, SW12_CS5 },// LED15 + { 1, SW11_CS6, SW10_CS6, SW12_CS6 },// LED19 + { 1, SW11_CS7, SW10_CS7, SW12_CS7 },// LED16 + { 1, SW11_CS8, SW10_CS8, SW12_CS8 },// LED20 + { 0, SW8_CS1, SW7_CS1, SW9_CS1 },//start2 + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 1, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 1, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 1, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 1, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 1, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 1, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 1, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 1, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 1, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 1, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 1, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 1, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 1, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 1, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 1, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 1, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 1, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 1, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 1, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 1, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 },//start6 + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 1, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 1, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 1, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 1, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 1, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 1, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 1, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 2, SW8_CS1, SW7_CS1, SW9_CS1 },//start underglow + { 2, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 2, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 2, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 2, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 2, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 2, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 2, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 2, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 2, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 2, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 2, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 2, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 2, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 2, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 2, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 2, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 2, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 2, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 2, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 2, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 2, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 2, SW2_CS11, SW1_CS11, SW3_CS11 },//125 + { 2, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 2, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 2, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 2, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 2, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 2, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 2, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 2, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 2, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 2, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 2, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 2, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 2, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 2, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 2, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 2, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 2, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 2, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 2, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 2, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 2, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 2, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 2, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 2, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 2, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 2, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 2, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 2, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 2, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 2, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 2, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 2, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 2, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 2, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 2, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 2, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 2, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 2, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 2, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 2, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 2, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 1, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 1, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 1, SW5_CS3, SW4_CS3, SW6_CS3 }, }; bool rgb_matrix_indicators_kb(void) { diff --git a/keyboards/durgod/dgk6x/galaxy/galaxy.c b/keyboards/durgod/dgk6x/galaxy/galaxy.c index cd1f10c4f99..1cf2d712558 100644 --- a/keyboards/durgod/dgk6x/galaxy/galaxy.c +++ b/keyboards/durgod/dgk6x/galaxy/galaxy.c @@ -26,95 +26,95 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | | B location * | | | | */ - {0, C_1, B_1, A_1}, // Esc - {0, C_2, B_2, A_2}, // F1 - {0, C_3, B_3, A_3}, // F2 - {0, C_4, B_4, A_4}, // F3 - {0, C_5, B_5, A_5}, // F4 - {0, C_6, B_6, A_6}, // F5 - {0, C_7, B_7, A_7}, // F6 - {0, C_8, B_8, A_8}, // F7 - {0, C_9, B_9, A_9}, // F8 - {0, C_10, B_10, A_10}, // F9 - {0, C_11, B_11, A_11}, // F10 - {0, C_12, B_12, A_12}, // F11 - {0, C_13, B_13, A_13}, // F12 - {0, C_14, B_14, A_14}, // PrtSc - {0, C_15, B_15, A_15}, // Pause - {0, C_16, B_16, A_16}, // Del + {0, SW3_CS1, SW2_CS1, SW1_CS1}, // Esc + {0, SW3_CS2, SW2_CS2, SW1_CS2}, // F1 + {0, SW3_CS3, SW2_CS3, SW1_CS3}, // F2 + {0, SW3_CS4, SW2_CS4, SW1_CS4}, // F3 + {0, SW3_CS5, SW2_CS5, SW1_CS5}, // F4 + {0, SW3_CS6, SW2_CS6, SW1_CS6}, // F5 + {0, SW3_CS7, SW2_CS7, SW1_CS7}, // F6 + {0, SW3_CS8, SW2_CS8, SW1_CS8}, // F7 + {0, SW3_CS9, SW2_CS9, SW1_CS9}, // F8 + {0, SW3_CS10, SW2_CS10, SW1_CS10}, // F9 + {0, SW3_CS11, SW2_CS11, SW1_CS11}, // F10 + {0, SW3_CS12, SW2_CS12, SW1_CS12}, // F11 + {0, SW3_CS13, SW2_CS13, SW1_CS13}, // F12 + {0, SW3_CS14, SW2_CS14, SW1_CS14}, // PrtSc + {0, SW3_CS15, SW2_CS15, SW1_CS15}, // Pause + {0, SW3_CS16, SW2_CS16, SW1_CS16}, // Del - {0, F_1, E_1, D_1}, // ` - {0, F_2, E_2, D_2}, // 1 - {0, F_3, E_3, D_3}, // 2 - {0, F_4, E_4, D_4}, // 3 - {0, F_5, E_5, D_5}, // 4 - {0, F_6, E_6, D_6}, // 5 - {0, F_7, E_7, D_7}, // 6 - {0, F_8, E_8, D_8}, // 7 - {0, F_9, E_9, D_9}, // 8 - {0, F_10, E_10, D_10}, // 9 - {0, F_11, E_11, D_11}, // 0 - {0, F_12, E_12, D_12}, // - - {0, F_13, E_13, D_13}, // = - {0, F_14, E_14, D_14}, // Bksp - {0, F_15, E_15, D_15}, // Home + {0, SW6_CS1, SW5_CS1, SW4_CS1}, // ` + {0, SW6_CS2, SW5_CS2, SW4_CS2}, // 1 + {0, SW6_CS3, SW5_CS3, SW4_CS3}, // 2 + {0, SW6_CS4, SW5_CS4, SW4_CS4}, // 3 + {0, SW6_CS5, SW5_CS5, SW4_CS5}, // 4 + {0, SW6_CS6, SW5_CS6, SW4_CS6}, // 5 + {0, SW6_CS7, SW5_CS7, SW4_CS7}, // 6 + {0, SW6_CS8, SW5_CS8, SW4_CS8}, // 7 + {0, SW6_CS9, SW5_CS9, SW4_CS9}, // 8 + {0, SW6_CS10, SW5_CS10, SW4_CS10}, // 9 + {0, SW6_CS11, SW5_CS11, SW4_CS11}, // 0 + {0, SW6_CS12, SW5_CS12, SW4_CS12}, // - + {0, SW6_CS13, SW5_CS13, SW4_CS13}, // = + {0, SW6_CS14, SW5_CS14, SW4_CS14}, // Bksp + {0, SW6_CS15, SW5_CS15, SW4_CS15}, // Home - {0, I_1, H_1, G_1}, // Tab - {0, I_2, H_2, G_2}, // Q - {0, I_3, H_3, G_3}, // W - {0, I_4, H_4, G_4}, // E - {0, I_5, H_5, G_5}, // R - {0, I_6, H_6, G_6}, // T - {0, I_7, H_7, G_7}, // Y - {0, I_8, H_8, G_8}, // U - {0, I_9, H_9, G_9}, // I - {0, I_10, H_10, G_10}, // O - {0, I_11, H_11, G_11}, // P - {0, I_12, H_12, G_12}, // [ - {0, I_13, H_13, G_13}, // ] - {0, I_14, H_14, G_14}, // Pipe - {0, I_15, H_15, G_15}, // End + {0, SW9_CS1, SW8_CS1, SW7_CS1}, // Tab + {0, SW9_CS2, SW8_CS2, SW7_CS2}, // Q + {0, SW9_CS3, SW8_CS3, SW7_CS3}, // W + {0, SW9_CS4, SW8_CS4, SW7_CS4}, // E + {0, SW9_CS5, SW8_CS5, SW7_CS5}, // R + {0, SW9_CS6, SW8_CS6, SW7_CS6}, // T + {0, SW9_CS7, SW8_CS7, SW7_CS7}, // Y + {0, SW9_CS8, SW8_CS8, SW7_CS8}, // U + {0, SW9_CS9, SW8_CS9, SW7_CS9}, // I + {0, SW9_CS10, SW8_CS10, SW7_CS10}, // O + {0, SW9_CS11, SW8_CS11, SW7_CS11}, // P + {0, SW9_CS12, SW8_CS12, SW7_CS12}, // [ + {0, SW9_CS13, SW8_CS13, SW7_CS13}, // ] + {0, SW9_CS14, SW8_CS14, SW7_CS14}, // Pipe + {0, SW9_CS15, SW8_CS15, SW7_CS15}, // End - {0, L_1, K_1, J_1}, // Caps - {0, L_2, K_2, J_2}, // A - {0, L_3, K_3, J_3}, // S - {0, L_4, K_4, J_4}, // D - {0, L_5, K_5, J_5}, // F - {0, L_6, K_6, J_6}, // G - {0, L_7, K_7, J_7}, // H - {0, L_8, K_8, J_8}, // J - {0, L_9, K_9, J_9}, // K - {0, L_10, K_10, J_10}, // L - {0, L_11, K_11, J_11}, // : - {0, L_12, K_12, J_12}, // ' - {0, L_14, K_14, J_14}, // Enter - {0, L_15, K_15, J_15}, // PgUp + {0, SW12_CS1, SW11_CS1, SW10_CS1}, // Caps + {0, SW12_CS2, SW11_CS2, SW10_CS2}, // A + {0, SW12_CS3, SW11_CS3, SW10_CS3}, // S + {0, SW12_CS4, SW11_CS4, SW10_CS4}, // D + {0, SW12_CS5, SW11_CS5, SW10_CS5}, // F + {0, SW12_CS6, SW11_CS6, SW10_CS6}, // G + {0, SW12_CS7, SW11_CS7, SW10_CS7}, // H + {0, SW12_CS8, SW11_CS8, SW10_CS8}, // J + {0, SW12_CS9, SW11_CS9, SW10_CS9}, // K + {0, SW12_CS10, SW11_CS10, SW10_CS10}, // L + {0, SW12_CS11, SW11_CS11, SW10_CS11}, // : + {0, SW12_CS12, SW11_CS12, SW10_CS12}, // ' + {0, SW12_CS14, SW11_CS14, SW10_CS14}, // Enter + {0, SW12_CS15, SW11_CS15, SW10_CS15}, // PgUp - {1, C_1, B_1, A_1}, // LShift - {1, C_3, B_3, A_3}, // Z - {1, C_4, B_4, A_4}, // X - {1, C_5, B_5, A_5}, // C - {1, C_6, B_6, A_6}, // V - {1, C_7, B_7, A_7}, // B - {1, C_8, B_8, A_8}, // N - {1, C_9, B_9, A_9}, // M - {1, C_10, B_10, A_10}, // < - {1, C_11, B_11, A_11}, // > - {1, C_12, B_12, A_12}, // ? - {1, C_13, B_13, A_13}, // RShift - {1, C_14, B_14, A_14}, // Up - {1, C_15, B_15, A_15}, // PgDn + {1, SW3_CS1, SW2_CS1, SW1_CS1}, // LShift + {1, SW3_CS3, SW2_CS3, SW1_CS3}, // Z + {1, SW3_CS4, SW2_CS4, SW1_CS4}, // X + {1, SW3_CS5, SW2_CS5, SW1_CS5}, // C + {1, SW3_CS6, SW2_CS6, SW1_CS6}, // V + {1, SW3_CS7, SW2_CS7, SW1_CS7}, // B + {1, SW3_CS8, SW2_CS8, SW1_CS8}, // N + {1, SW3_CS9, SW2_CS9, SW1_CS9}, // M + {1, SW3_CS10, SW2_CS10, SW1_CS10}, // < + {1, SW3_CS11, SW2_CS11, SW1_CS11}, // > + {1, SW3_CS12, SW2_CS12, SW1_CS12}, // ? + {1, SW3_CS13, SW2_CS13, SW1_CS13}, // RShift + {1, SW3_CS14, SW2_CS14, SW1_CS14}, // Up + {1, SW3_CS15, SW2_CS15, SW1_CS15}, // PgDn - {1, F_1, E_1, D_1}, // LCtrl - {1, F_2, E_2, D_2}, // LAlt - {1, F_3, E_3, D_3}, // LGUI - {1, F_7, E_7, D_7}, // Space - {1, F_10, E_10, D_10}, // RAlt - {1, F_11, E_11, D_11}, // Fn1 - {1, F_12, E_12, D_12}, // Fn2 - {1, F_13, E_13, D_13}, // Left - {1, F_14, E_14, D_14}, // Down - {1, F_15, E_15, D_15} // Right + {1, SW6_CS1, SW5_CS1, SW4_CS1}, // LCtrl + {1, SW6_CS2, SW5_CS2, SW4_CS2}, // LAlt + {1, SW6_CS3, SW5_CS3, SW4_CS3}, // LGUI + {1, SW6_CS7, SW5_CS7, SW4_CS7}, // Space + {1, SW6_CS10, SW5_CS10, SW4_CS10}, // RAlt + {1, SW6_CS11, SW5_CS11, SW4_CS11}, // Fn1 + {1, SW6_CS12, SW5_CS12, SW4_CS12}, // Fn2 + {1, SW6_CS13, SW5_CS13, SW4_CS13}, // Left + {1, SW6_CS14, SW5_CS14, SW4_CS14}, // Down + {1, SW6_CS15, SW5_CS15, SW4_CS15} // Right }; led_config_t g_led_config = {{ diff --git a/keyboards/durgod/dgk6x/hades_ansi/hades_ansi.c b/keyboards/durgod/dgk6x/hades_ansi/hades_ansi.c index 225a7c13ddf..e984c36d911 100644 --- a/keyboards/durgod/dgk6x/hades_ansi/hades_ansi.c +++ b/keyboards/durgod/dgk6x/hades_ansi/hades_ansi.c @@ -27,78 +27,78 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | | B location * | | | | */ - {0, C_1, B_1, A_1}, // Esc - {0, C_2, B_2, A_2}, // 1 - {0, C_3, B_3, A_3}, // 2 - {0, C_4, B_4, A_4}, // 3 - {0, C_5, B_5, A_5}, // 4 - {0, C_6, B_6, A_6}, // 5 - {0, C_7, B_7, A_7}, // 6 - {0, C_8, B_8, A_8}, // 7 - {0, C_9, B_9, A_9}, // 8 - {0, C_10, B_10, A_10}, // 9 - {0, C_11, B_11, A_11}, // 0 - {0, C_12, B_12, A_12}, // - - {0, C_13, B_13, A_13}, // = - {0, C_14, B_14, A_14}, // Bksp - {0, C_15, B_15, A_15}, // Del + {0, SW3_CS1, SW2_CS1, SW1_CS1}, // Esc + {0, SW3_CS2, SW2_CS2, SW1_CS2}, // 1 + {0, SW3_CS3, SW2_CS3, SW1_CS3}, // 2 + {0, SW3_CS4, SW2_CS4, SW1_CS4}, // 3 + {0, SW3_CS5, SW2_CS5, SW1_CS5}, // 4 + {0, SW3_CS6, SW2_CS6, SW1_CS6}, // 5 + {0, SW3_CS7, SW2_CS7, SW1_CS7}, // 6 + {0, SW3_CS8, SW2_CS8, SW1_CS8}, // 7 + {0, SW3_CS9, SW2_CS9, SW1_CS9}, // 8 + {0, SW3_CS10, SW2_CS10, SW1_CS10}, // 9 + {0, SW3_CS11, SW2_CS11, SW1_CS11}, // 0 + {0, SW3_CS12, SW2_CS12, SW1_CS12}, // - + {0, SW3_CS13, SW2_CS13, SW1_CS13}, // = + {0, SW3_CS14, SW2_CS14, SW1_CS14}, // Bksp + {0, SW3_CS15, SW2_CS15, SW1_CS15}, // Del - {0, F_1, E_1, D_1}, // Tab - {0, F_2, E_2, D_2}, // Q - {0, F_3, E_3, D_3}, // W - {0, F_4, E_4, D_4}, // E - {0, F_5, E_5, D_5}, // R - {0, F_6, E_6, D_6}, // T - {0, F_7, E_7, D_7}, // Y - {0, F_8, E_8, D_8}, // U - {0, F_9, E_9, D_9}, // I - {0, F_10, E_10, D_10}, // O - {0, F_11, E_11, D_11}, // P - {0, F_12, E_12, D_12}, // [ - {0, F_13, E_13, D_13}, // ] - {0, F_14, E_14, D_14}, // Pipe - {0, F_15, E_15, D_15}, // Home + {0, SW6_CS1, SW5_CS1, SW4_CS1}, // Tab + {0, SW6_CS2, SW5_CS2, SW4_CS2}, // Q + {0, SW6_CS3, SW5_CS3, SW4_CS3}, // W + {0, SW6_CS4, SW5_CS4, SW4_CS4}, // E + {0, SW6_CS5, SW5_CS5, SW4_CS5}, // R + {0, SW6_CS6, SW5_CS6, SW4_CS6}, // T + {0, SW6_CS7, SW5_CS7, SW4_CS7}, // Y + {0, SW6_CS8, SW5_CS8, SW4_CS8}, // U + {0, SW6_CS9, SW5_CS9, SW4_CS9}, // I + {0, SW6_CS10, SW5_CS10, SW4_CS10}, // O + {0, SW6_CS11, SW5_CS11, SW4_CS11}, // P + {0, SW6_CS12, SW5_CS12, SW4_CS12}, // [ + {0, SW6_CS13, SW5_CS13, SW4_CS13}, // ] + {0, SW6_CS14, SW5_CS14, SW4_CS14}, // Pipe + {0, SW6_CS15, SW5_CS15, SW4_CS15}, // Home - {0, I_1, H_1, G_1}, // Caps - {0, I_2, H_2, G_2}, // A - {0, I_3, H_3, G_3}, // S - {0, I_4, H_4, G_4}, // D - {0, I_5, H_5, G_5}, // F - {0, I_6, H_6, G_6}, // G - {0, I_7, H_7, G_7}, // H - {0, I_8, H_8, G_8}, // J - {0, I_9, H_9, G_9}, // K - {0, I_10, H_10, G_10}, // L - {0, I_11, H_11, G_11}, // : - {0, I_12, H_12, G_12}, // ' - {0, I_14, H_14, G_14}, // Enter - {0, I_15, H_15, G_15}, // PgUp + {0, SW9_CS1, SW8_CS1, SW7_CS1}, // Caps + {0, SW9_CS2, SW8_CS2, SW7_CS2}, // A + {0, SW9_CS3, SW8_CS3, SW7_CS3}, // S + {0, SW9_CS4, SW8_CS4, SW7_CS4}, // D + {0, SW9_CS5, SW8_CS5, SW7_CS5}, // F + {0, SW9_CS6, SW8_CS6, SW7_CS6}, // G + {0, SW9_CS7, SW8_CS7, SW7_CS7}, // H + {0, SW9_CS8, SW8_CS8, SW7_CS8}, // J + {0, SW9_CS9, SW8_CS9, SW7_CS9}, // K + {0, SW9_CS10, SW8_CS10, SW7_CS10}, // L + {0, SW9_CS11, SW8_CS11, SW7_CS11}, // : + {0, SW9_CS12, SW8_CS12, SW7_CS12}, // ' + {0, SW9_CS14, SW8_CS14, SW7_CS14}, // Enter + {0, SW9_CS15, SW8_CS15, SW7_CS15}, // PgUp - {0, L_1, K_1, J_1}, // LShift - {0, L_2, K_2, J_2}, // Z - {0, L_3, K_3, J_3}, // X - {0, L_4, K_4, J_4}, // C - {0, L_5, K_5, J_5}, // V - {0, L_6, K_6, J_6}, // B - {0, L_7, K_7, J_7}, // N - {0, L_8, K_8, J_8}, // M - {0, L_9, K_9, J_9}, // < - {0, L_10, K_10, J_10}, // > - {0, L_11, K_11, J_11}, // ? - {0, L_12, K_12, J_12}, // RShift - {0, L_14, K_14, J_14}, // Up - {0, L_15, K_15, J_15}, // PgOn + {0, SW12_CS1, SW11_CS1, SW10_CS1}, // LShift + {0, SW12_CS2, SW11_CS2, SW10_CS2}, // Z + {0, SW12_CS3, SW11_CS3, SW10_CS3}, // X + {0, SW12_CS4, SW11_CS4, SW10_CS4}, // C + {0, SW12_CS5, SW11_CS5, SW10_CS5}, // V + {0, SW12_CS6, SW11_CS6, SW10_CS6}, // B + {0, SW12_CS7, SW11_CS7, SW10_CS7}, // N + {0, SW12_CS8, SW11_CS8, SW10_CS8}, // M + {0, SW12_CS9, SW11_CS9, SW10_CS9}, // < + {0, SW12_CS10, SW11_CS10, SW10_CS10}, // > + {0, SW12_CS11, SW11_CS11, SW10_CS11}, // ? + {0, SW12_CS12, SW11_CS12, SW10_CS12}, // RShift + {0, SW12_CS14, SW11_CS14, SW10_CS14}, // Up + {0, SW12_CS15, SW11_CS15, SW10_CS15}, // PgOn - {1, C_1, B_1, A_1}, // LCtrl - {1, C_2, B_2, A_2}, // LAlt - {1, C_3, B_3, A_3}, // Windows - {1, C_6, B_6, A_6}, // Space - {1, C_10, B_10, A_10}, // Fn1/RAlt hades/venus - {1, C_11, B_11, A_11}, // Fn2/Fn1 - {1, C_12, B_12, A_12}, // RCtrl/Fn2 - {1, C_13, B_13, A_13}, // LEFT/RCtrl - {1, C_14, B_14, A_14}, // DOWN - {1, C_15, B_15, A_15} // RIGHT + {1, SW3_CS1, SW2_CS1, SW1_CS1}, // LCtrl + {1, SW3_CS2, SW2_CS2, SW1_CS2}, // LAlt + {1, SW3_CS3, SW2_CS3, SW1_CS3}, // Windows + {1, SW3_CS6, SW2_CS6, SW1_CS6}, // Space + {1, SW3_CS10, SW2_CS10, SW1_CS10}, // Fn1/RAlt hades/venus + {1, SW3_CS11, SW2_CS11, SW1_CS11}, // Fn2/Fn1 + {1, SW3_CS12, SW2_CS12, SW1_CS12}, // RCtrl/Fn2 + {1, SW3_CS13, SW2_CS13, SW1_CS13}, // LEFT/RCtrl + {1, SW3_CS14, SW2_CS14, SW1_CS14}, // DOWN + {1, SW3_CS15, SW2_CS15, SW1_CS15} // RIGHT }; led_config_t g_led_config = {{ diff --git a/keyboards/durgod/dgk6x/hades_iso/hades_iso.c b/keyboards/durgod/dgk6x/hades_iso/hades_iso.c index 6dd732c454b..5ccc60e841e 100644 --- a/keyboards/durgod/dgk6x/hades_iso/hades_iso.c +++ b/keyboards/durgod/dgk6x/hades_iso/hades_iso.c @@ -27,79 +27,79 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | | B location * | | | | */ - {0, C_1, B_1, A_1}, // Esc - {0, C_2, B_2, A_2}, // 1 - {0, C_3, B_3, A_3}, // 2 - {0, C_4, B_4, A_4}, // 3 - {0, C_5, B_5, A_5}, // 4 - {0, C_6, B_6, A_6}, // 5 - {0, C_7, B_7, A_7}, // 6 - {0, C_8, B_8, A_8}, // 7 - {0, C_9, B_9, A_9}, // 8 - {0, C_10, B_10, A_10}, // 9 - {0, C_11, B_11, A_11}, // 0 - {0, C_12, B_12, A_12}, // - - {0, C_13, B_13, A_13}, // = - {0, C_14, B_14, A_14}, // Bksp - {0, C_15, B_15, A_15}, // Del + {0, SW3_CS1, SW2_CS1, SW1_CS1}, // Esc + {0, SW3_CS2, SW2_CS2, SW1_CS2}, // 1 + {0, SW3_CS3, SW2_CS3, SW1_CS3}, // 2 + {0, SW3_CS4, SW2_CS4, SW1_CS4}, // 3 + {0, SW3_CS5, SW2_CS5, SW1_CS5}, // 4 + {0, SW3_CS6, SW2_CS6, SW1_CS6}, // 5 + {0, SW3_CS7, SW2_CS7, SW1_CS7}, // 6 + {0, SW3_CS8, SW2_CS8, SW1_CS8}, // 7 + {0, SW3_CS9, SW2_CS9, SW1_CS9}, // 8 + {0, SW3_CS10, SW2_CS10, SW1_CS10}, // 9 + {0, SW3_CS11, SW2_CS11, SW1_CS11}, // 0 + {0, SW3_CS12, SW2_CS12, SW1_CS12}, // - + {0, SW3_CS13, SW2_CS13, SW1_CS13}, // = + {0, SW3_CS14, SW2_CS14, SW1_CS14}, // Bksp + {0, SW3_CS15, SW2_CS15, SW1_CS15}, // Del - {0, F_1, E_1, D_1}, // Tab - {0, F_2, E_2, D_2}, // Q - {0, F_3, E_3, D_3}, // W - {0, F_4, E_4, D_4}, // E - {0, F_5, E_5, D_5}, // R - {0, F_6, E_6, D_6}, // T - {0, F_7, E_7, D_7}, // Y - {0, F_8, E_8, D_8}, // U - {0, F_9, E_9, D_9}, // I - {0, F_10, E_10, D_10}, // O - {0, F_11, E_11, D_11}, // P - {0, F_12, E_12, D_12}, // [ - {0, F_13, E_13, D_13}, // ] - {0, F_15, E_15, D_15}, // Home + {0, SW6_CS1, SW5_CS1, SW4_CS1}, // Tab + {0, SW6_CS2, SW5_CS2, SW4_CS2}, // Q + {0, SW6_CS3, SW5_CS3, SW4_CS3}, // W + {0, SW6_CS4, SW5_CS4, SW4_CS4}, // E + {0, SW6_CS5, SW5_CS5, SW4_CS5}, // R + {0, SW6_CS6, SW5_CS6, SW4_CS6}, // T + {0, SW6_CS7, SW5_CS7, SW4_CS7}, // Y + {0, SW6_CS8, SW5_CS8, SW4_CS8}, // U + {0, SW6_CS9, SW5_CS9, SW4_CS9}, // I + {0, SW6_CS10, SW5_CS10, SW4_CS10}, // O + {0, SW6_CS11, SW5_CS11, SW4_CS11}, // P + {0, SW6_CS12, SW5_CS12, SW4_CS12}, // [ + {0, SW6_CS13, SW5_CS13, SW4_CS13}, // ] + {0, SW6_CS15, SW5_CS15, SW4_CS15}, // Home - {0, I_1, H_1, G_1}, // Caps - {0, I_2, H_2, G_2}, // A - {0, I_3, H_3, G_3}, // S - {0, I_4, H_4, G_4}, // D - {0, I_5, H_5, G_5}, // F - {0, I_6, H_6, G_6}, // G - {0, I_7, H_7, G_7}, // H - {0, I_8, H_8, G_8}, // J - {0, I_9, H_9, G_9}, // K - {0, I_10, H_10, G_10}, // L - {0, I_11, H_11, G_11}, // : - {0, I_12, H_12, G_12}, // ' - {0, I_13, H_13, G_13}, // NUHS - {0, I_14, H_14, G_14}, // Enter - {0, I_15, H_15, G_15}, // PgUp + {0, SW9_CS1, SW8_CS1, SW7_CS1}, // Caps + {0, SW9_CS2, SW8_CS2, SW7_CS2}, // A + {0, SW9_CS3, SW8_CS3, SW7_CS3}, // S + {0, SW9_CS4, SW8_CS4, SW7_CS4}, // D + {0, SW9_CS5, SW8_CS5, SW7_CS5}, // F + {0, SW9_CS6, SW8_CS6, SW7_CS6}, // G + {0, SW9_CS7, SW8_CS7, SW7_CS7}, // H + {0, SW9_CS8, SW8_CS8, SW7_CS8}, // J + {0, SW9_CS9, SW8_CS9, SW7_CS9}, // K + {0, SW9_CS10, SW8_CS10, SW7_CS10}, // L + {0, SW9_CS11, SW8_CS11, SW7_CS11}, // : + {0, SW9_CS12, SW8_CS12, SW7_CS12}, // ' + {0, SW9_CS13, SW8_CS13, SW7_CS13}, // NUHS + {0, SW9_CS14, SW8_CS14, SW7_CS14}, // Enter + {0, SW9_CS15, SW8_CS15, SW7_CS15}, // PgUp - {0, L_1, K_1, J_1}, // LShift - {0, L_2, K_2, J_2}, // NUBS - {0, L_3, K_3, J_3}, // Z - {0, L_4, K_4, J_4}, // X - {0, L_5, K_5, J_5}, // C - {0, L_6, K_6, J_6}, // V - {0, L_7, K_7, J_7}, // B - {0, L_8, K_8, J_8}, // N - {0, L_9, K_9, J_9}, // M - {0, L_10, K_10, J_10}, // < - {0, L_11, K_11, J_11}, // > - {0, L_12, K_12, J_12}, // ? - {0, L_13, K_13, J_13}, // RShift - {0, L_14, K_14, J_14}, // Up - {0, L_15, K_15, J_15}, // PgOn + {0, SW12_CS1, SW11_CS1, SW10_CS1}, // LShift + {0, SW12_CS2, SW11_CS2, SW10_CS2}, // NUBS + {0, SW12_CS3, SW11_CS3, SW10_CS3}, // Z + {0, SW12_CS4, SW11_CS4, SW10_CS4}, // X + {0, SW12_CS5, SW11_CS5, SW10_CS5}, // C + {0, SW12_CS6, SW11_CS6, SW10_CS6}, // V + {0, SW12_CS7, SW11_CS7, SW10_CS7}, // B + {0, SW12_CS8, SW11_CS8, SW10_CS8}, // N + {0, SW12_CS9, SW11_CS9, SW10_CS9}, // M + {0, SW12_CS10, SW11_CS10, SW10_CS10}, // < + {0, SW12_CS11, SW11_CS11, SW10_CS11}, // > + {0, SW12_CS12, SW11_CS12, SW10_CS12}, // ? + {0, SW12_CS13, SW11_CS13, SW10_CS13}, // RShift + {0, SW12_CS14, SW11_CS14, SW10_CS14}, // Up + {0, SW12_CS15, SW11_CS15, SW10_CS15}, // PgOn - {1, C_1, B_1, A_1}, // LCtrl - {1, C_2, B_2, A_2}, // LAlt - {1, C_3, B_3, A_3}, // Windows - {1, C_6, B_6, A_6}, // Space - {1, C_10, B_10, A_10}, // Fn1/RAlt hades/venus - {1, C_11, B_11, A_11}, // Fn2/Fn1 - {1, C_12, B_12, A_12}, // RCtrl/Fn2 - {1, C_13, B_13, A_13}, // LEFT/RCtrl - {1, C_14, B_14, A_14}, // DOWN - {1, C_15, B_15, A_15} // RIGHT + {1, SW3_CS1, SW2_CS1, SW1_CS1}, // LCtrl + {1, SW3_CS2, SW2_CS2, SW1_CS2}, // LAlt + {1, SW3_CS3, SW2_CS3, SW1_CS3}, // Windows + {1, SW3_CS6, SW2_CS6, SW1_CS6}, // Space + {1, SW3_CS10, SW2_CS10, SW1_CS10}, // Fn1/RAlt hades/venus + {1, SW3_CS11, SW2_CS11, SW1_CS11}, // Fn2/Fn1 + {1, SW3_CS12, SW2_CS12, SW1_CS12}, // RCtrl/Fn2 + {1, SW3_CS13, SW2_CS13, SW1_CS13}, // LEFT/RCtrl + {1, SW3_CS14, SW2_CS14, SW1_CS14}, // DOWN + {1, SW3_CS15, SW2_CS15, SW1_CS15} // RIGHT }; #endif /* RGB_MATRIX_ENABLE */ diff --git a/keyboards/durgod/dgk6x/venus/venus.c b/keyboards/durgod/dgk6x/venus/venus.c index 9de5f2e63d5..9bde901374b 100644 --- a/keyboards/durgod/dgk6x/venus/venus.c +++ b/keyboards/durgod/dgk6x/venus/venus.c @@ -26,71 +26,71 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | | B location * | | | | */ - {0, C_1, B_1, A_1}, // Esc - {0, C_2, B_2, A_2}, // 1 - {0, C_3, B_3, A_3}, // 2 - {0, C_4, B_4, A_4}, // 3 - {0, C_5, B_5, A_5}, // 4 - {0, C_6, B_6, A_6}, // 5 - {0, C_7, B_7, A_7}, // 6 - {0, C_8, B_8, A_8}, // 7 - {0, C_9, B_9, A_9}, // 8 - {0, C_10, B_10, A_10}, // 9 - {0, C_11, B_11, A_11}, // 0 - {0, C_12, B_12, A_12}, // - - {0, C_13, B_13, A_13}, // = - {0, C_14, B_14, A_14}, // Bksp + {0, SW3_CS1, SW2_CS1, SW1_CS1}, // Esc + {0, SW3_CS2, SW2_CS2, SW1_CS2}, // 1 + {0, SW3_CS3, SW2_CS3, SW1_CS3}, // 2 + {0, SW3_CS4, SW2_CS4, SW1_CS4}, // 3 + {0, SW3_CS5, SW2_CS5, SW1_CS5}, // 4 + {0, SW3_CS6, SW2_CS6, SW1_CS6}, // 5 + {0, SW3_CS7, SW2_CS7, SW1_CS7}, // 6 + {0, SW3_CS8, SW2_CS8, SW1_CS8}, // 7 + {0, SW3_CS9, SW2_CS9, SW1_CS9}, // 8 + {0, SW3_CS10, SW2_CS10, SW1_CS10}, // 9 + {0, SW3_CS11, SW2_CS11, SW1_CS11}, // 0 + {0, SW3_CS12, SW2_CS12, SW1_CS12}, // - + {0, SW3_CS13, SW2_CS13, SW1_CS13}, // = + {0, SW3_CS14, SW2_CS14, SW1_CS14}, // Bksp - {0, F_1, E_1, D_1}, // Tab - {0, F_2, E_2, D_2}, // Q - {0, F_3, E_3, D_3}, // W - {0, F_4, E_4, D_4}, // E - {0, F_5, E_5, D_5}, // R - {0, F_6, E_6, D_6}, // T - {0, F_7, E_7, D_7}, // Y - {0, F_8, E_8, D_8}, // U - {0, F_9, E_9, D_9}, // I - {0, F_10, E_10, D_10}, // O - {0, F_11, E_11, D_11}, // P - {0, F_12, E_12, D_12}, // [ - {0, F_13, E_13, D_13}, // ] - {0, F_14, E_14, D_14}, // Pipe + {0, SW6_CS1, SW5_CS1, SW4_CS1}, // Tab + {0, SW6_CS2, SW5_CS2, SW4_CS2}, // Q + {0, SW6_CS3, SW5_CS3, SW4_CS3}, // W + {0, SW6_CS4, SW5_CS4, SW4_CS4}, // E + {0, SW6_CS5, SW5_CS5, SW4_CS5}, // R + {0, SW6_CS6, SW5_CS6, SW4_CS6}, // T + {0, SW6_CS7, SW5_CS7, SW4_CS7}, // Y + {0, SW6_CS8, SW5_CS8, SW4_CS8}, // U + {0, SW6_CS9, SW5_CS9, SW4_CS9}, // I + {0, SW6_CS10, SW5_CS10, SW4_CS10}, // O + {0, SW6_CS11, SW5_CS11, SW4_CS11}, // P + {0, SW6_CS12, SW5_CS12, SW4_CS12}, // [ + {0, SW6_CS13, SW5_CS13, SW4_CS13}, // ] + {0, SW6_CS14, SW5_CS14, SW4_CS14}, // Pipe - {0, I_1, H_1, G_1}, // Caps - {0, I_2, H_2, G_2}, // A - {0, I_3, H_3, G_3}, // S - {0, I_4, H_4, G_4}, // D - {0, I_5, H_5, G_5}, // F - {0, I_6, H_6, G_6}, // G - {0, I_7, H_7, G_7}, // H - {0, I_8, H_8, G_8}, // J - {0, I_9, H_9, G_9}, // K - {0, I_10, H_10, G_10}, // L - {0, I_11, H_11, G_11}, // : - {0, I_12, H_12, G_12}, // ' - {0, I_14, H_14, G_14}, // Enter + {0, SW9_CS1, SW8_CS1, SW7_CS1}, // Caps + {0, SW9_CS2, SW8_CS2, SW7_CS2}, // A + {0, SW9_CS3, SW8_CS3, SW7_CS3}, // S + {0, SW9_CS4, SW8_CS4, SW7_CS4}, // D + {0, SW9_CS5, SW8_CS5, SW7_CS5}, // F + {0, SW9_CS6, SW8_CS6, SW7_CS6}, // G + {0, SW9_CS7, SW8_CS7, SW7_CS7}, // H + {0, SW9_CS8, SW8_CS8, SW7_CS8}, // J + {0, SW9_CS9, SW8_CS9, SW7_CS9}, // K + {0, SW9_CS10, SW8_CS10, SW7_CS10}, // L + {0, SW9_CS11, SW8_CS11, SW7_CS11}, // : + {0, SW9_CS12, SW8_CS12, SW7_CS12}, // ' + {0, SW9_CS14, SW8_CS14, SW7_CS14}, // Enter - {0, L_1, K_1, J_1}, // LShift - {0, L_2, K_2, J_2}, // Z - {0, L_3, K_3, J_3}, // X - {0, L_4, K_4, J_4}, // C - {0, L_5, K_5, J_5}, // V - {0, L_6, K_6, J_6}, // B - {0, L_7, K_7, J_7}, // N - {0, L_8, K_8, J_8}, // M - {0, L_9, K_9, J_9}, // < - {0, L_10, K_10, J_10}, // > - {0, L_11, K_11, J_11}, // ? - {0, L_12, K_12, J_12}, // RShift + {0, SW12_CS1, SW11_CS1, SW10_CS1}, // LShift + {0, SW12_CS2, SW11_CS2, SW10_CS2}, // Z + {0, SW12_CS3, SW11_CS3, SW10_CS3}, // X + {0, SW12_CS4, SW11_CS4, SW10_CS4}, // C + {0, SW12_CS5, SW11_CS5, SW10_CS5}, // V + {0, SW12_CS6, SW11_CS6, SW10_CS6}, // B + {0, SW12_CS7, SW11_CS7, SW10_CS7}, // N + {0, SW12_CS8, SW11_CS8, SW10_CS8}, // M + {0, SW12_CS9, SW11_CS9, SW10_CS9}, // < + {0, SW12_CS10, SW11_CS10, SW10_CS10}, // > + {0, SW12_CS11, SW11_CS11, SW10_CS11}, // ? + {0, SW12_CS12, SW11_CS12, SW10_CS12}, // RShift - {1, C_1, B_1, A_1}, // LCtrl - {1, C_2, B_2, A_2}, // LAlt - {1, C_3, B_3, A_3}, // Windows - {1, C_6, B_6, A_6}, // Space - {1, C_10, B_10, A_10}, // Fn1/RAlt hades/venus - {1, C_11, B_11, A_11}, // Fn2/Fn1 - {1, C_12, B_12, A_12}, // RCtrl/Fn2 - {1, C_13, B_13, A_13}, // LEFT/RCtrl + {1, SW3_CS1, SW2_CS1, SW1_CS1}, // LCtrl + {1, SW3_CS2, SW2_CS2, SW1_CS2}, // LAlt + {1, SW3_CS3, SW2_CS3, SW1_CS3}, // Windows + {1, SW3_CS6, SW2_CS6, SW1_CS6}, // Space + {1, SW3_CS10, SW2_CS10, SW1_CS10}, // Fn1/RAlt hades/venus + {1, SW3_CS11, SW2_CS11, SW1_CS11}, // Fn2/Fn1 + {1, SW3_CS12, SW2_CS12, SW1_CS12}, // RCtrl/Fn2 + {1, SW3_CS13, SW2_CS13, SW1_CS13}, // LEFT/RCtrl }; led_config_t g_led_config = { { diff --git a/keyboards/dztech/dz60rgb/dz60rgb.c b/keyboards/dztech/dz60rgb/dz60rgb.c index 593b2d96ff3..207fccd4f97 100644 --- a/keyboards/dztech/dz60rgb/dz60rgb.c +++ b/keyboards/dztech/dz60rgb/dz60rgb.c @@ -2,73 +2,73 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, K_14, J_14, L_14 }, - { 0, K_13, J_13, L_13 }, - { 0, K_12, J_12, L_12 }, - { 0, K_11, J_11, L_11 }, - { 0, K_10, J_10, L_10 }, - { 0, K_9, J_9, L_9 }, - { 0, K_8, J_8, L_8 }, - { 0, K_7, J_7, L_7 }, - { 0, K_6, J_6, L_6 }, - { 0, K_5, J_5, L_5 }, - { 0, K_4, J_4, L_4 }, - { 0, K_3, J_3, L_3 }, - { 0, K_2, J_2, L_2 }, - { 0, K_1, J_1, L_1 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, - { 0, H_14, G_14, I_14 }, - { 0, H_13, G_13, I_13 }, - { 0, H_12, G_12, I_12 }, - { 0, H_11, G_11, I_11 }, - { 0, H_10, G_10, I_10 }, - { 0, H_9, G_9, I_9 }, - { 0, H_8, G_8, I_8 }, - { 0, H_7, G_7, I_7 }, - { 0, H_6, G_6, I_6 }, - { 0, H_5, G_5, I_5 }, - { 0, H_4, G_4, I_4 }, - { 0, H_3, G_3, I_3 }, - { 0, H_2, G_2, I_2 }, - { 0, H_1, G_1, I_1 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, - { 0, E_14, D_14, F_14 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, E_10, D_10, F_10 }, - { 0, E_9, D_9, F_9 }, - { 0, E_8, D_8, F_8 }, - { 0, E_7, D_7, F_7 }, - { 0, E_6, D_6, F_6 }, - { 0, E_5, D_5, F_5 }, - { 0, E_4, D_4, F_4 }, - { 0, E_3, D_3, F_3 }, - { 0, E_2, D_2, F_2 }, - { 0, E_1, D_1, F_1 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, - { 0, B_14, A_14, C_14 }, - { 0, B_13, A_13, C_13 }, - { 0, B_11, A_11, C_11 }, - { 0, B_10, A_10, C_10 }, - { 0, B_9, A_9, C_9 }, - { 0, B_8, A_8, C_8 }, - { 0, B_7, A_7, C_7 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, - { 0, B_15, A_15, C_15 }, - { 0, E_13, D_13, F_13 }, - { 0, B_12, A_12, C_12 }, - { 0, E_15, D_15, F_15 }, - { 0, H_15, G_15, I_15 }, - { 0, B_16, A_16, C_16 }, - { 0, E_16, D_16, F_16 }, - { 0, H_16, G_16, I_16 }, - { 0, K_16, J_16, L_16 } + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c b/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c index a4cfd2551ec..cdc5148e115 100644 --- a/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c +++ b/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c @@ -2,71 +2,71 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, K_14, J_14, L_14 }, - { 0, K_13, J_13, L_13 }, - { 0, K_12, J_12, L_12 }, - { 0, K_11, J_11, L_11 }, - { 0, K_10, J_10, L_10 }, - { 0, K_9, J_9, L_9 }, - { 0, K_8, J_8, L_8 }, - { 0, K_7, J_7, L_7 }, - { 0, K_6, J_6, L_6 }, - { 0, K_5, J_5, L_5 }, - { 0, K_4, J_4, L_4 }, - { 0, K_3, J_3, L_3 }, - { 0, K_2, J_2, L_2 }, - { 0, K_1, J_1, L_1 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, - { 0, H_14, G_14, I_14 }, - { 0, H_13, G_13, I_13 }, - { 0, H_12, G_12, I_12 }, - { 0, H_11, G_11, I_11 }, - { 0, H_10, G_10, I_10 }, - { 0, H_9, G_9, I_9 }, - { 0, H_8, G_8, I_8 }, - { 0, H_7, G_7, I_7 }, - { 0, H_6, G_6, I_6 }, - { 0, H_5, G_5, I_5 }, - { 0, H_4, G_4, I_4 }, - { 0, H_3, G_3, I_3 }, - { 0, H_2, G_2, I_2 }, - { 0, H_1, G_1, I_1 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, - { 0, E_14, D_14, F_14 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, E_10, D_10, F_10 }, - { 0, E_9, D_9, F_9 }, - { 0, E_8, D_8, F_8 }, - { 0, E_7, D_7, F_7 }, - { 0, E_6, D_6, F_6 }, - { 0, E_5, D_5, F_5 }, - { 0, E_4, D_4, F_4 }, - { 0, E_3, D_3, F_3 }, - { 0, E_2, D_2, F_2 }, - { 0, E_1, D_1, F_1 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, - { 0, B_13, A_13, C_13 }, - { 0, B_11, A_11, C_11 }, - { 0, B_10, A_10, C_10 }, - { 0, B_9, A_9, C_9 }, - { 0, B_8, A_8, C_8 }, - { 0, B_7, A_7, C_7 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, - { 0, B_15, A_15, C_15 }, - { 0, E_13, D_13, F_13 }, - { 0, B_12, A_12, C_12 }, - { 0, E_15, D_15, F_15 }, - { 0, B_16, A_16, C_16 }, - { 0, E_16, D_16, F_16 }, - { 0, H_16, G_16, I_16 }, - { 0, K_16, J_16, L_16 } + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c b/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c index 4326b6f9afd..b5af34be38e 100644 --- a/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c +++ b/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c @@ -2,72 +2,72 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, H_15, G_15, I_15 }, - { 0, K_14, J_14, L_14 }, - { 0, K_13, J_13, L_13 }, - { 0, K_12, J_12, L_12 }, - { 0, K_11, J_11, L_11 }, - { 0, K_10, J_10, L_10 }, - { 0, K_9, J_9, L_9 }, - { 0, K_8, J_8, L_8 }, - { 0, K_7, J_7, L_7 }, - { 0, K_6, J_6, L_6 }, - { 0, K_5, J_5, L_5 }, - { 0, K_4, J_4, L_4 }, - { 0, K_3, J_3, L_3 }, - { 0, K_2, J_2, L_2 }, - { 0, K_1, J_1, L_1 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, - { 0, H_14, G_14, I_14 }, - { 0, H_13, G_13, I_13 }, - { 0, H_12, G_12, I_12 }, - { 0, H_11, G_11, I_11 }, - { 0, H_10, G_10, I_10 }, - { 0, H_9, G_9, I_9 }, - { 0, H_8, G_8, I_8 }, - { 0, H_7, G_7, I_7 }, - { 0, H_6, G_6, I_6 }, - { 0, H_5, G_5, I_5 }, - { 0, H_4, G_4, I_4 }, - { 0, H_3, G_3, I_3 }, - { 0, H_2, G_2, I_2 }, - { 0, H_1, G_1, I_1 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, - { 0, E_14, D_14, F_14 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, E_10, D_10, F_10 }, - { 0, E_9, D_9, F_9 }, - { 0, E_8, D_8, F_8 }, - { 0, E_7, D_7, F_7 }, - { 0, E_6, D_6, F_6 }, - { 0, E_5, D_5, F_5 }, - { 0, E_4, D_4, F_4 }, - { 0, E_3, D_3, F_3 }, - { 0, E_2, D_2, F_2 }, - { 0, E_1, D_1, F_1 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, - { 0, B_14, A_14, C_14 }, - { 0, B_13, A_13, C_13 }, - { 0, B_11, A_11, C_11 }, - { 0, B_10, A_10, C_10 }, - { 0, B_9, A_9, C_9 }, - { 0, B_8, A_8, C_8 }, - { 0, B_7, A_7, C_7 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, - { 0, B_15, A_15, C_15 }, - { 0, E_13, D_13, F_13 }, - { 0, B_12, A_12, C_12 }, - { 0, B_16, A_16, C_16 }, - { 0, E_16, D_16, F_16 }, - { 0, H_16, G_16, I_16 }, - { 0, K_16, J_16, L_16 } + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/dztech/dz64rgb/dz64rgb.c b/keyboards/dztech/dz64rgb/dz64rgb.c index 09a535ab474..e2512c72a57 100644 --- a/keyboards/dztech/dz64rgb/dz64rgb.c +++ b/keyboards/dztech/dz64rgb/dz64rgb.c @@ -18,74 +18,74 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, K_14, J_14, L_14 }, - { 0, K_13, J_13, L_13 }, - { 0, K_12, J_12, L_12 }, - { 0, K_11, J_11, L_11 }, - { 0, K_10, J_10, L_10 }, - { 0, K_9, J_9, L_9 }, - { 0, K_8, J_8, L_8 }, - { 0, K_7, J_7, L_7 }, - { 0, K_6, J_6, L_6 }, - { 0, K_5, J_5, L_5 }, - { 0, K_4, J_4, L_4 }, - { 0, K_3, J_3, L_3 }, - { 0, K_2, J_2, L_2 }, - { 0, K_1, J_1, L_1 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, - { 0, H_14, G_14, I_14 }, - { 0, H_13, G_13, I_13 }, - { 0, H_12, G_12, I_12 }, - { 0, H_11, G_11, I_11 }, - { 0, H_10, G_10, I_10 }, - { 0, H_9, G_9, I_9 }, - { 0, H_8, G_8, I_8 }, - { 0, H_7, G_7, I_7 }, - { 0, H_6, G_6, I_6 }, - { 0, H_5, G_5, I_5 }, - { 0, H_4, G_4, I_4 }, - { 0, H_3, G_3, I_3 }, - { 0, H_2, G_2, I_2 }, - { 0, H_1, G_1, I_1 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, - { 0, E_14, D_14, F_14 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, E_10, D_10, F_10 }, - { 0, E_9, D_9, F_9 }, - { 0, E_8, D_8, F_8 }, - { 0, E_7, D_7, F_7 }, - { 0, E_6, D_6, F_6 }, - { 0, E_5, D_5, F_5 }, - { 0, E_4, D_4, F_4 }, - { 0, E_3, D_3, F_3 }, - { 0, E_2, D_2, F_2 }, - { 0, E_1, D_1, F_1 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, - { 0, B_14, A_14, C_14 }, - { 0, B_13, A_13, C_13 }, - { 0, B_12, A_12, C_12 }, - { 0, B_11, A_11, C_11 }, - { 0, B_10, A_10, C_10 }, - { 0, B_9, A_9, C_9 }, - { 0, B_8, A_8, C_8 }, - { 0, B_7, A_7, C_7 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, - { 0, B_15, A_15, C_15 }, - { 0, E_13, D_13, F_13 }, - { 0, K_15, J_15, L_15 }, - { 0, E_15, D_15, F_15 }, - { 0, H_15, G_15, I_15 }, - { 0, B_16, A_16, C_16 }, - { 0, E_16, D_16, F_16 }, - { 0, H_16, G_16, I_16 }, - { 0, K_16, J_16, L_16 } + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/dztech/dz65rgb/v3/v3.c b/keyboards/dztech/dz65rgb/v3/v3.c index 2055e6e3c2f..bf54a8cdfc5 100755 --- a/keyboards/dztech/dz65rgb/v3/v3.c +++ b/keyboards/dztech/dz65rgb/v3/v3.c @@ -19,78 +19,78 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS21_SW1, CS20_SW1, CS19_SW1}, - {0, CS21_SW2, CS20_SW2, CS19_SW2}, - {0, CS21_SW3, CS20_SW3, CS19_SW3}, - {0, CS21_SW4, CS20_SW4, CS19_SW4}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, - {0, CS21_SW8, CS20_SW8, CS19_SW8}, - {0, CS24_SW1, CS23_SW1, CS22_SW1}, - {0, CS24_SW2, CS23_SW2, CS22_SW2}, - {0, CS24_SW3, CS23_SW3, CS22_SW3}, - {0, CS24_SW4, CS23_SW4, CS22_SW4}, - {0, CS24_SW5, CS23_SW5, CS22_SW5}, - {0, CS24_SW6, CS23_SW6, CS22_SW6}, - {0, CS24_SW7, CS23_SW7, CS22_SW7}, + {0, SW1_CS21, SW1_CS20, SW1_CS19}, + {0, SW2_CS21, SW2_CS20, SW2_CS19}, + {0, SW3_CS21, SW3_CS20, SW3_CS19}, + {0, SW4_CS21, SW4_CS20, SW4_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, + {0, SW8_CS21, SW8_CS20, SW8_CS19}, + {0, SW1_CS24, SW1_CS23, SW1_CS22}, + {0, SW2_CS24, SW2_CS23, SW2_CS22}, + {0, SW3_CS24, SW3_CS23, SW3_CS22}, + {0, SW4_CS24, SW4_CS23, SW4_CS22}, + {0, SW5_CS24, SW5_CS23, SW5_CS22}, + {0, SW6_CS24, SW6_CS23, SW6_CS22}, + {0, SW7_CS24, SW7_CS23, SW7_CS22}, - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW4, CS14_SW4, CS13_SW4}, - {0, CS15_SW5, CS14_SW5, CS13_SW5}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS15_SW7, CS14_SW7, CS13_SW7}, - {0, CS15_SW8, CS14_SW8, CS13_SW8}, - {0, CS30_SW1, CS29_SW1, CS28_SW1}, - {0, CS30_SW2, CS29_SW2, CS28_SW2}, - {0, CS30_SW3, CS29_SW3, CS28_SW3}, - {0, CS30_SW4, CS29_SW4, CS28_SW4}, - {0, CS30_SW5, CS29_SW5, CS28_SW5}, - {0, CS30_SW6, CS29_SW6, CS28_SW6}, - {0, CS30_SW7, CS29_SW7, CS28_SW7}, + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW4_CS15, SW4_CS14, SW4_CS13}, + {0, SW5_CS15, SW5_CS14, SW5_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW7_CS15, SW7_CS14, SW7_CS13}, + {0, SW8_CS15, SW8_CS14, SW8_CS13}, + {0, SW1_CS30, SW1_CS29, SW1_CS28}, + {0, SW2_CS30, SW2_CS29, SW2_CS28}, + {0, SW3_CS30, SW3_CS29, SW3_CS28}, + {0, SW4_CS30, SW4_CS29, SW4_CS28}, + {0, SW5_CS30, SW5_CS29, SW5_CS28}, + {0, SW6_CS30, SW6_CS29, SW6_CS28}, + {0, SW7_CS30, SW7_CS29, SW7_CS28}, - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS33_SW1, CS32_SW1, CS31_SW1}, - {0, CS33_SW2, CS32_SW2, CS31_SW2}, - {0, CS33_SW3, CS32_SW3, CS31_SW3}, - {0, CS33_SW4, CS32_SW4, CS31_SW4}, - {0, CS33_SW5, CS32_SW5, CS31_SW5}, - {0, CS33_SW7, CS32_SW7, CS31_SW7}, + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW1_CS33, SW1_CS32, SW1_CS31}, + {0, SW2_CS33, SW2_CS32, SW2_CS31}, + {0, SW3_CS33, SW3_CS32, SW3_CS31}, + {0, SW4_CS33, SW4_CS32, SW4_CS31}, + {0, SW5_CS33, SW5_CS32, SW5_CS31}, + {0, SW7_CS33, SW7_CS32, SW7_CS31}, - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS36_SW1, CS35_SW1, CS34_SW1}, - {0, CS36_SW2, CS35_SW2, CS34_SW2}, - {0, CS36_SW3, CS35_SW3, CS34_SW3}, - {0, CS36_SW4, CS35_SW4, CS34_SW4}, - {0, CS36_SW5, CS35_SW5, CS34_SW5}, - {0, CS36_SW7, CS35_SW7, CS34_SW7}, + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW1_CS36, SW1_CS35, SW1_CS34}, + {0, SW2_CS36, SW2_CS35, SW2_CS34}, + {0, SW3_CS36, SW3_CS35, SW3_CS34}, + {0, SW4_CS36, SW4_CS35, SW4_CS34}, + {0, SW5_CS36, SW5_CS35, SW5_CS34}, + {0, SW7_CS36, SW7_CS35, SW7_CS34}, - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, - {0, CS39_SW1, CS38_SW1, CS37_SW1}, - {0, CS39_SW2, CS38_SW2, CS37_SW2}, - {0, CS39_SW3, CS38_SW3, CS37_SW3}, - {0, CS39_SW4, CS38_SW4, CS37_SW4}, - {0, CS39_SW5, CS38_SW5, CS37_SW5}, - {0, CS39_SW7, CS38_SW7, CS37_SW7} + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, + {0, SW1_CS39, SW1_CS38, SW1_CS37}, + {0, SW2_CS39, SW2_CS38, SW2_CS37}, + {0, SW3_CS39, SW3_CS38, SW3_CS37}, + {0, SW4_CS39, SW4_CS38, SW4_CS37}, + {0, SW5_CS39, SW5_CS38, SW5_CS37}, + {0, SW7_CS39, SW7_CS38, SW7_CS37} }; led_config_t g_led_config = { { diff --git a/keyboards/dztech/tofu/ii/v1/v1.c b/keyboards/dztech/tofu/ii/v1/v1.c index dd18f86bf89..15589096df5 100644 --- a/keyboards/dztech/tofu/ii/v1/v1.c +++ b/keyboards/dztech/tofu/ii/v1/v1.c @@ -18,76 +18,76 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3737_led_t PROGMEM g_is31fl3737_leds[IS31FL3737_LED_COUNT] = { - { 1, K_12, J_12, L_12 }, - { 1, K_11, J_11, L_11 }, - { 1, K_10, J_10, L_10 }, - { 1, K_9, J_9, L_9 }, - { 1, K_8, J_8, L_8 }, - { 1, K_7, J_7, L_7 }, - { 1, K_6, J_6, L_6 }, - { 1, K_5, J_5, L_5 }, - { 1, K_4, J_4, L_4 }, - { 1, K_3, J_3, L_3 }, - { 1, K_2, J_2, L_2 }, - { 1, K_1, J_1, L_1 }, - { 1, H_1, G_1, I_1 }, - { 1, H_2, G_2, I_2 }, - { 1, H_3, G_3, I_3 }, + { 1, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 1, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 1, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 1, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 1, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 1, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 1, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 1, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 1, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 1, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 1, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 1, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, - { 0, B_12, A_12, C_12 }, - { 0, B_11, A_11, C_11 }, - { 0, B_10, A_10, C_10 }, - { 0, B_9, A_9, C_9 }, - { 0, B_8, A_8, C_8 }, - { 0, B_7, A_7, C_7 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 }, - { 1, H_6, G_6, I_6 }, - { 1, H_5, G_5, I_5 }, - { 1, H_4, G_4, I_4 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, E_10, D_10, F_10 }, - { 0, E_9, D_9, F_9 }, - { 0, E_8, D_8, F_8 }, - { 0, E_7, D_7, F_7 }, - { 0, E_6, D_6, F_6 }, - { 0, E_5, D_5, F_5 }, - { 0, E_4, D_4, F_4 }, - { 0, E_3, D_3, F_3 }, - { 0, E_2, D_2, F_2 }, - { 0, E_1, D_1, F_1 }, - { 1, H_7, G_7, I_7 }, - { 1, H_8, G_8, I_8 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, - { 0, H_12, G_12, I_12 }, - { 0, H_11, G_11, I_11 }, - { 0, H_10, G_10, I_10 }, - { 0, H_9, G_9, I_9 }, - { 0, H_8, G_8, I_8 }, - { 0, H_7, G_7, I_7 }, - { 0, H_6, G_6, I_6 }, - { 0, H_5, G_5, I_5 }, - { 0, H_4, G_4, I_4 }, - { 0, H_3, G_3, I_3 }, - { 0, H_2, G_2, I_2 }, - { 0, H_1, G_1, I_1 }, - { 0, K_9, J_9, L_9 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, - { 0, K_12, J_12, L_12 }, - { 0, K_11, J_11, L_11 }, - { 0, K_10, J_10, L_10 }, - { 0, K_7, J_7, L_7 }, - { 0, K_4, J_4, L_4 }, - { 0, K_2, J_2, L_2 }, - { 0, K_1, J_1, L_1 }, - { 0, K_6, J_6, L_6 }, - { 0, K_5, J_5, L_5 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, }; bool rgb_matrix_indicators_kb(void) { diff --git a/keyboards/dztech/tofu/jr/v1/v1.c b/keyboards/dztech/tofu/jr/v1/v1.c index 46b16317ac7..046c46458eb 100644 --- a/keyboards/dztech/tofu/jr/v1/v1.c +++ b/keyboards/dztech/tofu/jr/v1/v1.c @@ -19,78 +19,78 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3737_led_t PROGMEM g_is31fl3737_leds[IS31FL3737_LED_COUNT] = { - { 1, K_12, J_12, L_12 }, - { 1, K_11, J_11, L_11 }, - { 1, K_10, J_10, L_10 }, - { 1, K_9, J_9, L_9 }, - { 1, K_8, J_8, L_8 }, - { 1, K_7, J_7, L_7 }, - { 1, K_6, J_6, L_6 }, - { 1, K_5, J_5, L_5 }, - { 1, K_4, J_4, L_4 }, - { 1, K_3, J_3, L_3 }, - { 1, K_2, J_2, L_2 }, - { 1, K_1, J_1, L_1 }, - { 1, H_1, G_1, I_1 }, - { 1, H_2, G_2, I_2 }, - { 1, H_3, G_3, I_3 }, + { 1, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 1, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 1, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 1, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 1, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 1, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 1, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 1, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 1, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 1, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 1, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 1, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, - { 0, B_12, A_12, C_12 }, - { 0, B_11, A_11, C_11 }, - { 0, B_10, A_10, C_10 }, - { 0, B_9, A_9, C_9 }, - { 0, B_8, A_8, C_8 }, - { 0, B_7, A_7, C_7 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 }, - { 1, H_6, G_6, I_6 }, - { 1, H_5, G_5, I_5 }, - { 1, H_4, G_4, I_4 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, E_10, D_10, F_10 }, - { 0, E_9, D_9, F_9 }, - { 0, E_8, D_8, F_8 }, - { 0, E_7, D_7, F_7 }, - { 0, E_6, D_6, F_6 }, - { 0, E_5, D_5, F_5 }, - { 0, E_4, D_4, F_4 }, - { 0, E_3, D_3, F_3 }, - { 0, E_2, D_2, F_2 }, - { 0, E_1, D_1, F_1 }, - { 1, H_7, G_7, I_7 }, - { 1, H_8, G_8, I_8 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, - { 0, H_12, G_12, I_12 }, - { 0, H_11, G_11, I_11 }, - { 0, H_10, G_10, I_10 }, - { 0, H_9, G_9, I_9 }, - { 0, H_8, G_8, I_8 }, - { 0, H_7, G_7, I_7 }, - { 0, H_6, G_6, I_6 }, - { 0, H_5, G_5, I_5 }, - { 0, H_4, G_4, I_4 }, - { 0, H_3, G_3, I_3 }, - { 0, H_2, G_2, I_2 }, - { 0, H_1, G_1, I_1 }, - { 0, K_9, J_9, L_9 }, - { 0, K_8, J_8, L_8 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, - { 0, K_12, J_12, L_12 }, - { 0, K_11, J_11, L_11 }, - { 0, K_10, J_10, L_10 }, - { 0, K_7, J_7, L_7 }, - { 0, K_4, J_4, L_4 }, - { 0, K_3, J_3, L_3 }, - { 0, K_2, J_2, L_2 }, - { 0, K_1, J_1, L_1 }, - { 0, K_6, J_6, L_6 }, - { 0, K_5, J_5, L_5 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, }; bool rgb_matrix_indicators_kb(void) { diff --git a/keyboards/evyd13/atom47/rev5/rev5.c b/keyboards/evyd13/atom47/rev5/rev5.c index 6dad8466142..b8ea0688cd9 100644 --- a/keyboards/evyd13/atom47/rev5/rev5.c +++ b/keyboards/evyd13/atom47/rev5/rev5.c @@ -24,57 +24,57 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, B_1, C_1, A_1}, - {0, B_2, C_2, A_2}, - {0, B_3, C_3, A_3}, - {0, B_4, C_4, A_4}, - {0, B_5, C_5, A_5}, - {0, B_6, C_6, A_6}, - {0, B_7, C_7, A_7}, - {0, B_8, C_8, A_8}, - {0, B_9, C_9, A_9}, - {0, B_10, C_10, A_10}, - {0, B_11, C_11, A_11}, - {0, B_12, C_12, A_12}, - {0, B_13, C_13, A_13}, + {0, SW2_CS1, SW3_CS1, SW1_CS1}, + {0, SW2_CS2, SW3_CS2, SW1_CS2}, + {0, SW2_CS3, SW3_CS3, SW1_CS3}, + {0, SW2_CS4, SW3_CS4, SW1_CS4}, + {0, SW2_CS5, SW3_CS5, SW1_CS5}, + {0, SW2_CS6, SW3_CS6, SW1_CS6}, + {0, SW2_CS7, SW3_CS7, SW1_CS7}, + {0, SW2_CS8, SW3_CS8, SW1_CS8}, + {0, SW2_CS9, SW3_CS9, SW1_CS9}, + {0, SW2_CS10, SW3_CS10, SW1_CS10}, + {0, SW2_CS11, SW3_CS11, SW1_CS11}, + {0, SW2_CS12, SW3_CS12, SW1_CS12}, + {0, SW2_CS13, SW3_CS13, SW1_CS13}, - {0, E_1, F_1, D_1}, - {0, E_2, F_2, D_2}, - {0, E_3, F_3, D_3}, - {0, E_4, F_4, D_4}, - {0, E_5, F_5, D_5}, - {0, E_6, F_6, D_6}, - {0, E_7, F_7, D_7}, - {0, E_8, F_8, D_8}, - {0, E_9, F_9, D_9}, - {0, E_10, F_10, D_10}, - {0, E_11, F_11, D_11}, - {0, E_13, F_13, D_13}, + {0, SW5_CS1, SW6_CS1, SW4_CS1}, + {0, SW5_CS2, SW6_CS2, SW4_CS2}, + {0, SW5_CS3, SW6_CS3, SW4_CS3}, + {0, SW5_CS4, SW6_CS4, SW4_CS4}, + {0, SW5_CS5, SW6_CS5, SW4_CS5}, + {0, SW5_CS6, SW6_CS6, SW4_CS6}, + {0, SW5_CS7, SW6_CS7, SW4_CS7}, + {0, SW5_CS8, SW6_CS8, SW4_CS8}, + {0, SW5_CS9, SW6_CS9, SW4_CS9}, + {0, SW5_CS10, SW6_CS10, SW4_CS10}, + {0, SW5_CS11, SW6_CS11, SW4_CS11}, + {0, SW5_CS13, SW6_CS13, SW4_CS13}, - {0, H_1, I_1, G_1}, - {0, H_2, I_2, G_2}, - {0, H_3, I_3, G_3}, - {0, H_4, I_4, G_4}, - {0, H_5, I_5, G_5}, - {0, H_6, I_6, G_6}, - {0, H_7, I_7, G_7}, - {0, H_8, I_8, G_8}, - {0, H_9, I_9, G_9}, - {0, H_10, I_10, G_10}, - {0, H_11, I_11, G_11}, - {0, H_12, I_12, G_12}, - {0, H_13, I_13, G_13}, + {0, SW8_CS1, SW9_CS1, SW7_CS1}, + {0, SW8_CS2, SW9_CS2, SW7_CS2}, + {0, SW8_CS3, SW9_CS3, SW7_CS3}, + {0, SW8_CS4, SW9_CS4, SW7_CS4}, + {0, SW8_CS5, SW9_CS5, SW7_CS5}, + {0, SW8_CS6, SW9_CS6, SW7_CS6}, + {0, SW8_CS7, SW9_CS7, SW7_CS7}, + {0, SW8_CS8, SW9_CS8, SW7_CS8}, + {0, SW8_CS9, SW9_CS9, SW7_CS9}, + {0, SW8_CS10, SW9_CS10, SW7_CS10}, + {0, SW8_CS11, SW9_CS11, SW7_CS11}, + {0, SW8_CS12, SW9_CS12, SW7_CS12}, + {0, SW8_CS13, SW9_CS13, SW7_CS13}, - {0, K_1, L_1, J_1}, - {0, K_2, L_2, J_2}, - {0, K_3, L_3, J_3}, - {0, K_4, L_4, J_4}, - {0, K_6, L_6, J_6}, - {0, K_8, L_8, J_8}, - {0, K_10, L_10, J_10}, - {0, K_11, L_11, J_11}, - {0, K_12, L_12, J_12}, - {0, K_13, L_13, J_13} + {0, SW11_CS1, SW12_CS1, SW10_CS1}, + {0, SW11_CS2, SW12_CS2, SW10_CS2}, + {0, SW11_CS3, SW12_CS3, SW10_CS3}, + {0, SW11_CS4, SW12_CS4, SW10_CS4}, + {0, SW11_CS6, SW12_CS6, SW10_CS6}, + {0, SW11_CS8, SW12_CS8, SW10_CS8}, + {0, SW11_CS10, SW12_CS10, SW10_CS10}, + {0, SW11_CS11, SW12_CS11, SW10_CS11}, + {0, SW11_CS12, SW12_CS12, SW10_CS12}, + {0, SW11_CS13, SW12_CS13, SW10_CS13} }; led_config_t g_led_config = { { diff --git a/keyboards/exclusive/e6_rgb/e6_rgb.c b/keyboards/exclusive/e6_rgb/e6_rgb.c index 203e96d64ee..19dd96a073d 100644 --- a/keyboards/exclusive/e6_rgb/e6_rgb.c +++ b/keyboards/exclusive/e6_rgb/e6_rgb.c @@ -9,86 +9,86 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | | B location * | | | | */ //cs1 - {0, K_1, J_1, L_1}, - {0, H_1, G_1, I_1}, - {0, E_1, D_1, F_1}, - {0, B_1, A_1, C_1}, + {0, SW11_CS1, SW10_CS1, SW12_CS1}, + {0, SW8_CS1, SW7_CS1, SW9_CS1}, + {0, SW5_CS1, SW4_CS1, SW6_CS1}, + {0, SW2_CS1, SW1_CS1, SW3_CS1}, //cs2 - {0, K_2, J_2, L_2}, - {0, H_2, G_2, I_2}, - {0, E_2, D_2, F_2}, - {0, B_2, A_2, C_2}, + {0, SW11_CS2, SW10_CS2, SW12_CS2}, + {0, SW8_CS2, SW7_CS2, SW9_CS2}, + {0, SW5_CS2, SW4_CS2, SW6_CS2}, + {0, SW2_CS2, SW1_CS2, SW3_CS2}, //cs3 - {0, K_3, J_3, L_3}, - {0, H_3, G_3, I_3}, - {0, E_3, D_3, F_3}, - {0, B_3, A_3, C_3}, + {0, SW11_CS3, SW10_CS3, SW12_CS3}, + {0, SW8_CS3, SW7_CS3, SW9_CS3}, + {0, SW5_CS3, SW4_CS3, SW6_CS3}, + {0, SW2_CS3, SW1_CS3, SW3_CS3}, //cs4 - {0, K_4, J_4, L_4}, - {0, H_4, G_4, I_4}, - {0, E_4, D_4, F_4}, - {0, B_4, A_4, C_4}, + {0, SW11_CS4, SW10_CS4, SW12_CS4}, + {0, SW8_CS4, SW7_CS4, SW9_CS4}, + {0, SW5_CS4, SW4_CS4, SW6_CS4}, + {0, SW2_CS4, SW1_CS4, SW3_CS4}, //cs5 - {0, K_5, J_5, L_5}, - {0, H_5, G_5, I_5}, - {0, E_5, D_5, F_5}, - {0, B_5, A_5, C_5}, + {0, SW11_CS5, SW10_CS5, SW12_CS5}, + {0, SW8_CS5, SW7_CS5, SW9_CS5}, + {0, SW5_CS5, SW4_CS5, SW6_CS5}, + {0, SW2_CS5, SW1_CS5, SW3_CS5}, //cs6 - {0, K_6, J_6, L_6}, - {0, H_6, G_6, I_6}, - {0, E_6, D_6, F_6}, - {0, B_6, A_6, C_6}, + {0, SW11_CS6, SW10_CS6, SW12_CS6}, + {0, SW8_CS6, SW7_CS6, SW9_CS6}, + {0, SW5_CS6, SW4_CS6, SW6_CS6}, + {0, SW2_CS6, SW1_CS6, SW3_CS6}, //cs7 - {0, K_7, J_7, L_7}, - {0, H_7, G_7, I_7}, - {0, E_7, D_7, F_7}, - {0, B_7, A_7, C_7}, + {0, SW11_CS7, SW10_CS7, SW12_CS7}, + {0, SW8_CS7, SW7_CS7, SW9_CS7}, + {0, SW5_CS7, SW4_CS7, SW6_CS7}, + {0, SW2_CS7, SW1_CS7, SW3_CS7}, //cs8 - {0, K_8, J_8, L_8}, - {0, H_8, G_8, I_8}, - {0, E_8, D_8, F_8}, - {0, B_8, A_8, C_8}, + {0, SW11_CS8, SW10_CS8, SW12_CS8}, + {0, SW8_CS8, SW7_CS8, SW9_CS8}, + {0, SW5_CS8, SW4_CS8, SW6_CS8}, + {0, SW2_CS8, SW1_CS8, SW3_CS8}, //cs9 - {0, K_9, J_9, L_9}, - {0, H_9, G_9, I_9}, - {0, E_9, D_9, F_9}, - {0, B_9, A_9, C_9}, + {0, SW11_CS9, SW10_CS9, SW12_CS9}, + {0, SW8_CS9, SW7_CS9, SW9_CS9}, + {0, SW5_CS9, SW4_CS9, SW6_CS9}, + {0, SW2_CS9, SW1_CS9, SW3_CS9}, //cs10 - {0, K_10, J_10, L_10}, - {0, H_10, G_10, I_10}, - {0, E_10, D_10, F_10}, - {0, B_10, A_10, C_10}, + {0, SW11_CS10, SW10_CS10, SW12_CS10}, + {0, SW8_CS10, SW7_CS10, SW9_CS10}, + {0, SW5_CS10, SW4_CS10, SW6_CS10}, + {0, SW2_CS10, SW1_CS10, SW3_CS10}, //cs11 - {0, K_11, J_11, L_11}, - {0, H_11, G_11, I_11}, - {0, E_11, D_11, F_11}, - {0, B_11, A_11, C_11}, + {0, SW11_CS11, SW10_CS11, SW12_CS11}, + {0, SW8_CS11, SW7_CS11, SW9_CS11}, + {0, SW5_CS11, SW4_CS11, SW6_CS11}, + {0, SW2_CS11, SW1_CS11, SW3_CS11}, //cs12 - {0, K_12, J_12, L_12}, - {0, H_12, G_12, I_12}, - {0, E_12, D_12, F_12}, - {0, B_12, A_12, C_12}, + {0, SW11_CS12, SW10_CS12, SW12_CS12}, + {0, SW8_CS12, SW7_CS12, SW9_CS12}, + {0, SW5_CS12, SW4_CS12, SW6_CS12}, + {0, SW2_CS12, SW1_CS12, SW3_CS12}, //cs13 - {0, K_13, J_13, L_13}, - {0, H_13, G_13, I_13}, - {0, E_13, D_13, F_13}, - {0, B_13, A_13, C_13}, + {0, SW11_CS13, SW10_CS13, SW12_CS13}, + {0, SW8_CS13, SW7_CS13, SW9_CS13}, + {0, SW5_CS13, SW4_CS13, SW6_CS13}, + {0, SW2_CS13, SW1_CS13, SW3_CS13}, //cs14 - {0, K_14, J_14, L_14}, - {0, H_14, G_14, I_14}, - {0, E_14, D_14, F_14}, - {0, B_14, A_14, C_14}, + {0, SW11_CS14, SW10_CS14, SW12_CS14}, + {0, SW8_CS14, SW7_CS14, SW9_CS14}, + {0, SW5_CS14, SW4_CS14, SW6_CS14}, + {0, SW2_CS14, SW1_CS14, SW3_CS14}, //cs15 - {0, K_15, J_15, L_15}, + {0, SW11_CS15, SW10_CS15, SW12_CS15}, - {0, E_15, D_15, F_15}, - {0, B_15, A_15, C_15}, + {0, SW5_CS15, SW4_CS15, SW6_CS15}, + {0, SW2_CS15, SW1_CS15, SW3_CS15}, //cs16 - {0, K_16, J_16, L_16}, - {0, H_16, G_16, I_16}, - {0, E_16, D_16, F_16}, - {0, B_16, A_16, C_16}, + {0, SW11_CS16, SW10_CS16, SW12_CS16}, + {0, SW8_CS16, SW7_CS16, SW9_CS16}, + {0, SW5_CS16, SW4_CS16, SW6_CS16}, + {0, SW2_CS16, SW1_CS16, SW3_CS16}, }; led_config_t g_led_config = { { diff --git a/keyboards/feker/ik75/ik75.c b/keyboards/feker/ik75/ik75.c index e6424491bd1..c4da77a8448 100644 --- a/keyboards/feker/ik75/ik75.c +++ b/keyboards/feker/ik75/ik75.c @@ -25,141 +25,141 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | B location * | | | R location * | | | | */ - {0, A_1, C_1, B_1}, // 0, `~, K10 - {0, A_2, C_2, B_2}, // 1, 1!, K11 - {0, A_3, C_3, B_3}, // 2, 2@, K12 - {0, A_4, C_4, B_4}, // 3, 3#, K13 - {0, A_5, C_5, B_5}, // 4, 4$, K14 - {0, A_6, C_6, B_6}, // 5, 5%, K15 - {0, A_7, C_7, B_7}, // 6, 6^, K16 - {0, A_8, C_8, B_8}, // 7, 7&, K17 - {0, A_9, C_9, B_9}, // 8, 8*, K18 - {0, A_10, C_10, B_10}, // 9, 9(, K19 - {0, A_11, C_11, B_11}, // 10, 0), K1A - {0, A_12, C_12, B_12}, // 11, -_, K1B - {0, A_13, C_13, B_13}, // 12, =+, K1C - {0, A_14, C_14, B_14}, // 13, Backspace, K1D - {0, A_15, C_15, B_15}, // 14, Left Alt, K52 - {0, A_16, C_16, B_16}, // 15, Space, K56 + {0, SW1_CS1, SW3_CS1, SW2_CS1}, // 0, `~, K10 + {0, SW1_CS2, SW3_CS2, SW2_CS2}, // 1, 1!, K11 + {0, SW1_CS3, SW3_CS3, SW2_CS3}, // 2, 2@, K12 + {0, SW1_CS4, SW3_CS4, SW2_CS4}, // 3, 3#, K13 + {0, SW1_CS5, SW3_CS5, SW2_CS5}, // 4, 4$, K14 + {0, SW1_CS6, SW3_CS6, SW2_CS6}, // 5, 5%, K15 + {0, SW1_CS7, SW3_CS7, SW2_CS7}, // 6, 6^, K16 + {0, SW1_CS8, SW3_CS8, SW2_CS8}, // 7, 7&, K17 + {0, SW1_CS9, SW3_CS9, SW2_CS9}, // 8, 8*, K18 + {0, SW1_CS10, SW3_CS10, SW2_CS10}, // 9, 9(, K19 + {0, SW1_CS11, SW3_CS11, SW2_CS11}, // 10, 0), K1A + {0, SW1_CS12, SW3_CS12, SW2_CS12}, // 11, -_, K1B + {0, SW1_CS13, SW3_CS13, SW2_CS13}, // 12, =+, K1C + {0, SW1_CS14, SW3_CS14, SW2_CS14}, // 13, Backspace, K1D + {0, SW1_CS15, SW3_CS15, SW2_CS15}, // 14, Left Alt, K52 + {0, SW1_CS16, SW3_CS16, SW2_CS16}, // 15, Space, K56 - {0, D_1, F_1, E_1}, // 16, Tab, K20 - {0, D_2, F_2, E_2}, // 17, Q, K21 - {0, D_3, F_3, E_3}, // 18, W, K22 - {0, D_4, F_4, E_4}, // 19, E, K23 - {0, D_5, F_5, E_5}, // 20, R, K24 - {0, D_6, F_6, E_6}, // 21, T, K25 - {0, D_7, F_7, E_7}, // 22, Y, K26 - {0, D_8, F_8, E_8}, // 23, U, K27 - {0, D_9, F_9, E_9}, // 24, I, K28 - {0, D_10, F_10, E_10}, // 25, O, K29 - {0, D_11, F_11, E_11}, // 26, P, K2A - {0, D_12, F_12, E_12}, // 27, [{, K2B - {0, D_13, F_13, E_13}, // 28, ]}, K2C - {0, D_14, F_14, E_14}, // 29, \|, K2D - {0, D_15, F_15, E_15}, // 30, Right Ctrl, K5C - {0, D_16, F_16, E_16}, // 31, Function, K5A + {0, SW4_CS1, SW6_CS1, SW5_CS1}, // 16, Tab, K20 + {0, SW4_CS2, SW6_CS2, SW5_CS2}, // 17, Q, K21 + {0, SW4_CS3, SW6_CS3, SW5_CS3}, // 18, W, K22 + {0, SW4_CS4, SW6_CS4, SW5_CS4}, // 19, E, K23 + {0, SW4_CS5, SW6_CS5, SW5_CS5}, // 20, R, K24 + {0, SW4_CS6, SW6_CS6, SW5_CS6}, // 21, T, K25 + {0, SW4_CS7, SW6_CS7, SW5_CS7}, // 22, Y, K26 + {0, SW4_CS8, SW6_CS8, SW5_CS8}, // 23, U, K27 + {0, SW4_CS9, SW6_CS9, SW5_CS9}, // 24, I, K28 + {0, SW4_CS10, SW6_CS10, SW5_CS10}, // 25, O, K29 + {0, SW4_CS11, SW6_CS11, SW5_CS11}, // 26, P, K2A + {0, SW4_CS12, SW6_CS12, SW5_CS12}, // 27, [{, K2B + {0, SW4_CS13, SW6_CS13, SW5_CS13}, // 28, ]}, K2C + {0, SW4_CS14, SW6_CS14, SW5_CS14}, // 29, \|, K2D + {0, SW4_CS15, SW6_CS15, SW5_CS15}, // 30, Right Ctrl, K5C + {0, SW4_CS16, SW6_CS16, SW5_CS16}, // 31, Function, K5A - {0, G_1, I_1, H_1}, // 32, Caps Lock, K30 - {0, G_2, I_2, H_2}, // 33, A, K31 - {0, G_3, I_3, H_3}, // 34, S, K32 - {0, G_4, I_4, H_4}, // 35, D, K33 - {0, G_5, I_5, H_5}, // 36, F, K34 - {0, G_6, I_6, H_6}, // 37, G, K35 - {0, G_7, I_7, H_7}, // 38, H, K36 - {0, G_8, I_8, H_8}, // 39, J, K37 - {0, G_9, I_9, H_9}, // 40, K, K38 - {0, G_10, I_10, H_10}, // 41, L, K39 - {0, G_11, I_11, H_11}, // 42, ;:, K3A - {0, G_12, I_12, H_12}, // 43, '", K3B - {0, G_13, I_13, H_13}, // 44, Enter, K3D - {0, G_14, I_14, H_14}, // 45, Up, K4E - {0, G_15, I_15, H_15}, // 46, Num Lock LED - {0, G_16, I_16, H_16}, // 47, Right Alt, K59 + {0, SW7_CS1, SW9_CS1, SW8_CS1}, // 32, Caps Lock, K30 + {0, SW7_CS2, SW9_CS2, SW8_CS2}, // 33, A, K31 + {0, SW7_CS3, SW9_CS3, SW8_CS3}, // 34, S, K32 + {0, SW7_CS4, SW9_CS4, SW8_CS4}, // 35, D, K33 + {0, SW7_CS5, SW9_CS5, SW8_CS5}, // 36, F, K34 + {0, SW7_CS6, SW9_CS6, SW8_CS6}, // 37, G, K35 + {0, SW7_CS7, SW9_CS7, SW8_CS7}, // 38, H, K36 + {0, SW7_CS8, SW9_CS8, SW8_CS8}, // 39, J, K37 + {0, SW7_CS9, SW9_CS9, SW8_CS9}, // 40, K, K38 + {0, SW7_CS10, SW9_CS10, SW8_CS10}, // 41, L, K39 + {0, SW7_CS11, SW9_CS11, SW8_CS11}, // 42, ;:, K3A + {0, SW7_CS12, SW9_CS12, SW8_CS12}, // 43, '", K3B + {0, SW7_CS13, SW9_CS13, SW8_CS13}, // 44, Enter, K3D + {0, SW7_CS14, SW9_CS14, SW8_CS14}, // 45, Up, K4E + {0, SW7_CS15, SW9_CS15, SW8_CS15}, // 46, Num Lock LED + {0, SW7_CS16, SW9_CS16, SW8_CS16}, // 47, Right Alt, K59 - {0, J_1, L_1, K_1}, // 48, Left Shift, K40 -// {0, J_2, L_2, K_2}, // Unused LED - {0, J_3, L_3, K_3}, // 49, Z, K42 - {0, J_4, L_4, K_4}, // 50, X, K43 - {0, J_5, L_5, K_5}, // 51, C, K44 - {0, J_6, L_6, K_6}, // 52, V, K45 - {0, J_7, L_7, K_7}, // 53, B, K46 - {0, J_8, L_8, K_8}, // 54, N, K47 - {0, J_9, L_9, K_9}, // 55, M, K48 - {0, J_10, L_10, K_10}, // 56, ,<, K49 - {0, J_11, L_11, K_11}, // 57, .>, K4A - {0, J_12, L_12, K_12}, // 58, /?, K4B - {0, J_13, L_13, K_13}, // 59, Right Shift, K4D - {0, J_14, L_14, K_14}, // 60, Left, K5D - {0, J_15, L_15, K_15}, // 61, Down, K5E - {0, J_16, L_16, K_16}, // 62, Right, K5F + {0, SW10_CS1, SW12_CS1, SW11_CS1}, // 48, Left Shift, K40 +// {0, SW10_CS2, SW12_CS2, SW11_CS2}, // Unused LED + {0, SW10_CS3, SW12_CS3, SW11_CS3}, // 49, Z, K42 + {0, SW10_CS4, SW12_CS4, SW11_CS4}, // 50, X, K43 + {0, SW10_CS5, SW12_CS5, SW11_CS5}, // 51, C, K44 + {0, SW10_CS6, SW12_CS6, SW11_CS6}, // 52, V, K45 + {0, SW10_CS7, SW12_CS7, SW11_CS7}, // 53, B, K46 + {0, SW10_CS8, SW12_CS8, SW11_CS8}, // 54, N, K47 + {0, SW10_CS9, SW12_CS9, SW11_CS9}, // 55, M, K48 + {0, SW10_CS10, SW12_CS10, SW11_CS10}, // 56, ,<, K49 + {0, SW10_CS11, SW12_CS11, SW11_CS11}, // 57, .>, K4A + {0, SW10_CS12, SW12_CS12, SW11_CS12}, // 58, /?, K4B + {0, SW10_CS13, SW12_CS13, SW11_CS13}, // 59, Right Shift, K4D + {0, SW10_CS14, SW12_CS14, SW11_CS14}, // 60, Left, K5D + {0, SW10_CS15, SW12_CS15, SW11_CS15}, // 61, Down, K5E + {0, SW10_CS16, SW12_CS16, SW11_CS16}, // 62, Right, K5F - {1, A_1, C_1, B_1}, // 63, Underglow 20 - {1, A_2, C_2, B_2}, // 64, Underglow 19 - {1, A_3, C_3, B_3}, // 65, Underglow 18 - {1, A_4, C_4, B_4}, // 66, Underglow 17 - {1, A_5, C_5, B_5}, // 67, Underglow 16 - {1, A_6, C_6, B_6}, // 68, Underglow 15 - {1, A_7, C_7, B_7}, // 69, Underglow 14 - {1, A_8, C_8, B_8}, // 70, Underglow 13 - {1, A_9, C_9, B_9}, // 71, Underglow 12 - {1, A_10, C_10, B_10}, // 72, Underglow 11 - {1, A_11, C_11, B_11}, // 73, Underglow 10 - {1, A_12, C_12, B_12}, // 74, Underglow 9 - {1, A_13, C_13, B_13}, // 75, Underglow 8 - {1, A_14, C_14, B_14}, // 76, Underglow 7 - {1, A_15, C_15, B_15}, // 77, Underglow 6 - {1, A_16, C_16, B_16}, // 78, Underglow 5 + {1, SW1_CS1, SW3_CS1, SW2_CS1}, // 63, Underglow 20 + {1, SW1_CS2, SW3_CS2, SW2_CS2}, // 64, Underglow 19 + {1, SW1_CS3, SW3_CS3, SW2_CS3}, // 65, Underglow 18 + {1, SW1_CS4, SW3_CS4, SW2_CS4}, // 66, Underglow 17 + {1, SW1_CS5, SW3_CS5, SW2_CS5}, // 67, Underglow 16 + {1, SW1_CS6, SW3_CS6, SW2_CS6}, // 68, Underglow 15 + {1, SW1_CS7, SW3_CS7, SW2_CS7}, // 69, Underglow 14 + {1, SW1_CS8, SW3_CS8, SW2_CS8}, // 70, Underglow 13 + {1, SW1_CS9, SW3_CS9, SW2_CS9}, // 71, Underglow 12 + {1, SW1_CS10, SW3_CS10, SW2_CS10}, // 72, Underglow 11 + {1, SW1_CS11, SW3_CS11, SW2_CS11}, // 73, Underglow 10 + {1, SW1_CS12, SW3_CS12, SW2_CS12}, // 74, Underglow 9 + {1, SW1_CS13, SW3_CS13, SW2_CS13}, // 75, Underglow 8 + {1, SW1_CS14, SW3_CS14, SW2_CS14}, // 76, Underglow 7 + {1, SW1_CS15, SW3_CS15, SW2_CS15}, // 77, Underglow 6 + {1, SW1_CS16, SW3_CS16, SW2_CS16}, // 78, Underglow 5 - {1, D_1, F_1, E_1}, // 79, Esc, K00 - {1, D_2, F_2, E_2}, // 80, F1, K01 - {1, D_3, F_3, E_3}, // 81, F2, K02 - {1, D_4, F_4, E_4}, // 82, F3, K03 - {1, D_5, F_5, E_5}, // 83, F4, K04 - {1, D_6, F_6, E_6}, // 84, F5, K05 - {1, D_7, F_7, E_7}, // 85, F6, K06 - {1, D_8, F_8, E_8}, // 86, F7, K07 - {1, D_9, F_9, E_9}, // 87, F8, K08 - {1, D_10, F_10, E_10}, // 88, F9, K09 - {1, D_11, F_11, E_11}, // 89, F10, K0A - {1, D_12, F_12, E_12}, // 90, F11, K0B - {1, D_13, F_13, E_13}, // 91, F12, K0C - {1, D_14, F_14, E_14}, // 92, Delete, K0D - {1, D_15, F_15, E_15}, // 93, Left Ctrl, K50 - {1, D_16, F_16, E_16}, // 94, Left Windows, K51 + {1, SW4_CS1, SW6_CS1, SW5_CS1}, // 79, Esc, K00 + {1, SW4_CS2, SW6_CS2, SW5_CS2}, // 80, F1, K01 + {1, SW4_CS3, SW6_CS3, SW5_CS3}, // 81, F2, K02 + {1, SW4_CS4, SW6_CS4, SW5_CS4}, // 82, F3, K03 + {1, SW4_CS5, SW6_CS5, SW5_CS5}, // 83, F4, K04 + {1, SW4_CS6, SW6_CS6, SW5_CS6}, // 84, F5, K05 + {1, SW4_CS7, SW6_CS7, SW5_CS7}, // 85, F6, K06 + {1, SW4_CS8, SW6_CS8, SW5_CS8}, // 86, F7, K07 + {1, SW4_CS9, SW6_CS9, SW5_CS9}, // 87, F8, K08 + {1, SW4_CS10, SW6_CS10, SW5_CS10}, // 88, F9, K09 + {1, SW4_CS11, SW6_CS11, SW5_CS11}, // 89, F10, K0A + {1, SW4_CS12, SW6_CS12, SW5_CS12}, // 90, F11, K0B + {1, SW4_CS13, SW6_CS13, SW5_CS13}, // 91, F12, K0C + {1, SW4_CS14, SW6_CS14, SW5_CS14}, // 92, Delete, K0D + {1, SW4_CS15, SW6_CS15, SW5_CS15}, // 93, Left Ctrl, K50 + {1, SW4_CS16, SW6_CS16, SW5_CS16}, // 94, Left Windows, K51 - {1, G_1, I_1, H_1}, // 95, Underglow 21 - {1, G_2, I_2, H_2}, // 96, Underglow 22 - {1, G_3, I_3, H_3}, // 97, Underglow 23 - {1, G_4, I_4, H_4}, // 98, Underglow 24 - {1, G_5, I_5, H_5}, // 99, Knob LED 3, K53 - {1, G_6, I_6, H_6}, // 100, Knob LED 2, K54 - {1, G_7, I_7, H_7}, // 101, Knob LED 1, K4F - {1, G_8, I_8, H_8}, // 102, Insert, K1F - {1, G_9, I_9, H_9}, // 103, Page Up, K3E - {1, G_10, I_10, H_10}, // 104, Caps/Win/Scr LED - {1, G_11, I_11, H_11}, // 105, End, K2F - {1, G_12, I_12, H_12}, // 106, Page Down, K3F - {1, G_13, I_13, H_13}, // 107, Underglow 1 - {1, G_14, I_14, H_14}, // 108, Underglow 2 - {1, G_15, I_15, H_15}, // 109, Underglow 3 - {1, G_16, I_16, H_16}, // 110, Underglow 4 + {1, SW7_CS1, SW9_CS1, SW8_CS1}, // 95, Underglow 21 + {1, SW7_CS2, SW9_CS2, SW8_CS2}, // 96, Underglow 22 + {1, SW7_CS3, SW9_CS3, SW8_CS3}, // 97, Underglow 23 + {1, SW7_CS4, SW9_CS4, SW8_CS4}, // 98, Underglow 24 + {1, SW7_CS5, SW9_CS5, SW8_CS5}, // 99, Knob LED 3, K53 + {1, SW7_CS6, SW9_CS6, SW8_CS6}, // 100, Knob LED 2, K54 + {1, SW7_CS7, SW9_CS7, SW8_CS7}, // 101, Knob LED 1, K4F + {1, SW7_CS8, SW9_CS8, SW8_CS8}, // 102, Insert, K1F + {1, SW7_CS9, SW9_CS9, SW8_CS9}, // 103, Page Up, K3E + {1, SW7_CS10, SW9_CS10, SW8_CS10}, // 104, Caps/Win/Scr LED + {1, SW7_CS11, SW9_CS11, SW8_CS11}, // 105, End, K2F + {1, SW7_CS12, SW9_CS12, SW8_CS12}, // 106, Page Down, K3F + {1, SW7_CS13, SW9_CS13, SW8_CS13}, // 107, Underglow 1 + {1, SW7_CS14, SW9_CS14, SW8_CS14}, // 108, Underglow 2 + {1, SW7_CS15, SW9_CS15, SW8_CS15}, // 109, Underglow 3 + {1, SW7_CS16, SW9_CS16, SW8_CS16}, // 110, Underglow 4 - {1, J_1, L_1, K_1}, // 111, Underglow 25 - {1, J_2, L_2, K_2}, // 112, Underglow 26 - {1, J_3, L_3, K_3}, // 113, Underglow 27 - {1, J_4, L_4, K_4}, // 114, Underglow 28 - {1, J_5, L_5, K_5}, // 115, Underglow 29 - {1, J_6, L_6, K_6}, // 116, Underglow 30 - {1, J_7, L_7, K_7}, // 117, Underglow 31 - {1, J_8, L_8, K_8}, // 118, Underglow 32 - {1, J_9, L_9, K_9}, // 119, Underglow 33 - {1, J_10, L_10, K_10}, // 120, Underglow 34 - {1, J_11, L_11, K_11}, // 121, Underglow 35 - {1, J_12, L_12, K_12}, // 122, Underglow 36 - {1, J_13, L_13, K_13}, // 123, Underglow 37 - {1, J_14, L_14, K_14}, // 124, Underglow 38 - {1, J_15, L_15, K_15}, // 125, Underglow 39 - {1, J_16, L_16, K_16}, // 126, Underglow 40 + {1, SW10_CS1, SW12_CS1, SW11_CS1}, // 111, Underglow 25 + {1, SW10_CS2, SW12_CS2, SW11_CS2}, // 112, Underglow 26 + {1, SW10_CS3, SW12_CS3, SW11_CS3}, // 113, Underglow 27 + {1, SW10_CS4, SW12_CS4, SW11_CS4}, // 114, Underglow 28 + {1, SW10_CS5, SW12_CS5, SW11_CS5}, // 115, Underglow 29 + {1, SW10_CS6, SW12_CS6, SW11_CS6}, // 116, Underglow 30 + {1, SW10_CS7, SW12_CS7, SW11_CS7}, // 117, Underglow 31 + {1, SW10_CS8, SW12_CS8, SW11_CS8}, // 118, Underglow 32 + {1, SW10_CS9, SW12_CS9, SW11_CS9}, // 119, Underglow 33 + {1, SW10_CS10, SW12_CS10, SW11_CS10}, // 120, Underglow 34 + {1, SW10_CS11, SW12_CS11, SW11_CS11}, // 121, Underglow 35 + {1, SW10_CS12, SW12_CS12, SW11_CS12}, // 122, Underglow 36 + {1, SW10_CS13, SW12_CS13, SW11_CS13}, // 123, Underglow 37 + {1, SW10_CS14, SW12_CS14, SW11_CS14}, // 124, Underglow 38 + {1, SW10_CS15, SW12_CS15, SW11_CS15}, // 125, Underglow 39 + {1, SW10_CS16, SW12_CS16, SW11_CS16}, // 126, Underglow 40 }; led_config_t g_led_config = { { diff --git a/keyboards/flashquark/horizon_z/horizon_z.c b/keyboards/flashquark/horizon_z/horizon_z.c index 5ab6e22434d..79bd503ff68 100755 --- a/keyboards/flashquark/horizon_z/horizon_z.c +++ b/keyboards/flashquark/horizon_z/horizon_z.c @@ -18,67 +18,67 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - {0, B_1, A_1, C_1}, - {0, B_2, A_2, C_2}, - {0, B_3, A_3, C_3}, - {0, B_4, A_4, C_4}, - {0, B_5, A_5, C_5}, - {0, B_6, A_6, C_6}, - {0, B_7, A_7, C_7}, - {0, B_8, A_8, C_8}, - {0, B_9, A_9, C_9}, - {0, B_10, A_10, C_10}, - {0, B_11, A_11, C_11}, - {0, B_12, A_12, C_12}, - {0, B_13, A_13, C_13}, - {0, B_14, A_14, C_14}, - {0, E_1, D_1, F_1}, - {0, E_2, D_2, F_2}, - {0, E_3, D_3, F_3}, - {0, E_4, D_4, F_4}, - {0, E_5, D_5, F_5}, - {0, E_6, D_6, F_6}, - {0, E_7, D_7, F_7}, - {0, E_8, D_8, F_8}, - {0, E_9, D_9, F_9}, - {0, E_10, D_10, F_10}, - {0, E_11, D_11, F_11}, - {0, E_12, D_12, F_12}, - {0, E_13, D_13, F_13}, - {0, E_14, D_14, F_14}, - {0, H_1, G_1, I_1}, - {0, H_2, G_2, I_2}, - {0, H_3, G_3, I_3}, - {0, H_4, G_4, I_4}, - {0, H_5, G_5, I_5}, - {0, H_6, G_6, I_6}, - {0, H_7, G_7, I_7}, - {0, H_8, G_8, I_8}, - {0, H_9, G_9, I_9}, - {0, H_10, G_10, I_10}, - {0, H_11, G_11, I_11}, - {0, H_12, G_12, I_12}, - {0, H_13, G_13, I_13}, - {0, K_1, J_1, L_1}, - {0, K_2, J_2, L_2}, - {0, K_3, J_3, L_3}, - {0, K_4, J_4, L_4}, - {0, K_5, J_5, L_5}, - {0, K_6, J_6, L_6}, - {0, K_7, J_7, L_7}, - {0, K_8, J_8, L_8}, - {0, K_9, J_9, L_9}, - {0, K_10, J_10, L_10}, - {0, K_11, J_11, L_11}, - {0, K_14, J_14, L_14}, - {0, B_16, A_16, C_16}, - {0, E_16, D_16, F_16}, - {0, H_16, G_16, I_16}, - {0, K_16, J_16, L_16}, - {0, K_15, J_15, L_15}, - {0, K_12, J_12, L_12}, - {0, K_13, J_13, L_13}, - {0, H_14, G_14, I_14}, + {0, SW2_CS1, SW1_CS1, SW3_CS1}, + {0, SW2_CS2, SW1_CS2, SW3_CS2}, + {0, SW2_CS3, SW1_CS3, SW3_CS3}, + {0, SW2_CS4, SW1_CS4, SW3_CS4}, + {0, SW2_CS5, SW1_CS5, SW3_CS5}, + {0, SW2_CS6, SW1_CS6, SW3_CS6}, + {0, SW2_CS7, SW1_CS7, SW3_CS7}, + {0, SW2_CS8, SW1_CS8, SW3_CS8}, + {0, SW2_CS9, SW1_CS9, SW3_CS9}, + {0, SW2_CS10, SW1_CS10, SW3_CS10}, + {0, SW2_CS11, SW1_CS11, SW3_CS11}, + {0, SW2_CS12, SW1_CS12, SW3_CS12}, + {0, SW2_CS13, SW1_CS13, SW3_CS13}, + {0, SW2_CS14, SW1_CS14, SW3_CS14}, + {0, SW5_CS1, SW4_CS1, SW6_CS1}, + {0, SW5_CS2, SW4_CS2, SW6_CS2}, + {0, SW5_CS3, SW4_CS3, SW6_CS3}, + {0, SW5_CS4, SW4_CS4, SW6_CS4}, + {0, SW5_CS5, SW4_CS5, SW6_CS5}, + {0, SW5_CS6, SW4_CS6, SW6_CS6}, + {0, SW5_CS7, SW4_CS7, SW6_CS7}, + {0, SW5_CS8, SW4_CS8, SW6_CS8}, + {0, SW5_CS9, SW4_CS9, SW6_CS9}, + {0, SW5_CS10, SW4_CS10, SW6_CS10}, + {0, SW5_CS11, SW4_CS11, SW6_CS11}, + {0, SW5_CS12, SW4_CS12, SW6_CS12}, + {0, SW5_CS13, SW4_CS13, SW6_CS13}, + {0, SW5_CS14, SW4_CS14, SW6_CS14}, + {0, SW8_CS1, SW7_CS1, SW9_CS1}, + {0, SW8_CS2, SW7_CS2, SW9_CS2}, + {0, SW8_CS3, SW7_CS3, SW9_CS3}, + {0, SW8_CS4, SW7_CS4, SW9_CS4}, + {0, SW8_CS5, SW7_CS5, SW9_CS5}, + {0, SW8_CS6, SW7_CS6, SW9_CS6}, + {0, SW8_CS7, SW7_CS7, SW9_CS7}, + {0, SW8_CS8, SW7_CS8, SW9_CS8}, + {0, SW8_CS9, SW7_CS9, SW9_CS9}, + {0, SW8_CS10, SW7_CS10, SW9_CS10}, + {0, SW8_CS11, SW7_CS11, SW9_CS11}, + {0, SW8_CS12, SW7_CS12, SW9_CS12}, + {0, SW8_CS13, SW7_CS13, SW9_CS13}, + {0, SW11_CS1, SW10_CS1, SW12_CS1}, + {0, SW11_CS2, SW10_CS2, SW12_CS2}, + {0, SW11_CS3, SW10_CS3, SW12_CS3}, + {0, SW11_CS4, SW10_CS4, SW12_CS4}, + {0, SW11_CS5, SW10_CS5, SW12_CS5}, + {0, SW11_CS6, SW10_CS6, SW12_CS6}, + {0, SW11_CS7, SW10_CS7, SW12_CS7}, + {0, SW11_CS8, SW10_CS8, SW12_CS8}, + {0, SW11_CS9, SW10_CS9, SW12_CS9}, + {0, SW11_CS10, SW10_CS10, SW12_CS10}, + {0, SW11_CS11, SW10_CS11, SW12_CS11}, + {0, SW11_CS14, SW10_CS14, SW12_CS14}, + {0, SW2_CS16, SW1_CS16, SW3_CS16}, + {0, SW5_CS16, SW4_CS16, SW6_CS16}, + {0, SW8_CS16, SW7_CS16, SW9_CS16}, + {0, SW11_CS16, SW10_CS16, SW12_CS16}, + {0, SW11_CS15, SW10_CS15, SW12_CS15}, + {0, SW11_CS12, SW10_CS12, SW12_CS12}, + {0, SW11_CS13, SW10_CS13, SW12_CS13}, + {0, SW8_CS14, SW7_CS14, SW9_CS14}, }; diff --git a/keyboards/frooastboard/walnut/walnut.c b/keyboards/frooastboard/walnut/walnut.c index e3205e07f3c..0de3467ae46 100644 --- a/keyboards/frooastboard/walnut/walnut.c +++ b/keyboards/frooastboard/walnut/walnut.c @@ -12,54 +12,54 @@ const is31fl3737_led_t PROGMEM g_is31fl3737_leds[IS31FL3737_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, K_1, J_1, L_1}, - {0, K_2, J_2, L_2}, - {0, K_3, J_3, L_3}, - {0, K_4, J_4, L_4}, - {0, K_5, J_5, L_5}, - {0, K_6, J_6, L_6}, - {0, K_7, J_7, L_7}, - {0, K_8, J_8, L_8}, - {0, K_9, J_9, L_9}, - {0, K_10, J_10, L_10}, - {0, K_11, J_11, L_11}, - {0, K_12, J_12, L_12}, - {0, H_1, G_1, I_1}, - {0, H_2, G_2, I_2}, - {0, H_3, G_3, I_3}, - {0, H_4, G_4, I_4}, - {0, H_5, G_5, I_5}, - {0, H_6, G_6, I_6}, - {0, H_7, G_7, I_7}, - {0, H_8, G_8, I_8}, - {0, H_9, G_9, I_9}, - {0, H_10, G_10, I_10}, - {0, H_11, G_11, I_11}, - {0, H_12, G_12, I_12}, - {0, E_1, D_1, F_1}, - {0, E_2, D_2, F_2}, - {0, E_3, D_3, F_3}, - {0, E_4, D_4, F_4}, - {0, E_5, D_5, F_5}, - {0, E_6, D_6, F_6}, - {0, E_7, D_7, F_7}, - {0, E_8, D_8, F_8}, - {0, E_9, D_9, F_9}, - {0, E_10, D_10, F_10}, - {0, E_11, D_11, F_11}, - {0, E_12, D_12, F_12}, - {0, B_1, A_1, C_1}, - {0, B_2, A_2, C_2}, - {0, B_3, A_3, C_3}, - {0, B_4, A_4, C_4}, - {0, B_5, A_5, C_5}, - {0, B_6, A_6, C_6}, - {0, B_7, A_7, C_7}, - {0, B_8, A_8, C_8}, - {0, B_9, A_9, C_9}, - {0, B_10, A_10, C_10}, - {0, B_11, A_11, C_11}, - {0, B_12, A_12, C_12} + {0, SW11_CS1, SW10_CS1, SW12_CS1}, + {0, SW11_CS2, SW10_CS2, SW12_CS2}, + {0, SW11_CS3, SW10_CS3, SW12_CS3}, + {0, SW11_CS4, SW10_CS4, SW12_CS4}, + {0, SW11_CS5, SW10_CS5, SW12_CS5}, + {0, SW11_CS6, SW10_CS6, SW12_CS6}, + {0, SW11_CS7, SW10_CS7, SW12_CS7}, + {0, SW11_CS8, SW10_CS8, SW12_CS8}, + {0, SW11_CS9, SW10_CS9, SW12_CS9}, + {0, SW11_CS10, SW10_CS10, SW12_CS10}, + {0, SW11_CS11, SW10_CS11, SW12_CS11}, + {0, SW11_CS12, SW10_CS12, SW12_CS12}, + {0, SW8_CS1, SW7_CS1, SW9_CS1}, + {0, SW8_CS2, SW7_CS2, SW9_CS2}, + {0, SW8_CS3, SW7_CS3, SW9_CS3}, + {0, SW8_CS4, SW7_CS4, SW9_CS4}, + {0, SW8_CS5, SW7_CS5, SW9_CS5}, + {0, SW8_CS6, SW7_CS6, SW9_CS6}, + {0, SW8_CS7, SW7_CS7, SW9_CS7}, + {0, SW8_CS8, SW7_CS8, SW9_CS8}, + {0, SW8_CS9, SW7_CS9, SW9_CS9}, + {0, SW8_CS10, SW7_CS10, SW9_CS10}, + {0, SW8_CS11, SW7_CS11, SW9_CS11}, + {0, SW8_CS12, SW7_CS12, SW9_CS12}, + {0, SW5_CS1, SW4_CS1, SW6_CS1}, + {0, SW5_CS2, SW4_CS2, SW6_CS2}, + {0, SW5_CS3, SW4_CS3, SW6_CS3}, + {0, SW5_CS4, SW4_CS4, SW6_CS4}, + {0, SW5_CS5, SW4_CS5, SW6_CS5}, + {0, SW5_CS6, SW4_CS6, SW6_CS6}, + {0, SW5_CS7, SW4_CS7, SW6_CS7}, + {0, SW5_CS8, SW4_CS8, SW6_CS8}, + {0, SW5_CS9, SW4_CS9, SW6_CS9}, + {0, SW5_CS10, SW4_CS10, SW6_CS10}, + {0, SW5_CS11, SW4_CS11, SW6_CS11}, + {0, SW5_CS12, SW4_CS12, SW6_CS12}, + {0, SW2_CS1, SW1_CS1, SW3_CS1}, + {0, SW2_CS2, SW1_CS2, SW3_CS2}, + {0, SW2_CS3, SW1_CS3, SW3_CS3}, + {0, SW2_CS4, SW1_CS4, SW3_CS4}, + {0, SW2_CS5, SW1_CS5, SW3_CS5}, + {0, SW2_CS6, SW1_CS6, SW3_CS6}, + {0, SW2_CS7, SW1_CS7, SW3_CS7}, + {0, SW2_CS8, SW1_CS8, SW3_CS8}, + {0, SW2_CS9, SW1_CS9, SW3_CS9}, + {0, SW2_CS10, SW1_CS10, SW3_CS10}, + {0, SW2_CS11, SW1_CS11, SW3_CS11}, + {0, SW2_CS12, SW1_CS12, SW3_CS12} }; led_config_t g_led_config = { diff --git a/keyboards/gmmk/gmmk2/p65/ansi/ansi.c b/keyboards/gmmk/gmmk2/p65/ansi/ansi.c index 7c43f8d5eca..d1f01fc8cb5 100644 --- a/keyboards/gmmk/gmmk2/p65/ansi/ansi.c +++ b/keyboards/gmmk/gmmk2/p65/ansi/ansi.c @@ -25,98 +25,98 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS1_SW1, CS2_SW1, CS3_SW1 }, // 0 Esc - {0, CS4_SW2, CS5_SW2, CS6_SW2 }, // 1 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3 }, // 2 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4 }, // 3 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5 }, // 4 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6 }, // 5 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7 }, // 6 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8 }, // 7 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9 }, // 8 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10 }, // 9 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11 }, // 10 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12 }, // 11 - - {1, CS1_SW5, CS2_SW5, CS3_SW5 }, // 12 = - {1, CS1_SW7, CS2_SW7, CS3_SW7 }, // 13 Backspace - {1, CS4_SW4, CS5_SW4, CS6_SW4 }, // 14 Del + {0, SW1_CS1, SW1_CS2, SW1_CS3 }, // 0 Esc + {0, SW2_CS4, SW2_CS5, SW2_CS6 }, // 1 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6 }, // 2 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6 }, // 3 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6 }, // 4 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6 }, // 5 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6 }, // 6 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6 }, // 7 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6 }, // 8 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6 }, // 9 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6 }, // 10 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6 }, // 11 - + {1, SW5_CS1, SW5_CS2, SW5_CS3 }, // 12 = + {1, SW7_CS1, SW7_CS2, SW7_CS3 }, // 13 Backspace + {1, SW4_CS4, SW4_CS5, SW4_CS6 }, // 14 Del - {0, CS7_SW1, CS8_SW1, CS9_SW1 }, // 15 Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2 }, // 16 Q - {0, CS7_SW3, CS8_SW3, CS9_SW3 }, // 17 W - {0, CS7_SW4, CS8_SW4, CS9_SW4 }, // 18 E - {0, CS7_SW5, CS8_SW5, CS9_SW5 }, // 19 R - {0, CS7_SW6, CS8_SW6, CS9_SW6 }, // 20 T - {0, CS7_SW7, CS8_SW7, CS9_SW7 }, // 21 Y - {0, CS7_SW8, CS8_SW8, CS9_SW8 }, // 22 U - {0, CS7_SW9, CS8_SW9, CS9_SW9 }, // 23 I - {0, CS7_SW10, CS8_SW10, CS9_SW10 }, // 24 O - {0, CS7_SW11, CS8_SW11, CS9_SW11 }, // 25 P - {0, CS7_SW12, CS8_SW12, CS9_SW12 }, // 26 [ - {1, CS1_SW8, CS2_SW8, CS3_SW8 }, // 27 ] - {1, CS1_SW9, CS2_SW9, CS3_SW9 }, // 28 \| - {1, CS4_SW7, CS5_SW7, CS6_SW7 }, // 29 PgUp + {0, SW1_CS7, SW1_CS8, SW1_CS9 }, // 15 Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9 }, // 16 Q + {0, SW3_CS7, SW3_CS8, SW3_CS9 }, // 17 W + {0, SW4_CS7, SW4_CS8, SW4_CS9 }, // 18 E + {0, SW5_CS7, SW5_CS8, SW5_CS9 }, // 19 R + {0, SW6_CS7, SW6_CS8, SW6_CS9 }, // 20 T + {0, SW7_CS7, SW7_CS8, SW7_CS9 }, // 21 Y + {0, SW8_CS7, SW8_CS8, SW8_CS9 }, // 22 U + {0, SW9_CS7, SW9_CS8, SW9_CS9 }, // 23 I + {0, SW10_CS7, SW10_CS8, SW10_CS9 }, // 24 O + {0, SW11_CS7, SW11_CS8, SW11_CS9 }, // 25 P + {0, SW12_CS7, SW12_CS8, SW12_CS9 }, // 26 [ + {1, SW8_CS1, SW8_CS2, SW8_CS3 }, // 27 ] + {1, SW9_CS1, SW9_CS2, SW9_CS3 }, // 28 \| + {1, SW7_CS4, SW7_CS5, SW7_CS6 }, // 29 PgUp - {0, CS10_SW1, CS11_SW1, CS12_SW1 }, // 30 Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2 }, // 31 A - {0, CS10_SW3, CS11_SW3, CS12_SW3 }, // 32 S - {0, CS10_SW4, CS11_SW4, CS12_SW4 }, // 33 D - {0, CS10_SW5, CS11_SW5, CS12_SW5 }, // 34 F - {0, CS10_SW6, CS11_SW6, CS12_SW6 }, // 35 G - {0, CS10_SW7, CS11_SW7, CS12_SW7 }, // 36 H - {0, CS10_SW8, CS11_SW8, CS12_SW8 }, // 37 J - {0, CS10_SW9, CS11_SW9, CS12_SW9 }, // 38 K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 39 L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 40 ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 41 ' - {1, CS1_SW11, CS2_SW11, CS3_SW11 }, // 42 Enter - {1, CS4_SW5, CS5_SW5, CS6_SW5 }, // 43 PgDn + {0, SW1_CS10, SW1_CS11, SW1_CS12 }, // 30 Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12 }, // 31 A + {0, SW3_CS10, SW3_CS11, SW3_CS12 }, // 32 S + {0, SW4_CS10, SW4_CS11, SW4_CS12 }, // 33 D + {0, SW5_CS10, SW5_CS11, SW5_CS12 }, // 34 F + {0, SW6_CS10, SW6_CS11, SW6_CS12 }, // 35 G + {0, SW7_CS10, SW7_CS11, SW7_CS12 }, // 36 H + {0, SW8_CS10, SW8_CS11, SW8_CS12 }, // 37 J + {0, SW9_CS10, SW9_CS11, SW9_CS12 }, // 38 K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 39 L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 40 ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 41 ' + {1, SW11_CS1, SW11_CS2, SW11_CS3 }, // 42 Enter + {1, SW5_CS4, SW5_CS5, SW5_CS6 }, // 43 PgDn - {0, CS13_SW1, CS14_SW1, CS15_SW1 }, // 44 Shift_L - {0, CS13_SW3, CS14_SW3, CS15_SW3 }, // 45 Z - {0, CS13_SW4, CS14_SW4, CS15_SW4 }, // 46 X - {0, CS13_SW5, CS14_SW5, CS15_SW5 }, // 47 C - {0, CS13_SW6, CS14_SW6, CS15_SW6 }, // 48 V - {0, CS13_SW7, CS14_SW7, CS15_SW7 }, // 49 B - {0, CS13_SW8, CS14_SW8, CS15_SW8 }, // 50 N - {0, CS13_SW9, CS14_SW9, CS15_SW9 }, // 51 M - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 52 , - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 53 . - {0, CS13_SW12, CS14_SW12, CS15_SW12}, // 54 / - {1, CS4_SW8, CS5_SW8, CS6_SW8 }, // 55 Shift_R - {1, CS4_SW9, CS5_SW9, CS6_SW9 }, // 56 Up - {1, CS4_SW6, CS5_SW6, CS6_SW6 }, // 57 END + {0, SW1_CS13, SW1_CS14, SW1_CS15 }, // 44 Shift_L + {0, SW3_CS13, SW3_CS14, SW3_CS15 }, // 45 Z + {0, SW4_CS13, SW4_CS14, SW4_CS15 }, // 46 X + {0, SW5_CS13, SW5_CS14, SW5_CS15 }, // 47 C + {0, SW6_CS13, SW6_CS14, SW6_CS15 }, // 48 V + {0, SW7_CS13, SW7_CS14, SW7_CS15 }, // 49 B + {0, SW8_CS13, SW8_CS14, SW8_CS15 }, // 50 N + {0, SW9_CS13, SW9_CS14, SW9_CS15 }, // 51 M + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 52 , + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 53 . + {0, SW12_CS13, SW12_CS14, SW12_CS15}, // 54 / + {1, SW8_CS4, SW8_CS5, SW8_CS6 }, // 55 Shift_R + {1, SW9_CS4, SW9_CS5, SW9_CS6 }, // 56 Up + {1, SW6_CS4, SW6_CS5, SW6_CS6 }, // 57 END - {0, CS16_SW1, CS17_SW1, CS18_SW1 }, // 58 Ctrl_L - {0, CS16_SW2, CS17_SW2, CS18_SW2 }, // 59 Win_L - {0, CS16_SW3, CS17_SW3, CS18_SW3 }, // 60 Alt_L - {0, CS16_SW6, CS17_SW6, CS18_SW6 }, // 61 Space - {0, CS16_SW9, CS17_SW9, CS18_SW9 }, // 62 Alt_R - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 63 FN - {1, CS4_SW10, CS5_SW10, CS6_SW10 }, // 64 Left - {1, CS4_SW11, CS5_SW11, CS6_SW11 }, // 65 Down - {1, CS4_SW12, CS5_SW12, CS6_SW12 }, // 66 Right + {0, SW1_CS16, SW1_CS17, SW1_CS18 }, // 58 Ctrl_L + {0, SW2_CS16, SW2_CS17, SW2_CS18 }, // 59 Win_L + {0, SW3_CS16, SW3_CS17, SW3_CS18 }, // 60 Alt_L + {0, SW6_CS16, SW6_CS17, SW6_CS18 }, // 61 Space + {0, SW9_CS16, SW9_CS17, SW9_CS18 }, // 62 Alt_R + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 63 FN + {1, SW10_CS4, SW10_CS5, SW10_CS6 }, // 64 Left + {1, SW11_CS4, SW11_CS5, SW11_CS6 }, // 65 Down + {1, SW12_CS4, SW12_CS5, SW12_CS6 }, // 66 Right - {1, CS13_SW1, CS14_SW1, CS15_SW1 }, // 69 LED 1 - {1, CS13_SW2, CS14_SW2, CS15_SW2 }, // 70 LED 2 - {1, CS13_SW3, CS14_SW3, CS15_SW3 }, // 71 LED 3 - {1, CS13_SW4, CS14_SW4, CS15_SW4 }, // 72 LED 4 - {1, CS13_SW5, CS14_SW5, CS15_SW5 }, // 73 LED 5 - {1, CS13_SW6, CS14_SW6, CS15_SW6 }, // 74 LED 6 - {1, CS13_SW7, CS14_SW7, CS15_SW7 }, // 75 LED 7 - {1, CS13_SW8, CS14_SW8, CS15_SW8 }, // 76 LED 8 - {1, CS13_SW9, CS14_SW9, CS15_SW9 }, // 77 LED 9 - {1, CS13_SW10, CS14_SW10, CS15_SW10}, // 78 LED 10 - {1, CS16_SW1, CS17_SW1, CS18_SW1 }, // 79 LED 11 - {1, CS16_SW2, CS17_SW2, CS18_SW2 }, // 80 LED 12 - {1, CS16_SW3, CS17_SW3, CS18_SW3 }, // 81 LED 13 - {1, CS16_SW4, CS17_SW4, CS18_SW4 }, // 82 LED 14 - {1, CS16_SW5, CS17_SW5, CS18_SW5 }, // 83 LED 15 - {1, CS16_SW6, CS17_SW6, CS18_SW6 }, // 84 LED 16 - {1, CS16_SW7, CS17_SW7, CS18_SW7 }, // 85 LED 17 - {1, CS16_SW8, CS17_SW8, CS18_SW8 }, // 86 LED 18 - {1, CS16_SW9, CS17_SW9, CS18_SW9 }, // 87 LED 19 - {1, CS16_SW10, CS17_SW10, CS18_SW10} // 88 LED 20 + {1, SW1_CS13, SW1_CS14, SW1_CS15 }, // 69 LED 1 + {1, SW2_CS13, SW2_CS14, SW2_CS15 }, // 70 LED 2 + {1, SW3_CS13, SW3_CS14, SW3_CS15 }, // 71 LED 3 + {1, SW4_CS13, SW4_CS14, SW4_CS15 }, // 72 LED 4 + {1, SW5_CS13, SW5_CS14, SW5_CS15 }, // 73 LED 5 + {1, SW6_CS13, SW6_CS14, SW6_CS15 }, // 74 LED 6 + {1, SW7_CS13, SW7_CS14, SW7_CS15 }, // 75 LED 7 + {1, SW8_CS13, SW8_CS14, SW8_CS15 }, // 76 LED 8 + {1, SW9_CS13, SW9_CS14, SW9_CS15 }, // 77 LED 9 + {1, SW10_CS13, SW10_CS14, SW10_CS15}, // 78 LED 10 + {1, SW1_CS16, SW1_CS17, SW1_CS18 }, // 79 LED 11 + {1, SW2_CS16, SW2_CS17, SW2_CS18 }, // 80 LED 12 + {1, SW3_CS16, SW3_CS17, SW3_CS18 }, // 81 LED 13 + {1, SW4_CS16, SW4_CS17, SW4_CS18 }, // 82 LED 14 + {1, SW5_CS16, SW5_CS17, SW5_CS18 }, // 83 LED 15 + {1, SW6_CS16, SW6_CS17, SW6_CS18 }, // 84 LED 16 + {1, SW7_CS16, SW7_CS17, SW7_CS18 }, // 85 LED 17 + {1, SW8_CS16, SW8_CS17, SW8_CS18 }, // 86 LED 18 + {1, SW9_CS16, SW9_CS17, SW9_CS18 }, // 87 LED 19 + {1, SW10_CS16, SW10_CS17, SW10_CS18} // 88 LED 20 }; #define __ NO_LED diff --git a/keyboards/gmmk/gmmk2/p65/iso/iso.c b/keyboards/gmmk/gmmk2/p65/iso/iso.c index 9a591cd4ef7..2be52853941 100644 --- a/keyboards/gmmk/gmmk2/p65/iso/iso.c +++ b/keyboards/gmmk/gmmk2/p65/iso/iso.c @@ -25,99 +25,99 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS1_SW1, CS2_SW1, CS3_SW1 }, // 0 Esc - {0, CS4_SW2, CS5_SW2, CS6_SW2 }, // 1 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3 }, // 2 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4 }, // 3 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5 }, // 4 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6 }, // 5 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7 }, // 6 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8 }, // 7 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9 }, // 8 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10 }, // 9 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11 }, // 10 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12 }, // 11 - - {1, CS1_SW5, CS2_SW5, CS3_SW5 }, // 12 = - {1, CS1_SW7, CS2_SW7, CS3_SW7 }, // 13 Backspace - {1, CS4_SW4, CS5_SW4, CS6_SW4 }, // 14 HOME + {0, SW1_CS1, SW1_CS2, SW1_CS3 }, // 0 Esc + {0, SW2_CS4, SW2_CS5, SW2_CS6 }, // 1 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6 }, // 2 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6 }, // 3 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6 }, // 4 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6 }, // 5 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6 }, // 6 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6 }, // 7 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6 }, // 8 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6 }, // 9 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6 }, // 10 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6 }, // 11 - + {1, SW5_CS1, SW5_CS2, SW5_CS3 }, // 12 = + {1, SW7_CS1, SW7_CS2, SW7_CS3 }, // 13 Backspace + {1, SW4_CS4, SW4_CS5, SW4_CS6 }, // 14 HOME - {0, CS7_SW1, CS8_SW1, CS9_SW1 }, // 15 Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2 }, // 16 Q - {0, CS7_SW3, CS8_SW3, CS9_SW3 }, // 17 W - {0, CS7_SW4, CS8_SW4, CS9_SW4 }, // 18 E - {0, CS7_SW5, CS8_SW5, CS9_SW5 }, // 19 R - {0, CS7_SW6, CS8_SW6, CS9_SW6 }, // 20 T - {0, CS7_SW7, CS8_SW7, CS9_SW7 }, // 21 Y - {0, CS7_SW8, CS8_SW8, CS9_SW8 }, // 22 U - {0, CS7_SW9, CS8_SW9, CS9_SW9 }, // 23 I - {0, CS7_SW10, CS8_SW10, CS9_SW10 }, // 24 O - {0, CS7_SW11, CS8_SW11, CS9_SW11 }, // 25 P - {0, CS7_SW12, CS8_SW12, CS9_SW12 }, // 26 [ - {1, CS1_SW8, CS2_SW8, CS3_SW8 }, // 27 ] - {1, CS1_SW11, CS2_SW11, CS3_SW11 }, // 28 ENTER - {1, CS4_SW7, CS5_SW7, CS6_SW7 }, // 29 PgUp + {0, SW1_CS7, SW1_CS8, SW1_CS9 }, // 15 Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9 }, // 16 Q + {0, SW3_CS7, SW3_CS8, SW3_CS9 }, // 17 W + {0, SW4_CS7, SW4_CS8, SW4_CS9 }, // 18 E + {0, SW5_CS7, SW5_CS8, SW5_CS9 }, // 19 R + {0, SW6_CS7, SW6_CS8, SW6_CS9 }, // 20 T + {0, SW7_CS7, SW7_CS8, SW7_CS9 }, // 21 Y + {0, SW8_CS7, SW8_CS8, SW8_CS9 }, // 22 U + {0, SW9_CS7, SW9_CS8, SW9_CS9 }, // 23 I + {0, SW10_CS7, SW10_CS8, SW10_CS9 }, // 24 O + {0, SW11_CS7, SW11_CS8, SW11_CS9 }, // 25 P + {0, SW12_CS7, SW12_CS8, SW12_CS9 }, // 26 [ + {1, SW8_CS1, SW8_CS2, SW8_CS3 }, // 27 ] + {1, SW11_CS1, SW11_CS2, SW11_CS3 }, // 28 ENTER + {1, SW7_CS4, SW7_CS5, SW7_CS6 }, // 29 PgUp - {0, CS10_SW1, CS11_SW1, CS12_SW1 }, // 30 Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2 }, // 31 A - {0, CS10_SW3, CS11_SW3, CS12_SW3 }, // 32 S - {0, CS10_SW4, CS11_SW4, CS12_SW4 }, // 33 D - {0, CS10_SW5, CS11_SW5, CS12_SW5 }, // 34 F - {0, CS10_SW6, CS11_SW6, CS12_SW6 }, // 35 G - {0, CS10_SW7, CS11_SW7, CS12_SW7 }, // 36 H - {0, CS10_SW8, CS11_SW8, CS12_SW8 }, // 37 J - {0, CS10_SW9, CS11_SW9, CS12_SW9 }, // 38 K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 39 L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 40 ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 41 ' - {1, CS1_SW10, CS2_SW10, CS3_SW10 }, // 42 k42 - {1, CS4_SW5, CS5_SW5, CS6_SW5 }, // 43 PgDn + {0, SW1_CS10, SW1_CS11, SW1_CS12 }, // 30 Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12 }, // 31 A + {0, SW3_CS10, SW3_CS11, SW3_CS12 }, // 32 S + {0, SW4_CS10, SW4_CS11, SW4_CS12 }, // 33 D + {0, SW5_CS10, SW5_CS11, SW5_CS12 }, // 34 F + {0, SW6_CS10, SW6_CS11, SW6_CS12 }, // 35 G + {0, SW7_CS10, SW7_CS11, SW7_CS12 }, // 36 H + {0, SW8_CS10, SW8_CS11, SW8_CS12 }, // 37 J + {0, SW9_CS10, SW9_CS11, SW9_CS12 }, // 38 K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 39 L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 40 ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 41 ' + {1, SW10_CS1, SW10_CS2, SW10_CS3 }, // 42 k42 + {1, SW5_CS4, SW5_CS5, SW5_CS6 }, // 43 PgDn - {0, CS13_SW1, CS14_SW1, CS15_SW1 }, // 44 Shift_L - {0, CS13_SW2, CS14_SW2, CS15_SW2 }, // 45 k45 - {0, CS13_SW3, CS14_SW3, CS15_SW3 }, // 46 Z - {0, CS13_SW4, CS14_SW4, CS15_SW4 }, // 47 X - {0, CS13_SW5, CS14_SW5, CS15_SW5 }, // 48 C - {0, CS13_SW6, CS14_SW6, CS15_SW6 }, // 49 V - {0, CS13_SW7, CS14_SW7, CS15_SW7 }, // 50 B - {0, CS13_SW8, CS14_SW8, CS15_SW8 }, // 51 N - {0, CS13_SW9, CS14_SW9, CS15_SW9 }, // 52 M - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 53 , - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 54 . - {0, CS13_SW12, CS14_SW12, CS15_SW12}, // 55 / - {1, CS4_SW8, CS5_SW8, CS6_SW8 }, // 56 Shift_R - {1, CS4_SW9, CS5_SW9, CS6_SW9 }, // 57 Up - {1, CS4_SW6, CS5_SW6, CS6_SW6 }, // 58 END + {0, SW1_CS13, SW1_CS14, SW1_CS15 }, // 44 Shift_L + {0, SW2_CS13, SW2_CS14, SW2_CS15 }, // 45 k45 + {0, SW3_CS13, SW3_CS14, SW3_CS15 }, // 46 Z + {0, SW4_CS13, SW4_CS14, SW4_CS15 }, // 47 X + {0, SW5_CS13, SW5_CS14, SW5_CS15 }, // 48 C + {0, SW6_CS13, SW6_CS14, SW6_CS15 }, // 49 V + {0, SW7_CS13, SW7_CS14, SW7_CS15 }, // 50 B + {0, SW8_CS13, SW8_CS14, SW8_CS15 }, // 51 N + {0, SW9_CS13, SW9_CS14, SW9_CS15 }, // 52 M + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 53 , + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 54 . + {0, SW12_CS13, SW12_CS14, SW12_CS15}, // 55 / + {1, SW8_CS4, SW8_CS5, SW8_CS6 }, // 56 Shift_R + {1, SW9_CS4, SW9_CS5, SW9_CS6 }, // 57 Up + {1, SW6_CS4, SW6_CS5, SW6_CS6 }, // 58 END - {0, CS16_SW1, CS17_SW1, CS18_SW1 }, // 59 Ctrl_L - {0, CS16_SW2, CS17_SW2, CS18_SW2 }, // 60 Win_L - {0, CS16_SW3, CS17_SW3, CS18_SW3 }, // 61 Alt_L - {0, CS16_SW6, CS17_SW6, CS18_SW6 }, // 62 Space - {0, CS16_SW9, CS17_SW9, CS18_SW9 }, // 63 Alt_R - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 64 FN - {1, CS4_SW10, CS5_SW10, CS6_SW10 }, // 65 Left - {1, CS4_SW11, CS5_SW11, CS6_SW11 }, // 66 Down - {1, CS4_SW12, CS5_SW12, CS6_SW12 }, // 67 Right + {0, SW1_CS16, SW1_CS17, SW1_CS18 }, // 59 Ctrl_L + {0, SW2_CS16, SW2_CS17, SW2_CS18 }, // 60 Win_L + {0, SW3_CS16, SW3_CS17, SW3_CS18 }, // 61 Alt_L + {0, SW6_CS16, SW6_CS17, SW6_CS18 }, // 62 Space + {0, SW9_CS16, SW9_CS17, SW9_CS18 }, // 63 Alt_R + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 64 FN + {1, SW10_CS4, SW10_CS5, SW10_CS6 }, // 65 Left + {1, SW11_CS4, SW11_CS5, SW11_CS6 }, // 66 Down + {1, SW12_CS4, SW12_CS5, SW12_CS6 }, // 67 Right - {1, CS13_SW1, CS14_SW1, CS15_SW1 }, // 68 LED 1 - {1, CS13_SW2, CS14_SW2, CS15_SW2 }, // 69 LED 2 - {1, CS13_SW3, CS14_SW3, CS15_SW3 }, // 70 LED 3 - {1, CS13_SW4, CS14_SW4, CS15_SW4 }, // 71 LED 4 - {1, CS13_SW5, CS14_SW5, CS15_SW5 }, // 72 LED 5 - {1, CS13_SW6, CS14_SW6, CS15_SW6 }, // 73 LED 6 - {1, CS13_SW7, CS14_SW7, CS15_SW7 }, // 74 LED 7 - {1, CS13_SW8, CS14_SW8, CS15_SW8 }, // 75 LED 8 - {1, CS13_SW9, CS14_SW9, CS15_SW9 }, // 76 LED 9 - {1, CS13_SW10, CS14_SW10, CS15_SW10}, // 77 LED 10 - {1, CS16_SW1, CS17_SW1, CS18_SW1 }, // 78 LED 11 - {1, CS16_SW2, CS17_SW2, CS18_SW2 }, // 79 LED 12 - {1, CS16_SW3, CS17_SW3, CS18_SW3 }, // 80 LED 13 - {1, CS16_SW4, CS17_SW4, CS18_SW4 }, // 81 LED 14 - {1, CS16_SW5, CS17_SW5, CS18_SW5 }, // 82 LED 15 - {1, CS16_SW6, CS17_SW6, CS18_SW6 }, // 83 LED 16 - {1, CS16_SW7, CS17_SW7, CS18_SW7 }, // 84 LED 17 - {1, CS16_SW8, CS17_SW8, CS18_SW8 }, // 85 LED 18 - {1, CS16_SW9, CS17_SW9, CS18_SW9 }, // 86 LED 19 - {1, CS16_SW10, CS17_SW10, CS18_SW10} // 87 LED 20 + {1, SW1_CS13, SW1_CS14, SW1_CS15 }, // 68 LED 1 + {1, SW2_CS13, SW2_CS14, SW2_CS15 }, // 69 LED 2 + {1, SW3_CS13, SW3_CS14, SW3_CS15 }, // 70 LED 3 + {1, SW4_CS13, SW4_CS14, SW4_CS15 }, // 71 LED 4 + {1, SW5_CS13, SW5_CS14, SW5_CS15 }, // 72 LED 5 + {1, SW6_CS13, SW6_CS14, SW6_CS15 }, // 73 LED 6 + {1, SW7_CS13, SW7_CS14, SW7_CS15 }, // 74 LED 7 + {1, SW8_CS13, SW8_CS14, SW8_CS15 }, // 75 LED 8 + {1, SW9_CS13, SW9_CS14, SW9_CS15 }, // 76 LED 9 + {1, SW10_CS13, SW10_CS14, SW10_CS15}, // 77 LED 10 + {1, SW1_CS16, SW1_CS17, SW1_CS18 }, // 78 LED 11 + {1, SW2_CS16, SW2_CS17, SW2_CS18 }, // 79 LED 12 + {1, SW3_CS16, SW3_CS17, SW3_CS18 }, // 80 LED 13 + {1, SW4_CS16, SW4_CS17, SW4_CS18 }, // 81 LED 14 + {1, SW5_CS16, SW5_CS17, SW5_CS18 }, // 82 LED 15 + {1, SW6_CS16, SW6_CS17, SW6_CS18 }, // 83 LED 16 + {1, SW7_CS16, SW7_CS17, SW7_CS18 }, // 84 LED 17 + {1, SW8_CS16, SW8_CS17, SW8_CS18 }, // 85 LED 18 + {1, SW9_CS16, SW9_CS17, SW9_CS18 }, // 86 LED 19 + {1, SW10_CS16, SW10_CS17, SW10_CS18} // 87 LED 20 }; #define __ NO_LED diff --git a/keyboards/gmmk/gmmk2/p96/ansi/ansi.c b/keyboards/gmmk/gmmk2/p96/ansi/ansi.c index 83dcad728a9..d60b9e2254f 100644 --- a/keyboards/gmmk/gmmk2/p96/ansi/ansi.c +++ b/keyboards/gmmk/gmmk2/p96/ansi/ansi.c @@ -25,131 +25,131 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 0, k00, Esc - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 1, k10, F1 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 2, k20, F2 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 3, k30, F3 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 4, k40, F4 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 5, k50, F5 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 6, k60, F6 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 7, k70, F7 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 8, k80, F8 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 9, k90, F9 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 10, ka0, F10 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 11, kb0, F11 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 12, kc0, F12 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 13, kd0, Printscreen - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 14, k06, Delete - {1, CS1_SW2, CS2_SW2, CS3_SW2}, // 15, k16, Insert - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 16, k26, Page Up - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 17, k36, Page Down + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 0, k00, Esc + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 1, k10, F1 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 2, k20, F2 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 3, k30, F3 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 4, k40, F4 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 5, k50, F5 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 6, k60, F6 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 7, k70, F7 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 8, k80, F8 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 9, k90, F9 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 10, ka0, F10 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 11, kb0, F11 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 12, kc0, F12 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 13, kd0, Printscreen + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 14, k06, Delete + {1, SW2_CS1, SW2_CS2, SW2_CS3}, // 15, k16, Insert + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 16, k26, Page Up + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 17, k36, Page Down - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 18, k01, ` - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 19, k11, 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 20, k21, 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 21, k31, 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 22, k41, 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 23, k51, 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 24, k61, 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 25, k71, 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 26, k81, 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 27, k91, 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 28, ka1, 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 29, kb1, - - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 30, kc1, = - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 31, kd1, Backspace - {1, CS7_SW1, CS8_SW1, CS9_SW1}, // 32, k46, Num Lock - {1, CS7_SW2, CS8_SW2, CS9_SW2}, // 33, k56, Num / - {1, CS7_SW3, CS8_SW3, CS9_SW3}, // 34, k66, Num * - {1, CS7_SW4, CS8_SW4, CS9_SW4}, // 35, k76, Num - + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 18, k01, ` + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 19, k11, 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 20, k21, 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 21, k31, 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 22, k41, 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 23, k51, 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 24, k61, 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 25, k71, 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 26, k81, 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 27, k91, 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 28, ka1, 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 29, kb1, - + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 30, kc1, = + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 31, kd1, Backspace + {1, SW1_CS7, SW1_CS8, SW1_CS9}, // 32, k46, Num Lock + {1, SW2_CS7, SW2_CS8, SW2_CS9}, // 33, k56, Num / + {1, SW3_CS7, SW3_CS8, SW3_CS9}, // 34, k66, Num * + {1, SW4_CS7, SW4_CS8, SW4_CS9}, // 35, k76, Num - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 36, k02, Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 37, k12, Q - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 38, k22, W - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 39, k32, E - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 40, k42, R - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 41, k52, T - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 42, k62, Y - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 43, k72, U - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 44, k82, I - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 45, k92, O - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 46, ka2, P - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 47, kb2, [ - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 48, kc2, ] - {1, CS1_SW9, CS2_SW9, CS3_SW9}, // 49, kd3, "\\" - {1, CS7_SW5, CS8_SW5, CS9_SW5}, // 50, k86, Num 7 - {1, CS7_SW6, CS8_SW6, CS9_SW6}, // 51, k96, Num 8 - {1, CS7_SW7, CS8_SW7, CS9_SW7}, // 52, ka6, Num 9 - {1, CS7_SW8, CS8_SW8, CS9_SW8}, // 53, kb6, Num + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 36, k02, Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 37, k12, Q + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 38, k22, W + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 39, k32, E + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 40, k42, R + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 41, k52, T + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 42, k62, Y + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 43, k72, U + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 44, k82, I + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 45, k92, O + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 46, ka2, P + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 47, kb2, [ + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 48, kc2, ] + {1, SW9_CS1, SW9_CS2, SW9_CS3}, // 49, kd3, "\\" + {1, SW5_CS7, SW5_CS8, SW5_CS9}, // 50, k86, Num 7 + {1, SW6_CS7, SW6_CS8, SW6_CS9}, // 51, k96, Num 8 + {1, SW7_CS7, SW7_CS8, SW7_CS9}, // 52, ka6, Num 9 + {1, SW8_CS7, SW8_CS8, SW8_CS9}, // 53, kb6, Num + - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 54, k03, Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 55, k13, A - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 56, k23, S - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 57, k33, D - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 58, k43, F - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 59, k53, G - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 60, k63, H - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 61, k73, J - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 62, k83, K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 63, k93, L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 64, ka3, ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 65, kb3, ' - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 66, kc3, Enter - {1, CS7_SW9, CS8_SW9, CS9_SW9}, // 67, ka7, Num 4 - {1, CS7_SW10, CS8_SW10, CS9_SW10}, // 68, kb7, Num 5 - {1, CS7_SW11, CS8_SW11, CS9_SW11}, // 69, kc7, Num 6 + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 54, k03, Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 55, k13, A + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 56, k23, S + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 57, k33, D + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 58, k43, F + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 59, k53, G + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 60, k63, H + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 61, k73, J + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 62, k83, K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 63, k93, L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 64, ka3, ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 65, kb3, ' + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 66, kc3, Enter + {1, SW9_CS7, SW9_CS8, SW9_CS9}, // 67, ka7, Num 4 + {1, SW10_CS7, SW10_CS8, SW10_CS9}, // 68, kb7, Num 5 + {1, SW11_CS7, SW11_CS8, SW11_CS9}, // 69, kc7, Num 6 - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 70, k04, Shift_L - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 71, k24, Z - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 72, k34, X - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 73, k44, C - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 74, k54, V - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 75, k64, B - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 76, k74, N - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 77, k84, M - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 78, k94, , - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 79, ka4, . - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 80, kb4, / - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 81, kd4, Shift_R - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 82, k17, Up - {1, CS10_SW1, CS11_SW1, CS12_SW1}, // 83, k67, Num 1 - {1, CS10_SW2, CS11_SW2, CS12_SW2}, // 84, k77, Num 2 - {1, CS10_SW3, CS11_SW3, CS12_SW3}, // 85, k87, Num 3 - {1, CS10_SW4, CS11_SW4, CS12_SW4}, // 86, k97, Enter_R + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 70, k04, Shift_L + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 71, k24, Z + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 72, k34, X + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 73, k44, C + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 74, k54, V + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 75, k64, B + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 76, k74, N + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 77, k84, M + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 78, k94, , + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 79, ka4, . + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 80, kb4, / + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 81, kd4, Shift_R + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 82, k17, Up + {1, SW1_CS10, SW1_CS11, SW1_CS12}, // 83, k67, Num 1 + {1, SW2_CS10, SW2_CS11, SW2_CS12}, // 84, k77, Num 2 + {1, SW3_CS10, SW3_CS11, SW3_CS12}, // 85, k87, Num 3 + {1, SW4_CS10, SW4_CS11, SW4_CS12}, // 86, k97, Enter_R - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 87, k05, Ctrl_L - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 88, k15, Win_L - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 89, k25, Alt_L - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 90, k65, Space - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 91, k95, Alt_R - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 92, ka5, FN - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 93, kc5, Ctrl_R - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 94, k07, Left - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 95, k27, Down - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 96, k37, Right - {1, CS10_SW6, CS11_SW6, CS12_SW6}, // 97, k47, Num 0 - {1, CS10_SW7, CS11_SW7, CS12_SW7}, // 98, k57, Num . + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 87, k05, Ctrl_L + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 88, k15, Win_L + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 89, k25, Alt_L + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 90, k65, Space + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 91, k95, Alt_R + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 92, ka5, FN + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 93, kc5, Ctrl_R + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 94, k07, Left + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 95, k27, Down + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 96, k37, Right + {1, SW6_CS10, SW6_CS11, SW6_CS12}, // 97, k47, Num 0 + {1, SW7_CS10, SW7_CS11, SW7_CS12}, // 98, k57, Num . - {1, CS13_SW1, CS14_SW1, CS15_SW1}, // 101, LED 1 - {1, CS13_SW2, CS14_SW2, CS15_SW2}, // 102, LED 2 - {1, CS13_SW3, CS14_SW3, CS15_SW3}, // 103, LED 3 - {1, CS13_SW4, CS14_SW4, CS15_SW4}, // 104, LED 4 - {1, CS13_SW5, CS14_SW5, CS15_SW5}, // 105, LED 5 - {1, CS13_SW6, CS14_SW6, CS15_SW6}, // 106, LED 6 - {1, CS13_SW7, CS14_SW7, CS15_SW7}, // 107, LED 7 - {1, CS13_SW8, CS14_SW8, CS15_SW8}, // 108, LED 8 - {1, CS13_SW9, CS14_SW9, CS15_SW9}, // 109, LED 9 - {1, CS13_SW10, CS14_SW10, CS15_SW10}, // 110, LED 10 - {1, CS16_SW1, CS17_SW1, CS18_SW1}, // 111, LED 11 - {1, CS16_SW2, CS17_SW2, CS18_SW2}, // 112, LED 12 - {1, CS16_SW3, CS17_SW3, CS18_SW3}, // 113, LED 13 - {1, CS16_SW4, CS17_SW4, CS18_SW4}, // 114, LED 14 - {1, CS16_SW5, CS17_SW5, CS18_SW5}, // 115, LED 15 - {1, CS16_SW6, CS17_SW6, CS18_SW6}, // 116, LED 16 - {1, CS16_SW7, CS17_SW7, CS18_SW7}, // 117, LED 17 - {1, CS16_SW8, CS17_SW8, CS18_SW8}, // 118, LED 18 - {1, CS16_SW9, CS17_SW9, CS18_SW9}, // 119, LED 19 - {1, CS16_SW10, CS17_SW10, CS18_SW10} // 120, LED 20 + {1, SW1_CS13, SW1_CS14, SW1_CS15}, // 101, LED 1 + {1, SW2_CS13, SW2_CS14, SW2_CS15}, // 102, LED 2 + {1, SW3_CS13, SW3_CS14, SW3_CS15}, // 103, LED 3 + {1, SW4_CS13, SW4_CS14, SW4_CS15}, // 104, LED 4 + {1, SW5_CS13, SW5_CS14, SW5_CS15}, // 105, LED 5 + {1, SW6_CS13, SW6_CS14, SW6_CS15}, // 106, LED 6 + {1, SW7_CS13, SW7_CS14, SW7_CS15}, // 107, LED 7 + {1, SW8_CS13, SW8_CS14, SW8_CS15}, // 108, LED 8 + {1, SW9_CS13, SW9_CS14, SW9_CS15}, // 109, LED 9 + {1, SW10_CS13, SW10_CS14, SW10_CS15}, // 110, LED 10 + {1, SW1_CS16, SW1_CS17, SW1_CS18}, // 111, LED 11 + {1, SW2_CS16, SW2_CS17, SW2_CS18}, // 112, LED 12 + {1, SW3_CS16, SW3_CS17, SW3_CS18}, // 113, LED 13 + {1, SW4_CS16, SW4_CS17, SW4_CS18}, // 114, LED 14 + {1, SW5_CS16, SW5_CS17, SW5_CS18}, // 115, LED 15 + {1, SW6_CS16, SW6_CS17, SW6_CS18}, // 116, LED 16 + {1, SW7_CS16, SW7_CS17, SW7_CS18}, // 117, LED 17 + {1, SW8_CS16, SW8_CS17, SW8_CS18}, // 118, LED 18 + {1, SW9_CS16, SW9_CS17, SW9_CS18}, // 119, LED 19 + {1, SW10_CS16, SW10_CS17, SW10_CS18} // 120, LED 20 }; #define __ NO_LED diff --git a/keyboards/gmmk/gmmk2/p96/iso/iso.c b/keyboards/gmmk/gmmk2/p96/iso/iso.c index d412215fc48..af2ee17c4ae 100644 --- a/keyboards/gmmk/gmmk2/p96/iso/iso.c +++ b/keyboards/gmmk/gmmk2/p96/iso/iso.c @@ -25,132 +25,132 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 0, k00, Esc - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 1, k10, F1 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 2, k20, F2 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 3, k30, F3 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 4, k40, F4 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 5, k50, F5 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 6, k60, F6 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 7, k70, F7 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 8, k80, F8 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 9, k90, F9 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 10, ka0, F10 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 11, kb0, F11 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 12, kc0, F12 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 13, kd0, Printscreen - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 14, k06, Delete - {1, CS1_SW2, CS2_SW2, CS3_SW2}, // 15, k16, Insert - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 16, k26, Page Up - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 17, k36, Page Down + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 0, k00, Esc + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 1, k10, F1 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 2, k20, F2 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 3, k30, F3 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 4, k40, F4 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 5, k50, F5 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 6, k60, F6 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 7, k70, F7 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 8, k80, F8 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 9, k90, F9 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 10, ka0, F10 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 11, kb0, F11 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 12, kc0, F12 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 13, kd0, Printscreen + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 14, k06, Delete + {1, SW2_CS1, SW2_CS2, SW2_CS3}, // 15, k16, Insert + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 16, k26, Page Up + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 17, k36, Page Down - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 18, k01, ` - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 19, k11, 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 20, k21, 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 21, k31, 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 22, k41, 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 23, k51, 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 24, k61, 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 25, k71, 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 26, k81, 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 27, k91, 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 28, ka1, 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 29, kb1, - - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 30, kc1, = - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 31, kd1, Backspace - {1, CS7_SW1, CS8_SW1, CS9_SW1}, // 32, k46, Num Lock - {1, CS7_SW2, CS8_SW2, CS9_SW2}, // 33, k56, Num / - {1, CS7_SW3, CS8_SW3, CS9_SW3}, // 34, k66, Num * - {1, CS7_SW4, CS8_SW4, CS9_SW4}, // 35, k76, Num - + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 18, k01, ` + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 19, k11, 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 20, k21, 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 21, k31, 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 22, k41, 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 23, k51, 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 24, k61, 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 25, k71, 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 26, k81, 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 27, k91, 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 28, ka1, 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 29, kb1, - + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 30, kc1, = + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 31, kd1, Backspace + {1, SW1_CS7, SW1_CS8, SW1_CS9}, // 32, k46, Num Lock + {1, SW2_CS7, SW2_CS8, SW2_CS9}, // 33, k56, Num / + {1, SW3_CS7, SW3_CS8, SW3_CS9}, // 34, k66, Num * + {1, SW4_CS7, SW4_CS8, SW4_CS9}, // 35, k76, Num - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 36, k02, Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 37, k12, Q - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 38, k22, W - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 39, k32, E - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 40, k42, R - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 41, k52, T - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 42, k62, Y - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 43, k72, U - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 44, k82, I - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 45, k92, O - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 46, ka2, P - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 47, kb2, [ - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 48, kc2, ] - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 49, kd3, Enter - {1, CS7_SW5, CS8_SW5, CS9_SW5}, // 50, k86, Num 7 - {1, CS7_SW6, CS8_SW6, CS9_SW6}, // 51, k96, Num 8 - {1, CS7_SW7, CS8_SW7, CS9_SW7}, // 52, ka6, Num 9 - {1, CS7_SW8, CS8_SW8, CS9_SW8}, // 53, kb6, Num + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 36, k02, Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 37, k12, Q + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 38, k22, W + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 39, k32, E + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 40, k42, R + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 41, k52, T + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 42, k62, Y + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 43, k72, U + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 44, k82, I + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 45, k92, O + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 46, ka2, P + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 47, kb2, [ + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 48, kc2, ] + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 49, kd3, Enter + {1, SW5_CS7, SW5_CS8, SW5_CS9}, // 50, k86, Num 7 + {1, SW6_CS7, SW6_CS8, SW6_CS9}, // 51, k96, Num 8 + {1, SW7_CS7, SW7_CS8, SW7_CS9}, // 52, ka6, Num 9 + {1, SW8_CS7, SW8_CS8, SW8_CS9}, // 53, kb6, Num + - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 54, k03, Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 55, k13, A - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 56, k23, S - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 57, k33, D - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 58, k43, F - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 59, k53, G - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 60, k63, H - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 61, k73, J - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 62, k83, K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 63, k93, L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 64, ka3, ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 65, kb3, ' - {1, CS1_SW10, CS2_SW10, CS3_SW10}, // 66, kc3, # - {1, CS7_SW9, CS8_SW9, CS9_SW9}, // 67, ka7, Num 4 - {1, CS7_SW10, CS8_SW10, CS9_SW10}, // 68, kb7, Num 5 - {1, CS7_SW11, CS8_SW11, CS9_SW11}, // 69, kc7, Num 6 + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 54, k03, Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 55, k13, A + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 56, k23, S + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 57, k33, D + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 58, k43, F + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 59, k53, G + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 60, k63, H + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 61, k73, J + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 62, k83, K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 63, k93, L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 64, ka3, ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 65, kb3, ' + {1, SW10_CS1, SW10_CS2, SW10_CS3}, // 66, kc3, # + {1, SW9_CS7, SW9_CS8, SW9_CS9}, // 67, ka7, Num 4 + {1, SW10_CS7, SW10_CS8, SW10_CS9}, // 68, kb7, Num 5 + {1, SW11_CS7, SW11_CS8, SW11_CS9}, // 69, kc7, Num 6 - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 70, k04, Shift_L - {0, CS13_SW12, CS14_SW12, CS15_SW12}, // 71, k14, "\\" - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 72, k24, Z - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 73, k34, X - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 74, k44, C - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 75, k54, V - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 76, k64, B - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 77, k74, N - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 78, k84, M - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 79, k94, , - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 80, ka4, . - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 81, kb4, / - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 82, kd4, Shift_R - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 83, k17, Up - {1, CS10_SW1, CS11_SW1, CS12_SW1}, // 84, k67, Num 1 - {1, CS10_SW2, CS11_SW2, CS12_SW2}, // 85, k77, Num 2 - {1, CS10_SW3, CS11_SW3, CS12_SW3}, // 86, k87, Num 3 - {1, CS10_SW4, CS11_SW4, CS12_SW4}, // 87, k97, Enter_R + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 70, k04, Shift_L + {0, SW12_CS13, SW12_CS14, SW12_CS15}, // 71, k14, "\\" + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 72, k24, Z + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 73, k34, X + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 74, k44, C + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 75, k54, V + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 76, k64, B + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 77, k74, N + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 78, k84, M + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 79, k94, , + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 80, ka4, . + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 81, kb4, / + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 82, kd4, Shift_R + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 83, k17, Up + {1, SW1_CS10, SW1_CS11, SW1_CS12}, // 84, k67, Num 1 + {1, SW2_CS10, SW2_CS11, SW2_CS12}, // 85, k77, Num 2 + {1, SW3_CS10, SW3_CS11, SW3_CS12}, // 86, k87, Num 3 + {1, SW4_CS10, SW4_CS11, SW4_CS12}, // 87, k97, Enter_R - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 88, k05, Ctrl_L - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 89, k15, Win_L - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 90, k25, Alt_L - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 91, k65, Space - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 92, k95, Alt_R - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 93, ka5, FN - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 94, kc5, Ctrl_R - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 95, k07, Left - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 96, k27, Down - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 97, k37, Right - {1, CS10_SW6, CS11_SW6, CS12_SW6}, // 98, k47, Num 0 - {1, CS10_SW7, CS11_SW7, CS12_SW7}, // 99, k57, Num . + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 88, k05, Ctrl_L + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 89, k15, Win_L + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 90, k25, Alt_L + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 91, k65, Space + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 92, k95, Alt_R + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 93, ka5, FN + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 94, kc5, Ctrl_R + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 95, k07, Left + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 96, k27, Down + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 97, k37, Right + {1, SW6_CS10, SW6_CS11, SW6_CS12}, // 98, k47, Num 0 + {1, SW7_CS10, SW7_CS11, SW7_CS12}, // 99, k57, Num . - {1, CS13_SW1, CS14_SW1, CS15_SW1}, // 101, LED 1 - {1, CS13_SW2, CS14_SW2, CS15_SW2}, // 102, LED 2 - {1, CS13_SW3, CS14_SW3, CS15_SW3}, // 103, LED 3 - {1, CS13_SW4, CS14_SW4, CS15_SW4}, // 104, LED 4 - {1, CS13_SW5, CS14_SW5, CS15_SW5}, // 105, LED 5 - {1, CS13_SW6, CS14_SW6, CS15_SW6}, // 106, LED 6 - {1, CS13_SW7, CS14_SW7, CS15_SW7}, // 107, LED 7 - {1, CS13_SW8, CS14_SW8, CS15_SW8}, // 108, LED 8 - {1, CS13_SW9, CS14_SW9, CS15_SW9}, // 109, LED 9 - {1, CS13_SW10, CS14_SW10, CS15_SW10}, // 110, LED 10 - {1, CS16_SW1, CS17_SW1, CS18_SW1}, // 111, LED 11 - {1, CS16_SW2, CS17_SW2, CS18_SW2}, // 112, LED 12 - {1, CS16_SW3, CS17_SW3, CS18_SW3}, // 113, LED 13 - {1, CS16_SW4, CS17_SW4, CS18_SW4}, // 114, LED 14 - {1, CS16_SW5, CS17_SW5, CS18_SW5}, // 115, LED 15 - {1, CS16_SW6, CS17_SW6, CS18_SW6}, // 116, LED 16 - {1, CS16_SW7, CS17_SW7, CS18_SW7}, // 117, LED 17 - {1, CS16_SW8, CS17_SW8, CS18_SW8}, // 118, LED 18 - {1, CS16_SW9, CS17_SW9, CS18_SW9}, // 119, LED 19 - {1, CS16_SW10, CS17_SW10, CS18_SW10} // 120, LED 20 + {1, SW1_CS13, SW1_CS14, SW1_CS15}, // 101, LED 1 + {1, SW2_CS13, SW2_CS14, SW2_CS15}, // 102, LED 2 + {1, SW3_CS13, SW3_CS14, SW3_CS15}, // 103, LED 3 + {1, SW4_CS13, SW4_CS14, SW4_CS15}, // 104, LED 4 + {1, SW5_CS13, SW5_CS14, SW5_CS15}, // 105, LED 5 + {1, SW6_CS13, SW6_CS14, SW6_CS15}, // 106, LED 6 + {1, SW7_CS13, SW7_CS14, SW7_CS15}, // 107, LED 7 + {1, SW8_CS13, SW8_CS14, SW8_CS15}, // 108, LED 8 + {1, SW9_CS13, SW9_CS14, SW9_CS15}, // 109, LED 9 + {1, SW10_CS13, SW10_CS14, SW10_CS15}, // 110, LED 10 + {1, SW1_CS16, SW1_CS17, SW1_CS18}, // 111, LED 11 + {1, SW2_CS16, SW2_CS17, SW2_CS18}, // 112, LED 12 + {1, SW3_CS16, SW3_CS17, SW3_CS18}, // 113, LED 13 + {1, SW4_CS16, SW4_CS17, SW4_CS18}, // 114, LED 14 + {1, SW5_CS16, SW5_CS17, SW5_CS18}, // 115, LED 15 + {1, SW6_CS16, SW6_CS17, SW6_CS18}, // 116, LED 16 + {1, SW7_CS16, SW7_CS17, SW7_CS18}, // 117, LED 17 + {1, SW8_CS16, SW8_CS17, SW8_CS18}, // 118, LED 18 + {1, SW9_CS16, SW9_CS17, SW9_CS18}, // 119, LED 19 + {1, SW10_CS16, SW10_CS17, SW10_CS18} // 120, LED 20 }; #define __ NO_LED diff --git a/keyboards/gmmk/numpad/numpad.c b/keyboards/gmmk/numpad/numpad.c index 966ba087109..5a2bbdb1f61 100644 --- a/keyboards/gmmk/numpad/numpad.c +++ b/keyboards/gmmk/numpad/numpad.c @@ -26,37 +26,37 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS4_SW1, CS5_SW1, CS6_SW1 }, // 0 NUM - {0, CS4_SW2, CS5_SW2, CS6_SW2 }, // 1 / - {0, CS7_SW1, CS8_SW1, CS9_SW1 }, // 2 * - {0, CS7_SW2, CS8_SW2, CS9_SW2 }, // 3 - - {0, CS4_SW3, CS5_SW3, CS6_SW3 }, // 4 7 - {0, CS4_SW4, CS5_SW4, CS6_SW4 }, // 5 8 - {0, CS7_SW3, CS8_SW3, CS9_SW3 }, // 6 9 - {0, CS7_SW4, CS8_SW4, CS9_SW4 }, // 7 + - {0, CS4_SW5, CS5_SW5, CS6_SW5 }, // 8 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6 }, // 9 5 - {0, CS7_SW5, CS8_SW5, CS9_SW5 }, // 10 6 - {0, CS4_SW7, CS5_SW7, CS6_SW7 }, // 11 1 - {0, CS4_SW8, CS5_SW8, CS6_SW8 }, // 12 2 - {0, CS7_SW7, CS8_SW7, CS9_SW7 }, // 13 3 - {0, CS7_SW8, CS8_SW8, CS9_SW8 }, // 14 ENTER - {0, CS4_SW9, CS5_SW9, CS6_SW9 }, // 15 0 - {0, CS7_SW9, CS8_SW9, CS9_SW9 }, // 16 . - {0, CS1_SW1, CS2_SW1, CS3_SW1 }, // 17 LED18 - {0, CS1_SW2, CS2_SW2, CS3_SW2 }, // 18 LED19 - {0, CS1_SW3, CS2_SW3, CS3_SW3 }, // 19 LED20 - {0, CS1_SW4, CS2_SW4, CS3_SW4 }, // 20 LED21 - {0, CS1_SW5, CS2_SW5, CS3_SW5 }, // 21 LED22 - {0, CS1_SW6, CS2_SW6, CS3_SW6 }, // 22 LED23 - {0, CS1_SW7, CS2_SW7, CS3_SW7 }, // 23 LED24 - {0, CS10_SW1, CS11_SW1, CS12_SW1 }, // 24 LED27 - {0, CS10_SW2, CS11_SW2, CS12_SW2 }, // 25 LED28 - {0, CS10_SW3, CS11_SW3, CS12_SW3 }, // 26 LED29 - {0, CS10_SW4, CS11_SW4, CS12_SW4 }, // 27 LED30 - {0, CS10_SW5, CS11_SW5, CS12_SW5 }, // 28 LED31 - {0, CS10_SW6, CS11_SW6, CS12_SW6 }, // 29 LED32 - {0, CS10_SW7, CS11_SW7, CS12_SW7 }, // 30 LED33 + {0, SW1_CS4, SW1_CS5, SW1_CS6 }, // 0 NUM + {0, SW2_CS4, SW2_CS5, SW2_CS6 }, // 1 / + {0, SW1_CS7, SW1_CS8, SW1_CS9 }, // 2 * + {0, SW2_CS7, SW2_CS8, SW2_CS9 }, // 3 - + {0, SW3_CS4, SW3_CS5, SW3_CS6 }, // 4 7 + {0, SW4_CS4, SW4_CS5, SW4_CS6 }, // 5 8 + {0, SW3_CS7, SW3_CS8, SW3_CS9 }, // 6 9 + {0, SW4_CS7, SW4_CS8, SW4_CS9 }, // 7 + + {0, SW5_CS4, SW5_CS5, SW5_CS6 }, // 8 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6 }, // 9 5 + {0, SW5_CS7, SW5_CS8, SW5_CS9 }, // 10 6 + {0, SW7_CS4, SW7_CS5, SW7_CS6 }, // 11 1 + {0, SW8_CS4, SW8_CS5, SW8_CS6 }, // 12 2 + {0, SW7_CS7, SW7_CS8, SW7_CS9 }, // 13 3 + {0, SW8_CS7, SW8_CS8, SW8_CS9 }, // 14 ENTER + {0, SW9_CS4, SW9_CS5, SW9_CS6 }, // 15 0 + {0, SW9_CS7, SW9_CS8, SW9_CS9 }, // 16 . + {0, SW1_CS1, SW1_CS2, SW1_CS3 }, // 17 LED18 + {0, SW2_CS1, SW2_CS2, SW2_CS3 }, // 18 LED19 + {0, SW3_CS1, SW3_CS2, SW3_CS3 }, // 19 LED20 + {0, SW4_CS1, SW4_CS2, SW4_CS3 }, // 20 LED21 + {0, SW5_CS1, SW5_CS2, SW5_CS3 }, // 21 LED22 + {0, SW6_CS1, SW6_CS2, SW6_CS3 }, // 22 LED23 + {0, SW7_CS1, SW7_CS2, SW7_CS3 }, // 23 LED24 + {0, SW1_CS10, SW1_CS11, SW1_CS12 }, // 24 LED27 + {0, SW2_CS10, SW2_CS11, SW2_CS12 }, // 25 LED28 + {0, SW3_CS10, SW3_CS11, SW3_CS12 }, // 26 LED29 + {0, SW4_CS10, SW4_CS11, SW4_CS12 }, // 27 LED30 + {0, SW5_CS10, SW5_CS11, SW5_CS12 }, // 28 LED31 + {0, SW6_CS10, SW6_CS11, SW6_CS12 }, // 29 LED32 + {0, SW7_CS10, SW7_CS11, SW7_CS12 }, // 30 LED33 }; led_config_t g_led_config = {{ diff --git a/keyboards/gmmk/pro/rev1/ansi/ansi.c b/keyboards/gmmk/pro/rev1/ansi/ansi.c index ff6382625ac..77e0a8c1a11 100644 --- a/keyboards/gmmk/pro/rev1/ansi/ansi.c +++ b/keyboards/gmmk/pro/rev1/ansi/ansi.c @@ -137,105 +137,105 @@ led_config_t g_led_config = {{ }}; const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 0, ESC, k13 - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 1, ~, k16 - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 2, Tab, k11 - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 3, Caps, k21 - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 4, Sh_L, k00 - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 5, Ct_L, k06 - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 6, F1, k26 - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 7, 1, k17 - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 8, Q, k10 - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 9, A, k12 - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 10, Z, k14 - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 11, Win_L, k90 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 12, F2, k36 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 13, 2, k27 - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 14, W, k20 - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 15, S, k22 - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 16, X, k24 - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 17, Alt_L, k93 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 18, F3, k31 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 19, 3, k37 - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 20, E, k30 - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 21, D, k32 - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 22, C, k34 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 23, F4, k33 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 24, 4, k47 - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 25, R, k40 - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 26, F, k42 - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 27, V, k44 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 28, F5, k07 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 29, 5, k46 - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 30, T, k41 - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 31, G, k43 - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 32, B, k45 - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 33, SPACE, k94 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 34, F6, k63 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 35, 6, k56 - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 36, Y, k51 - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 37, H, k53 - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 38, N, k55 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 39, F7, k71 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 40, 7, k57 - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 41, U, k50 - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 42, J, k52 - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 43, M, k54 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 44, F8, k76 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 45, 8, k67 - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 46, I, k60 - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 47, K, k62 - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 48, ,, k64 - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 49, Alt_R, k95 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 50, F9, ka6 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 51, 9, k77 - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 52, O, k70 - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 53, L, k72 - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 54, ., k74 - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 55, FN, k92 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 56, F10, ka7 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 57, 0, k87 - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 58, P, k80 - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 59, ;, k82 - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 60, ?, k85 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 61, F11, ka3 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 62, -, k86 - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 63, [, k81 - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 64, ", k83 - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 65, Ct_R, k04 + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 0, ESC, k13 + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 1, ~, k16 + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 2, Tab, k11 + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 3, Caps, k21 + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 4, Sh_L, k00 + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 5, Ct_L, k06 + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 6, F1, k26 + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 7, 1, k17 + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 8, Q, k10 + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 9, A, k12 + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 10, Z, k14 + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 11, Win_L, k90 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 12, F2, k36 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 13, 2, k27 + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 14, W, k20 + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 15, S, k22 + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 16, X, k24 + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 17, Alt_L, k93 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 18, F3, k31 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 19, 3, k37 + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 20, E, k30 + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 21, D, k32 + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 22, C, k34 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 23, F4, k33 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 24, 4, k47 + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 25, R, k40 + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 26, F, k42 + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 27, V, k44 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 28, F5, k07 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 29, 5, k46 + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 30, T, k41 + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 31, G, k43 + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 32, B, k45 + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 33, SPACE, k94 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 34, F6, k63 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 35, 6, k56 + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 36, Y, k51 + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 37, H, k53 + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 38, N, k55 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 39, F7, k71 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 40, 7, k57 + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 41, U, k50 + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 42, J, k52 + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 43, M, k54 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 44, F8, k76 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 45, 8, k67 + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 46, I, k60 + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 47, K, k62 + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 48, ,, k64 + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 49, Alt_R, k95 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 50, F9, ka6 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 51, 9, k77 + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 52, O, k70 + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 53, L, k72 + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 54, ., k74 + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 55, FN, k92 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 56, F10, ka7 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 57, 0, k87 + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 58, P, k80 + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 59, ;, k82 + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 60, ?, k85 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 61, F11, ka3 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 62, -, k86 + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 63, [, k81 + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 64, ", k83 + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 65, Ct_R, k04 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 66, F12, ka5 - {1, CS13_SW1, CS14_SW1, CS15_SW1}, // 67, LED, l01 - {1, CS16_SW1, CS17_SW1, CS18_SW1}, // 68, LED, l11 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 69, Prt, k97 - {1, CS13_SW2, CS14_SW2, CS15_SW2}, // 70, LED, l02 - {1, CS16_SW2, CS17_SW2, CS18_SW2}, // 71, LED, l12 - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 72, Del, k65 - {1, CS13_SW3, CS14_SW3, CS15_SW3}, // 73, LED, l03 - {1, CS16_SW3, CS17_SW3, CS18_SW3}, // 74, LED, l13 - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 75, PgUp, k15 - {1, CS13_SW4, CS14_SW4, CS15_SW4}, // 76, LED, l04 - {1, CS16_SW4, CS17_SW4, CS18_SW4}, // 77, LED, l14 - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 78, =, k66 - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 79, Right, k05 - {1, CS13_SW5, CS14_SW5, CS15_SW5}, // 80, LED, l05 - {1, CS16_SW5, CS17_SW5, CS18_SW5}, // 81, LED, l15 - {1, CS4_SW6, CS5_SW6, CS6_SW6}, // 82, End, k75 - {1, CS13_SW6, CS14_SW6, CS15_SW6}, // 83, LED, l06 - {1, CS16_SW6, CS17_SW6, CS18_SW6}, // 84, LED, l16 - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 85, BSpc, ka1 - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 86, PgDn, k25 - {1, CS13_SW7, CS14_SW7, CS15_SW7}, // 87, LED, l07 - {1, CS16_SW7, CS17_SW7, CS18_SW7}, // 88, LED, l17 - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 89, ], k61 - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 90, Sh_R, k91 - {1, CS13_SW8, CS14_SW8, CS15_SW8}, // 91, LED, l08 - {1, CS16_SW8, CS17_SW8, CS18_SW8}, // 92, LED, l18 - {1, CS1_SW9, CS2_SW9, CS3_SW9}, // 93, \, ka2 - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 94, Up, k35 - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 95, Left, k03 - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 96, Enter, ka4 - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 97, Down, k73 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 66, F12, ka5 + {1, SW1_CS13, SW1_CS14, SW1_CS15}, // 67, LED, l01 + {1, SW1_CS16, SW1_CS17, SW1_CS18}, // 68, LED, l11 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 69, Prt, k97 + {1, SW2_CS13, SW2_CS14, SW2_CS15}, // 70, LED, l02 + {1, SW2_CS16, SW2_CS17, SW2_CS18}, // 71, LED, l12 + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 72, Del, k65 + {1, SW3_CS13, SW3_CS14, SW3_CS15}, // 73, LED, l03 + {1, SW3_CS16, SW3_CS17, SW3_CS18}, // 74, LED, l13 + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 75, PgUp, k15 + {1, SW4_CS13, SW4_CS14, SW4_CS15}, // 76, LED, l04 + {1, SW4_CS16, SW4_CS17, SW4_CS18}, // 77, LED, l14 + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 78, =, k66 + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 79, Right, k05 + {1, SW5_CS13, SW5_CS14, SW5_CS15}, // 80, LED, l05 + {1, SW5_CS16, SW5_CS17, SW5_CS18}, // 81, LED, l15 + {1, SW6_CS4, SW6_CS5, SW6_CS6}, // 82, End, k75 + {1, SW6_CS13, SW6_CS14, SW6_CS15}, // 83, LED, l06 + {1, SW6_CS16, SW6_CS17, SW6_CS18}, // 84, LED, l16 + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 85, BSpc, ka1 + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 86, PgDn, k25 + {1, SW7_CS13, SW7_CS14, SW7_CS15}, // 87, LED, l07 + {1, SW7_CS16, SW7_CS17, SW7_CS18}, // 88, LED, l17 + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 89, ], k61 + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 90, Sh_R, k91 + {1, SW8_CS13, SW8_CS14, SW8_CS15}, // 91, LED, l08 + {1, SW8_CS16, SW8_CS17, SW8_CS18}, // 92, LED, l18 + {1, SW9_CS1, SW9_CS2, SW9_CS3}, // 93, \, ka2 + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 94, Up, k35 + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 95, Left, k03 + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 96, Enter, ka4 + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 97, Down, k73 }; // clang-format on #endif diff --git a/keyboards/gmmk/pro/rev1/iso/iso.c b/keyboards/gmmk/pro/rev1/iso/iso.c index 68165dd27f3..932c6a1f494 100644 --- a/keyboards/gmmk/pro/rev1/iso/iso.c +++ b/keyboards/gmmk/pro/rev1/iso/iso.c @@ -138,106 +138,106 @@ led_config_t g_led_config = {{ }}; const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 0, ESC, k13 - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 1, ~, k16 - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 2, Tab, k11 - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 3, Caps, k21 - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 4, Sh_L, k00 - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 5, Ct_L, k06 - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 6, F1, k26 - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 7, 1, k17 - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 8, Q, k10 - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 9, A, k12 - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 10, Z, k14 - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 11, Win_L, k90 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 12, F2, k36 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 13, 2, k27 - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 14, W, k20 - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 15, S, k22 - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 16, X, k24 - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 17, Alt_L, k93 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 18, F3, k31 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 19, 3, k37 - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 20, E, k30 - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 21, D, k32 - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 22, C, k34 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 23, F4, k33 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 24, 4, k47 - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 25, R, k40 - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 26, F, k42 - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 27, V, k44 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 28, F5, k07 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 29, 5, k46 - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 30, T, k41 - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 31, G, k43 - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 32, B, k45 - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 33, SPACE, k94 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 34, F6, k63 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 35, 6, k56 - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 36, Y, k51 - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 37, H, k53 - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 38, N, k55 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 39, F7, k71 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 40, 7, k57 - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 41, U, k50 - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 42, J, k52 - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 43, M, k54 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 44, F8, k76 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 45, 8, k67 - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 46, I, k60 - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 47, K, k62 - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 48, ,, k64 - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 49, Alt_R, k95 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 50, F9, ka6 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 51, 9, k77 - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 52, O, k70 - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 53, L, k72 - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 54, ., k74 - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 55, FN, k92 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 56, F10, ka7 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 57, 0, k87 - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 58, P, k80 - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 59, ;, k82 - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 60, ?, k85 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 61, F11, ka3 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 62, -, k86 - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 63, [, k81 - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 64, ", k83 - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 65, Ct_R, k04 + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 0, ESC, k13 + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 1, ~, k16 + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 2, Tab, k11 + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 3, Caps, k21 + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 4, Sh_L, k00 + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 5, Ct_L, k06 + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 6, F1, k26 + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 7, 1, k17 + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 8, Q, k10 + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 9, A, k12 + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 10, Z, k14 + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 11, Win_L, k90 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 12, F2, k36 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 13, 2, k27 + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 14, W, k20 + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 15, S, k22 + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 16, X, k24 + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 17, Alt_L, k93 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 18, F3, k31 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 19, 3, k37 + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 20, E, k30 + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 21, D, k32 + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 22, C, k34 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 23, F4, k33 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 24, 4, k47 + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 25, R, k40 + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 26, F, k42 + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 27, V, k44 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 28, F5, k07 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 29, 5, k46 + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 30, T, k41 + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 31, G, k43 + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 32, B, k45 + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 33, SPACE, k94 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 34, F6, k63 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 35, 6, k56 + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 36, Y, k51 + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 37, H, k53 + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 38, N, k55 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 39, F7, k71 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 40, 7, k57 + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 41, U, k50 + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 42, J, k52 + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 43, M, k54 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 44, F8, k76 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 45, 8, k67 + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 46, I, k60 + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 47, K, k62 + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 48, ,, k64 + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 49, Alt_R, k95 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 50, F9, ka6 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 51, 9, k77 + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 52, O, k70 + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 53, L, k72 + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 54, ., k74 + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 55, FN, k92 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 56, F10, ka7 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 57, 0, k87 + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 58, P, k80 + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 59, ;, k82 + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 60, ?, k85 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 61, F11, ka3 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 62, -, k86 + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 63, [, k81 + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 64, ", k83 + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 65, Ct_R, k04 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 66, F12, ka5 - {1, CS4_SW1, CS5_SW1, CS6_SW1}, // 67, \, k23 - {1, CS13_SW1, CS14_SW1, CS15_SW1}, // 68, LED, l01 - {1, CS16_SW1, CS17_SW1, CS18_SW1}, // 69, LED, l11 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 70, Prt, k97 - {1, CS13_SW2, CS14_SW2, CS15_SW2}, // 71, LED, l02 - {1, CS16_SW2, CS17_SW2, CS18_SW2}, // 72, LED, l12 - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 73, Del, k65 - {1, CS13_SW3, CS14_SW3, CS15_SW3}, // 74, LED, l03 - {1, CS16_SW3, CS17_SW3, CS18_SW3}, // 75, LED, l13 - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 76, PgUp, k15 - {1, CS13_SW4, CS14_SW4, CS15_SW4}, // 77, LED, l04 - {1, CS16_SW4, CS17_SW4, CS18_SW4}, // 78, LED, l14 - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 79, =, k66 - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 80, Right, k05 - {1, CS13_SW5, CS14_SW5, CS15_SW5}, // 81, LED, l05 - {1, CS16_SW5, CS17_SW5, CS18_SW5}, // 82, LED, l15 - {1, CS4_SW6, CS5_SW6, CS6_SW6}, // 83, End, k75 - {1, CS13_SW6, CS14_SW6, CS15_SW6}, // 84, LED, l06 - {1, CS16_SW6, CS17_SW6, CS18_SW6}, // 85, LED, l16 - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 86, BSpc, ka1 - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 87, PgDn, k25 - {1, CS13_SW7, CS14_SW7, CS15_SW7}, // 88, LED, l07 - {1, CS16_SW7, CS17_SW7, CS18_SW7}, // 89, LED, l17 - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 90, ], k61 - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 91, Sh_R, k91 - {1, CS13_SW8, CS14_SW8, CS15_SW8}, // 92, LED, l08 - {1, CS16_SW8, CS17_SW8, CS18_SW8}, // 93, LED, l18 - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 94, Up, k35 - {1, CS1_SW10, CS2_SW10, CS3_SW10}, // 95, #, k84 - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 96, Left, k03 - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 97, Enter, ka4 - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 98, Down, k73 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 66, F12, ka5 + {1, SW1_CS4, SW1_CS5, SW1_CS6}, // 67, \, k23 + {1, SW1_CS13, SW1_CS14, SW1_CS15}, // 68, LED, l01 + {1, SW1_CS16, SW1_CS17, SW1_CS18}, // 69, LED, l11 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 70, Prt, k97 + {1, SW2_CS13, SW2_CS14, SW2_CS15}, // 71, LED, l02 + {1, SW2_CS16, SW2_CS17, SW2_CS18}, // 72, LED, l12 + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 73, Del, k65 + {1, SW3_CS13, SW3_CS14, SW3_CS15}, // 74, LED, l03 + {1, SW3_CS16, SW3_CS17, SW3_CS18}, // 75, LED, l13 + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 76, PgUp, k15 + {1, SW4_CS13, SW4_CS14, SW4_CS15}, // 77, LED, l04 + {1, SW4_CS16, SW4_CS17, SW4_CS18}, // 78, LED, l14 + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 79, =, k66 + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 80, Right, k05 + {1, SW5_CS13, SW5_CS14, SW5_CS15}, // 81, LED, l05 + {1, SW5_CS16, SW5_CS17, SW5_CS18}, // 82, LED, l15 + {1, SW6_CS4, SW6_CS5, SW6_CS6}, // 83, End, k75 + {1, SW6_CS13, SW6_CS14, SW6_CS15}, // 84, LED, l06 + {1, SW6_CS16, SW6_CS17, SW6_CS18}, // 85, LED, l16 + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 86, BSpc, ka1 + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 87, PgDn, k25 + {1, SW7_CS13, SW7_CS14, SW7_CS15}, // 88, LED, l07 + {1, SW7_CS16, SW7_CS17, SW7_CS18}, // 89, LED, l17 + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 90, ], k61 + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 91, Sh_R, k91 + {1, SW8_CS13, SW8_CS14, SW8_CS15}, // 92, LED, l08 + {1, SW8_CS16, SW8_CS17, SW8_CS18}, // 93, LED, l18 + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 94, Up, k35 + {1, SW10_CS1, SW10_CS2, SW10_CS3}, // 95, #, k84 + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 96, Left, k03 + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 97, Enter, ka4 + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 98, Down, k73 }; // clang-format on #endif diff --git a/keyboards/gmmk/pro/rev2/ansi/ansi.c b/keyboards/gmmk/pro/rev2/ansi/ansi.c index c592e3cdaee..a3f957ef0a2 100644 --- a/keyboards/gmmk/pro/rev2/ansi/ansi.c +++ b/keyboards/gmmk/pro/rev2/ansi/ansi.c @@ -137,105 +137,105 @@ led_config_t g_led_config = {{ }}; const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 0, ESC, k13 - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 1, ~, k16 - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 2, Tab, k11 - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 3, Caps, k21 - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 4, Sh_L, k00 - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 5, Ct_L, k06 - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 6, F1, k26 - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 7, 1, k17 - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 8, Q, k10 - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 9, A, k12 - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 10, Z, k14 - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 11, Win_L, k90 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 12, F2, k36 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 13, 2, k27 - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 14, W, k20 - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 15, S, k22 - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 16, X, k24 - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 17, Alt_L, k93 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 18, F3, k31 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 19, 3, k37 - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 20, E, k30 - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 21, D, k32 - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 22, C, k34 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 23, F4, k33 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 24, 4, k47 - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 25, R, k40 - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 26, F, k42 - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 27, V, k44 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 28, F5, k07 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 29, 5, k46 - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 30, T, k41 - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 31, G, k43 - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 32, B, k45 - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 33, SPACE, k94 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 34, F6, k63 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 35, 6, k56 - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 36, Y, k51 - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 37, H, k53 - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 38, N, k55 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 39, F7, k71 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 40, 7, k57 - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 41, U, k50 - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 42, J, k52 - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 43, M, k54 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 44, F8, k76 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 45, 8, k67 - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 46, I, k60 - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 47, K, k62 - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 48, ,, k64 - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 49, Alt_R, k95 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 50, F9, ka6 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 51, 9, k77 - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 52, O, k70 - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 53, L, k72 - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 54, ., k74 - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 55, FN, k92 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 56, F10, ka7 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 57, 0, k87 - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 58, P, k80 - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 59, ;, k82 - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 60, ?, k85 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 61, F11, ka3 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 62, -, k86 - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 63, [, k81 - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 64, ", k83 - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 65, Ct_R, k04 + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 0, ESC, k13 + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 1, ~, k16 + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 2, Tab, k11 + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 3, Caps, k21 + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 4, Sh_L, k00 + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 5, Ct_L, k06 + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 6, F1, k26 + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 7, 1, k17 + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 8, Q, k10 + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 9, A, k12 + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 10, Z, k14 + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 11, Win_L, k90 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 12, F2, k36 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 13, 2, k27 + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 14, W, k20 + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 15, S, k22 + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 16, X, k24 + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 17, Alt_L, k93 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 18, F3, k31 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 19, 3, k37 + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 20, E, k30 + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 21, D, k32 + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 22, C, k34 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 23, F4, k33 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 24, 4, k47 + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 25, R, k40 + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 26, F, k42 + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 27, V, k44 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 28, F5, k07 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 29, 5, k46 + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 30, T, k41 + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 31, G, k43 + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 32, B, k45 + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 33, SPACE, k94 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 34, F6, k63 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 35, 6, k56 + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 36, Y, k51 + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 37, H, k53 + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 38, N, k55 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 39, F7, k71 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 40, 7, k57 + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 41, U, k50 + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 42, J, k52 + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 43, M, k54 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 44, F8, k76 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 45, 8, k67 + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 46, I, k60 + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 47, K, k62 + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 48, ,, k64 + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 49, Alt_R, k95 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 50, F9, ka6 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 51, 9, k77 + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 52, O, k70 + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 53, L, k72 + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 54, ., k74 + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 55, FN, k92 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 56, F10, ka7 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 57, 0, k87 + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 58, P, k80 + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 59, ;, k82 + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 60, ?, k85 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 61, F11, ka3 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 62, -, k86 + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 63, [, k81 + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 64, ", k83 + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 65, Ct_R, k04 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 66, F12, ka5 - {1, CS13_SW1, CS14_SW1, CS15_SW1}, // 67, LED, l01 - {1, CS16_SW1, CS17_SW1, CS18_SW1}, // 68, LED, l11 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 69, Prt, k97 - {1, CS13_SW2, CS14_SW2, CS15_SW2}, // 70, LED, l02 - {1, CS16_SW2, CS17_SW2, CS18_SW2}, // 71, LED, l12 - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 72, Del, k65 - {1, CS13_SW3, CS14_SW3, CS15_SW3}, // 73, LED, l03 - {1, CS16_SW3, CS17_SW3, CS18_SW3}, // 74, LED, l13 - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 75, PgUp, k15 - {1, CS13_SW4, CS14_SW4, CS15_SW4}, // 76, LED, l04 - {1, CS16_SW4, CS17_SW4, CS18_SW4}, // 77, LED, l14 - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 78, =, k66 - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 79, Right, k05 - {1, CS13_SW5, CS14_SW5, CS15_SW5}, // 80, LED, l05 - {1, CS16_SW5, CS17_SW5, CS18_SW5}, // 81, LED, l15 - {1, CS4_SW6, CS5_SW6, CS6_SW6}, // 82, End, k75 - {1, CS13_SW6, CS14_SW6, CS15_SW6}, // 83, LED, l06 - {1, CS16_SW6, CS17_SW6, CS18_SW6}, // 84, LED, l16 - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 85, BSpc, ka1 - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 86, PgDn, k25 - {1, CS13_SW7, CS14_SW7, CS15_SW7}, // 87, LED, l07 - {1, CS16_SW7, CS17_SW7, CS18_SW7}, // 88, LED, l17 - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 89, ], k61 - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 90, Sh_R, k91 - {1, CS13_SW8, CS14_SW8, CS15_SW8}, // 91, LED, l08 - {1, CS16_SW8, CS17_SW8, CS18_SW8}, // 92, LED, l18 - {1, CS1_SW9, CS2_SW9, CS3_SW9}, // 93, \, ka2 - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 94, Up, k35 - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 95, Left, k03 - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 96, Enter, ka4 - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 97, Down, k73 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 66, F12, ka5 + {1, SW1_CS13, SW1_CS14, SW1_CS15}, // 67, LED, l01 + {1, SW1_CS16, SW1_CS17, SW1_CS18}, // 68, LED, l11 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 69, Prt, k97 + {1, SW2_CS13, SW2_CS14, SW2_CS15}, // 70, LED, l02 + {1, SW2_CS16, SW2_CS17, SW2_CS18}, // 71, LED, l12 + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 72, Del, k65 + {1, SW3_CS13, SW3_CS14, SW3_CS15}, // 73, LED, l03 + {1, SW3_CS16, SW3_CS17, SW3_CS18}, // 74, LED, l13 + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 75, PgUp, k15 + {1, SW4_CS13, SW4_CS14, SW4_CS15}, // 76, LED, l04 + {1, SW4_CS16, SW4_CS17, SW4_CS18}, // 77, LED, l14 + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 78, =, k66 + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 79, Right, k05 + {1, SW5_CS13, SW5_CS14, SW5_CS15}, // 80, LED, l05 + {1, SW5_CS16, SW5_CS17, SW5_CS18}, // 81, LED, l15 + {1, SW6_CS4, SW6_CS5, SW6_CS6}, // 82, End, k75 + {1, SW6_CS13, SW6_CS14, SW6_CS15}, // 83, LED, l06 + {1, SW6_CS16, SW6_CS17, SW6_CS18}, // 84, LED, l16 + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 85, BSpc, ka1 + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 86, PgDn, k25 + {1, SW7_CS13, SW7_CS14, SW7_CS15}, // 87, LED, l07 + {1, SW7_CS16, SW7_CS17, SW7_CS18}, // 88, LED, l17 + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 89, ], k61 + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 90, Sh_R, k91 + {1, SW8_CS13, SW8_CS14, SW8_CS15}, // 91, LED, l08 + {1, SW8_CS16, SW8_CS17, SW8_CS18}, // 92, LED, l18 + {1, SW9_CS1, SW9_CS2, SW9_CS3}, // 93, \, ka2 + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 94, Up, k35 + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 95, Left, k03 + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 96, Enter, ka4 + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 97, Down, k73 }; // clang-format on #endif diff --git a/keyboards/gmmk/pro/rev2/iso/iso.c b/keyboards/gmmk/pro/rev2/iso/iso.c index 969ce8bf2e2..7a34f2432fe 100644 --- a/keyboards/gmmk/pro/rev2/iso/iso.c +++ b/keyboards/gmmk/pro/rev2/iso/iso.c @@ -138,106 +138,106 @@ led_config_t g_led_config = {{ }}; const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 0, ESC, k13 - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 1, ~, k16 - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 2, Tab, k11 - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 3, Caps, k21 - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 4, Sh_L, k00 - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 5, Ct_L, k06 - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 6, F1, k26 - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 7, 1, k17 - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 8, Q, k10 - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 9, A, k12 - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 10, Z, k14 - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 11, Win_L, k90 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 12, F2, k36 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 13, 2, k27 - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 14, W, k20 - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 15, S, k22 - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 16, X, k24 - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 17, Alt_L, k93 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 18, F3, k31 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 19, 3, k37 - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 20, E, k30 - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 21, D, k32 - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 22, C, k34 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 23, F4, k33 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 24, 4, k47 - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 25, R, k40 - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 26, F, k42 - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 27, V, k44 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 28, F5, k07 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 29, 5, k46 - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 30, T, k41 - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 31, G, k43 - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 32, B, k45 - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 33, SPACE, k94 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 34, F6, k63 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 35, 6, k56 - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 36, Y, k51 - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 37, H, k53 - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 38, N, k55 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 39, F7, k71 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 40, 7, k57 - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 41, U, k50 - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 42, J, k52 - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 43, M, k54 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 44, F8, k76 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 45, 8, k67 - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 46, I, k60 - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 47, K, k62 - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 48, ,, k64 - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 49, Alt_R, k95 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 50, F9, ka6 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 51, 9, k77 - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 52, O, k70 - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 53, L, k72 - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 54, ., k74 - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 55, FN, k92 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 56, F10, ka7 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 57, 0, k87 - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 58, P, k80 - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 59, ;, k82 - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 60, ?, k85 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 61, F11, ka3 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 62, -, k86 - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 63, [, k81 - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 64, ", k83 - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 65, Ct_R, k04 + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 0, ESC, k13 + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 1, ~, k16 + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 2, Tab, k11 + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 3, Caps, k21 + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 4, Sh_L, k00 + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 5, Ct_L, k06 + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 6, F1, k26 + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 7, 1, k17 + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 8, Q, k10 + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 9, A, k12 + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 10, Z, k14 + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 11, Win_L, k90 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 12, F2, k36 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 13, 2, k27 + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 14, W, k20 + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 15, S, k22 + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 16, X, k24 + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 17, Alt_L, k93 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 18, F3, k31 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 19, 3, k37 + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 20, E, k30 + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 21, D, k32 + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 22, C, k34 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 23, F4, k33 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 24, 4, k47 + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 25, R, k40 + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 26, F, k42 + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 27, V, k44 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 28, F5, k07 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 29, 5, k46 + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 30, T, k41 + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 31, G, k43 + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 32, B, k45 + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 33, SPACE, k94 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 34, F6, k63 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 35, 6, k56 + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 36, Y, k51 + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 37, H, k53 + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 38, N, k55 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 39, F7, k71 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 40, 7, k57 + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 41, U, k50 + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 42, J, k52 + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 43, M, k54 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 44, F8, k76 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 45, 8, k67 + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 46, I, k60 + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 47, K, k62 + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 48, ,, k64 + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 49, Alt_R, k95 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 50, F9, ka6 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 51, 9, k77 + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 52, O, k70 + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 53, L, k72 + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 54, ., k74 + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 55, FN, k92 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 56, F10, ka7 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 57, 0, k87 + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 58, P, k80 + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 59, ;, k82 + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 60, ?, k85 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 61, F11, ka3 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 62, -, k86 + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 63, [, k81 + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 64, ", k83 + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 65, Ct_R, k04 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 66, F12, ka5 - {1, CS4_SW1, CS5_SW1, CS6_SW1}, // 67, \, k23 - {1, CS13_SW1, CS14_SW1, CS15_SW1}, // 68, LED, l01 - {1, CS16_SW1, CS17_SW1, CS18_SW1}, // 69, LED, l11 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 70, Prt, k97 - {1, CS13_SW2, CS14_SW2, CS15_SW2}, // 71, LED, l02 - {1, CS16_SW2, CS17_SW2, CS18_SW2}, // 72, LED, l12 - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 73, Del, k65 - {1, CS13_SW3, CS14_SW3, CS15_SW3}, // 74, LED, l03 - {1, CS16_SW3, CS17_SW3, CS18_SW3}, // 75, LED, l13 - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 76, PgUp, k15 - {1, CS13_SW4, CS14_SW4, CS15_SW4}, // 77, LED, l04 - {1, CS16_SW4, CS17_SW4, CS18_SW4}, // 78, LED, l14 - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 79, =, k66 - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 80, Right, k05 - {1, CS13_SW5, CS14_SW5, CS15_SW5}, // 81, LED, l05 - {1, CS16_SW5, CS17_SW5, CS18_SW5}, // 82, LED, l15 - {1, CS4_SW6, CS5_SW6, CS6_SW6}, // 83, End, k75 - {1, CS13_SW6, CS14_SW6, CS15_SW6}, // 84, LED, l06 - {1, CS16_SW6, CS17_SW6, CS18_SW6}, // 85, LED, l16 - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 86, BSpc, ka1 - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 87, PgDn, k25 - {1, CS13_SW7, CS14_SW7, CS15_SW7}, // 88, LED, l07 - {1, CS16_SW7, CS17_SW7, CS18_SW7}, // 89, LED, l17 - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 90, ], k61 - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 91, Sh_R, k91 - {1, CS13_SW8, CS14_SW8, CS15_SW8}, // 92, LED, l08 - {1, CS16_SW8, CS17_SW8, CS18_SW8}, // 93, LED, l18 - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 94, Up, k35 - {1, CS1_SW10, CS2_SW10, CS3_SW10}, // 95, #, k84 - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 96, Left, k03 - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 97, Enter, ka4 - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 98, Down, k73 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 66, F12, ka5 + {1, SW1_CS4, SW1_CS5, SW1_CS6}, // 67, \, k23 + {1, SW1_CS13, SW1_CS14, SW1_CS15}, // 68, LED, l01 + {1, SW1_CS16, SW1_CS17, SW1_CS18}, // 69, LED, l11 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 70, Prt, k97 + {1, SW2_CS13, SW2_CS14, SW2_CS15}, // 71, LED, l02 + {1, SW2_CS16, SW2_CS17, SW2_CS18}, // 72, LED, l12 + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 73, Del, k65 + {1, SW3_CS13, SW3_CS14, SW3_CS15}, // 74, LED, l03 + {1, SW3_CS16, SW3_CS17, SW3_CS18}, // 75, LED, l13 + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 76, PgUp, k15 + {1, SW4_CS13, SW4_CS14, SW4_CS15}, // 77, LED, l04 + {1, SW4_CS16, SW4_CS17, SW4_CS18}, // 78, LED, l14 + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 79, =, k66 + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 80, Right, k05 + {1, SW5_CS13, SW5_CS14, SW5_CS15}, // 81, LED, l05 + {1, SW5_CS16, SW5_CS17, SW5_CS18}, // 82, LED, l15 + {1, SW6_CS4, SW6_CS5, SW6_CS6}, // 83, End, k75 + {1, SW6_CS13, SW6_CS14, SW6_CS15}, // 84, LED, l06 + {1, SW6_CS16, SW6_CS17, SW6_CS18}, // 85, LED, l16 + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 86, BSpc, ka1 + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 87, PgDn, k25 + {1, SW7_CS13, SW7_CS14, SW7_CS15}, // 88, LED, l07 + {1, SW7_CS16, SW7_CS17, SW7_CS18}, // 89, LED, l17 + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 90, ], k61 + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 91, Sh_R, k91 + {1, SW8_CS13, SW8_CS14, SW8_CS15}, // 92, LED, l08 + {1, SW8_CS16, SW8_CS17, SW8_CS18}, // 93, LED, l18 + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 94, Up, k35 + {1, SW10_CS1, SW10_CS2, SW10_CS3}, // 95, #, k84 + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 96, Left, k03 + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 97, Enter, ka4 + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 98, Down, k73 }; // clang-format on #endif diff --git a/keyboards/hs60/v2/v2.c b/keyboards/hs60/v2/v2.c index 45b1f54d5f5..5cb6f79fc7f 100644 --- a/keyboards/hs60/v2/v2.c +++ b/keyboards/hs60/v2/v2.c @@ -28,69 +28,69 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, B_1, A_1, C_1}, //LA1 - {0, E_1, D_1, F_1}, //LA2 - {0, H_1, G_1, I_1}, //LA3 - {0, K_1, J_1, L_1}, //LA4 - {0, B_2, A_2, C_2}, //LA5 - {0, E_2, D_2, F_2}, //LA6 - {0, H_2, G_2, I_2}, //LA7 - {0, K_2, J_2, L_2}, //LA8 - {0, B_3, A_3, C_3}, //LA9 - {0, E_3, D_3, F_3}, //LA10 - {0, H_3, G_3, I_3}, //LA11 - {0, K_3, J_3, L_3}, //LA12 - {0, B_4, A_4, C_4}, //LA13 - {0, E_4, D_4, F_4}, //LA14 - {0, H_4, G_4, I_4}, //LA15 - {0, K_4, J_4, L_4}, //LA16 - {0, B_5, A_5, C_5}, //LA17 - {0, E_5, D_5, F_5}, //LA18 - {0, H_5, G_5, I_5}, //LA19 - {0, K_5, J_5, L_5}, //LA20 - {0, B_6, A_6, C_6}, //LA21 - {0, E_6, D_6, F_6}, //LA22 - {0, H_6, G_6, I_6}, //LA23 - {0, K_6, J_6, L_6}, //LA24 - {0, B_7, A_7, C_7}, //LA25 - {0, E_7, D_7, F_7}, //LA26 - {0, H_7, G_7, I_7}, //LA27 - {0, K_7, J_7, L_7}, //LA28 - {0, B_8, A_8, C_8}, //LA29 - {0, E_8, D_8, F_8}, //LA30 - {0, H_8, G_8, I_8}, //LA31 - {0, K_8, J_8, L_8}, //LA32 - {0, B_9, A_9, C_9}, //LA33 - {0, E_9, D_9, F_9}, //LA34 - {0, H_9, G_9, I_9}, //LA35 - {0, K_9, J_9, L_9}, //LA36 - {0, B_10, A_10, C_10}, //LA37 - {0, E_10, D_10, F_10}, //LA38 - {0, H_10, G_10, I_10}, //LA39 - {0, K_10, J_10, L_10}, //LA40 - {0, B_11, A_11, C_11}, //LA41 - {0, E_11, D_11, F_11}, //LA42 - {0, H_11, G_11, I_11}, //LA43 - {0, K_11, J_11, L_11}, //LA44 - {0, B_12, A_12, C_12}, //LA45 - {0, E_12, D_12, F_12}, //LA46 - {0, H_12, G_12, I_12}, //LA47 - {0, K_12, J_12, L_12}, //LA48 - {0, B_13, A_13, C_13}, //LA49 - {0, E_13, D_13, F_13}, //LA50 - {0, H_13, G_13, I_13}, //LA51 - {0, K_13, J_13, L_13}, //LA52 - {0, B_14, A_14, C_14}, //LA53 - {0, E_14, D_14, F_14}, //LA54 - {0, H_14, G_14, I_14}, //LA55 - {0, K_14, J_14, L_14}, //LA56 - {0, B_15, A_15, C_15}, //LA57 - {0, E_15, D_15, F_15}, //LA58 - {0, H_15, G_15, I_15}, //LA59 - {0, K_15, J_15, L_15}, //LA60 - {0, B_16, A_16, C_16}, //LA61 - {0, E_16, D_16, F_16}, //LA62 - {0, H_16, G_16, I_16}, //LA63 - {0, K_16, J_16, L_16}, //LA64 + {0, SW2_CS1, SW1_CS1, SW3_CS1}, //LA1 + {0, SW5_CS1, SW4_CS1, SW6_CS1}, //LA2 + {0, SW8_CS1, SW7_CS1, SW9_CS1}, //LA3 + {0, SW11_CS1, SW10_CS1, SW12_CS1}, //LA4 + {0, SW2_CS2, SW1_CS2, SW3_CS2}, //LA5 + {0, SW5_CS2, SW4_CS2, SW6_CS2}, //LA6 + {0, SW8_CS2, SW7_CS2, SW9_CS2}, //LA7 + {0, SW11_CS2, SW10_CS2, SW12_CS2}, //LA8 + {0, SW2_CS3, SW1_CS3, SW3_CS3}, //LA9 + {0, SW5_CS3, SW4_CS3, SW6_CS3}, //LA10 + {0, SW8_CS3, SW7_CS3, SW9_CS3}, //LA11 + {0, SW11_CS3, SW10_CS3, SW12_CS3}, //LA12 + {0, SW2_CS4, SW1_CS4, SW3_CS4}, //LA13 + {0, SW5_CS4, SW4_CS4, SW6_CS4}, //LA14 + {0, SW8_CS4, SW7_CS4, SW9_CS4}, //LA15 + {0, SW11_CS4, SW10_CS4, SW12_CS4}, //LA16 + {0, SW2_CS5, SW1_CS5, SW3_CS5}, //LA17 + {0, SW5_CS5, SW4_CS5, SW6_CS5}, //LA18 + {0, SW8_CS5, SW7_CS5, SW9_CS5}, //LA19 + {0, SW11_CS5, SW10_CS5, SW12_CS5}, //LA20 + {0, SW2_CS6, SW1_CS6, SW3_CS6}, //LA21 + {0, SW5_CS6, SW4_CS6, SW6_CS6}, //LA22 + {0, SW8_CS6, SW7_CS6, SW9_CS6}, //LA23 + {0, SW11_CS6, SW10_CS6, SW12_CS6}, //LA24 + {0, SW2_CS7, SW1_CS7, SW3_CS7}, //LA25 + {0, SW5_CS7, SW4_CS7, SW6_CS7}, //LA26 + {0, SW8_CS7, SW7_CS7, SW9_CS7}, //LA27 + {0, SW11_CS7, SW10_CS7, SW12_CS7}, //LA28 + {0, SW2_CS8, SW1_CS8, SW3_CS8}, //LA29 + {0, SW5_CS8, SW4_CS8, SW6_CS8}, //LA30 + {0, SW8_CS8, SW7_CS8, SW9_CS8}, //LA31 + {0, SW11_CS8, SW10_CS8, SW12_CS8}, //LA32 + {0, SW2_CS9, SW1_CS9, SW3_CS9}, //LA33 + {0, SW5_CS9, SW4_CS9, SW6_CS9}, //LA34 + {0, SW8_CS9, SW7_CS9, SW9_CS9}, //LA35 + {0, SW11_CS9, SW10_CS9, SW12_CS9}, //LA36 + {0, SW2_CS10, SW1_CS10, SW3_CS10}, //LA37 + {0, SW5_CS10, SW4_CS10, SW6_CS10}, //LA38 + {0, SW8_CS10, SW7_CS10, SW9_CS10}, //LA39 + {0, SW11_CS10, SW10_CS10, SW12_CS10}, //LA40 + {0, SW2_CS11, SW1_CS11, SW3_CS11}, //LA41 + {0, SW5_CS11, SW4_CS11, SW6_CS11}, //LA42 + {0, SW8_CS11, SW7_CS11, SW9_CS11}, //LA43 + {0, SW11_CS11, SW10_CS11, SW12_CS11}, //LA44 + {0, SW2_CS12, SW1_CS12, SW3_CS12}, //LA45 + {0, SW5_CS12, SW4_CS12, SW6_CS12}, //LA46 + {0, SW8_CS12, SW7_CS12, SW9_CS12}, //LA47 + {0, SW11_CS12, SW10_CS12, SW12_CS12}, //LA48 + {0, SW2_CS13, SW1_CS13, SW3_CS13}, //LA49 + {0, SW5_CS13, SW4_CS13, SW6_CS13}, //LA50 + {0, SW8_CS13, SW7_CS13, SW9_CS13}, //LA51 + {0, SW11_CS13, SW10_CS13, SW12_CS13}, //LA52 + {0, SW2_CS14, SW1_CS14, SW3_CS14}, //LA53 + {0, SW5_CS14, SW4_CS14, SW6_CS14}, //LA54 + {0, SW8_CS14, SW7_CS14, SW9_CS14}, //LA55 + {0, SW11_CS14, SW10_CS14, SW12_CS14}, //LA56 + {0, SW2_CS15, SW1_CS15, SW3_CS15}, //LA57 + {0, SW5_CS15, SW4_CS15, SW6_CS15}, //LA58 + {0, SW8_CS15, SW7_CS15, SW9_CS15}, //LA59 + {0, SW11_CS15, SW10_CS15, SW12_CS15}, //LA60 + {0, SW2_CS16, SW1_CS16, SW3_CS16}, //LA61 + {0, SW5_CS16, SW4_CS16, SW6_CS16}, //LA62 + {0, SW8_CS16, SW7_CS16, SW9_CS16}, //LA63 + {0, SW11_CS16, SW10_CS16, SW12_CS16}, //LA64 }; #endif diff --git a/keyboards/ilumkb/simpler61/simpler61.c b/keyboards/ilumkb/simpler61/simpler61.c index cb35e554280..99cefc7844c 100644 --- a/keyboards/ilumkb/simpler61/simpler61.c +++ b/keyboards/ilumkb/simpler61/simpler61.c @@ -18,71 +18,71 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW4, CS2_SW4, CS1_SW4}, - {0, CS3_SW5, CS2_SW5, CS1_SW5}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, - {0, CS3_SW7, CS2_SW7, CS1_SW7}, - {0, CS3_SW8, CS2_SW8, CS1_SW8}, - {0, CS3_SW9, CS2_SW9, CS1_SW9}, - {0, CS18_SW9, CS17_SW9, CS16_SW9}, - {0, CS18_SW8, CS17_SW8, CS16_SW8}, - {0, CS18_SW7, CS17_SW7, CS16_SW7}, - {0, CS18_SW6, CS17_SW6, CS16_SW6}, - {0, CS18_SW5, CS17_SW5, CS16_SW5}, + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW4_CS3, SW4_CS2, SW4_CS1}, + {0, SW5_CS3, SW5_CS2, SW5_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, + {0, SW7_CS3, SW7_CS2, SW7_CS1}, + {0, SW8_CS3, SW8_CS2, SW8_CS1}, + {0, SW9_CS3, SW9_CS2, SW9_CS1}, + {0, SW9_CS18, SW9_CS17, SW9_CS16}, + {0, SW8_CS18, SW8_CS17, SW8_CS16}, + {0, SW7_CS18, SW7_CS17, SW7_CS16}, + {0, SW6_CS18, SW6_CS17, SW6_CS16}, + {0, SW5_CS18, SW5_CS17, SW5_CS16}, - {0, CS6_SW1, CS5_SW1, CS4_SW1}, - {0, CS6_SW2, CS5_SW2, CS4_SW2}, - {0, CS6_SW3, CS5_SW3, CS4_SW3}, - {0, CS6_SW4, CS5_SW4, CS4_SW4}, - {0, CS6_SW5, CS5_SW5, CS4_SW5}, - {0, CS6_SW6, CS5_SW6, CS4_SW6}, - {0, CS6_SW7, CS5_SW7, CS4_SW7}, - {0, CS6_SW8, CS5_SW8, CS4_SW8}, - {0, CS6_SW9, CS5_SW9, CS4_SW9}, - {0, CS21_SW9, CS20_SW9, CS19_SW9}, - {0, CS21_SW8, CS20_SW8, CS19_SW8}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, + {0, SW1_CS6, SW1_CS5, SW1_CS4}, + {0, SW2_CS6, SW2_CS5, SW2_CS4}, + {0, SW3_CS6, SW3_CS5, SW3_CS4}, + {0, SW4_CS6, SW4_CS5, SW4_CS4}, + {0, SW5_CS6, SW5_CS5, SW5_CS4}, + {0, SW6_CS6, SW6_CS5, SW6_CS4}, + {0, SW7_CS6, SW7_CS5, SW7_CS4}, + {0, SW8_CS6, SW8_CS5, SW8_CS4}, + {0, SW9_CS6, SW9_CS5, SW9_CS4}, + {0, SW9_CS21, SW9_CS20, SW9_CS19}, + {0, SW8_CS21, SW8_CS20, SW8_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS9_SW9, CS8_SW9, CS7_SW9}, - {0, CS24_SW9, CS23_SW9, CS22_SW9}, - {0, CS24_SW8, CS23_SW8, CS22_SW8}, - {0, CS24_SW7, CS23_SW7, CS22_SW7}, - {0, CS24_SW5, CS23_SW5, CS22_SW5}, + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW9_CS9, SW9_CS8, SW9_CS7}, + {0, SW9_CS24, SW9_CS23, SW9_CS22}, + {0, SW8_CS24, SW8_CS23, SW8_CS22}, + {0, SW7_CS24, SW7_CS23, SW7_CS22}, + {0, SW5_CS24, SW5_CS23, SW5_CS22}, - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS12_SW9, CS11_SW9, CS10_SW9}, - {0, CS27_SW9, CS26_SW9, CS25_SW9}, - {0, CS27_SW8, CS26_SW8, CS25_SW8}, - {0, CS27_SW7, CS26_SW7, CS25_SW7}, - {0, CS27_SW5, CS26_SW5, CS25_SW5}, + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW9_CS12, SW9_CS11, SW9_CS10}, + {0, SW9_CS27, SW9_CS26, SW9_CS25}, + {0, SW8_CS27, SW8_CS26, SW8_CS25}, + {0, SW7_CS27, SW7_CS26, SW7_CS25}, + {0, SW5_CS27, SW5_CS26, SW5_CS25}, - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS30_SW8, CS29_SW8, CS28_SW8}, - {0, CS30_SW7, CS29_SW7, CS28_SW7}, - {0, CS30_SW5, CS29_SW5, CS28_SW5}, + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW8_CS30, SW8_CS29, SW8_CS28}, + {0, SW7_CS30, SW7_CS29, SW7_CS28}, + {0, SW5_CS30, SW5_CS29, SW5_CS28}, }; led_config_t g_led_config = { diff --git a/keyboards/ilumkb/simpler64/simpler64.c b/keyboards/ilumkb/simpler64/simpler64.c index 173423cf7e6..21892a55f49 100644 --- a/keyboards/ilumkb/simpler64/simpler64.c +++ b/keyboards/ilumkb/simpler64/simpler64.c @@ -18,74 +18,74 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW4, CS2_SW4, CS1_SW4}, - {0, CS3_SW5, CS2_SW5, CS1_SW5}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, - {0, CS3_SW7, CS2_SW7, CS1_SW7}, - {0, CS3_SW8, CS2_SW8, CS1_SW8}, - {0, CS3_SW9, CS2_SW9, CS1_SW9}, - {0, CS18_SW9, CS17_SW9, CS16_SW9}, - {0, CS18_SW8, CS17_SW8, CS16_SW8}, - {0, CS18_SW7, CS17_SW7, CS16_SW7}, - {0, CS18_SW6, CS17_SW6, CS16_SW6}, - {0, CS18_SW5, CS17_SW5, CS16_SW5}, + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW4_CS3, SW4_CS2, SW4_CS1}, + {0, SW5_CS3, SW5_CS2, SW5_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, + {0, SW7_CS3, SW7_CS2, SW7_CS1}, + {0, SW8_CS3, SW8_CS2, SW8_CS1}, + {0, SW9_CS3, SW9_CS2, SW9_CS1}, + {0, SW9_CS18, SW9_CS17, SW9_CS16}, + {0, SW8_CS18, SW8_CS17, SW8_CS16}, + {0, SW7_CS18, SW7_CS17, SW7_CS16}, + {0, SW6_CS18, SW6_CS17, SW6_CS16}, + {0, SW5_CS18, SW5_CS17, SW5_CS16}, - {0, CS6_SW1, CS5_SW1, CS4_SW1}, - {0, CS6_SW2, CS5_SW2, CS4_SW2}, - {0, CS6_SW3, CS5_SW3, CS4_SW3}, - {0, CS6_SW4, CS5_SW4, CS4_SW4}, - {0, CS6_SW5, CS5_SW5, CS4_SW5}, - {0, CS6_SW6, CS5_SW6, CS4_SW6}, - {0, CS6_SW7, CS5_SW7, CS4_SW7}, - {0, CS6_SW8, CS5_SW8, CS4_SW8}, - {0, CS6_SW9, CS5_SW9, CS4_SW9}, - {0, CS21_SW9, CS20_SW9, CS19_SW9}, - {0, CS21_SW8, CS20_SW8, CS19_SW8}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, + {0, SW1_CS6, SW1_CS5, SW1_CS4}, + {0, SW2_CS6, SW2_CS5, SW2_CS4}, + {0, SW3_CS6, SW3_CS5, SW3_CS4}, + {0, SW4_CS6, SW4_CS5, SW4_CS4}, + {0, SW5_CS6, SW5_CS5, SW5_CS4}, + {0, SW6_CS6, SW6_CS5, SW6_CS4}, + {0, SW7_CS6, SW7_CS5, SW7_CS4}, + {0, SW8_CS6, SW8_CS5, SW8_CS4}, + {0, SW9_CS6, SW9_CS5, SW9_CS4}, + {0, SW9_CS21, SW9_CS20, SW9_CS19}, + {0, SW8_CS21, SW8_CS20, SW8_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS9_SW9, CS8_SW9, CS7_SW9}, - {0, CS24_SW9, CS23_SW9, CS22_SW9}, - {0, CS24_SW8, CS23_SW8, CS22_SW8}, - {0, CS24_SW7, CS23_SW7, CS22_SW7}, - {0, CS24_SW5, CS23_SW5, CS22_SW5}, + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW9_CS9, SW9_CS8, SW9_CS7}, + {0, SW9_CS24, SW9_CS23, SW9_CS22}, + {0, SW8_CS24, SW8_CS23, SW8_CS22}, + {0, SW7_CS24, SW7_CS23, SW7_CS22}, + {0, SW5_CS24, SW5_CS23, SW5_CS22}, - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS12_SW9, CS11_SW9, CS10_SW9}, - {0, CS27_SW9, CS26_SW9, CS25_SW9}, - {0, CS27_SW8, CS26_SW8, CS25_SW8}, - {0, CS27_SW7, CS26_SW7, CS25_SW7}, - {0, CS27_SW6, CS26_SW6, CS25_SW6}, - {0, CS27_SW5, CS26_SW5, CS25_SW5}, + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW9_CS12, SW9_CS11, SW9_CS10}, + {0, SW9_CS27, SW9_CS26, SW9_CS25}, + {0, SW8_CS27, SW8_CS26, SW8_CS25}, + {0, SW7_CS27, SW7_CS26, SW7_CS25}, + {0, SW6_CS27, SW6_CS26, SW6_CS25}, + {0, SW5_CS27, SW5_CS26, SW5_CS25}, - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS30_SW9, CS29_SW9, CS28_SW9}, - {0, CS30_SW8, CS29_SW8, CS28_SW8}, - {0, CS30_SW7, CS29_SW7, CS28_SW7}, - {0, CS30_SW6, CS29_SW6, CS28_SW6}, - {0, CS30_SW5, CS29_SW5, CS28_SW5}, + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW9_CS30, SW9_CS29, SW9_CS28}, + {0, SW8_CS30, SW8_CS29, SW8_CS28}, + {0, SW7_CS30, SW7_CS29, SW7_CS28}, + {0, SW6_CS30, SW6_CS29, SW6_CS28}, + {0, SW5_CS30, SW5_CS29, SW5_CS28}, }; led_config_t g_led_config = { diff --git a/keyboards/inland/kb83/kb83.c b/keyboards/inland/kb83/kb83.c index 427a9a5e2d0..65093a3c383 100644 --- a/keyboards/inland/kb83/kb83.c +++ b/keyboards/inland/kb83/kb83.c @@ -25,107 +25,107 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, - - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, + + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, D_2, E_2, F_2}, - - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, G_13, H_13, I_13}, - {1, D_3, E_3, F_3}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, + + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, D_7, E_7, F_7}, - {1, D_4, E_4, F_4}, - - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, - - {0, D_15, E_15, F_15}, - {1, D_6, E_6, F_6}, - {1, D_5, E_5, F_5}, - - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, - {1, G_4, H_4, I_4}, - {1, G_5, H_5, I_5}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, + {1, CB4_CA4, CB5_CA4, CB6_CA4}, + + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, + + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, + + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - {1, J_4, K_4, L_4}, - {1, J_5, K_5, L_5}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, }; led_config_t g_led_config = { diff --git a/keyboards/inland/mk47/mk47.c b/keyboards/inland/mk47/mk47.c index 959330e6f83..ca417af19f2 100644 --- a/keyboards/inland/mk47/mk47.c +++ b/keyboards/inland/mk47/mk47.c @@ -23,56 +23,56 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {0, D_15, E_15, F_15}, - {0, G_13, H_13, I_13}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, }; #endif diff --git a/keyboards/inland/v83p/v83p.c b/keyboards/inland/v83p/v83p.c index d0440036150..e14b082ceb8 100644 --- a/keyboards/inland/v83p/v83p.c +++ b/keyboards/inland/v83p/v83p.c @@ -12,107 +12,107 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, D_2, E_2, F_2}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, G_13, H_13, I_13}, - {1, D_3, E_3, F_3}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, D_7, E_7, F_7}, - {1, D_4, E_4, F_4}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, + {1, CB4_CA4, CB5_CA4, CB6_CA4}, - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, - {0, D_15, E_15, F_15}, - {1, D_6, E_6, F_6}, - {1, D_5, E_5, F_5}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, - {1, G_4, H_4, I_4}, - {1, G_5, H_5, I_5}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - {1, J_4, K_4, L_4}, - {1, J_5, K_5, L_5}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, }; #endif diff --git a/keyboards/input_club/k_type/is31fl3733-dual.h b/keyboards/input_club/k_type/is31fl3733-dual.h index b7e3eb54e7e..be6e4f9ce95 100644 --- a/keyboards/input_club/k_type/is31fl3733-dual.h +++ b/keyboards/input_club/k_type/is31fl3733-dual.h @@ -129,206 +129,206 @@ void is31fl3733_flush(void); #define IS31FL3733_SYNC_MASTER 0b01 #define IS31FL3733_SYNC_SLAVE 0b10 -#define A_1 0x00 -#define A_2 0x01 -#define A_3 0x02 -#define A_4 0x03 -#define A_5 0x04 -#define A_6 0x05 -#define A_7 0x06 -#define A_8 0x07 -#define A_9 0x08 -#define A_10 0x09 -#define A_11 0x0A -#define A_12 0x0B -#define A_13 0x0C -#define A_14 0x0D -#define A_15 0x0E -#define A_16 0x0F - -#define B_1 0x10 -#define B_2 0x11 -#define B_3 0x12 -#define B_4 0x13 -#define B_5 0x14 -#define B_6 0x15 -#define B_7 0x16 -#define B_8 0x17 -#define B_9 0x18 -#define B_10 0x19 -#define B_11 0x1A -#define B_12 0x1B -#define B_13 0x1C -#define B_14 0x1D -#define B_15 0x1E -#define B_16 0x1F - -#define C_1 0x20 -#define C_2 0x21 -#define C_3 0x22 -#define C_4 0x23 -#define C_5 0x24 -#define C_6 0x25 -#define C_7 0x26 -#define C_8 0x27 -#define C_9 0x28 -#define C_10 0x29 -#define C_11 0x2A -#define C_12 0x2B -#define C_13 0x2C -#define C_14 0x2D -#define C_15 0x2E -#define C_16 0x2F - -#define D_1 0x30 -#define D_2 0x31 -#define D_3 0x32 -#define D_4 0x33 -#define D_5 0x34 -#define D_6 0x35 -#define D_7 0x36 -#define D_8 0x37 -#define D_9 0x38 -#define D_10 0x39 -#define D_11 0x3A -#define D_12 0x3B -#define D_13 0x3C -#define D_14 0x3D -#define D_15 0x3E -#define D_16 0x3F - -#define E_1 0x40 -#define E_2 0x41 -#define E_3 0x42 -#define E_4 0x43 -#define E_5 0x44 -#define E_6 0x45 -#define E_7 0x46 -#define E_8 0x47 -#define E_9 0x48 -#define E_10 0x49 -#define E_11 0x4A -#define E_12 0x4B -#define E_13 0x4C -#define E_14 0x4D -#define E_15 0x4E -#define E_16 0x4F - -#define F_1 0x50 -#define F_2 0x51 -#define F_3 0x52 -#define F_4 0x53 -#define F_5 0x54 -#define F_6 0x55 -#define F_7 0x56 -#define F_8 0x57 -#define F_9 0x58 -#define F_10 0x59 -#define F_11 0x5A -#define F_12 0x5B -#define F_13 0x5C -#define F_14 0x5D -#define F_15 0x5E -#define F_16 0x5F - -#define G_1 0x60 -#define G_2 0x61 -#define G_3 0x62 -#define G_4 0x63 -#define G_5 0x64 -#define G_6 0x65 -#define G_7 0x66 -#define G_8 0x67 -#define G_9 0x68 -#define G_10 0x69 -#define G_11 0x6A -#define G_12 0x6B -#define G_13 0x6C -#define G_14 0x6D -#define G_15 0x6E -#define G_16 0x6F - -#define H_1 0x70 -#define H_2 0x71 -#define H_3 0x72 -#define H_4 0x73 -#define H_5 0x74 -#define H_6 0x75 -#define H_7 0x76 -#define H_8 0x77 -#define H_9 0x78 -#define H_10 0x79 -#define H_11 0x7A -#define H_12 0x7B -#define H_13 0x7C -#define H_14 0x7D -#define H_15 0x7E -#define H_16 0x7F - -#define I_1 0x80 -#define I_2 0x81 -#define I_3 0x82 -#define I_4 0x83 -#define I_5 0x84 -#define I_6 0x85 -#define I_7 0x86 -#define I_8 0x87 -#define I_9 0x88 -#define I_10 0x89 -#define I_11 0x8A -#define I_12 0x8B -#define I_13 0x8C -#define I_14 0x8D -#define I_15 0x8E -#define I_16 0x8F - -#define J_1 0x90 -#define J_2 0x91 -#define J_3 0x92 -#define J_4 0x93 -#define J_5 0x94 -#define J_6 0x95 -#define J_7 0x96 -#define J_8 0x97 -#define J_9 0x98 -#define J_10 0x99 -#define J_11 0x9A -#define J_12 0x9B -#define J_13 0x9C -#define J_14 0x9D -#define J_15 0x9E -#define J_16 0x9F - -#define K_1 0xA0 -#define K_2 0xA1 -#define K_3 0xA2 -#define K_4 0xA3 -#define K_5 0xA4 -#define K_6 0xA5 -#define K_7 0xA6 -#define K_8 0xA7 -#define K_9 0xA8 -#define K_10 0xA9 -#define K_11 0xAA -#define K_12 0xAB -#define K_13 0xAC -#define K_14 0xAD -#define K_15 0xAE -#define K_16 0xAF - -#define L_1 0xB0 -#define L_2 0xB1 -#define L_3 0xB2 -#define L_4 0xB3 -#define L_5 0xB4 -#define L_6 0xB5 -#define L_7 0xB6 -#define L_8 0xB7 -#define L_9 0xB8 -#define L_10 0xB9 -#define L_11 0xBA -#define L_12 0xBB -#define L_13 0xBC -#define L_14 0xBD -#define L_15 0xBE -#define L_16 0xBF +#define SW1_CS1 0x00 +#define SW1_CS2 0x01 +#define SW1_CS3 0x02 +#define SW1_CS4 0x03 +#define SW1_CS5 0x04 +#define SW1_CS6 0x05 +#define SW1_CS7 0x06 +#define SW1_CS8 0x07 +#define SW1_CS9 0x08 +#define SW1_CS10 0x09 +#define SW1_CS11 0x0A +#define SW1_CS12 0x0B +#define SW1_CS13 0x0C +#define SW1_CS14 0x0D +#define SW1_CS15 0x0E +#define SW1_CS16 0x0F + +#define SW2_CS1 0x10 +#define SW2_CS2 0x11 +#define SW2_CS3 0x12 +#define SW2_CS4 0x13 +#define SW2_CS5 0x14 +#define SW2_CS6 0x15 +#define SW2_CS7 0x16 +#define SW2_CS8 0x17 +#define SW2_CS9 0x18 +#define SW2_CS10 0x19 +#define SW2_CS11 0x1A +#define SW2_CS12 0x1B +#define SW2_CS13 0x1C +#define SW2_CS14 0x1D +#define SW2_CS15 0x1E +#define SW2_CS16 0x1F + +#define SW3_CS1 0x20 +#define SW3_CS2 0x21 +#define SW3_CS3 0x22 +#define SW3_CS4 0x23 +#define SW3_CS5 0x24 +#define SW3_CS6 0x25 +#define SW3_CS7 0x26 +#define SW3_CS8 0x27 +#define SW3_CS9 0x28 +#define SW3_CS10 0x29 +#define SW3_CS11 0x2A +#define SW3_CS12 0x2B +#define SW3_CS13 0x2C +#define SW3_CS14 0x2D +#define SW3_CS15 0x2E +#define SW3_CS16 0x2F + +#define SW4_CS1 0x30 +#define SW4_CS2 0x31 +#define SW4_CS3 0x32 +#define SW4_CS4 0x33 +#define SW4_CS5 0x34 +#define SW4_CS6 0x35 +#define SW4_CS7 0x36 +#define SW4_CS8 0x37 +#define SW4_CS9 0x38 +#define SW4_CS10 0x39 +#define SW4_CS11 0x3A +#define SW4_CS12 0x3B +#define SW4_CS13 0x3C +#define SW4_CS14 0x3D +#define SW4_CS15 0x3E +#define SW4_CS16 0x3F + +#define SW5_CS1 0x40 +#define SW5_CS2 0x41 +#define SW5_CS3 0x42 +#define SW5_CS4 0x43 +#define SW5_CS5 0x44 +#define SW5_CS6 0x45 +#define SW5_CS7 0x46 +#define SW5_CS8 0x47 +#define SW5_CS9 0x48 +#define SW5_CS10 0x49 +#define SW5_CS11 0x4A +#define SW5_CS12 0x4B +#define SW5_CS13 0x4C +#define SW5_CS14 0x4D +#define SW5_CS15 0x4E +#define SW5_CS16 0x4F + +#define SW6_CS1 0x50 +#define SW6_CS2 0x51 +#define SW6_CS3 0x52 +#define SW6_CS4 0x53 +#define SW6_CS5 0x54 +#define SW6_CS6 0x55 +#define SW6_CS7 0x56 +#define SW6_CS8 0x57 +#define SW6_CS9 0x58 +#define SW6_CS10 0x59 +#define SW6_CS11 0x5A +#define SW6_CS12 0x5B +#define SW6_CS13 0x5C +#define SW6_CS14 0x5D +#define SW6_CS15 0x5E +#define SW6_CS16 0x5F + +#define SW7_CS1 0x60 +#define SW7_CS2 0x61 +#define SW7_CS3 0x62 +#define SW7_CS4 0x63 +#define SW7_CS5 0x64 +#define SW7_CS6 0x65 +#define SW7_CS7 0x66 +#define SW7_CS8 0x67 +#define SW7_CS9 0x68 +#define SW7_CS10 0x69 +#define SW7_CS11 0x6A +#define SW7_CS12 0x6B +#define SW7_CS13 0x6C +#define SW7_CS14 0x6D +#define SW7_CS15 0x6E +#define SW7_CS16 0x6F + +#define SW8_CS1 0x70 +#define SW8_CS2 0x71 +#define SW8_CS3 0x72 +#define SW8_CS4 0x73 +#define SW8_CS5 0x74 +#define SW8_CS6 0x75 +#define SW8_CS7 0x76 +#define SW8_CS8 0x77 +#define SW8_CS9 0x78 +#define SW8_CS10 0x79 +#define SW8_CS11 0x7A +#define SW8_CS12 0x7B +#define SW8_CS13 0x7C +#define SW8_CS14 0x7D +#define SW8_CS15 0x7E +#define SW8_CS16 0x7F + +#define SW9_CS1 0x80 +#define SW9_CS2 0x81 +#define SW9_CS3 0x82 +#define SW9_CS4 0x83 +#define SW9_CS5 0x84 +#define SW9_CS6 0x85 +#define SW9_CS7 0x86 +#define SW9_CS8 0x87 +#define SW9_CS9 0x88 +#define SW9_CS10 0x89 +#define SW9_CS11 0x8A +#define SW9_CS12 0x8B +#define SW9_CS13 0x8C +#define SW9_CS14 0x8D +#define SW9_CS15 0x8E +#define SW9_CS16 0x8F + +#define SW10_CS1 0x90 +#define SW10_CS2 0x91 +#define SW10_CS3 0x92 +#define SW10_CS4 0x93 +#define SW10_CS5 0x94 +#define SW10_CS6 0x95 +#define SW10_CS7 0x96 +#define SW10_CS8 0x97 +#define SW10_CS9 0x98 +#define SW10_CS10 0x99 +#define SW10_CS11 0x9A +#define SW10_CS12 0x9B +#define SW10_CS13 0x9C +#define SW10_CS14 0x9D +#define SW10_CS15 0x9E +#define SW10_CS16 0x9F + +#define SW11_CS1 0xA0 +#define SW11_CS2 0xA1 +#define SW11_CS3 0xA2 +#define SW11_CS4 0xA3 +#define SW11_CS5 0xA4 +#define SW11_CS6 0xA5 +#define SW11_CS7 0xA6 +#define SW11_CS8 0xA7 +#define SW11_CS9 0xA8 +#define SW11_CS10 0xA9 +#define SW11_CS11 0xAA +#define SW11_CS12 0xAB +#define SW11_CS13 0xAC +#define SW11_CS14 0xAD +#define SW11_CS15 0xAE +#define SW11_CS16 0xAF + +#define SW12_CS1 0xB0 +#define SW12_CS2 0xB1 +#define SW12_CS3 0xB2 +#define SW12_CS4 0xB3 +#define SW12_CS5 0xB4 +#define SW12_CS6 0xB5 +#define SW12_CS7 0xB6 +#define SW12_CS8 0xB7 +#define SW12_CS9 0xB8 +#define SW12_CS10 0xB9 +#define SW12_CS11 0xBA +#define SW12_CS12 0xBB +#define SW12_CS13 0xBC +#define SW12_CS14 0xBD +#define SW12_CS15 0xBE +#define SW12_CS16 0xBF diff --git a/keyboards/input_club/k_type/k_type.c b/keyboards/input_club/k_type/k_type.c index c1377ebe61c..85bdc7ea739 100644 --- a/keyboards/input_club/k_type/k_type.c +++ b/keyboards/input_club/k_type/k_type.c @@ -21,133 +21,133 @@ along with this program. If not, see . # include "is31fl3733-dual.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - { 0, B_15, A_15, C_15 }, - { 0, B_16, A_16, C_16 }, - - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - { 0, E_15, D_15, F_15 }, - { 0, E_16, D_16, F_16 }, - - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_13, G_13, I_13 }, - { 0, H_14, G_14, I_14 }, - { 0, H_15, G_15, I_15 }, - { 0, H_16, G_16, I_16 }, - - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_11, J_11, L_11 }, - { 0, K_12, J_12, L_12 }, - { 0, K_13, J_13, L_13 }, - { 0, K_14, J_14, L_14 }, - { 0, K_15, J_15, L_15 }, - { 0, K_16, J_16, L_16 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, // Driver 2 is on I2C2 - { 1, B_1, A_1, C_1 }, - { 1, B_2, A_2, C_2 }, - { 1, B_3, A_3, C_3 }, - { 1, B_4, A_4, C_4 }, - { 1, B_5, A_5, C_5 }, - { 1, B_6, A_6, C_6 }, - { 1, B_7, A_7, C_7 }, - { 1, B_8, A_8, C_8 }, - { 1, B_9, A_9, C_9 }, - { 1, B_10, A_10, C_10 }, - { 1, B_11, A_11, C_11 }, - { 1, B_12, A_12, C_12 }, - { 1, B_13, A_13, C_13 }, - { 1, B_14, A_14, C_14 }, - { 1, B_15, A_15, C_15 }, - { 1, B_16, A_16, C_16 }, - - { 1, E_1, D_1, F_1 }, - { 1, E_2, D_2, F_2 }, - { 1, E_3, D_3, F_3 }, - { 1, E_4, D_4, F_4 }, - { 1, E_5, D_5, F_5 }, - { 1, E_6, D_6, F_6 }, - { 1, E_7, D_7, F_7 }, - { 1, E_8, D_8, F_8 }, - { 1, E_9, D_9, F_9 }, - { 1, E_10, D_10, F_10 }, - { 1, E_11, D_11, F_11 }, - { 1, E_12, D_12, F_12 }, - { 1, E_13, D_13, F_13 }, - { 1, E_14, D_14, F_14 }, - { 1, E_15, D_15, F_15 }, - { 1, E_16, D_16, F_16 }, - - { 1, H_1, G_1, I_1 }, - { 1, H_2, G_2, I_2 }, - { 1, H_3, G_3, I_3 }, - { 1, H_4, G_4, I_4 }, - { 1, H_5, G_5, I_5 }, - { 1, H_6, G_6, I_6 }, - { 1, H_7, G_7, I_7 }, - { 1, H_8, G_8, I_8 }, - { 1, H_9, G_9, I_9 }, - { 1, H_10, G_10, I_10 }, - { 1, H_11, G_11, I_11 }, - { 1, H_12, G_12, I_12 }, - { 1, H_13, G_13, I_13 }, - { 1, H_14, G_14, I_14 }, - { 1, H_15, G_15, I_15 }, - { 1, H_16, G_16, I_16 }, - - { 1, K_1, J_1, L_1 }, - { 1, K_2, J_2, L_2 }, - { 1, K_3, J_3, L_3 }, - { 1, K_4, J_4, L_4 }, - { 1, K_5, J_5, L_5 }, - { 1, K_6, J_6, L_6 }, - { 1, K_7, J_7, L_7 } + { 1, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 1, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 1, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 1, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 1, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 1, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 1, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 1, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 1, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 1, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 1, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 1, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 1, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 1, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 1, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 1, SW2_CS16, SW1_CS16, SW3_CS16 }, + + { 1, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 1, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 1, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 1, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 1, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 1, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 1, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 1, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 1, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 1, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 1, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 1, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 1, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 1, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 1, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 1, SW5_CS16, SW4_CS16, SW6_CS16 }, + + { 1, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 1, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 1, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 1, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 1, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 1, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 1, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 1, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 1, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 1, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 1, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 1, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 1, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 1, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 1, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 1, SW8_CS16, SW7_CS16, SW9_CS16 }, + + { 1, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 1, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 1, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 1, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 1, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 1, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 1, SW11_CS7, SW10_CS7, SW12_CS7 } }; led_config_t g_led_config = { diff --git a/keyboards/jukaie/jk01/jk01.c b/keyboards/jukaie/jk01/jk01.c index 96db3b804e9..913e77a55e7 100644 --- a/keyboards/jukaie/jk01/jk01.c +++ b/keyboards/jukaie/jk01/jk01.c @@ -25,99 +25,99 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - //{0, CS1_SW4, CS2_SW4, CS3_SW4}, // 0, k00, Esc - - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 1, k13, Esc - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 2, k26, F1 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 3, k36, F2 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 4, k31, F3 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 5, k33, F4 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 6, k07, F5 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 7, k63, F6 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 8, k71, F7 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 9, k76, F8 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 10, ka6, F9 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 11, ka7, F10 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 12, ka3, F11 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // 13, ka5, F12 - {1, CS4_SW2, CS5_SW2, CS6_SW2}, // 14, k97, Printscreen - {1, CS4_SW5, CS5_SW5, CS6_SW5}, // 15, k02, Del - - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 16, k16, ` - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 17, k17, 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 18, k27, 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 19, k37, 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 20, k47, 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 21, k46, 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 22, k56, 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 23, k57, 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 24, k67, 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 25, k77, 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 26, k87, 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 27, k86, - - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // 28, k66, = - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // 29, ka1, Backspace - {1, CS1_SW2, CS2_SW2, CS3_SW2}, // 30, kc6, Home - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 31, k11, Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 32, k10, Q - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 33, k20, W - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 34, k30, E - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 35, k40, R - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 36, k41, T - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 37, k51, Y - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 38, k50, U - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 39, k60, I - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 40, k70, O - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 41, k80, P - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 42, k81, [ - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // 43, k61, ] - {1, CS1_SW9, CS2_SW9, CS3_SW9}, // 44, ka2, "\\" - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // 45, k65, End - - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 46, k21, Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 47, k12, A - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 48, k22, S - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 49, k32, D - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 50, k42, F - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 51, k43, G - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 52, k53, H - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 53, k52, J - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 54, k62, K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 55, k72, L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 56, k82, ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 57, k83, ' - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // 58, ka4, Enter - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // 59, k15, PgUp - - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // 60, k00, Shift_L - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 61, k14, Z - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 62, k24, X - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 63, k34, C - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 64, k44, V - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 65, k45, B - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 66, k55, N - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 67, k54, M - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 68, k64, , - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 69, k74, . - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 70, k85, / - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // 71, k91, Shift_R - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // 72, k35, Up - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // 73, k25, PgDn - - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 74, k06, Ctrl_L - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 75, k90, Win_L - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 76, k93, Alt_L - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 77, k94, Space - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 78, k95, Alt_R - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 79, k92, FN - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 80, k04, Ctrl_R - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // 81, k03, Left - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // 82, k73, Down - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // 83, k05, Right - - {1, CS10_SW10, CS11_SW10, CS12_SW10}, // 84, kb0, Z1 - {1, CS10_SW11, CS11_SW11, CS12_SW11}, // 85, kb1, Z2 + //{0, SW4_CS1, SW4_CS2, SW4_CS3}, // 0, k00, Esc + + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 1, k13, Esc + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 2, k26, F1 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 3, k36, F2 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 4, k31, F3 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 5, k33, F4 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 6, k07, F5 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 7, k63, F6 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 8, k71, F7 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 9, k76, F8 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 10, ka6, F9 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 11, ka7, F10 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 12, ka3, F11 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // 13, ka5, F12 + {1, SW2_CS4, SW2_CS5, SW2_CS6}, // 14, k97, Printscreen + {1, SW5_CS4, SW5_CS5, SW5_CS6}, // 15, k02, Del + + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 16, k16, ` + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 17, k17, 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 18, k27, 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 19, k37, 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 20, k47, 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 21, k46, 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 22, k56, 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 23, k57, 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 24, k67, 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 25, k77, 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 26, k87, 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 27, k86, - + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // 28, k66, = + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // 29, ka1, Backspace + {1, SW2_CS1, SW2_CS2, SW2_CS3}, // 30, kc6, Home + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 31, k11, Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 32, k10, Q + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 33, k20, W + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 34, k30, E + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 35, k40, R + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 36, k41, T + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 37, k51, Y + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 38, k50, U + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 39, k60, I + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 40, k70, O + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 41, k80, P + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 42, k81, [ + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // 43, k61, ] + {1, SW9_CS1, SW9_CS2, SW9_CS3}, // 44, ka2, "\\" + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // 45, k65, End + + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 46, k21, Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 47, k12, A + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 48, k22, S + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 49, k32, D + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 50, k42, F + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 51, k43, G + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 52, k53, H + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 53, k52, J + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 54, k62, K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 55, k72, L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 56, k82, ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 57, k83, ' + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // 58, ka4, Enter + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // 59, k15, PgUp + + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // 60, k00, Shift_L + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 61, k14, Z + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 62, k24, X + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 63, k34, C + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 64, k44, V + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 65, k45, B + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 66, k55, N + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 67, k54, M + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 68, k64, , + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 69, k74, . + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 70, k85, / + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // 71, k91, Shift_R + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // 72, k35, Up + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // 73, k25, PgDn + + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 74, k06, Ctrl_L + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 75, k90, Win_L + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 76, k93, Alt_L + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 77, k94, Space + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 78, k95, Alt_R + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 79, k92, FN + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 80, k04, Ctrl_R + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // 81, k03, Left + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // 82, k73, Down + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // 83, k05, Right + + {1, SW10_CS10, SW10_CS11, SW10_CS12}, // 84, kb0, Z1 + {1, SW11_CS10, SW11_CS11, SW11_CS12}, // 85, kb1, Z2 }; #endif diff --git a/keyboards/kbdcraft/adam64/adam64.c b/keyboards/kbdcraft/adam64/adam64.c index 3f1565c2f30..db32d2856e1 100644 --- a/keyboards/kbdcraft/adam64/adam64.c +++ b/keyboards/kbdcraft/adam64/adam64.c @@ -26,73 +26,73 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS14_SW1, CS13_SW1, CS15_SW1}, - {0, CS14_SW2, CS13_SW2, CS15_SW2}, - {0, CS14_SW3, CS13_SW3, CS15_SW3}, - {0, CS14_SW4, CS13_SW4, CS15_SW4}, - {0, CS14_SW5, CS13_SW5, CS15_SW5}, - {0, CS14_SW6, CS13_SW6, CS15_SW6}, - {0, CS14_SW7, CS13_SW7, CS15_SW7}, - {0, CS32_SW1, CS31_SW1, CS33_SW1}, - {0, CS32_SW2, CS31_SW2, CS33_SW2}, - {0, CS32_SW3, CS31_SW3, CS33_SW3}, - {0, CS32_SW4, CS31_SW4, CS33_SW4}, - {0, CS32_SW5, CS31_SW5, CS33_SW5}, - {0, CS32_SW6, CS31_SW6, CS33_SW6}, - {0, CS32_SW7, CS31_SW7, CS33_SW7}, + {0, SW1_CS14, SW1_CS13, SW1_CS15}, + {0, SW2_CS14, SW2_CS13, SW2_CS15}, + {0, SW3_CS14, SW3_CS13, SW3_CS15}, + {0, SW4_CS14, SW4_CS13, SW4_CS15}, + {0, SW5_CS14, SW5_CS13, SW5_CS15}, + {0, SW6_CS14, SW6_CS13, SW6_CS15}, + {0, SW7_CS14, SW7_CS13, SW7_CS15}, + {0, SW1_CS32, SW1_CS31, SW1_CS33}, + {0, SW2_CS32, SW2_CS31, SW2_CS33}, + {0, SW3_CS32, SW3_CS31, SW3_CS33}, + {0, SW4_CS32, SW4_CS31, SW4_CS33}, + {0, SW5_CS32, SW5_CS31, SW5_CS33}, + {0, SW6_CS32, SW6_CS31, SW6_CS33}, + {0, SW7_CS32, SW7_CS31, SW7_CS33}, - {0, CS23_SW1, CS24_SW1, CS22_SW1}, - {0, CS23_SW2, CS24_SW2, CS22_SW2}, - {0, CS23_SW3, CS24_SW3, CS22_SW3}, - {0, CS23_SW4, CS24_SW4, CS22_SW4}, - {0, CS23_SW5, CS24_SW5, CS22_SW5}, - {0, CS23_SW6, CS24_SW6, CS22_SW6}, - {0, CS23_SW7, CS24_SW7, CS22_SW7}, - {0, CS35_SW1, CS34_SW1, CS36_SW1}, - {0, CS35_SW2, CS34_SW2, CS36_SW2}, - {0, CS35_SW3, CS34_SW3, CS36_SW3}, - {0, CS35_SW4, CS34_SW4, CS36_SW4}, - {0, CS35_SW5, CS34_SW5, CS36_SW5}, - {0, CS35_SW6, CS34_SW6, CS36_SW6}, - {0, CS35_SW7, CS34_SW7, CS36_SW7}, + {0, SW1_CS23, SW1_CS24, SW1_CS22}, + {0, SW2_CS23, SW2_CS24, SW2_CS22}, + {0, SW3_CS23, SW3_CS24, SW3_CS22}, + {0, SW4_CS23, SW4_CS24, SW4_CS22}, + {0, SW5_CS23, SW5_CS24, SW5_CS22}, + {0, SW6_CS23, SW6_CS24, SW6_CS22}, + {0, SW7_CS23, SW7_CS24, SW7_CS22}, + {0, SW1_CS35, SW1_CS34, SW1_CS36}, + {0, SW2_CS35, SW2_CS34, SW2_CS36}, + {0, SW3_CS35, SW3_CS34, SW3_CS36}, + {0, SW4_CS35, SW4_CS34, SW4_CS36}, + {0, SW5_CS35, SW5_CS34, SW5_CS36}, + {0, SW6_CS35, SW6_CS34, SW6_CS36}, + {0, SW7_CS35, SW7_CS34, SW7_CS36}, - {0, CS17_SW1, CS16_SW1, CS18_SW1}, - {0, CS17_SW2, CS16_SW2, CS18_SW2}, - {0, CS17_SW3, CS16_SW3, CS18_SW3}, - {0, CS17_SW4, CS16_SW4, CS18_SW4}, - {0, CS17_SW5, CS16_SW5, CS18_SW5}, - {0, CS17_SW6, CS16_SW6, CS18_SW6}, - {0, CS17_SW7, CS16_SW7, CS18_SW7}, - {0, CS26_SW1, CS25_SW1, CS27_SW1}, - {0, CS26_SW2, CS25_SW2, CS27_SW2}, - {0, CS26_SW3, CS25_SW3, CS27_SW3}, - {0, CS26_SW4, CS25_SW4, CS27_SW4}, - {0, CS26_SW5, CS25_SW5, CS27_SW5}, - {0, CS26_SW7, CS25_SW7, CS27_SW7}, + {0, SW1_CS17, SW1_CS16, SW1_CS18}, + {0, SW2_CS17, SW2_CS16, SW2_CS18}, + {0, SW3_CS17, SW3_CS16, SW3_CS18}, + {0, SW4_CS17, SW4_CS16, SW4_CS18}, + {0, SW5_CS17, SW5_CS16, SW5_CS18}, + {0, SW6_CS17, SW6_CS16, SW6_CS18}, + {0, SW7_CS17, SW7_CS16, SW7_CS18}, + {0, SW1_CS26, SW1_CS25, SW1_CS27}, + {0, SW2_CS26, SW2_CS25, SW2_CS27}, + {0, SW3_CS26, SW3_CS25, SW3_CS27}, + {0, SW4_CS26, SW4_CS25, SW4_CS27}, + {0, SW5_CS26, SW5_CS25, SW5_CS27}, + {0, SW7_CS26, SW7_CS25, SW7_CS27}, - {0, CS20_SW1, CS19_SW1, CS21_SW1}, - {0, CS20_SW2, CS19_SW2, CS21_SW2}, - {0, CS20_SW3, CS19_SW3, CS21_SW3}, - {0, CS20_SW4, CS19_SW4, CS21_SW4}, - {0, CS20_SW5, CS19_SW5, CS21_SW5}, - {0, CS20_SW6, CS19_SW6, CS21_SW6}, - {0, CS20_SW7, CS19_SW7, CS21_SW7}, - {0, CS29_SW1, CS28_SW1, CS30_SW1}, - {0, CS29_SW2, CS28_SW2, CS30_SW2}, - {0, CS29_SW3, CS28_SW3, CS30_SW3}, - {0, CS29_SW4, CS28_SW4, CS30_SW4}, - {0, CS29_SW5, CS28_SW5, CS30_SW5}, - {0, CS29_SW6, CS28_SW6, CS30_SW6}, - {0, CS29_SW7, CS28_SW7, CS30_SW7}, + {0, SW1_CS20, SW1_CS19, SW1_CS21}, + {0, SW2_CS20, SW2_CS19, SW2_CS21}, + {0, SW3_CS20, SW3_CS19, SW3_CS21}, + {0, SW4_CS20, SW4_CS19, SW4_CS21}, + {0, SW5_CS20, SW5_CS19, SW5_CS21}, + {0, SW6_CS20, SW6_CS19, SW6_CS21}, + {0, SW7_CS20, SW7_CS19, SW7_CS21}, + {0, SW1_CS29, SW1_CS28, SW1_CS30}, + {0, SW2_CS29, SW2_CS28, SW2_CS30}, + {0, SW3_CS29, SW3_CS28, SW3_CS30}, + {0, SW4_CS29, SW4_CS28, SW4_CS30}, + {0, SW5_CS29, SW5_CS28, SW5_CS30}, + {0, SW6_CS29, SW6_CS28, SW6_CS30}, + {0, SW7_CS29, SW7_CS28, SW7_CS30}, - {0, CS9_SW1, CS10_SW1, CS8_SW1}, - {0, CS9_SW2, CS10_SW2, CS8_SW2}, - {0, CS9_SW3, CS10_SW3, CS8_SW3}, - {0, CS9_SW6, CS10_SW6, CS8_SW6}, - {0, CS2_SW3, CS1_SW3, CS3_SW3}, - {0, CS2_SW4, CS1_SW4, CS3_SW4}, - {0, CS2_SW5, CS1_SW5, CS3_SW5}, - {0, CS2_SW6, CS1_SW6, CS3_SW6}, - {0, CS2_SW7, CS1_SW7, CS3_SW7} + {0, SW1_CS9, SW1_CS10, SW1_CS8}, + {0, SW2_CS9, SW2_CS10, SW2_CS8}, + {0, SW3_CS9, SW3_CS10, SW3_CS8}, + {0, SW6_CS9, SW6_CS10, SW6_CS8}, + {0, SW3_CS2, SW3_CS1, SW3_CS3}, + {0, SW4_CS2, SW4_CS1, SW4_CS3}, + {0, SW5_CS2, SW5_CS1, SW5_CS3}, + {0, SW6_CS2, SW6_CS1, SW6_CS3}, + {0, SW7_CS2, SW7_CS1, SW7_CS3} }; #endif diff --git a/keyboards/kbdfans/bella/rgb/rgb.c b/keyboards/kbdfans/bella/rgb/rgb.c index c666f9198f4..4818c990053 100644 --- a/keyboards/kbdfans/bella/rgb/rgb.c +++ b/keyboards/kbdfans/bella/rgb/rgb.c @@ -16,106 +16,106 @@ #include "quantum.h" #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB58 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB71 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB84 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB97 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB7 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB20 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB33 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB46 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB59 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB72 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB85 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB6 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB32 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB45 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB58 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB71 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB84 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB97 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB7 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB20 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB33 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB46 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB59 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB72 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB85 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB5 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB18 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB31 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB44 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB57 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB70 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB83 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB96 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB8 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB21 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB34 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB47 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB60 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB73 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB86 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB5 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB18 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB31 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB44 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB57 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB70 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB83 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB96 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB8 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB21 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB34 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB47 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB60 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB73 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB86 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB4 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB17 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB30 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB43 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB56 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB69 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB82 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB95 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB9 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB22 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB35 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB48 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB61 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB74 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB87 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB4 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB17 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB30 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB43 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB56 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB69 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB82 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB95 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB9 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB22 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB35 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB48 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB61 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB74 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB87 */ - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB3 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB16 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB29*/ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB42 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB55 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB68 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB81 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB94 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB10 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB23 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB36 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB49 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB62 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB88 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB3 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB16 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB29*/ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB42 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB55 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB68 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB81 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB94 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB10 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB23 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB36 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB49 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB62 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB88 */ - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB2 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB28 */ - {0, CS6_SW4, CS5_SW4, CS4_SW4}, /* RGB41 */ - {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* RGB54 */ - {0, CS6_SW6, CS5_SW6, CS4_SW6}, /* RGB67 */ - {0, CS6_SW7, CS5_SW7, CS4_SW7}, /* RGB80 */ - {0, CS6_SW8, CS5_SW8, CS4_SW8}, /* RGB93 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB11 */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB24 */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB37 */ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB50 */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB63 */ - {0, CS33_SW6, CS32_SW6, CS31_SW6}, /* RGB76 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB2 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB28 */ + {0, SW4_CS6, SW4_CS5, SW4_CS4}, /* RGB41 */ + {0, SW5_CS6, SW5_CS5, SW5_CS4}, /* RGB54 */ + {0, SW6_CS6, SW6_CS5, SW6_CS4}, /* RGB67 */ + {0, SW7_CS6, SW7_CS5, SW7_CS4}, /* RGB80 */ + {0, SW8_CS6, SW8_CS5, SW8_CS4}, /* RGB93 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB11 */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB24 */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB37 */ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB50 */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB63 */ + {0, SW6_CS33, SW6_CS32, SW6_CS31}, /* RGB76 */ - {0, CS3_SW1, CS2_SW1, CS1_SW1}, /* RGB1 */ - {0, CS3_SW2, CS2_SW2, CS1_SW2}, /* RGB14 */ - {0, CS3_SW3, CS2_SW3, CS1_SW3}, /* RGB27 */ - {0, CS36_SW8, CS35_SW8, CS34_SW8}, /* RGB103 */ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB38 */ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB51 */ - {0, CS36_SW5, CS35_SW5, CS34_SW5}, /* RGB64 */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB77 */ - {0, CS36_SW7, CS35_SW7, CS34_SW7}, /* RGB90 */ + {0, SW1_CS3, SW1_CS2, SW1_CS1}, /* RGB1 */ + {0, SW2_CS3, SW2_CS2, SW2_CS1}, /* RGB14 */ + {0, SW3_CS3, SW3_CS2, SW3_CS1}, /* RGB27 */ + {0, SW8_CS36, SW8_CS35, SW8_CS34}, /* RGB103 */ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB38 */ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB51 */ + {0, SW5_CS36, SW5_CS35, SW5_CS34}, /* RGB64 */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB77 */ + {0, SW7_CS36, SW7_CS35, SW7_CS34}, /* RGB90 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB110 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB19 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB108 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB98 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB112 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB99 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB107 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB100 */ - {0, CS33_SW7, CS32_SW7, CS31_SW7}, /* RGB89 */ - {0, CS33_SW9, CS32_SW9, CS31_SW9}, /* RGB115 */ - {0, CS36_SW9, CS35_SW9, CS34_SW9}, /* RGB116 */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB25 */ - {0, CS3_SW9, CS2_SW9, CS1_SW9}, /* RGB105 */ - {0, CS3_SW4, CS2_SW4, CS1_SW4}, /* RGB40 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB110 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB19 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB108 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB98 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB112 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB99 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB107 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB100 */ + {0, SW7_CS33, SW7_CS32, SW7_CS31}, /* RGB89 */ + {0, SW9_CS33, SW9_CS32, SW9_CS31}, /* RGB115 */ + {0, SW9_CS36, SW9_CS35, SW9_CS34}, /* RGB116 */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB25 */ + {0, SW9_CS3, SW9_CS2, SW9_CS1}, /* RGB105 */ + {0, SW4_CS3, SW4_CS2, SW4_CS1}, /* RGB40 */ }; led_config_t g_led_config = { diff --git a/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c b/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c index b4fc00765f5..8d9349e295f 100644 --- a/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c +++ b/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c @@ -16,107 +16,107 @@ #include "quantum.h" #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB58 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB71 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB84 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB97 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB7 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB20 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB33 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB46 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB59 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB72 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB85 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB6 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB32 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB45 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB58 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB71 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB84 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB97 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB7 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB20 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB33 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB46 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB59 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB72 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB85 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB5 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB18 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB31 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB44 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB57 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB70 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB83 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB96 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB8 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB21 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB34 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB47 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB60 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB73 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB86 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB5 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB18 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB31 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB44 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB57 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB70 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB83 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB96 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB8 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB21 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB34 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB47 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB60 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB73 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB86 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB4 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB17 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB30 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB43 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB56 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB69 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB82 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB95 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB9 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB22 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB35 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB48 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB61 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB74 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB87 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB4 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB17 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB30 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB43 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB56 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB69 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB82 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB95 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB9 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB22 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB35 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB48 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB61 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB74 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB87 */ - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB3 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB16 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB29*/ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB42 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB55 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB68 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB81 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB94 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB10 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB23 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB36 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB49 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB62 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB88 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB3 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB16 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB29*/ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB42 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB55 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB68 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB81 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB94 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB10 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB23 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB36 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB49 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB62 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB88 */ - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB2 */ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB15 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB28 */ - {0, CS6_SW4, CS5_SW4, CS4_SW4}, /* RGB41 */ - {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* RGB54 */ - {0, CS6_SW6, CS5_SW6, CS4_SW6}, /* RGB67 */ - {0, CS6_SW7, CS5_SW7, CS4_SW7}, /* RGB80 */ - {0, CS6_SW8, CS5_SW8, CS4_SW8}, /* RGB93 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB11 */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB24 */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB37 */ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB50 */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB63 */ - {0, CS33_SW6, CS32_SW6, CS31_SW6}, /* RGB76 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB2 */ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB15 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB28 */ + {0, SW4_CS6, SW4_CS5, SW4_CS4}, /* RGB41 */ + {0, SW5_CS6, SW5_CS5, SW5_CS4}, /* RGB54 */ + {0, SW6_CS6, SW6_CS5, SW6_CS4}, /* RGB67 */ + {0, SW7_CS6, SW7_CS5, SW7_CS4}, /* RGB80 */ + {0, SW8_CS6, SW8_CS5, SW8_CS4}, /* RGB93 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB11 */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB24 */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB37 */ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB50 */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB63 */ + {0, SW6_CS33, SW6_CS32, SW6_CS31}, /* RGB76 */ - {0, CS3_SW1, CS2_SW1, CS1_SW1}, /* RGB1 */ - {0, CS3_SW2, CS2_SW2, CS1_SW2}, /* RGB14 */ - {0, CS3_SW3, CS2_SW3, CS1_SW3}, /* RGB27 */ - {0, CS36_SW8, CS35_SW8, CS34_SW8}, /* RGB103 */ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB38 */ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB51 */ - {0, CS36_SW5, CS35_SW5, CS34_SW5}, /* RGB64 */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB77 */ - {0, CS36_SW7, CS35_SW7, CS34_SW7}, /* RGB90 */ + {0, SW1_CS3, SW1_CS2, SW1_CS1}, /* RGB1 */ + {0, SW2_CS3, SW2_CS2, SW2_CS1}, /* RGB14 */ + {0, SW3_CS3, SW3_CS2, SW3_CS1}, /* RGB27 */ + {0, SW8_CS36, SW8_CS35, SW8_CS34}, /* RGB103 */ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB38 */ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB51 */ + {0, SW5_CS36, SW5_CS35, SW5_CS34}, /* RGB64 */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB77 */ + {0, SW7_CS36, SW7_CS35, SW7_CS34}, /* RGB90 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB110 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB19 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB108 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB98 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB112 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB99 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB107 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB100 */ - {0, CS33_SW7, CS32_SW7, CS31_SW7}, /* RGB89 */ - {0, CS33_SW9, CS32_SW9, CS31_SW9}, /* RGB115 */ - {0, CS36_SW9, CS35_SW9, CS34_SW9}, /* RGB116 */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB25 */ - {0, CS3_SW9, CS2_SW9, CS1_SW9}, /* RGB105 */ - {0, CS3_SW4, CS2_SW4, CS1_SW4}, /* RGB40 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB110 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB19 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB108 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB98 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB112 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB99 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB107 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB100 */ + {0, SW7_CS33, SW7_CS32, SW7_CS31}, /* RGB89 */ + {0, SW9_CS33, SW9_CS32, SW9_CS31}, /* RGB115 */ + {0, SW9_CS36, SW9_CS35, SW9_CS34}, /* RGB116 */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB25 */ + {0, SW9_CS3, SW9_CS2, SW9_CS1}, /* RGB105 */ + {0, SW4_CS3, SW4_CS2, SW4_CS1}, /* RGB40 */ }; led_config_t g_led_config = { diff --git a/keyboards/kbdfans/boop65/rgb/rgb.c b/keyboards/kbdfans/boop65/rgb/rgb.c index b8145382c7a..f70c92812f9 100644 --- a/keyboards/kbdfans/boop65/rgb/rgb.c +++ b/keyboards/kbdfans/boop65/rgb/rgb.c @@ -19,97 +19,97 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS21_SW1, CS20_SW1, CS19_SW1}, - {0, CS21_SW2, CS20_SW2, CS19_SW2}, - {0, CS21_SW3, CS20_SW3, CS19_SW3}, - {0, CS21_SW4, CS20_SW4, CS19_SW4}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, - {0, CS21_SW8, CS20_SW8, CS19_SW8}, - {0, CS24_SW1, CS23_SW1, CS22_SW1}, - {0, CS24_SW2, CS23_SW2, CS22_SW2}, - {0, CS24_SW3, CS23_SW3, CS22_SW3}, - {0, CS24_SW4, CS23_SW4, CS22_SW4}, - {0, CS24_SW5, CS23_SW5, CS22_SW5}, - {0, CS24_SW6, CS23_SW6, CS22_SW6}, - {0, CS24_SW7, CS23_SW7, CS22_SW7}, + {0, SW1_CS21, SW1_CS20, SW1_CS19}, + {0, SW2_CS21, SW2_CS20, SW2_CS19}, + {0, SW3_CS21, SW3_CS20, SW3_CS19}, + {0, SW4_CS21, SW4_CS20, SW4_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, + {0, SW8_CS21, SW8_CS20, SW8_CS19}, + {0, SW1_CS24, SW1_CS23, SW1_CS22}, + {0, SW2_CS24, SW2_CS23, SW2_CS22}, + {0, SW3_CS24, SW3_CS23, SW3_CS22}, + {0, SW4_CS24, SW4_CS23, SW4_CS22}, + {0, SW5_CS24, SW5_CS23, SW5_CS22}, + {0, SW6_CS24, SW6_CS23, SW6_CS22}, + {0, SW7_CS24, SW7_CS23, SW7_CS22}, - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW4, CS14_SW4, CS13_SW4}, - {0, CS15_SW5, CS14_SW5, CS13_SW5}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS15_SW7, CS14_SW7, CS13_SW7}, - {0, CS15_SW8, CS14_SW8, CS13_SW8}, - {0, CS30_SW1, CS29_SW1, CS28_SW1}, - {0, CS30_SW2, CS29_SW2, CS28_SW2}, - {0, CS30_SW3, CS29_SW3, CS28_SW3}, - {0, CS30_SW4, CS29_SW4, CS28_SW4}, - {0, CS30_SW5, CS29_SW5, CS28_SW5}, - {0, CS30_SW6, CS29_SW6, CS28_SW6}, - {0, CS30_SW7, CS29_SW7, CS28_SW7}, + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW4_CS15, SW4_CS14, SW4_CS13}, + {0, SW5_CS15, SW5_CS14, SW5_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW7_CS15, SW7_CS14, SW7_CS13}, + {0, SW8_CS15, SW8_CS14, SW8_CS13}, + {0, SW1_CS30, SW1_CS29, SW1_CS28}, + {0, SW2_CS30, SW2_CS29, SW2_CS28}, + {0, SW3_CS30, SW3_CS29, SW3_CS28}, + {0, SW4_CS30, SW4_CS29, SW4_CS28}, + {0, SW5_CS30, SW5_CS29, SW5_CS28}, + {0, SW6_CS30, SW6_CS29, SW6_CS28}, + {0, SW7_CS30, SW7_CS29, SW7_CS28}, - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS33_SW1, CS32_SW1, CS31_SW1}, - {0, CS33_SW2, CS32_SW2, CS31_SW2}, - {0, CS33_SW3, CS32_SW3, CS31_SW3}, - {0, CS33_SW4, CS32_SW4, CS31_SW4}, - {0, CS33_SW5, CS32_SW5, CS31_SW5}, - {0, CS33_SW7, CS32_SW7, CS31_SW7}, + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW1_CS33, SW1_CS32, SW1_CS31}, + {0, SW2_CS33, SW2_CS32, SW2_CS31}, + {0, SW3_CS33, SW3_CS32, SW3_CS31}, + {0, SW4_CS33, SW4_CS32, SW4_CS31}, + {0, SW5_CS33, SW5_CS32, SW5_CS31}, + {0, SW7_CS33, SW7_CS32, SW7_CS31}, - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS36_SW1, CS35_SW1, CS34_SW1}, - {0, CS36_SW2, CS35_SW2, CS34_SW2}, - {0, CS36_SW3, CS35_SW3, CS34_SW3}, - {0, CS36_SW4, CS35_SW4, CS34_SW4}, - {0, CS36_SW5, CS35_SW5, CS34_SW5}, - {0, CS36_SW7, CS35_SW7, CS34_SW7}, + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW1_CS36, SW1_CS35, SW1_CS34}, + {0, SW2_CS36, SW2_CS35, SW2_CS34}, + {0, SW3_CS36, SW3_CS35, SW3_CS34}, + {0, SW4_CS36, SW4_CS35, SW4_CS34}, + {0, SW5_CS36, SW5_CS35, SW5_CS34}, + {0, SW7_CS36, SW7_CS35, SW7_CS34}, - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, - {0, CS39_SW2, CS38_SW2, CS37_SW2}, - {0, CS39_SW3, CS38_SW3, CS37_SW3}, - {0, CS39_SW4, CS38_SW4, CS37_SW4}, - {0, CS39_SW5, CS38_SW5, CS37_SW5}, - {0, CS39_SW7, CS38_SW7, CS37_SW7}, + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, + {0, SW2_CS39, SW2_CS38, SW2_CS37}, + {0, SW3_CS39, SW3_CS38, SW3_CS37}, + {0, SW4_CS39, SW4_CS38, SW4_CS37}, + {0, SW5_CS39, SW5_CS38, SW5_CS37}, + {0, SW7_CS39, SW7_CS38, SW7_CS37}, /* underglow */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, - {0, CS18_SW3, CS17_SW3, CS16_SW3}, - {0, CS18_SW5, CS17_SW5, CS16_SW5}, - {0, CS18_SW7, CS17_SW7, CS16_SW7}, - {0, CS27_SW2, CS26_SW2, CS25_SW2}, - {0, CS27_SW4, CS26_SW4, CS25_SW4}, - {0, CS27_SW6, CS26_SW6, CS25_SW6}, - {0, CS27_SW7, CS26_SW7, CS25_SW7}, + {0, SW1_CS18, SW1_CS17, SW1_CS16}, + {0, SW3_CS18, SW3_CS17, SW3_CS16}, + {0, SW5_CS18, SW5_CS17, SW5_CS16}, + {0, SW7_CS18, SW7_CS17, SW7_CS16}, + {0, SW2_CS27, SW2_CS26, SW2_CS25}, + {0, SW4_CS27, SW4_CS26, SW4_CS25}, + {0, SW6_CS27, SW6_CS26, SW6_CS25}, + {0, SW7_CS27, SW7_CS26, SW7_CS25}, - {0, CS6_SW1, CS5_SW1, CS4_SW1}, - {0, CS6_SW3, CS5_SW3, CS4_SW3}, - {0, CS6_SW4, CS5_SW4, CS4_SW4}, - {0, CS6_SW7, CS5_SW7, CS4_SW7}, - {0, CS39_SW1, CS38_SW1, CS37_SW1}, - {0, CS33_SW6, CS32_SW6, CS31_SW6}, - {0, CS36_SW6, CS35_SW6, CS34_SW6}, - {0, CS39_SW6, CS38_SW6, CS37_SW6} + {0, SW1_CS6, SW1_CS5, SW1_CS4}, + {0, SW3_CS6, SW3_CS5, SW3_CS4}, + {0, SW4_CS6, SW4_CS5, SW4_CS4}, + {0, SW7_CS6, SW7_CS5, SW7_CS4}, + {0, SW1_CS39, SW1_CS38, SW1_CS37}, + {0, SW6_CS33, SW6_CS32, SW6_CS31}, + {0, SW6_CS36, SW6_CS35, SW6_CS34}, + {0, SW6_CS39, SW6_CS38, SW6_CS37} }; led_config_t g_led_config = { { diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c b/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c index 5910d0cf7b0..0b40afadf9b 100755 --- a/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c +++ b/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c @@ -19,78 +19,78 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS21_SW1, CS20_SW1, CS19_SW1}, - {0, CS21_SW2, CS20_SW2, CS19_SW2}, - {0, CS21_SW3, CS20_SW3, CS19_SW3}, - {0, CS21_SW4, CS20_SW4, CS19_SW4}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, - {0, CS21_SW8, CS20_SW8, CS19_SW8}, - {0, CS24_SW1, CS23_SW1, CS22_SW1}, - {0, CS24_SW2, CS23_SW2, CS22_SW2}, - {0, CS24_SW3, CS23_SW3, CS22_SW3}, - {0, CS24_SW4, CS23_SW4, CS22_SW4}, - {0, CS24_SW5, CS23_SW5, CS22_SW5}, - {0, CS24_SW6, CS23_SW6, CS22_SW6}, - {0, CS24_SW7, CS23_SW7, CS22_SW7}, - - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW4, CS14_SW4, CS13_SW4}, - {0, CS15_SW5, CS14_SW5, CS13_SW5}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS15_SW7, CS14_SW7, CS13_SW7}, - {0, CS15_SW8, CS14_SW8, CS13_SW8}, - {0, CS30_SW1, CS29_SW1, CS28_SW1}, - {0, CS30_SW2, CS29_SW2, CS28_SW2}, - {0, CS30_SW3, CS29_SW3, CS28_SW3}, - {0, CS30_SW4, CS29_SW4, CS28_SW4}, - {0, CS30_SW5, CS29_SW5, CS28_SW5}, - {0, CS30_SW6, CS29_SW6, CS28_SW6}, - {0, CS30_SW7, CS29_SW7, CS28_SW7}, - - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS33_SW1, CS32_SW1, CS31_SW1}, - {0, CS33_SW2, CS32_SW2, CS31_SW2}, - {0, CS33_SW3, CS32_SW3, CS31_SW3}, - {0, CS33_SW4, CS32_SW4, CS31_SW4}, - {0, CS33_SW5, CS32_SW5, CS31_SW5}, - {0, CS33_SW7, CS32_SW7, CS31_SW7}, - - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS36_SW1, CS35_SW1, CS34_SW1}, - {0, CS36_SW2, CS35_SW2, CS34_SW2}, - {0, CS36_SW3, CS35_SW3, CS34_SW3}, - {0, CS36_SW4, CS35_SW4, CS34_SW4}, - {0, CS36_SW5, CS35_SW5, CS34_SW5}, - {0, CS36_SW7, CS35_SW7, CS34_SW7}, - - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, -// {0, CS39_SW1, CS38_SW1, CS37_SW1}, - {0, CS39_SW2, CS38_SW2, CS37_SW2}, - {0, CS39_SW3, CS38_SW3, CS37_SW3}, - {0, CS39_SW4, CS38_SW4, CS37_SW4}, - {0, CS39_SW5, CS38_SW5, CS37_SW5}, - {0, CS39_SW7, CS38_SW7, CS37_SW7} + {0, SW1_CS21, SW1_CS20, SW1_CS19}, + {0, SW2_CS21, SW2_CS20, SW2_CS19}, + {0, SW3_CS21, SW3_CS20, SW3_CS19}, + {0, SW4_CS21, SW4_CS20, SW4_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, + {0, SW8_CS21, SW8_CS20, SW8_CS19}, + {0, SW1_CS24, SW1_CS23, SW1_CS22}, + {0, SW2_CS24, SW2_CS23, SW2_CS22}, + {0, SW3_CS24, SW3_CS23, SW3_CS22}, + {0, SW4_CS24, SW4_CS23, SW4_CS22}, + {0, SW5_CS24, SW5_CS23, SW5_CS22}, + {0, SW6_CS24, SW6_CS23, SW6_CS22}, + {0, SW7_CS24, SW7_CS23, SW7_CS22}, + + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW4_CS15, SW4_CS14, SW4_CS13}, + {0, SW5_CS15, SW5_CS14, SW5_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW7_CS15, SW7_CS14, SW7_CS13}, + {0, SW8_CS15, SW8_CS14, SW8_CS13}, + {0, SW1_CS30, SW1_CS29, SW1_CS28}, + {0, SW2_CS30, SW2_CS29, SW2_CS28}, + {0, SW3_CS30, SW3_CS29, SW3_CS28}, + {0, SW4_CS30, SW4_CS29, SW4_CS28}, + {0, SW5_CS30, SW5_CS29, SW5_CS28}, + {0, SW6_CS30, SW6_CS29, SW6_CS28}, + {0, SW7_CS30, SW7_CS29, SW7_CS28}, + + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW1_CS33, SW1_CS32, SW1_CS31}, + {0, SW2_CS33, SW2_CS32, SW2_CS31}, + {0, SW3_CS33, SW3_CS32, SW3_CS31}, + {0, SW4_CS33, SW4_CS32, SW4_CS31}, + {0, SW5_CS33, SW5_CS32, SW5_CS31}, + {0, SW7_CS33, SW7_CS32, SW7_CS31}, + + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW1_CS36, SW1_CS35, SW1_CS34}, + {0, SW2_CS36, SW2_CS35, SW2_CS34}, + {0, SW3_CS36, SW3_CS35, SW3_CS34}, + {0, SW4_CS36, SW4_CS35, SW4_CS34}, + {0, SW5_CS36, SW5_CS35, SW5_CS34}, + {0, SW7_CS36, SW7_CS35, SW7_CS34}, + + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, +// {0, SW1_CS39, SW1_CS38, SW1_CS37}, + {0, SW2_CS39, SW2_CS38, SW2_CS37}, + {0, SW3_CS39, SW3_CS38, SW3_CS37}, + {0, SW4_CS39, SW4_CS38, SW4_CS37}, + {0, SW5_CS39, SW5_CS38, SW5_CS37}, + {0, SW7_CS39, SW7_CS38, SW7_CS37} }; diff --git a/keyboards/kbdfans/kbdmini/kbdmini.c b/keyboards/kbdfans/kbdmini/kbdmini.c index 31b2e1a2563..7aec00cbdc2 100644 --- a/keyboards/kbdfans/kbdmini/kbdmini.c +++ b/keyboards/kbdfans/kbdmini/kbdmini.c @@ -1,61 +1,61 @@ #include "quantum.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_9, A_9, C_9 }, //LA33 - { 0, B_10, A_10, C_10 }, //LA37 - { 0, B_11, A_11, C_11 }, //LA41 - { 0, B_12, A_12, C_12 }, //LA45 - { 0, B_13, A_13, C_13 }, //LA49 - { 0, B_14, A_14, C_14 }, //LA53 - { 0, B_15, A_15, C_15 }, //LA57 - { 0, B_6, A_6, C_6 }, //LA21 - { 0, B_5, A_5, C_5 }, //LA17 - { 0, B_4, A_4, C_4 }, //LA13 - { 0, B_3, A_3, C_3 }, //LA9 - { 0, B_2, A_2, C_2 }, //LA5 - { 0, B_1, A_1, C_1 }, //LA1 + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, //LA33 + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, //LA37 + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, //LA41 + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, //LA45 + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, //LA49 + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, //LA53 + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, //LA57 + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, //LA21 + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, //LA17 + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, //LA13 + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, //LA9 + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, //LA5 + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, //LA1 - { 0, E_9, D_9, F_9 }, //LA34 - { 0, E_10, D_10, F_10 }, //LA38 - { 0, E_11, D_11, F_11 }, //LA42 - { 0, E_12, D_12, F_12 }, //LA46 - { 0, E_13, D_13, F_13 }, //LA50 - { 0, E_14, D_14, F_14 }, //LA54 - { 0, E_15, D_15, F_15 }, //LA58 - { 0, E_6, D_6, F_6 }, //LA22 - { 0, E_5, D_5, F_5 }, //LA18 - { 0, E_4, D_4, F_4 }, //LA14 - { 0, E_3, D_3, F_3 }, //LA10 - { 0, E_2, D_2, F_2 }, //LA6 - { 0, E_1, D_1, F_1 }, //LA2 + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, //LA34 + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, //LA38 + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, //LA42 + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, //LA46 + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, //LA50 + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, //LA54 + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, //LA58 + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, //LA22 + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, //LA18 + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, //LA14 + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, //LA10 + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, //LA6 + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, //LA2 - { 0, H_9, G_9, I_9 }, //LA35 - { 0, H_10, G_10, I_10 }, //LA39 - { 0, H_11, G_11, I_11 }, //LA43 - { 0, H_12, G_12, I_12 }, //LA47 - { 0, H_13, G_13, I_13 }, //LA51 - { 0, H_14, G_14, I_14 }, //LA55 - { 0, H_15, G_15, I_15 }, //LA59 - { 0, H_6, G_6, I_6 }, //LA23 - { 0, H_5, G_5, I_5 }, //LA19 - { 0, H_4, G_4, I_4 }, //LA15 - { 0, H_3, G_3, I_3 }, //LA11 - { 0, H_2, G_2, I_2 }, //LA7 - { 0, H_1, G_1, I_1 }, //LA3 + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, //LA35 + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, //LA39 + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, //LA43 + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, //LA47 + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, //LA51 + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, //LA55 + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, //LA59 + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, //LA23 + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, //LA19 + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, //LA15 + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, //LA11 + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, //LA7 + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, //LA3 - { 0, K_9, J_9, L_9 }, //LA36 - { 0, K_10, J_10, L_10 }, //LA40 - { 0, K_11, J_11, L_11 }, //LA44 - { 0, K_12, J_12, L_12 }, //LA48 - { 0, K_13, J_13, L_13 }, //LA52 - { 0, K_14, J_14, L_14 }, //LA56 - { 0, K_15, J_15, L_15 }, //LA60 - { 0, K_6, J_6, L_6 }, //LA24 - { 0, K_5, J_5, L_5 }, //LA20 - { 0, K_4, J_4, L_4 }, //LA16 - { 0, K_3, J_3, L_3 }, //LA12 - { 0, K_2, J_2, L_2 }, //LA8 - { 0, K_1, J_1, L_1 } //LA4 + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, //LA36 + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, //LA40 + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, //LA44 + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, //LA48 + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, //LA52 + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, //LA56 + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, //LA60 + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, //LA24 + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, //LA20 + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, //LA16 + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, //LA12 + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, //LA8 + { 0, SW11_CS1, SW10_CS1, SW12_CS1 } //LA4 }; led_config_t g_led_config = { diff --git a/keyboards/keebwerk/mega/ansi/ansi.c b/keyboards/keebwerk/mega/ansi/ansi.c index 4b10cdde66e..5218fdd0e19 100755 --- a/keyboards/keebwerk/mega/ansi/ansi.c +++ b/keyboards/keebwerk/mega/ansi/ansi.c @@ -28,135 +28,135 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, B_1, A_1, C_1}, //LA1 - {0, E_1, D_1, F_1}, //LA2 - {0, H_1, G_1, I_1}, //LA3 - {0, K_1, J_1, L_1}, //LA4 - {0, B_2, A_2, C_2}, //LA5 - {0, E_2, D_2, F_2}, //LA6 - {0, H_2, G_2, I_2}, //LA7 - {0, K_2, J_2, L_2}, //LA8 - {0, B_3, A_3, C_3}, //LA9 - {0, E_3, D_3, F_3}, //LA10 - {0, H_3, G_3, I_3}, //LA11 - {0, K_3, J_3, L_3}, //LA12 - {0, B_4, A_4, C_4}, //LA13 - {0, E_4, D_4, F_4}, //LA14 - {0, H_4, G_4, I_4}, //LA15 - {0, K_4, J_4, L_4}, //LA16 - {0, B_5, A_5, C_5}, //LA17 - {0, E_5, D_5, F_5}, //LA18 - {0, H_5, G_5, I_5}, //LA19 - {0, K_5, J_5, L_5}, //LA20 - {0, B_6, A_6, C_6}, //LA21 - {0, E_6, D_6, F_6}, //LA22 - {0, H_6, G_6, I_6}, //LA23 - {0, K_6, J_6, L_6}, //LA24 - {0, B_7, A_7, C_7}, //LA25 - {0, E_7, D_7, F_7}, //LA26 - {0, H_7, G_7, I_7}, //LA27 - {0, K_7, J_7, L_7}, //LA28 - {0, B_8, A_8, C_8}, //LA29 - {0, E_8, D_8, F_8}, //LA30 - {0, H_8, G_8, I_8}, //LA31 - {0, K_8, J_8, L_8}, //LA32 - {0, B_9, A_9, C_9}, //LA33 - {0, E_9, D_9, F_9}, //LA34 - {0, H_9, G_9, I_9}, //LA35 - {0, K_9, J_9, L_9}, //LA36 - {0, B_10, A_10, C_10}, //LA37 - {0, E_10, D_10, F_10}, //LA38 - {0, H_10, G_10, I_10}, //LA39 - {0, K_10, J_10, L_10}, //LA40 - {0, B_11, A_11, C_11}, //LA41 - {0, E_11, D_11, F_11}, //LA42 - {0, H_11, G_11, I_11}, //LA43 - {0, K_11, J_11, L_11}, //LA44 - {0, B_12, A_12, C_12}, //LA45 - {0, E_12, D_12, F_12}, //LA46 - {0, H_12, G_12, I_12}, //LA47 - {0, K_12, J_12, L_12}, //LA48 - {0, B_13, A_13, C_13}, //LA49 - {0, E_13, D_13, F_13}, //LA50 - {0, H_13, G_13, I_13}, //LA51 - {0, K_13, J_13, L_13}, //LA52 - {0, B_14, A_14, C_14}, //LA53 - {0, E_14, D_14, F_14}, //LA54 - {0, H_14, G_14, I_14}, //LA55 - {0, K_14, J_14, L_14}, //LA56 - {0, B_15, A_15, C_15}, //LA57 - {0, E_15, D_15, F_15}, //LA58 - {0, H_15, G_15, I_15}, //LA59 - {0, K_15, J_15, L_15}, //LA60 - {0, B_16, A_16, C_16}, //LA61 - {0, E_16, D_16, F_16}, //LA62 - {0, H_16, G_16, I_16}, //LA63 - {0, K_16, J_16, L_16}, //LA64 + {0, SW2_CS1, SW1_CS1, SW3_CS1}, //LA1 + {0, SW5_CS1, SW4_CS1, SW6_CS1}, //LA2 + {0, SW8_CS1, SW7_CS1, SW9_CS1}, //LA3 + {0, SW11_CS1, SW10_CS1, SW12_CS1}, //LA4 + {0, SW2_CS2, SW1_CS2, SW3_CS2}, //LA5 + {0, SW5_CS2, SW4_CS2, SW6_CS2}, //LA6 + {0, SW8_CS2, SW7_CS2, SW9_CS2}, //LA7 + {0, SW11_CS2, SW10_CS2, SW12_CS2}, //LA8 + {0, SW2_CS3, SW1_CS3, SW3_CS3}, //LA9 + {0, SW5_CS3, SW4_CS3, SW6_CS3}, //LA10 + {0, SW8_CS3, SW7_CS3, SW9_CS3}, //LA11 + {0, SW11_CS3, SW10_CS3, SW12_CS3}, //LA12 + {0, SW2_CS4, SW1_CS4, SW3_CS4}, //LA13 + {0, SW5_CS4, SW4_CS4, SW6_CS4}, //LA14 + {0, SW8_CS4, SW7_CS4, SW9_CS4}, //LA15 + {0, SW11_CS4, SW10_CS4, SW12_CS4}, //LA16 + {0, SW2_CS5, SW1_CS5, SW3_CS5}, //LA17 + {0, SW5_CS5, SW4_CS5, SW6_CS5}, //LA18 + {0, SW8_CS5, SW7_CS5, SW9_CS5}, //LA19 + {0, SW11_CS5, SW10_CS5, SW12_CS5}, //LA20 + {0, SW2_CS6, SW1_CS6, SW3_CS6}, //LA21 + {0, SW5_CS6, SW4_CS6, SW6_CS6}, //LA22 + {0, SW8_CS6, SW7_CS6, SW9_CS6}, //LA23 + {0, SW11_CS6, SW10_CS6, SW12_CS6}, //LA24 + {0, SW2_CS7, SW1_CS7, SW3_CS7}, //LA25 + {0, SW5_CS7, SW4_CS7, SW6_CS7}, //LA26 + {0, SW8_CS7, SW7_CS7, SW9_CS7}, //LA27 + {0, SW11_CS7, SW10_CS7, SW12_CS7}, //LA28 + {0, SW2_CS8, SW1_CS8, SW3_CS8}, //LA29 + {0, SW5_CS8, SW4_CS8, SW6_CS8}, //LA30 + {0, SW8_CS8, SW7_CS8, SW9_CS8}, //LA31 + {0, SW11_CS8, SW10_CS8, SW12_CS8}, //LA32 + {0, SW2_CS9, SW1_CS9, SW3_CS9}, //LA33 + {0, SW5_CS9, SW4_CS9, SW6_CS9}, //LA34 + {0, SW8_CS9, SW7_CS9, SW9_CS9}, //LA35 + {0, SW11_CS9, SW10_CS9, SW12_CS9}, //LA36 + {0, SW2_CS10, SW1_CS10, SW3_CS10}, //LA37 + {0, SW5_CS10, SW4_CS10, SW6_CS10}, //LA38 + {0, SW8_CS10, SW7_CS10, SW9_CS10}, //LA39 + {0, SW11_CS10, SW10_CS10, SW12_CS10}, //LA40 + {0, SW2_CS11, SW1_CS11, SW3_CS11}, //LA41 + {0, SW5_CS11, SW4_CS11, SW6_CS11}, //LA42 + {0, SW8_CS11, SW7_CS11, SW9_CS11}, //LA43 + {0, SW11_CS11, SW10_CS11, SW12_CS11}, //LA44 + {0, SW2_CS12, SW1_CS12, SW3_CS12}, //LA45 + {0, SW5_CS12, SW4_CS12, SW6_CS12}, //LA46 + {0, SW8_CS12, SW7_CS12, SW9_CS12}, //LA47 + {0, SW11_CS12, SW10_CS12, SW12_CS12}, //LA48 + {0, SW2_CS13, SW1_CS13, SW3_CS13}, //LA49 + {0, SW5_CS13, SW4_CS13, SW6_CS13}, //LA50 + {0, SW8_CS13, SW7_CS13, SW9_CS13}, //LA51 + {0, SW11_CS13, SW10_CS13, SW12_CS13}, //LA52 + {0, SW2_CS14, SW1_CS14, SW3_CS14}, //LA53 + {0, SW5_CS14, SW4_CS14, SW6_CS14}, //LA54 + {0, SW8_CS14, SW7_CS14, SW9_CS14}, //LA55 + {0, SW11_CS14, SW10_CS14, SW12_CS14}, //LA56 + {0, SW2_CS15, SW1_CS15, SW3_CS15}, //LA57 + {0, SW5_CS15, SW4_CS15, SW6_CS15}, //LA58 + {0, SW8_CS15, SW7_CS15, SW9_CS15}, //LA59 + {0, SW11_CS15, SW10_CS15, SW12_CS15}, //LA60 + {0, SW2_CS16, SW1_CS16, SW3_CS16}, //LA61 + {0, SW5_CS16, SW4_CS16, SW6_CS16}, //LA62 + {0, SW8_CS16, SW7_CS16, SW9_CS16}, //LA63 + {0, SW11_CS16, SW10_CS16, SW12_CS16}, //LA64 - {1, B_1, A_1, C_1}, //LB1 - {1, E_1, D_1, F_1}, //LB2 - {1, H_1, G_1, I_1}, //LB3 - {1, K_1, J_1, L_1}, //LB4 - {1, B_2, A_2, C_2}, //LB5 - {1, E_2, D_2, F_2}, //LB6 - {1, H_2, G_2, I_2}, //LB7 - {1, K_2, J_2, L_2}, //LB8 - {1, B_3, A_3, C_3}, //LB9 - {1, E_3, D_3, F_3}, //LB10 - {1, H_3, G_3, I_3}, //LB11 - {1, K_3, J_3, L_3}, //LB12 - {1, B_4, A_4, C_4}, //LB13 - {1, E_4, D_4, F_4}, //LB14 - {1, H_4, G_4, I_4}, //LB15 - {1, K_4, J_4, L_4}, //LB16 - {1, B_5, A_5, C_5}, //LB17 - {1, E_5, D_5, F_5}, //LB18 - {1, H_5, G_5, I_5}, //LB19 - {1, K_5, J_5, L_5}, //LB20 - {1, B_6, A_6, C_6}, //LB21 - {1, E_6, D_6, F_6}, //LB22 - {1, H_6, G_6, I_6}, //LB23 - {1, K_6, J_6, L_6}, //LB24 - {1, B_7, A_7, C_7}, //LB25 - {1, E_7, D_7, F_7}, //LB26 - {1, H_7, G_7, I_7}, //LB27 - {1, K_7, J_7, L_7}, //LB28 - {1, B_8, A_8, C_8}, //LB29 - {1, E_8, D_8, F_8}, //LB30 - {1, H_8, G_8, I_8}, //LB31 - {1, K_8, J_8, L_8}, //LB32 - {1, B_9, A_9, C_9}, //LB33 - {1, E_9, D_9, F_9}, //LB34 - {1, H_9, G_9, I_9}, //LB35 - {1, K_9, J_9, L_9}, //LB36 - {1, B_10, A_10, C_10}, //LB37 - {1, E_10, D_10, F_10}, //LB38 - {1, H_10, G_10, I_10}, //LB39 - {1, K_10, J_10, L_10}, //LB40 - {1, B_11, A_11, C_11}, //LB41 - {1, E_11, D_11, F_11}, //LB42 - {1, H_11, G_11, I_11}, //LB43 - {1, K_11, J_11, L_11}, //LB44 - {1, B_12, A_12, C_12}, //LB45 - {1, E_12, D_12, F_12}, //LB46 - {1, H_12, G_12, I_12}, //LB47 - {1, K_12, J_12, L_12}, //LB48 - {1, B_13, A_13, C_13}, //LB49 - {1, E_13, D_13, F_13}, //LB50 - {1, H_13, G_13, I_13}, //LB51 - {1, K_13, J_13, L_13}, //LB52 - {1, B_14, A_14, C_14}, //LB53 - {1, E_14, D_14, F_14}, //LB54 - {1, H_14, G_14, I_14}, //LB55 - {1, K_14, J_14, L_14}, //LB56 - {1, B_15, A_15, C_15}, //LB57 - {1, E_15, D_15, F_15}, //LB58 - {1, H_15, G_15, I_15}, //LB59 - {1, K_15, J_15, L_15}, //LB60 - {1, B_16, A_16, C_16}, //LB61 - {1, E_16, D_16, F_16}, //LB62 - {1, H_16, G_16, I_16}, //LB63 - {1, K_16, J_16, L_16}, //LB64 + {1, SW2_CS1, SW1_CS1, SW3_CS1}, //LB1 + {1, SW5_CS1, SW4_CS1, SW6_CS1}, //LB2 + {1, SW8_CS1, SW7_CS1, SW9_CS1}, //LB3 + {1, SW11_CS1, SW10_CS1, SW12_CS1}, //LB4 + {1, SW2_CS2, SW1_CS2, SW3_CS2}, //LB5 + {1, SW5_CS2, SW4_CS2, SW6_CS2}, //LB6 + {1, SW8_CS2, SW7_CS2, SW9_CS2}, //LB7 + {1, SW11_CS2, SW10_CS2, SW12_CS2}, //LB8 + {1, SW2_CS3, SW1_CS3, SW3_CS3}, //LB9 + {1, SW5_CS3, SW4_CS3, SW6_CS3}, //LB10 + {1, SW8_CS3, SW7_CS3, SW9_CS3}, //LB11 + {1, SW11_CS3, SW10_CS3, SW12_CS3}, //LB12 + {1, SW2_CS4, SW1_CS4, SW3_CS4}, //LB13 + {1, SW5_CS4, SW4_CS4, SW6_CS4}, //LB14 + {1, SW8_CS4, SW7_CS4, SW9_CS4}, //LB15 + {1, SW11_CS4, SW10_CS4, SW12_CS4}, //LB16 + {1, SW2_CS5, SW1_CS5, SW3_CS5}, //LB17 + {1, SW5_CS5, SW4_CS5, SW6_CS5}, //LB18 + {1, SW8_CS5, SW7_CS5, SW9_CS5}, //LB19 + {1, SW11_CS5, SW10_CS5, SW12_CS5}, //LB20 + {1, SW2_CS6, SW1_CS6, SW3_CS6}, //LB21 + {1, SW5_CS6, SW4_CS6, SW6_CS6}, //LB22 + {1, SW8_CS6, SW7_CS6, SW9_CS6}, //LB23 + {1, SW11_CS6, SW10_CS6, SW12_CS6}, //LB24 + {1, SW2_CS7, SW1_CS7, SW3_CS7}, //LB25 + {1, SW5_CS7, SW4_CS7, SW6_CS7}, //LB26 + {1, SW8_CS7, SW7_CS7, SW9_CS7}, //LB27 + {1, SW11_CS7, SW10_CS7, SW12_CS7}, //LB28 + {1, SW2_CS8, SW1_CS8, SW3_CS8}, //LB29 + {1, SW5_CS8, SW4_CS8, SW6_CS8}, //LB30 + {1, SW8_CS8, SW7_CS8, SW9_CS8}, //LB31 + {1, SW11_CS8, SW10_CS8, SW12_CS8}, //LB32 + {1, SW2_CS9, SW1_CS9, SW3_CS9}, //LB33 + {1, SW5_CS9, SW4_CS9, SW6_CS9}, //LB34 + {1, SW8_CS9, SW7_CS9, SW9_CS9}, //LB35 + {1, SW11_CS9, SW10_CS9, SW12_CS9}, //LB36 + {1, SW2_CS10, SW1_CS10, SW3_CS10}, //LB37 + {1, SW5_CS10, SW4_CS10, SW6_CS10}, //LB38 + {1, SW8_CS10, SW7_CS10, SW9_CS10}, //LB39 + {1, SW11_CS10, SW10_CS10, SW12_CS10}, //LB40 + {1, SW2_CS11, SW1_CS11, SW3_CS11}, //LB41 + {1, SW5_CS11, SW4_CS11, SW6_CS11}, //LB42 + {1, SW8_CS11, SW7_CS11, SW9_CS11}, //LB43 + {1, SW11_CS11, SW10_CS11, SW12_CS11}, //LB44 + {1, SW2_CS12, SW1_CS12, SW3_CS12}, //LB45 + {1, SW5_CS12, SW4_CS12, SW6_CS12}, //LB46 + {1, SW8_CS12, SW7_CS12, SW9_CS12}, //LB47 + {1, SW11_CS12, SW10_CS12, SW12_CS12}, //LB48 + {1, SW2_CS13, SW1_CS13, SW3_CS13}, //LB49 + {1, SW5_CS13, SW4_CS13, SW6_CS13}, //LB50 + {1, SW8_CS13, SW7_CS13, SW9_CS13}, //LB51 + {1, SW11_CS13, SW10_CS13, SW12_CS13}, //LB52 + {1, SW2_CS14, SW1_CS14, SW3_CS14}, //LB53 + {1, SW5_CS14, SW4_CS14, SW6_CS14}, //LB54 + {1, SW8_CS14, SW7_CS14, SW9_CS14}, //LB55 + {1, SW11_CS14, SW10_CS14, SW12_CS14}, //LB56 + {1, SW2_CS15, SW1_CS15, SW3_CS15}, //LB57 + {1, SW5_CS15, SW4_CS15, SW6_CS15}, //LB58 + {1, SW8_CS15, SW7_CS15, SW9_CS15}, //LB59 + {1, SW11_CS15, SW10_CS15, SW12_CS15}, //LB60 + {1, SW2_CS16, SW1_CS16, SW3_CS16}, //LB61 + {1, SW5_CS16, SW4_CS16, SW6_CS16}, //LB62 + {1, SW8_CS16, SW7_CS16, SW9_CS16}, //LB63 + {1, SW11_CS16, SW10_CS16, SW12_CS16}, //LB64 }; #endif diff --git a/keyboards/keychron/c1_pro/ansi/rgb/rgb.c b/keyboards/keychron/c1_pro/ansi/rgb/rgb.c index 38d4a96d3ee..e4c640d6bfa 100644 --- a/keyboards/keychron/c1_pro/ansi/rgb/rgb.c +++ b/keyboards/keychron/c1_pro/ansi/rgb/rgb.c @@ -25,100 +25,100 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, - {0, I_14, G_14, H_14}, // CAPS_MAC_WIN_LED_INDEX + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // CAPS_MAC_WIN_LED_INDEX - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; // clang-format on diff --git a/keyboards/keychron/c1_pro/ansi/white/white.c b/keyboards/keychron/c1_pro/ansi/white/white.c index d7b75e0dd61..2b41845c9b5 100644 --- a/keyboards/keychron/c1_pro/ansi/white/white.c +++ b/keyboards/keychron/c1_pro/ansi/white/white.c @@ -23,102 +23,102 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * driver * | LED address * | | */ - {0, A_16}, // esc - {0, A_15}, // f1 - {0, A_14}, // f2 - {0, A_13}, // f3 - {0, A_12}, // f4 - {0, A_11}, // f5 - {0, A_10}, // f6 - {0, A_9}, // f7 - {0, A_8}, // f8 - {0, A_7}, // f9 - {0, A_6}, // f10 - {0, A_5}, // f11 - {0, A_4}, // f12 - {0, A_2}, // print - {0, A_1}, // siri - {0, G_1}, // light + {0, CB1_CA16}, // esc + {0, CB1_CA15}, // f1 + {0, CB1_CA14}, // f2 + {0, CB1_CA13}, // f3 + {0, CB1_CA12}, // f4 + {0, CB1_CA11}, // f5 + {0, CB1_CA10}, // f6 + {0, CB1_CA9}, // f7 + {0, CB1_CA8}, // f8 + {0, CB1_CA7}, // f9 + {0, CB1_CA6}, // f10 + {0, CB1_CA5}, // f11 + {0, CB1_CA4}, // f12 + {0, CB1_CA2}, // print + {0, CB1_CA1}, // siri + {0, CB7_CA1}, // light - {0, B_16}, // ~ - {0, B_15}, // 1! - {0, B_14}, // 2@ - {0, B_13}, // 3# - {0, B_12}, // 4$ - {0, B_11}, // 5% - {0, B_10}, // 6^ - {0, B_9}, // 7& - {0, B_8}, // 8* - {0, B_7}, // 9( - {0, B_6}, // 0) - {0, B_5}, // -_ - {0, B_4}, // =+ - {0, B_3}, // back space - {0, B_2}, // INS - {0, B_1}, // HOME - {0, H_1}, // PGUP + {0, CB2_CA16}, // ~ + {0, CB2_CA15}, // 1! + {0, CB2_CA14}, // 2@ + {0, CB2_CA13}, // 3# + {0, CB2_CA12}, // 4$ + {0, CB2_CA11}, // 5% + {0, CB2_CA10}, // 6^ + {0, CB2_CA9}, // 7& + {0, CB2_CA8}, // 8* + {0, CB2_CA7}, // 9( + {0, CB2_CA6}, // 0) + {0, CB2_CA5}, // -_ + {0, CB2_CA4}, // =+ + {0, CB2_CA3}, // back space + {0, CB2_CA2}, // INS + {0, CB2_CA1}, // HOME + {0, CB8_CA1}, // PGUP - {0, C_16}, // tab - {0, C_15}, // q - {0, C_14}, // w - {0, C_13}, // e - {0, C_12}, // r - {0, C_11}, // t - {0, C_10}, // y - {0, C_9}, // u - {0, C_8}, // i - {0, C_7}, // o - {0, C_6}, // p - {0, C_5}, // [{ - {0, C_4}, // ]} - {0, C_3}, // \| - {0, C_2}, // DEL - {0, C_1}, // END - {0, G_6}, // PGDN + {0, CB3_CA16}, // tab + {0, CB3_CA15}, // q + {0, CB3_CA14}, // w + {0, CB3_CA13}, // e + {0, CB3_CA12}, // r + {0, CB3_CA11}, // t + {0, CB3_CA10}, // y + {0, CB3_CA9}, // u + {0, CB3_CA8}, // i + {0, CB3_CA7}, // o + {0, CB3_CA6}, // p + {0, CB3_CA5}, // [{ + {0, CB3_CA4}, // ]} + {0, CB3_CA3}, // \| + {0, CB3_CA2}, // DEL + {0, CB3_CA1}, // END + {0, CB7_CA6}, // PGDN - {0, D_16}, // caps lock - {0, D_15}, // a - {0, D_14}, // s - {0, D_13}, // d - {0, D_12}, // f - {0, D_11}, // g - {0, D_10}, // h - {0, D_9}, // j - {0, D_8}, // k - {0, D_7}, // l - {0, D_6}, // ;: - {0, D_5}, // '" - {0, D_3}, // enter + {0, CB4_CA16}, // caps lock + {0, CB4_CA15}, // a + {0, CB4_CA14}, // s + {0, CB4_CA13}, // d + {0, CB4_CA12}, // f + {0, CB4_CA11}, // g + {0, CB4_CA10}, // h + {0, CB4_CA9}, // j + {0, CB4_CA8}, // k + {0, CB4_CA7}, // l + {0, CB4_CA6}, // ;: + {0, CB4_CA5}, // '" + {0, CB4_CA3}, // enter - {0, H_7}, // CPAS - {0, H_8}, // MAC - {0, H_9}, // WIN + {0, CB8_CA7}, // CPAS + {0, CB8_CA8}, // MAC + {0, CB8_CA9}, // WIN - {0, E_16}, // left shift - {0, E_14}, // z - {0, E_13}, // x - {0, E_12}, // c - {0, E_11}, // v - {0, E_10}, // b - {0, E_9}, // b - {0, E_8}, // n - {0, E_7}, // m - {0, E_6}, // ,< - {0, E_5}, // .> - {0, E_3}, // right shift - {0, E_1}, // up + {0, CB5_CA16}, // left shift + {0, CB5_CA14}, // z + {0, CB5_CA13}, // x + {0, CB5_CA12}, // c + {0, CB5_CA11}, // v + {0, CB5_CA10}, // b + {0, CB5_CA9}, // b + {0, CB5_CA8}, // n + {0, CB5_CA7}, // m + {0, CB5_CA6}, // ,< + {0, CB5_CA5}, // .> + {0, CB5_CA3}, // right shift + {0, CB5_CA1}, // up - {0, F_16}, // left ctrl - {0, F_15}, // left command - {0, F_14}, // left option - {0, F_10}, // space - {0, F_6}, // right command - {0, F_5}, // right option - {0, F_4}, // right ctrl - {0, F_3}, // Fn - {0, F_2}, // left - {0, F_1}, // down - {0, G_13}, // right + {0, CB6_CA16}, // left ctrl + {0, CB6_CA15}, // left command + {0, CB6_CA14}, // left option + {0, CB6_CA10}, // space + {0, CB6_CA6}, // right command + {0, CB6_CA5}, // right option + {0, CB6_CA4}, // right ctrl + {0, CB6_CA3}, // Fn + {0, CB6_CA2}, // left + {0, CB6_CA1}, // down + {0, CB7_CA13}, // right }; // clang-format on diff --git a/keyboards/keychron/c2_pro/ansi/rgb/rgb.c b/keyboards/keychron/c2_pro/ansi/rgb/rgb.c index 6fce51417cb..4891ceea74e 100644 --- a/keyboards/keychron/c2_pro/ansi/rgb/rgb.c +++ b/keyboards/keychron/c2_pro/ansi/rgb/rgb.c @@ -24,119 +24,119 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, - {0, L_6, J_6, K_6}, // CapsLock - {0, L_7, J_7, K_7}, // NumLock - {0, L_8, J_8, K_8}, // Mac - {0, L_4, J_4, K_4}, // Win + {0, CB12_CA6, CB10_CA6, CB11_CA6}, // CapsLock + {0, CB12_CA7, CB10_CA7, CB11_CA7}, // NumLock + {0, CB12_CA8, CB10_CA8, CB11_CA8}, // Mac + {0, CB12_CA4, CB10_CA4, CB11_CA4}, // Win - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, - {1, L_9, J_9, K_9}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, }; #endif //RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/c2_pro/ansi/white/white.c b/keyboards/keychron/c2_pro/ansi/white/white.c index 4bad7187cc3..3b10e550955 100644 --- a/keyboards/keychron/c2_pro/ansi/white/white.c +++ b/keyboards/keychron/c2_pro/ansi/white/white.c @@ -23,119 +23,119 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * driver * | LED address * | | */ - {0, A_16}, - {0, A_15}, - {0, A_14}, - {0, A_13}, - {0, A_12}, - {0, A_11}, - {0, A_10}, - {0, A_9 }, - {0, A_8 }, - {0, A_7 }, - {0, A_6 }, - {0, A_5 }, - {0, A_4 }, - {0, A_2 }, - {0, A_1 }, - {0, G_1 }, + {0, CB1_CA16}, + {0, CB1_CA15}, + {0, CB1_CA14}, + {0, CB1_CA13}, + {0, CB1_CA12}, + {0, CB1_CA11}, + {0, CB1_CA10}, + {0, CB1_CA9 }, + {0, CB1_CA8 }, + {0, CB1_CA7 }, + {0, CB1_CA6 }, + {0, CB1_CA5 }, + {0, CB1_CA4 }, + {0, CB1_CA2 }, + {0, CB1_CA1 }, + {0, CB7_CA1 }, - {0, G_2 }, - {0, G_3 }, // NumLock - {0, G_4 }, // Mac - {0, G_5 }, // Win + {0, CB7_CA2 }, + {0, CB7_CA3 }, // NumLock + {0, CB7_CA4 }, // Mac + {0, CB7_CA5 }, // Win - {0, B_16}, - {0, B_15}, - {0, B_14}, - {0, B_13}, - {0, B_12}, - {0, B_11}, - {0, B_10}, - {0, B_9 }, - {0, B_8 }, - {0, B_7 }, - {0, B_6 }, - {0, B_5 }, - {0, B_4 }, - {0, B_3 }, - {0, B_2 }, - {0, B_1 }, - {0, H_1 }, - {0, H_2 }, - {0, H_3 }, - {0, H_4 }, - {0, H_5 }, + {0, CB2_CA16}, + {0, CB2_CA15}, + {0, CB2_CA14}, + {0, CB2_CA13}, + {0, CB2_CA12}, + {0, CB2_CA11}, + {0, CB2_CA10}, + {0, CB2_CA9 }, + {0, CB2_CA8 }, + {0, CB2_CA7 }, + {0, CB2_CA6 }, + {0, CB2_CA5 }, + {0, CB2_CA4 }, + {0, CB2_CA3 }, + {0, CB2_CA2 }, + {0, CB2_CA1 }, + {0, CB8_CA1 }, + {0, CB8_CA2 }, + {0, CB8_CA3 }, + {0, CB8_CA4 }, + {0, CB8_CA5 }, - {0, C_16}, - {0, C_15}, - {0, C_14}, - {0, C_13}, - {0, C_12}, - {0, C_11}, - {0, C_10}, - {0, C_9 }, - {0, C_8 }, - {0, C_7 }, - {0, C_6 }, - {0, C_5 }, - {0, C_4 }, - {0, C_3 }, - {0, C_2 }, - {0, C_1 }, - {0, G_6 }, - {0, G_7 }, - {0, G_8 }, - {0, G_9 }, - {0, G_10}, + {0, CB3_CA16}, + {0, CB3_CA15}, + {0, CB3_CA14}, + {0, CB3_CA13}, + {0, CB3_CA12}, + {0, CB3_CA11}, + {0, CB3_CA10}, + {0, CB3_CA9 }, + {0, CB3_CA8 }, + {0, CB3_CA7 }, + {0, CB3_CA6 }, + {0, CB3_CA5 }, + {0, CB3_CA4 }, + {0, CB3_CA3 }, + {0, CB3_CA2 }, + {0, CB3_CA1 }, + {0, CB7_CA6 }, + {0, CB7_CA7 }, + {0, CB7_CA8 }, + {0, CB7_CA9 }, + {0, CB7_CA10}, - {0, D_16}, - {0, D_15}, - {0, D_14}, - {0, D_13}, - {0, D_12}, - {0, D_11}, - {0, D_10}, - {0, D_9 }, - {0, D_8 }, - {0, D_7 }, - {0, D_6 }, - {0, D_5 }, - {0, D_3 }, - {0, H_7 }, - {0, H_8 }, - {0, H_9 }, + {0, CB4_CA16}, + {0, CB4_CA15}, + {0, CB4_CA14}, + {0, CB4_CA13}, + {0, CB4_CA12}, + {0, CB4_CA11}, + {0, CB4_CA10}, + {0, CB4_CA9 }, + {0, CB4_CA8 }, + {0, CB4_CA7 }, + {0, CB4_CA6 }, + {0, CB4_CA5 }, + {0, CB4_CA3 }, + {0, CB8_CA7 }, + {0, CB8_CA8 }, + {0, CB8_CA9 }, - {0, E_16}, - {0, E_14}, - {0, E_13}, - {0, E_12}, - {0, E_11}, - {0, E_10}, - {0, E_9 }, - {0, E_8 }, - {0, E_7 }, - {0, E_6 }, - {0, E_5 }, - {0, E_3 }, - {0, E_1 }, - {0, H_6 }, - {0, H_11}, - {0, H_12}, - {0, H_10}, + {0, CB5_CA16}, + {0, CB5_CA14}, + {0, CB5_CA13}, + {0, CB5_CA12}, + {0, CB5_CA11}, + {0, CB5_CA10}, + {0, CB5_CA9 }, + {0, CB5_CA8 }, + {0, CB5_CA7 }, + {0, CB5_CA6 }, + {0, CB5_CA5 }, + {0, CB5_CA3 }, + {0, CB5_CA1 }, + {0, CB8_CA6 }, + {0, CB8_CA11}, + {0, CB8_CA12}, + {0, CB8_CA10}, - {0, F_16}, - {0, F_15}, - {0, F_14}, - {0, F_10}, - {0, F_6 }, - {0, F_5 }, - {0, F_4 }, - {0, F_3 }, - {0, F_2 }, - {0, F_1 }, - {0, G_13}, - {0, G_11}, - {0, G_12}, + {0, CB6_CA16}, + {0, CB6_CA15}, + {0, CB6_CA14}, + {0, CB6_CA10}, + {0, CB6_CA6 }, + {0, CB6_CA5 }, + {0, CB6_CA4 }, + {0, CB6_CA3 }, + {0, CB6_CA2 }, + {0, CB6_CA1 }, + {0, CB7_CA13}, + {0, CB7_CA11}, + {0, CB7_CA12}, }; #endif //LED_MATRIX_ENABLE diff --git a/keyboards/keychron/q0/base/base.c b/keyboards/keychron/q0/base/base.c index b9774717303..af33e5c0a36 100644 --- a/keyboards/keychron/q0/base/base.c +++ b/keyboards/keychron/q0/base/base.c @@ -27,31 +27,31 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, F_5, D_5, E_5}, // 0 - {0, I_5, G_5, H_5}, // 1 - {0, L_5, J_5, K_5}, // 2 - {0, C_5, A_5, B_5}, // 3 - - {0, F_4, D_4, E_4}, // 4 - {0, I_4, G_4, H_4}, // 5 - {0, L_4, J_4, K_4}, // 6 - {0, C_4, A_4, B_4}, // 7 - - {0, F_6, D_6, E_6}, // 8 - {0, I_6, G_6, H_6}, // 9 - {0, L_6, J_6, K_6}, // 10 - - {0, F_3, D_3, E_3}, // 11 - {0, I_3, G_3, H_3}, // 12 - {0, L_3, J_3, K_3}, // 13 - {0, C_6, A_6, B_6}, // 14 - - {0, F_2, D_2, E_2}, // 15 - {0, I_2, G_2, H_2}, // 16 - {0, L_2, J_2, K_2}, // 17 - - {0, F_1, D_1, E_1}, // 18 - {0, L_1, J_1, K_1}, // 19 - {0, C_2, A_2, B_2}, // 20 + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // 0 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // 1 + {0, CB12_CA5, CB10_CA5, CB11_CA5}, // 2 + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 3 + + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // 4 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // 5 + {0, CB12_CA4, CB10_CA4, CB11_CA4}, // 6 + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // 7 + + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // 8 + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // 9 + {0, CB12_CA6, CB10_CA6, CB11_CA6}, // 10 + + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // 11 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // 12 + {0, CB12_CA3, CB10_CA3, CB11_CA3}, // 13 + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 14 + + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // 15 + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // 16 + {0, CB12_CA2, CB10_CA2, CB11_CA2}, // 17 + + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // 18 + {0, CB12_CA1, CB10_CA1, CB11_CA1}, // 19 + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // 20 }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q0/plus/plus.c b/keyboards/keychron/q0/plus/plus.c index 4af7a4572f9..55f71d2a230 100644 --- a/keyboards/keychron/q0/plus/plus.c +++ b/keyboards/keychron/q0/plus/plus.c @@ -27,36 +27,36 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_9, D_9, E_9}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q10/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q10/ansi_encoder/ansi_encoder.c index 06947e9d180..a4432cd4cea 100644 --- a/keyboards/keychron/q10/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q10/ansi_encoder/ansi_encoder.c @@ -27,99 +27,99 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_2, A_2, B_2}, // ESC - {0, C_3, A_3, B_3}, // F1 - {0, C_4, A_4, B_4}, // F2 - {0, C_5, A_5, B_5}, // F3 - {0, C_6, A_6, B_6}, // F4 - {0, C_7, A_7, B_7}, // F5 - {0, C_8, A_8, B_8}, // F6 - {0, C_9, A_9, B_9}, // F7 - {0, C_10, A_10, B_10}, // F8 - {0, C_11, A_11, B_11}, // F9 - {0, C_12, A_12, B_12}, // F10 - {0, C_13, A_13, B_13}, // F11 - {0, C_14, A_14, B_14}, // F12 - {0, C_15, A_15, B_15}, // INS - {0, C_16, A_16, B_16}, // DEL + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // ESC + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // F1 + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // F2 + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // F3 + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // F4 + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // F5 + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // F6 + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // F7 + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // F8 + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // F9 + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // F10 + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // F11 + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // F12 + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // INS + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // DEL - {0, I_1, G_1, H_1}, // M1 - {0, I_2, G_2, H_2}, // `~ - {0, I_3, G_3, H_3}, // 1! - {0, I_4, G_4, H_4}, // 2@ - {0, I_5, G_5, H_5}, // 3# - {0, I_6, G_6, H_6}, // 4$ - {0, I_7, G_7, H_7}, // 5% - {0, I_8, G_8, H_8}, // 6^ - {0, I_9, G_9, H_9}, // 7& - {0, I_10, G_10, H_10}, // 8* - {0, I_11, G_11, H_11}, // 9( - {0, I_12, G_12, H_12}, // 0) - {0, I_13, G_13, H_13}, // -_ - {0, I_14, G_14, H_14}, // =+ - {0, I_15, G_15, H_15}, // BackSpace - {0, I_16, G_16, H_16}, // PgUp + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // M1 + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // `~ + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // 1! + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // 2@ + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // 3# + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // 4$ + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // 5% + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // 6^ + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // 7& + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // 8* + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // 9( + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // 0) + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // -_ + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // =+ + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // BackSpace + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // PgUp - {0, F_1, D_1, E_1}, // M2 - {0, F_2, D_2, E_2}, // TAB - {0, F_3, D_3, E_3}, // Q - {0, F_4, D_4, E_4}, // W - {0, F_5, D_5, E_5}, // E - {0, F_6, D_6, E_6}, // R - {0, F_7, D_7, E_7}, // T - {0, F_8, D_8, E_8}, // Y - {0, F_9, D_9, E_9}, // U - {0, F_10, D_10, E_10}, // I - {0, F_11, D_11, E_11}, // O - {0, F_12, D_12, E_12}, // P - {0, F_13, D_13, E_13}, // [ - {0, F_14, D_14, E_14}, // ] - {0, F_15, D_15, E_15}, // | - {0, F_16, D_16, E_16}, // PgDn + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // M2 + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // TAB + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // Q + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // W + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // E + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // R + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // T + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // Y + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // U + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // I + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // O + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // P + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // [ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // ] + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // | + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // PgDn - {1, C_16, A_16, B_16}, // M3 - {1, C_15, A_15, B_15}, // CapsLock - {1, C_14, A_14, B_14}, // A - {1, C_13, A_13, B_13}, // S - {1, C_12, A_12, B_12}, // D - {1, C_11, A_11, B_11}, // F - {1, C_10, A_10, B_10}, // G - {1, C_8, A_8, B_8}, // H - {1, C_7, A_7, B_7}, // J - {1, C_6, A_6, B_6}, // K - {1, C_5, A_5, B_5}, // L - {1, C_4, A_4, B_4}, // ; - {1, C_3, A_3, B_3}, // ' - {1, C_2, A_2, B_2}, // Enter - {1, C_1, A_1, B_1}, // Home + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // M3 + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // CapsLock + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // A + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // S + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // D + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // F + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // G + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // H + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // J + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // K + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // L + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // ; + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // ' + {1, CB3_CA2, CB1_CA2, CB2_CA2}, // Enter + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // Home - {1, I_16, G_16, H_16}, // M4 - {1, I_15, G_15, H_15}, // Shift_L - {1, I_13, G_13, H_13}, // Z - {1, I_12, G_12, H_12}, // X - {1, I_11, G_11, H_11}, // C - {1, I_10, G_10, H_10}, // V - {1, I_9, G_9, H_9}, // B - {1, I_8, G_8, H_8}, // B - {1, I_7, G_7, H_7}, // N - {1, I_6, G_6, H_6}, // M - {1, I_5, G_5, H_5}, // , - {1, I_4, G_4, H_4}, // . - {1, I_3, G_3, H_3}, // ? - {1, I_2, G_2, H_2}, // Shift_R - {1, I_1, G_1, H_1}, // Up + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // M4 + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Shift_L + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Z + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // X + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // C + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // V + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // B + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // B + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // N + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // M + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // , + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // . + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // ? + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // Shift_R + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Up - {1, F_16, D_16, E_16}, // M5 - {1, F_15, D_15, E_15}, // Ctrl_L - {1, F_14, D_14, E_14}, // Win_L - {1, F_13, D_13, E_13}, // Alt_L - {1, F_12, D_12, E_12}, // Space - {1, F_9, D_9, E_9}, // Fn - {1, F_8, D_8, E_8}, // Space - {1, F_7, D_7, E_7}, // Alt_R - {1, F_3, D_3, E_3}, // Left - {1, F_2, D_2, E_2}, // Down - {1, F_1, D_1, E_1}, // Right + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // M5 + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Ctrl_L + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // Win_L + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Alt_L + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // Space + {1, CB6_CA9, CB4_CA9, CB5_CA9}, // Fn + {1, CB6_CA8, CB4_CA8, CB5_CA8}, // Space + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Alt_R + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // Left + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // Down + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // Right }; #define __ NO_LED diff --git a/keyboards/keychron/q10/iso_encoder/iso_encoder.c b/keyboards/keychron/q10/iso_encoder/iso_encoder.c index 2aebd936ecf..9ff43263b2d 100644 --- a/keyboards/keychron/q10/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q10/iso_encoder/iso_encoder.c @@ -27,100 +27,100 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_2, A_2, B_2}, // ESC - {0, C_3, A_3, B_3}, // F1 - {0, C_4, A_4, B_4}, // F2 - {0, C_5, A_5, B_5}, // F3 - {0, C_6, A_6, B_6}, // F4 - {0, C_7, A_7, B_7}, // F5 - {0, C_8, A_8, B_8}, // F6 - {0, C_9, A_9, B_9}, // F7 - {0, C_10, A_10, B_10}, // F8 - {0, C_11, A_11, B_11}, // F9 - {0, C_12, A_12, B_12}, // F10 - {0, C_13, A_13, B_13}, // F11 - {0, C_14, A_14, B_14}, // F12 - {0, C_15, A_15, B_15}, // INS - {0, C_16, A_16, B_16}, // DEL + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // ESC + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // F1 + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // F2 + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // F3 + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // F4 + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // F5 + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // F6 + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // F7 + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // F8 + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // F9 + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // F10 + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // F11 + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // F12 + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // INS + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // DEL - {0, I_1, G_1, H_1}, // M1 - {0, I_2, G_2, H_2}, // `~ - {0, I_3, G_3, H_3}, // 1! - {0, I_4, G_4, H_4}, // 2@ - {0, I_5, G_5, H_5}, // 3# - {0, I_6, G_6, H_6}, // 4$ - {0, I_7, G_7, H_7}, // 5% - {0, I_8, G_8, H_8}, // 6^ - {0, I_9, G_9, H_9}, // 7& - {0, I_10, G_10, H_10}, // 8* - {0, I_11, G_11, H_11}, // 9( - {0, I_12, G_12, H_12}, // 0) - {0, I_13, G_13, H_13}, // -_ - {0, I_14, G_14, H_14}, // =+ - {0, I_15, G_15, H_15}, // BackSpace - {0, I_16, G_16, H_16}, // PgUp + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // M1 + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // `~ + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // 1! + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // 2@ + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // 3# + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // 4$ + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // 5% + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // 6^ + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // 7& + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // 8* + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // 9( + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // 0) + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // -_ + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // =+ + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // BackSpace + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // PgUp - {0, F_1, D_1, E_1}, // M2 - {0, F_2, D_2, E_2}, // TAB - {0, F_3, D_3, E_3}, // Q - {0, F_4, D_4, E_4}, // W - {0, F_5, D_5, E_5}, // E - {0, F_6, D_6, E_6}, // R - {0, F_7, D_7, E_7}, // T - {0, F_8, D_8, E_8}, // Y - {0, F_9, D_9, E_9}, // U - {0, F_10, D_10, E_10}, // I - {0, F_11, D_11, E_11}, // O - {0, F_12, D_12, E_12}, // P - {0, F_13, D_13, E_13}, // [ - {0, F_14, D_14, E_14}, // ] - {0, F_16, D_16, E_16}, // PgDn + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // M2 + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // TAB + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // Q + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // W + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // E + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // R + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // T + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // Y + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // U + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // I + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // O + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // P + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // [ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // ] + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // PgDn - {1, C_16, A_16, B_16}, // M3 - {1, C_15, A_15, B_15}, // CapsLock - {1, C_14, A_14, B_14}, // A - {1, C_13, A_13, B_13}, // S - {1, C_12, A_12, B_12}, // D - {1, C_11, A_11, B_11}, // F - {1, C_10, A_10, B_10}, // G - {1, C_8, A_8, B_8}, // H - {1, C_7, A_7, B_7}, // J - {1, C_6, A_6, B_6}, // K - {1, C_5, A_5, B_5}, // L - {1, C_4, A_4, B_4}, // ; - {1, C_3, A_3, B_3}, // ' - {0, F_15, D_15, E_15}, // | - {1, C_2, A_2, B_2}, // Enter - {1, C_1, A_1, B_1}, // Home + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // M3 + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // CapsLock + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // A + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // S + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // D + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // F + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // G + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // H + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // J + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // K + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // L + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // ; + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // ' + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // | + {1, CB3_CA2, CB1_CA2, CB2_CA2}, // Enter + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // Home - {1, I_16, G_16, H_16}, // M4 - {1, I_15, G_15, H_15}, // Shift_L - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, // Z - {1, I_12, G_12, H_12}, // X - {1, I_11, G_11, H_11}, // C - {1, I_10, G_10, H_10}, // V - {1, I_9, G_9, H_9}, // B - {1, I_8, G_8, H_8}, // B - {1, I_7, G_7, H_7}, // N - {1, I_6, G_6, H_6}, // M - {1, I_5, G_5, H_5}, // , - {1, I_4, G_4, H_4}, // . - {1, I_3, G_3, H_3}, // ? - {1, I_2, G_2, H_2}, // Shift_R - {1, I_1, G_1, H_1}, // Up + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // M4 + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Shift_L + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Z + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // X + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // C + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // V + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // B + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // B + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // N + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // M + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // , + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // . + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // ? + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // Shift_R + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Up - {1, F_16, D_16, E_16}, // M5 - {1, F_15, D_15, E_15}, // Ctrl_L - {1, F_14, D_14, E_14}, // Win_L - {1, F_13, D_13, E_13}, // Alt_L - {1, F_12, D_12, E_12}, // Space - {1, F_9, D_9, E_9}, // Fn - {1, F_8, D_8, E_8}, // Space - {1, F_7, D_7, E_7}, // Alt_R - {1, F_3, D_3, E_3}, // Left - {1, F_2, D_2, E_2}, // Down - {1, F_1, D_1, E_1}, // Right + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // M5 + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Ctrl_L + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // Win_L + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Alt_L + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // Space + {1, CB6_CA9, CB4_CA9, CB5_CA9}, // Fn + {1, CB6_CA8, CB4_CA8, CB5_CA8}, // Space + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Alt_R + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // Left + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // Down + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // Right }; #define __ NO_LED diff --git a/keyboards/keychron/q11/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q11/ansi_encoder/ansi_encoder.c index 24b9836b2ec..49e428bc00d 100755 --- a/keyboards/keychron/q11/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q11/ansi_encoder/ansi_encoder.c @@ -24,105 +24,105 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, A_2, C_2, B_2}, // ESC - {0, A_3, C_3, B_3}, // F1 - {0, A_4, C_4, B_4}, // F2 - {0, A_5, C_5, B_5}, // F3 - {0, A_6, C_6, B_6}, // F4 - {0, A_7, C_7, B_7}, // F5 - {0, A_8, C_8, B_8}, // F6 + {0, CB1_CA2, CB3_CA2, CB2_CA2}, // ESC + {0, CB1_CA3, CB3_CA3, CB2_CA3}, // F1 + {0, CB1_CA4, CB3_CA4, CB2_CA4}, // F2 + {0, CB1_CA5, CB3_CA5, CB2_CA5}, // F3 + {0, CB1_CA6, CB3_CA6, CB2_CA6}, // F4 + {0, CB1_CA7, CB3_CA7, CB2_CA7}, // F5 + {0, CB1_CA8, CB3_CA8, CB2_CA8}, // F6 - {0, D_1, F_1, E_1}, // M1 - {0, D_2, F_2, E_2}, // `~ - {0, D_3, F_3, E_3}, // 1! - {0, D_4, F_4, E_4}, // 2@ - {0, D_5, F_5, E_5}, // 3# - {0, D_6, F_6, E_6}, // 4$ - {0, D_7, F_7, E_7}, // 5% - {0, D_8, F_8, E_8}, // 6^ + {0, CB4_CA1, CB6_CA1, CB5_CA1}, // M1 + {0, CB4_CA2, CB6_CA2, CB5_CA2}, // `~ + {0, CB4_CA3, CB6_CA3, CB5_CA3}, // 1! + {0, CB4_CA4, CB6_CA4, CB5_CA4}, // 2@ + {0, CB4_CA5, CB6_CA5, CB5_CA5}, // 3# + {0, CB4_CA6, CB6_CA6, CB5_CA6}, // 4$ + {0, CB4_CA7, CB6_CA7, CB5_CA7}, // 5% + {0, CB4_CA8, CB6_CA8, CB5_CA8}, // 6^ - {0, G_1, I_1, H_1}, // M2 - {0, G_2, I_2, H_2}, // TAB - {0, G_3, I_3, H_3}, // Q - {0, G_4, I_4, H_4}, // W - {0, G_5, I_5, H_5}, // E - {0, G_6, I_6, H_6}, // R - {0, G_7, I_7, H_7}, // T + {0, CB7_CA1, CB9_CA1, CB8_CA1}, // M2 + {0, CB7_CA2, CB9_CA2, CB8_CA2}, // TAB + {0, CB7_CA3, CB9_CA3, CB8_CA3}, // Q + {0, CB7_CA4, CB9_CA4, CB8_CA4}, // W + {0, CB7_CA5, CB9_CA5, CB8_CA5}, // E + {0, CB7_CA6, CB9_CA6, CB8_CA6}, // R + {0, CB7_CA7, CB9_CA7, CB8_CA7}, // T - {0, J_1, L_1, K_1}, // M3 - {0, J_2, L_2, K_2}, // CapsJock - {0, J_3, L_3, K_3}, // A - {0, J_4, L_4, K_4}, // S - {0, J_5, L_5, K_5}, // D - {0, J_6, L_6, K_6}, // F - {0, J_7, L_7, K_7}, // G + {0, CB10_CA1, CB12_CA1, CB11_CA1}, // M3 + {0, CB10_CA2, CB12_CA2, CB11_CA2}, // CapsJock + {0, CB10_CA3, CB12_CA3, CB11_CA3}, // A + {0, CB10_CA4, CB12_CA4, CB11_CA4}, // S + {0, CB10_CA5, CB12_CA5, CB11_CA5}, // D + {0, CB10_CA6, CB12_CA6, CB11_CA6}, // F + {0, CB10_CA7, CB12_CA7, CB11_CA7}, // G - {0, J_9, L_9, K_9}, // M4 - {0, J_11, L_11, K_11}, // Shift_J - {0, J_12, L_12, K_12}, // Z - {0, J_13, L_13, K_13}, // X - {0, J_14, L_14, K_14}, // C - {0, J_15, L_15, K_15}, // V - {0, J_16, L_16, K_16}, // B + {0, CB10_CA9, CB12_CA9, CB11_CA9}, // M4 + {0, CB10_CA11, CB12_CA11, CB11_CA11}, // Shift_J + {0, CB10_CA12, CB12_CA12, CB11_CA12}, // Z + {0, CB10_CA13, CB12_CA13, CB11_CA13}, // X + {0, CB10_CA14, CB12_CA14, CB11_CA14}, // C + {0, CB10_CA15, CB12_CA15, CB11_CA15}, // V + {0, CB10_CA16, CB12_CA16, CB11_CA16}, // B - {0, G_9, I_9, H_9}, // M5 - {0, G_10, I_10, H_10}, // Ctrl_L - {0, G_11, I_11, H_11}, // WGn_L - {0, G_12, I_12, H_12}, // Alt_L - {0, G_13, I_13, H_13}, // Fn - {0, G_15, I_15, H_15}, // Space + {0, CB7_CA9, CB9_CA9, CB8_CA9}, // M5 + {0, CB7_CA10, CB9_CA10, CB8_CA10}, // Ctrl_L + {0, CB7_CA11, CB9_CA11, CB8_CA11}, // WGn_L + {0, CB7_CA12, CB9_CA12, CB8_CA12}, // Alt_L + {0, CB7_CA13, CB9_CA13, CB8_CA13}, // Fn + {0, CB7_CA15, CB9_CA15, CB8_CA15}, // Space - {0, A_16, C_16, B_16}, // F7 - {0, A_15, C_15, B_15}, // F8 - {0, A_14, C_14, B_14}, // F9 - {0, A_13, C_13, B_13}, // F11 - {0, A_12, C_12, B_12}, // F11 - {0, A_11, C_11, B_11}, // F12 - {0, A_10, C_10, B_10}, // INS - {0, A_9, C_9, B_9}, // DEL + {0, CB1_CA16, CB3_CA16, CB2_CA16}, // F7 + {0, CB1_CA15, CB3_CA15, CB2_CA15}, // F8 + {0, CB1_CA14, CB3_CA14, CB2_CA14}, // F9 + {0, CB1_CA13, CB3_CA13, CB2_CA13}, // F11 + {0, CB1_CA12, CB3_CA12, CB2_CA12}, // F11 + {0, CB1_CA11, CB3_CA11, CB2_CA11}, // F12 + {0, CB1_CA10, CB3_CA10, CB2_CA10}, // INS + {0, CB1_CA9, CB3_CA9, CB2_CA9}, // DEL - {0, D_16, F_16, E_16}, // 7& - {0, D_15, F_15, E_15}, // 8* - {0, D_14, F_14, E_14}, // 9( - {0, D_13, F_13, E_13}, // 1) - {0, D_12, F_12, E_12}, // -_ - {0, D_11, F_11, E_11}, // =+ - {0, D_10, F_10, E_10}, // BackSpace - {0, D_8, F_8, E_8}, // PgUp + {0, CB4_CA16, CB6_CA16, CB5_CA16}, // 7& + {0, CB4_CA15, CB6_CA15, CB5_CA15}, // 8* + {0, CB4_CA14, CB6_CA14, CB5_CA14}, // 9( + {0, CB4_CA13, CB6_CA13, CB5_CA13}, // 1) + {0, CB4_CA12, CB6_CA12, CB5_CA12}, // -_ + {0, CB4_CA11, CB6_CA11, CB5_CA11}, // =+ + {0, CB4_CA10, CB6_CA10, CB5_CA10}, // BackSpace + {0, CB4_CA8, CB6_CA8, CB5_CA8}, // PgUp - {0, G_16, I_16, H_16}, // Y - {0, G_15, I_15, H_15}, // U - {0, G_14, I_14, H_14}, // G - {0, G_13, I_13, H_13}, // O - {0, G_12, I_12, H_12}, // P - {0, G_11, I_11, H_11}, // [ - {0, G_10, I_10, H_10}, // ] - {0, G_9, I_9, H_9}, // \|| - {0, G_8, I_8, H_8}, // PgDn + {0, CB7_CA16, CB9_CA16, CB8_CA16}, // Y + {0, CB7_CA15, CB9_CA15, CB8_CA15}, // U + {0, CB7_CA14, CB9_CA14, CB8_CA14}, // G + {0, CB7_CA13, CB9_CA13, CB8_CA13}, // O + {0, CB7_CA12, CB9_CA12, CB8_CA12}, // P + {0, CB7_CA11, CB9_CA11, CB8_CA11}, // [ + {0, CB7_CA10, CB9_CA10, CB8_CA10}, // ] + {0, CB7_CA9, CB9_CA9, CB8_CA9}, // \|| + {0, CB7_CA8, CB9_CA8, CB8_CA8}, // PgDn - {0, J_16, L_16, K_16}, // H - {0, J_15, L_15, K_15}, // J - {0, J_14, L_14, K_14}, // KKEY_PRESS_HOME - {0, J_13, L_13, K_13}, // J - {0, J_12, L_12, K_12}, // ;: - {0, J_11, L_11, K_11}, // '" - {0, J_9, L_9, K_9}, // Enter - {0, J_8, L_8, K_8}, // Home + {0, CB10_CA16, CB12_CA16, CB11_CA16}, // H + {0, CB10_CA15, CB12_CA15, CB11_CA15}, // J + {0, CB10_CA14, CB12_CA14, CB11_CA14}, // KKEY_PRESS_HOME + {0, CB10_CA13, CB12_CA13, CB11_CA13}, // J + {0, CB10_CA12, CB12_CA12, CB11_CA12}, // ;: + {0, CB10_CA11, CB12_CA11, CB11_CA11}, // '" + {0, CB10_CA9, CB12_CA9, CB11_CA9}, // Enter + {0, CB10_CA8, CB12_CA8, CB11_CA8}, // Home - {0, J_7, L_7, K_7}, // N - {0, J_6, L_6, K_6}, // M - {0, J_5, L_5, K_5}, // ,< - {0, J_4, L_4, K_4}, // .> - {0, J_3, L_3, K_3}, // ?/ - {0, J_2, L_2, K_2}, // Shift_R - {0, J_1, L_1, K_1}, // Up + {0, CB10_CA7, CB12_CA7, CB11_CA7}, // N + {0, CB10_CA6, CB12_CA6, CB11_CA6}, // M + {0, CB10_CA5, CB12_CA5, CB11_CA5}, // ,< + {0, CB10_CA4, CB12_CA4, CB11_CA4}, // .> + {0, CB10_CA3, CB12_CA3, CB11_CA3}, // ?/ + {0, CB10_CA2, CB12_CA2, CB11_CA2}, // Shift_R + {0, CB10_CA1, CB12_CA1, CB11_CA1}, // Up - {0, G_6, I_6, H_6}, // Space - {0, G_5, I_5, H_5}, // Win_R - {0, G_4, I_4, H_4}, // Fn - {0, G_3, I_3, H_3}, // Ctrl_R - {0, G_2, I_2, H_2}, // Left - {0, G_1, I_1, H_1}, // Down - {0, G_7, I_7, H_7}, // Right + {0, CB7_CA6, CB9_CA6, CB8_CA6}, // Space + {0, CB7_CA5, CB9_CA5, CB8_CA5}, // Win_R + {0, CB7_CA4, CB9_CA4, CB8_CA4}, // Fn + {0, CB7_CA3, CB9_CA3, CB8_CA3}, // Ctrl_R + {0, CB7_CA2, CB9_CA2, CB8_CA2}, // Left + {0, CB7_CA1, CB9_CA1, CB8_CA1}, // Down + {0, CB7_CA7, CB9_CA7, CB8_CA7}, // Right }; #endif diff --git a/keyboards/keychron/q11/iso_encoder/iso_encoder.c b/keyboards/keychron/q11/iso_encoder/iso_encoder.c index feedfd17c39..8725598b1c2 100755 --- a/keyboards/keychron/q11/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q11/iso_encoder/iso_encoder.c @@ -24,106 +24,106 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, A_2, C_2, B_2}, // ESC - {0, A_3, C_3, B_3}, // F1 - {0, A_4, C_4, B_4}, // F2 - {0, A_5, C_5, B_5}, // F3 - {0, A_6, C_6, B_6}, // F4 - {0, A_7, C_7, B_7}, // F5 - {0, A_8, C_8, B_8}, // F6 + {0, CB1_CA2, CB3_CA2, CB2_CA2}, // ESC + {0, CB1_CA3, CB3_CA3, CB2_CA3}, // F1 + {0, CB1_CA4, CB3_CA4, CB2_CA4}, // F2 + {0, CB1_CA5, CB3_CA5, CB2_CA5}, // F3 + {0, CB1_CA6, CB3_CA6, CB2_CA6}, // F4 + {0, CB1_CA7, CB3_CA7, CB2_CA7}, // F5 + {0, CB1_CA8, CB3_CA8, CB2_CA8}, // F6 - {0, D_1, F_1, E_1}, // M1 - {0, D_2, F_2, E_2}, // `~ - {0, D_3, F_3, E_3}, // 1! - {0, D_4, F_4, E_4}, // 2@ - {0, D_5, F_5, E_5}, // 3# - {0, D_6, F_6, E_6}, // 4$ - {0, D_7, F_7, E_7}, // 5% - {0, D_8, F_8, E_8}, // 6^ + {0, CB4_CA1, CB6_CA1, CB5_CA1}, // M1 + {0, CB4_CA2, CB6_CA2, CB5_CA2}, // `~ + {0, CB4_CA3, CB6_CA3, CB5_CA3}, // 1! + {0, CB4_CA4, CB6_CA4, CB5_CA4}, // 2@ + {0, CB4_CA5, CB6_CA5, CB5_CA5}, // 3# + {0, CB4_CA6, CB6_CA6, CB5_CA6}, // 4$ + {0, CB4_CA7, CB6_CA7, CB5_CA7}, // 5% + {0, CB4_CA8, CB6_CA8, CB5_CA8}, // 6^ - {0, G_1, I_1, H_1}, // M2 - {0, G_2, I_2, H_2}, // TAB - {0, G_3, I_3, H_3}, // Q - {0, G_4, I_4, H_4}, // W - {0, G_5, I_5, H_5}, // E - {0, G_6, I_6, H_6}, // R - {0, G_7, I_7, H_7}, // T + {0, CB7_CA1, CB9_CA1, CB8_CA1}, // M2 + {0, CB7_CA2, CB9_CA2, CB8_CA2}, // TAB + {0, CB7_CA3, CB9_CA3, CB8_CA3}, // Q + {0, CB7_CA4, CB9_CA4, CB8_CA4}, // W + {0, CB7_CA5, CB9_CA5, CB8_CA5}, // E + {0, CB7_CA6, CB9_CA6, CB8_CA6}, // R + {0, CB7_CA7, CB9_CA7, CB8_CA7}, // T - {0, J_1, L_1, K_1}, // M3 - {0, J_2, L_2, K_2}, // CapsJock - {0, J_3, L_3, K_3}, // A - {0, J_4, L_4, K_4}, // S - {0, J_5, L_5, K_5}, // D - {0, J_6, L_6, K_6}, // F - {0, J_7, L_7, K_7}, // G + {0, CB10_CA1, CB12_CA1, CB11_CA1}, // M3 + {0, CB10_CA2, CB12_CA2, CB11_CA2}, // CapsJock + {0, CB10_CA3, CB12_CA3, CB11_CA3}, // A + {0, CB10_CA4, CB12_CA4, CB11_CA4}, // S + {0, CB10_CA5, CB12_CA5, CB11_CA5}, // D + {0, CB10_CA6, CB12_CA6, CB11_CA6}, // F + {0, CB10_CA7, CB12_CA7, CB11_CA7}, // G - {0, J_9, L_9, K_9}, // M4 - {0, J_10, L_10, K_10}, // Shift_L - {0, J_11, L_11, K_11}, // NUBS - {0, J_12, L_12, K_12}, // Z - {0, J_13, L_13, K_13}, // X - {0, J_14, L_14, K_14}, // C - {0, J_15, L_15, K_15}, // V - {0, J_16, L_16, K_16}, // B + {0, CB10_CA9, CB12_CA9, CB11_CA9}, // M4 + {0, CB10_CA10, CB12_CA10, CB11_CA10}, // Shift_L + {0, CB10_CA11, CB12_CA11, CB11_CA11}, // NUBS + {0, CB10_CA12, CB12_CA12, CB11_CA12}, // Z + {0, CB10_CA13, CB12_CA13, CB11_CA13}, // X + {0, CB10_CA14, CB12_CA14, CB11_CA14}, // C + {0, CB10_CA15, CB12_CA15, CB11_CA15}, // V + {0, CB10_CA16, CB12_CA16, CB11_CA16}, // B - {0, G_9, I_9, H_9}, // M5 - {0, G_10, I_10, H_10}, // Ctrl_L - {0, G_11, I_11, H_11}, // WGn_L - {0, G_12, I_12, H_12}, // Alt_L - {0, G_13, I_13, H_13}, // Fn - {0, G_15, I_15, H_15}, // Space + {0, CB7_CA9, CB9_CA9, CB8_CA9}, // M5 + {0, CB7_CA10, CB9_CA10, CB8_CA10}, // Ctrl_L + {0, CB7_CA11, CB9_CA11, CB8_CA11}, // WGn_L + {0, CB7_CA12, CB9_CA12, CB8_CA12}, // Alt_L + {0, CB7_CA13, CB9_CA13, CB8_CA13}, // Fn + {0, CB7_CA15, CB9_CA15, CB8_CA15}, // Space - {0, A_16, C_16, B_16}, // F7 - {0, A_15, C_15, B_15}, // F8 - {0, A_14, C_14, B_14}, // F9 - {0, A_13, C_13, B_13}, // F11 - {0, A_12, C_12, B_12}, // F11 - {0, A_11, C_11, B_11}, // F12 - {0, A_10, C_10, B_10}, // INS - {0, A_9, C_9, B_9}, // DEL + {0, CB1_CA16, CB3_CA16, CB2_CA16}, // F7 + {0, CB1_CA15, CB3_CA15, CB2_CA15}, // F8 + {0, CB1_CA14, CB3_CA14, CB2_CA14}, // F9 + {0, CB1_CA13, CB3_CA13, CB2_CA13}, // F11 + {0, CB1_CA12, CB3_CA12, CB2_CA12}, // F11 + {0, CB1_CA11, CB3_CA11, CB2_CA11}, // F12 + {0, CB1_CA10, CB3_CA10, CB2_CA10}, // INS + {0, CB1_CA9, CB3_CA9, CB2_CA9}, // DEL - {0, D_16, F_16, E_16}, // 7& - {0, D_15, F_15, E_15}, // 8* - {0, D_14, F_14, E_14}, // 9( - {0, D_13, F_13, E_13}, // 1) - {0, D_12, F_12, E_12}, // -_ - {0, D_11, F_11, E_11}, // =+ - {0, D_10, F_10, E_10}, // BackSpace - {0, D_8, F_8, E_8}, // PgUp + {0, CB4_CA16, CB6_CA16, CB5_CA16}, // 7& + {0, CB4_CA15, CB6_CA15, CB5_CA15}, // 8* + {0, CB4_CA14, CB6_CA14, CB5_CA14}, // 9( + {0, CB4_CA13, CB6_CA13, CB5_CA13}, // 1) + {0, CB4_CA12, CB6_CA12, CB5_CA12}, // -_ + {0, CB4_CA11, CB6_CA11, CB5_CA11}, // =+ + {0, CB4_CA10, CB6_CA10, CB5_CA10}, // BackSpace + {0, CB4_CA8, CB6_CA8, CB5_CA8}, // PgUp - {0, G_16, I_16, H_16}, // Y - {0, G_15, I_15, H_15}, // U - {0, G_14, I_14, H_14}, // G - {0, G_13, I_13, H_13}, // O - {0, G_12, I_12, H_12}, // P - {0, G_11, I_11, H_11}, // [ - {0, G_10, I_10, H_10}, // ] - {0, G_8, I_8, H_8}, // PgDn + {0, CB7_CA16, CB9_CA16, CB8_CA16}, // Y + {0, CB7_CA15, CB9_CA15, CB8_CA15}, // U + {0, CB7_CA14, CB9_CA14, CB8_CA14}, // G + {0, CB7_CA13, CB9_CA13, CB8_CA13}, // O + {0, CB7_CA12, CB9_CA12, CB8_CA12}, // P + {0, CB7_CA11, CB9_CA11, CB8_CA11}, // [ + {0, CB7_CA10, CB9_CA10, CB8_CA10}, // ] + {0, CB7_CA8, CB9_CA8, CB8_CA8}, // PgDn - {0, J_16, L_16, K_16}, // H - {0, J_15, L_15, K_15}, // J - {0, J_14, L_14, K_14}, // KKEY_PRESS_HOME - {0, J_13, L_13, K_13}, // J - {0, J_12, L_12, K_12}, // ;: - {0, J_11, L_11, K_11}, // '" - {0, J_9, L_9, K_9}, // NUHS - {0, G_9, I_9, H_9}, // Enter - {0, J_8, L_8, K_8}, // Home + {0, CB10_CA16, CB12_CA16, CB11_CA16}, // H + {0, CB10_CA15, CB12_CA15, CB11_CA15}, // J + {0, CB10_CA14, CB12_CA14, CB11_CA14}, // KKEY_PRESS_HOME + {0, CB10_CA13, CB12_CA13, CB11_CA13}, // J + {0, CB10_CA12, CB12_CA12, CB11_CA12}, // ;: + {0, CB10_CA11, CB12_CA11, CB11_CA11}, // '" + {0, CB10_CA9, CB12_CA9, CB11_CA9}, // NUHS + {0, CB7_CA9, CB9_CA9, CB8_CA9}, // Enter + {0, CB10_CA8, CB12_CA8, CB11_CA8}, // Home - {0, J_7, L_7, K_7}, // N - {0, J_6, L_6, K_6}, // M - {0, J_5, L_5, K_5}, // ,< - {0, J_4, L_4, K_4}, // .> - {0, J_3, L_3, K_3}, // ?/ - {0, J_2, L_2, K_2}, // Shift_R - {0, J_1, L_1, K_1}, // Up + {0, CB10_CA7, CB12_CA7, CB11_CA7}, // N + {0, CB10_CA6, CB12_CA6, CB11_CA6}, // M + {0, CB10_CA5, CB12_CA5, CB11_CA5}, // ,< + {0, CB10_CA4, CB12_CA4, CB11_CA4}, // .> + {0, CB10_CA3, CB12_CA3, CB11_CA3}, // ?/ + {0, CB10_CA2, CB12_CA2, CB11_CA2}, // Shift_R + {0, CB10_CA1, CB12_CA1, CB11_CA1}, // Up - {0, G_6, I_6, H_6}, // Space - {0, G_5, I_5, H_5}, // Win_R - {0, G_4, I_4, H_4}, // Fn - {0, G_3, I_3, H_3}, // Ctrl_R - {0, G_2, I_2, H_2}, // Left - {0, G_1, I_1, H_1}, // Down - {0, G_7, I_7, H_7}, // Right + {0, CB7_CA6, CB9_CA6, CB8_CA6}, // Space + {0, CB7_CA5, CB9_CA5, CB8_CA5}, // Win_R + {0, CB7_CA4, CB9_CA4, CB8_CA4}, // Fn + {0, CB7_CA3, CB9_CA3, CB8_CA3}, // Ctrl_R + {0, CB7_CA2, CB9_CA2, CB8_CA2}, // Left + {0, CB7_CA1, CB9_CA1, CB8_CA1}, // Down + {0, CB7_CA7, CB9_CA7, CB8_CA7}, // Right }; #endif diff --git a/keyboards/keychron/q12/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q12/ansi_encoder/ansi_encoder.c index e2acddd8944..ba32f58fc6a 100644 --- a/keyboards/keychron/q12/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q12/ansi_encoder/ansi_encoder.c @@ -24,116 +24,116 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - // {0, I_1, G_1, H_1} - {0, I_2, G_2, H_2}, // F13 - {0, I_3, G_3, H_3}, // F14 - {0, I_4, G_4, H_4}, // F15 - {0, I_5, G_5, H_5}, // Esc - {0, I_6, G_6, H_6}, // F1 - {0, I_7, G_7, H_7}, // F2 - {0, I_8, G_8, H_8}, // F3 - {0, I_9, G_9, H_9}, // F4 - {0, I_10, G_10, H_10}, // F5 - {0, I_11, G_11, H_11}, // F6 - {0, I_12, G_12, H_12}, // F7 - {0, I_13, G_13, H_13}, // F8 - {0, I_14, G_14, H_14}, // F9 - {0, I_15, G_15, H_15}, // F10 - {0, I_16, G_16, H_16}, // F11 - {0, L_16, J_16, K_16}, // F12 - {0, L_15, J_15, K_15}, // DEL - {0, L_14, J_14, K_14}, // Light + // {0, CB9_CA1, CB7_CA1, CB8_CA1} + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // F13 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // F14 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // F15 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // Esc + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // F1 + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // F2 + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // F3 + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // F4 + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // F5 + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // F6 + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // F7 + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // F8 + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // F9 + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // F10 + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // F11 + {0, CB12_CA16, CB10_CA16, CB11_CA16}, // F12 + {0, CB12_CA15, CB10_CA15, CB11_CA15}, // DEL + {0, CB12_CA14, CB10_CA14, CB11_CA14}, // Light - {0, C_1, A_1, B_1}, // num_lock - {0, C_2, A_2, B_2}, // / - {0, C_3, A_3, B_3}, // * - {0, C_4, A_4, B_4}, // - - {0, C_5, A_5, B_5}, // ~` - {0, C_6, A_6, B_6}, // 1! - {0, C_7, A_7, B_7}, // 2@ - {0, C_8, A_8, B_8}, // 3# - {0, C_9, A_9, B_9}, // 4$ - {0, C_10, A_10, B_10}, // 5% - {0, C_11, A_11, B_11}, // 6^ - {0, C_12, A_12, B_12}, // 7& - {0, C_13, A_13, B_13}, // 8* - {0, C_14, A_14, B_14}, // 9( - {0, C_15, A_15, B_15}, // 0) - {0, C_16, A_16, B_16}, // -_ - {0, L_13, J_13, K_13}, // =+ - {0, L_12, J_12, K_12}, // BackSpace - {0, L_11, J_11, K_11}, // PgUp + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // num_lock + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // / + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // * + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // - + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // ~` + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 1! + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 2@ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 3# + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 4$ + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 5% + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 6^ + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // 7& + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // 8* + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // 9( + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // 0) + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // -_ + {0, CB12_CA13, CB10_CA13, CB11_CA13}, // =+ + {0, CB12_CA12, CB10_CA12, CB11_CA12}, // BackSpace + {0, CB12_CA11, CB10_CA11, CB11_CA11}, // PgUp - {0, F_1, D_1, E_1}, // 7 - {0, F_2, D_2, E_2}, // 8 - {0, F_3, D_3, E_3}, // 9 - {0, F_4, D_4, E_4}, // + - {0, F_5, D_5, E_5}, // TAB - {0, F_6, D_6, E_6}, // Q - {0, F_7, D_7, E_7}, // W - {0, F_8, D_8, E_8}, // E - {0, F_9, D_9, E_9}, // R - {0, F_10, D_10, E_10}, // T - {0, F_11, D_11, E_11}, // Y - {0, F_12, D_12, E_12}, // U - {0, F_13, D_13, E_13}, // I - {0, F_14, D_14, E_14}, // O - {0, F_15, D_15, E_15}, // P - {0, F_16, D_16, E_16}, // [ - {0, L_10, J_10, K_10}, // ] - {0, L_9, J_9, K_9}, // \| - {0, L_8, J_8, K_8}, // PgDn + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // 7 + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // 8 + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // 9 + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // + + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // TAB + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // Q + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // W + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // E + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // R + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // T + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // Y + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // U + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // I + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // O + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // P + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // [ + {0, CB12_CA10, CB10_CA10, CB11_CA10}, // ] + {0, CB12_CA9, CB10_CA9, CB11_CA9}, // \| + {0, CB12_CA8, CB10_CA8, CB11_CA8}, // PgDn - {1, C_16, A_16, B_16}, // 4 - {1, C_15, A_15, B_15}, // 5 - {1, C_14, A_14, B_14}, // 6 - // {0, F_4, D_4, E_4}, // + - {1, C_12, A_12, B_12}, // CapsLock - {1, C_11, A_11, B_11}, // A - {1, C_10, A_10, B_10}, // S - {1, C_9, A_9, B_9}, // D - {1, C_8, A_8, B_8}, // F - {1, C_7, A_7, B_7}, // G - {1, C_6, A_6, B_6}, // H - {1, C_5, A_5, B_5}, // J - {1, C_4, A_4, B_4}, // k - {1, C_3, A_3, B_3}, // l - {1, C_2, A_2, B_2}, // ; - {1, C_1, A_1, B_1}, // ' - {1, L_1, J_1, K_1}, // Enter - {1, L_2, J_2, K_2}, // Home + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // 4 + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // 5 + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // 6 + // {0, CB6_CA4, CB4_CA4, CB5_CA4}, // + + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // CapsLock + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // A + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // S + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // D + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // F + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // G + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // H + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // J + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // k + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // l + {1, CB3_CA2, CB1_CA2, CB2_CA2}, // ; + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // ' + {1, CB12_CA1, CB10_CA1, CB11_CA1}, // Enter + {1, CB12_CA2, CB10_CA2, CB11_CA2}, // Home - {1, I_16, G_16, H_16}, // 1 - {1, I_15, G_15, H_15}, // 2 - {1, I_14, G_14, H_14}, // 3 - {1, I_13, G_13, H_13}, // Enter - {1, I_12, G_12, H_12}, //Shift_L - {1, I_10, G_10, H_10}, // Z - {1, I_9, G_9, H_9}, // X - {1, I_8, G_8, H_8}, // C - {1, I_7, G_7, H_7}, // V - {1, I_6, G_6, H_6}, // B - {1, I_5, G_5, H_5}, // N - {1, I_4, G_4, H_4}, // M - {1, I_3, G_3, H_3}, // , - {1, I_2, G_2, H_2}, // . - {1, I_1, G_1, H_1}, // ? - {1, L_3, J_3, K_3}, // Shift_R - {1, L_4, J_4, K_4}, // Up + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // 1 + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // 2 + {1, CB9_CA14, CB7_CA14, CB8_CA14}, // 3 + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Enter + {1, CB9_CA12, CB7_CA12, CB8_CA12}, //Shift_L + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // Z + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // X + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // C + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // V + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // B + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // N + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // M + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // , + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // . + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // ? + {1, CB12_CA3, CB10_CA3, CB11_CA3}, // Shift_R + {1, CB12_CA4, CB10_CA4, CB11_CA4}, // Up - {1, F_16, D_16, E_16}, // 0 - {1, F_14, D_14, E_14}, // . - {1, F_12, D_12, E_12}, // Ctrl_L - {1, F_11, D_11, E_11}, // Win_L - {1, F_10, D_10, E_10}, // Alt_L - {1, F_6, D_6, E_6}, // Space - {1, F_3, D_3, E_3}, // Alt_R - {1, F_2, D_2, E_2}, // Fn - {1, F_1, D_1, E_1}, // Ctrl_R - {1, L_5, J_5, K_5}, // Left - {1, L_6, J_6, K_6}, // Down - {1, L_7, J_7, K_7}, // Right + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // 0 + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // . + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // Ctrl_L + {1, CB6_CA11, CB4_CA11, CB5_CA11}, // Win_L + {1, CB6_CA10, CB4_CA10, CB5_CA10}, // Alt_L + {1, CB6_CA6, CB4_CA6, CB5_CA6}, // Space + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // Alt_R + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // Fn + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // Ctrl_R + {1, CB12_CA5, CB10_CA5, CB11_CA5}, // Left + {1, CB12_CA6, CB10_CA6, CB11_CA6}, // Down + {1, CB12_CA7, CB10_CA7, CB11_CA7}, // Right }; #define __ NO_LED diff --git a/keyboards/keychron/q12/iso_encoder/iso_encoder.c b/keyboards/keychron/q12/iso_encoder/iso_encoder.c index f05a35dad8c..f9513e7f418 100644 --- a/keyboards/keychron/q12/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q12/iso_encoder/iso_encoder.c @@ -25,118 +25,118 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - // {0, I_1, G_1, H_1} - {0, I_2, G_2, H_2}, // F13 - {0, I_3, G_3, H_3}, // F14 - {0, I_4, G_4, H_4}, // F15 - {0, I_5, G_5, H_5}, // Esc - {0, I_6, G_6, H_6}, // F1 - {0, I_7, G_7, H_7}, // F2 - {0, I_8, G_8, H_8}, // F3 - {0, I_9, G_9, H_9}, // F4 - {0, I_10, G_10, H_10}, // F5 - {0, I_11, G_11, H_11}, // F6 - {0, I_12, G_12, H_12}, // F7 - {0, I_13, G_13, H_13}, // F8 - {0, I_14, G_14, H_14}, // F9 - {0, I_15, G_15, H_15}, // F10 - {0, I_16, G_16, H_16}, // F11 - {0, L_16, J_16, K_16}, // F12 - {0, L_15, J_15, K_15}, // DEL - {0, L_14, J_14, K_14}, // Light + // {0, CB9_CA1, CB7_CA1, CB8_CA1} + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // F13 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // F14 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // F15 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // Esc + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // F1 + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // F2 + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // F3 + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // F4 + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // F5 + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // F6 + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // F7 + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // F8 + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // F9 + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // F10 + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // F11 + {0, CB12_CA16, CB10_CA16, CB11_CA16}, // F12 + {0, CB12_CA15, CB10_CA15, CB11_CA15}, // DEL + {0, CB12_CA14, CB10_CA14, CB11_CA14}, // Light - {0, C_1, A_1, B_1}, // num_lock - {0, C_2, A_2, B_2}, // / - {0, C_3, A_3, B_3}, // * - {0, C_4, A_4, B_4}, // - - {0, C_5, A_5, B_5}, // ~` - {0, C_6, A_6, B_6}, // 1! - {0, C_7, A_7, B_7}, // 2@ - {0, C_8, A_8, B_8}, // 3# - {0, C_9, A_9, B_9}, // 4$ - {0, C_10, A_10, B_10}, // 5% - {0, C_11, A_11, B_11}, // 6^ - {0, C_12, A_12, B_12}, // 7& - {0, C_13, A_13, B_13}, // 8* - {0, C_14, A_14, B_14}, // 9( - {0, C_15, A_15, B_15}, // 0) - {0, C_16, A_16, B_16}, // -_ - {0, L_13, J_13, K_13}, // =+ - {0, L_12, J_12, K_12}, // BackSpace - {0, L_11, J_11, K_11}, // PgUp + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // num_lock + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // / + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // * + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // - + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // ~` + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 1! + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 2@ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 3# + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 4$ + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 5% + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 6^ + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // 7& + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // 8* + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // 9( + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // 0) + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // -_ + {0, CB12_CA13, CB10_CA13, CB11_CA13}, // =+ + {0, CB12_CA12, CB10_CA12, CB11_CA12}, // BackSpace + {0, CB12_CA11, CB10_CA11, CB11_CA11}, // PgUp - {0, F_1, D_1, E_1}, // 7 - {0, F_2, D_2, E_2}, // 8 - {0, F_3, D_3, E_3}, // 9 - {0, F_4, D_4, E_4}, // + - {0, F_5, D_5, E_5}, // TAB - {0, F_6, D_6, E_6}, // Q - {0, F_7, D_7, E_7}, // W - {0, F_8, D_8, E_8}, // E - {0, F_9, D_9, E_9}, // R - {0, F_10, D_10, E_10}, // T - {0, F_11, D_11, E_11}, // Y - {0, F_12, D_12, E_12}, // U - {0, F_13, D_13, E_13}, // I - {0, F_14, D_14, E_14}, // O - {0, F_15, D_15, E_15}, // P - {0, F_16, D_16, E_16}, // [ - {0, L_10, J_10, K_10}, // ] - // {0, L_9, J_9, K_9}, // \| - {0, L_8, J_8, K_8}, // PgDn + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // 7 + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // 8 + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // 9 + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // + + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // TAB + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // Q + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // W + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // E + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // R + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // T + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // Y + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // U + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // I + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // O + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // P + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // [ + {0, CB12_CA10, CB10_CA10, CB11_CA10}, // ] + // {0, CB12_CA9, CB10_CA9, CB11_CA9}, // \| + {0, CB12_CA8, CB10_CA8, CB11_CA8}, // PgDn - {1, C_16, A_16, B_16}, // 4 - {1, C_15, A_15, B_15}, // 5 - {1, C_14, A_14, B_14}, // 6 - // {0, F_4, D_4, E_4}, // + - {1, C_12, A_12, B_12}, // CapsLock - {1, C_11, A_11, B_11}, // A - {1, C_10, A_10, B_10}, // S - {1, C_9, A_9, B_9}, // D - {1, C_8, A_8, B_8}, // F - {1, C_7, A_7, B_7}, // G - {1, C_6, A_6, B_6}, // H - {1, C_5, A_5, B_5}, // J - {1, C_4, A_4, B_4}, // k - {1, C_3, A_3, B_3}, // l - {1, C_2, A_2, B_2}, // ; - {1, C_1, A_1, B_1}, // ' - {1, L_1, J_1, K_1}, // #~ - {0, L_9, J_9, K_9}, // Enter - {1, L_2, J_2, K_2}, // Home + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // 4 + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // 5 + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // 6 + // {0, CB6_CA4, CB4_CA4, CB5_CA4}, // + + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // CapsLock + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // A + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // S + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // D + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // F + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // G + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // H + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // J + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // k + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // l + {1, CB3_CA2, CB1_CA2, CB2_CA2}, // ; + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // ' + {1, CB12_CA1, CB10_CA1, CB11_CA1}, // #~ + {0, CB12_CA9, CB10_CA9, CB11_CA9}, // Enter + {1, CB12_CA2, CB10_CA2, CB11_CA2}, // Home - {1, I_16, G_16, H_16}, // 1 - {1, I_15, G_15, H_15}, // 2 - {1, I_14, G_14, H_14}, // 3 - {1, I_13, G_13, H_13}, // Enter - {1, I_12, G_12, H_12}, //Shift_L - {1, I_11, G_11, H_11}, // | - {1, I_10, G_10, H_10}, // Z - {1, I_9, G_9, H_9}, // X - {1, I_8, G_8, H_8}, // C - {1, I_7, G_7, H_7}, // V - {1, I_6, G_6, H_6}, // B - {1, I_5, G_5, H_5}, // N - {1, I_4, G_4, H_4}, // M - {1, I_3, G_3, H_3}, // , - {1, I_2, G_2, H_2}, // . - {1, I_1, G_1, H_1}, // ? - {1, L_3, J_3, K_3}, // Shift_R - {1, L_4, J_4, K_4}, // Up + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // 1 + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // 2 + {1, CB9_CA14, CB7_CA14, CB8_CA14}, // 3 + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Enter + {1, CB9_CA12, CB7_CA12, CB8_CA12}, //Shift_L + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // | + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // Z + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // X + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // C + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // V + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // B + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // N + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // M + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // , + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // . + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // ? + {1, CB12_CA3, CB10_CA3, CB11_CA3}, // Shift_R + {1, CB12_CA4, CB10_CA4, CB11_CA4}, // Up - {1, F_16, D_16, E_16}, // 0 - {1, F_14, D_14, E_14}, // . - {1, F_12, D_12, E_12}, // Ctrl_L - {1, F_11, D_11, E_11}, // Win_L - {1, F_10, D_10, E_10}, // Alt_L - {1, F_6, D_6, E_6}, // Space - {1, F_3, D_3, E_3}, // Alt_R - {1, F_2, D_2, E_2}, // Fn - {1, F_1, D_1, E_1}, // Ctrl_R - {1, L_5, J_5, K_5}, // Left - {1, L_6, J_6, K_6}, // Down - {1, L_7, J_7, K_7}, // Right + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // 0 + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // . + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // Ctrl_L + {1, CB6_CA11, CB4_CA11, CB5_CA11}, // Win_L + {1, CB6_CA10, CB4_CA10, CB5_CA10}, // Alt_L + {1, CB6_CA6, CB4_CA6, CB5_CA6}, // Space + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // Alt_R + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // Fn + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // Ctrl_R + {1, CB12_CA5, CB10_CA5, CB11_CA5}, // Left + {1, CB12_CA6, CB10_CA6, CB11_CA6}, // Down + {1, CB12_CA7, CB10_CA7, CB11_CA7}, // Right }; #define __ NO_LED diff --git a/keyboards/keychron/q1v1/ansi/ansi.c b/keyboards/keychron/q1v1/ansi/ansi.c index f45907eaf63..dfd2ee60875 100644 --- a/keyboards/keychron/q1v1/ansi/ansi.c +++ b/keyboards/keychron/q1v1/ansi/ansi.c @@ -24,93 +24,93 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, SW3_CS1, SW1_CS1, SW2_CS1}, + {0, SW3_CS3, SW1_CS3, SW2_CS3}, + {0, SW3_CS4, SW1_CS4, SW2_CS4}, + {0, SW3_CS5, SW1_CS5, SW2_CS5}, + {0, SW3_CS6, SW1_CS6, SW2_CS6}, + {0, SW3_CS7, SW1_CS7, SW2_CS7}, + {0, SW3_CS8, SW1_CS8, SW2_CS8}, + {0, SW3_CS9, SW1_CS9, SW2_CS9}, + {0, SW3_CS10, SW1_CS10, SW2_CS10}, + {0, SW3_CS11, SW1_CS11, SW2_CS11}, + {0, SW3_CS12, SW1_CS12, SW2_CS12}, + {0, SW3_CS13, SW1_CS13, SW2_CS13}, + {0, SW3_CS14, SW1_CS14, SW2_CS14}, + {0, SW3_CS15, SW1_CS15, SW2_CS15}, + {0, SW3_CS16, SW1_CS16, SW2_CS16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, SW6_CS1, SW4_CS1, SW5_CS1}, + {0, SW6_CS2, SW4_CS2, SW5_CS2}, + {0, SW6_CS3, SW4_CS3, SW5_CS3}, + {0, SW6_CS4, SW4_CS4, SW5_CS4}, + {0, SW6_CS5, SW4_CS5, SW5_CS5}, + {0, SW6_CS6, SW4_CS6, SW5_CS6}, + {0, SW6_CS7, SW4_CS7, SW5_CS7}, + {0, SW6_CS8, SW4_CS8, SW5_CS8}, + {0, SW6_CS9, SW4_CS9, SW5_CS9}, + {0, SW6_CS10, SW4_CS10, SW5_CS10}, + {0, SW6_CS11, SW4_CS11, SW5_CS11}, + {0, SW6_CS12, SW4_CS12, SW5_CS12}, + {0, SW6_CS13, SW4_CS13, SW5_CS13}, + {0, SW6_CS14, SW4_CS14, SW5_CS14}, + {0, SW6_CS16, SW4_CS16, SW5_CS16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, SW9_CS1, SW7_CS1, SW8_CS1}, + {0, SW9_CS2, SW7_CS2, SW8_CS2}, + {0, SW9_CS3, SW7_CS3, SW8_CS3}, + {0, SW9_CS4, SW7_CS4, SW8_CS4}, + {0, SW9_CS5, SW7_CS5, SW8_CS5}, + {0, SW9_CS6, SW7_CS6, SW8_CS6}, + {0, SW9_CS7, SW7_CS7, SW8_CS7}, + {0, SW9_CS8, SW7_CS8, SW8_CS8}, + {0, SW9_CS9, SW7_CS9, SW8_CS9}, + {0, SW9_CS10, SW7_CS10, SW8_CS10}, + {0, SW9_CS11, SW7_CS11, SW8_CS11}, + {0, SW9_CS12, SW7_CS12, SW8_CS12}, + {0, SW9_CS13, SW7_CS13, SW8_CS13}, + {0, SW9_CS14, SW7_CS14, SW8_CS14}, + {0, SW9_CS16, SW7_CS16, SW8_CS16}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, - {0, L_16, J_16, K_16}, + {0, SW12_CS1, SW10_CS1, SW11_CS1}, + {0, SW12_CS2, SW10_CS2, SW11_CS2}, + {0, SW12_CS3, SW10_CS3, SW11_CS3}, + {0, SW12_CS4, SW10_CS4, SW11_CS4}, + {0, SW12_CS5, SW10_CS5, SW11_CS5}, + {0, SW12_CS6, SW10_CS6, SW11_CS6}, + {0, SW12_CS7, SW10_CS7, SW11_CS7}, + {0, SW12_CS8, SW10_CS8, SW11_CS8}, + {0, SW12_CS9, SW10_CS9, SW11_CS9}, + {0, SW12_CS10, SW10_CS10, SW11_CS10}, + {0, SW12_CS11, SW10_CS11, SW11_CS11}, + {0, SW12_CS12, SW10_CS12, SW11_CS12}, + {0, SW12_CS14, SW10_CS14, SW11_CS14}, + {0, SW12_CS16, SW10_CS16, SW11_CS16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, SW3_CS1, SW1_CS1, SW2_CS1}, + {1, SW3_CS3, SW1_CS3, SW2_CS3}, + {1, SW3_CS4, SW1_CS4, SW2_CS4}, + {1, SW3_CS5, SW1_CS5, SW2_CS5}, + {1, SW3_CS6, SW1_CS6, SW2_CS6}, + {1, SW3_CS7, SW1_CS7, SW2_CS7}, + {1, SW3_CS8, SW1_CS8, SW2_CS8}, + {1, SW3_CS9, SW1_CS9, SW2_CS9}, + {1, SW3_CS10, SW1_CS10, SW2_CS10}, + {1, SW3_CS11, SW1_CS11, SW2_CS11}, + {1, SW3_CS12, SW1_CS12, SW2_CS12}, + {1, SW3_CS14, SW1_CS14, SW2_CS14}, + {1, SW3_CS15, SW1_CS15, SW2_CS15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, SW6_CS1, SW4_CS1, SW5_CS1}, + {1, SW6_CS2, SW4_CS2, SW5_CS2}, + {1, SW6_CS3, SW4_CS3, SW5_CS3}, + {1, SW6_CS7, SW4_CS7, SW5_CS7}, + {1, SW6_CS11, SW4_CS11, SW5_CS11}, + {1, SW6_CS12, SW4_CS12, SW5_CS12}, + {1, SW6_CS13, SW4_CS13, SW5_CS13}, + {1, SW6_CS14, SW4_CS14, SW5_CS14}, + {1, SW6_CS15, SW4_CS15, SW5_CS15}, + {1, SW6_CS16, SW4_CS16, SW5_CS16} }; diff --git a/keyboards/keychron/q1v1/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q1v1/ansi_encoder/ansi_encoder.c index 1c15ac633d5..d8679ee4821 100644 --- a/keyboards/keychron/q1v1/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q1v1/ansi_encoder/ansi_encoder.c @@ -24,93 +24,93 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, SW3_CS1, SW1_CS1, SW2_CS1}, + {0, SW3_CS3, SW1_CS3, SW2_CS3}, + {0, SW3_CS4, SW1_CS4, SW2_CS4}, + {0, SW3_CS5, SW1_CS5, SW2_CS5}, + {0, SW3_CS6, SW1_CS6, SW2_CS6}, + {0, SW3_CS7, SW1_CS7, SW2_CS7}, + {0, SW3_CS8, SW1_CS8, SW2_CS8}, + {0, SW3_CS9, SW1_CS9, SW2_CS9}, + {0, SW3_CS10, SW1_CS10, SW2_CS10}, + {0, SW3_CS11, SW1_CS11, SW2_CS11}, + {0, SW3_CS12, SW1_CS12, SW2_CS12}, + {0, SW3_CS13, SW1_CS13, SW2_CS13}, + {0, SW3_CS14, SW1_CS14, SW2_CS14}, + {0, SW3_CS15, SW1_CS15, SW2_CS15}, + {0, SW3_CS16, SW1_CS16, SW2_CS16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, SW6_CS1, SW4_CS1, SW5_CS1}, + {0, SW6_CS2, SW4_CS2, SW5_CS2}, + {0, SW6_CS3, SW4_CS3, SW5_CS3}, + {0, SW6_CS4, SW4_CS4, SW5_CS4}, + {0, SW6_CS5, SW4_CS5, SW5_CS5}, + {0, SW6_CS6, SW4_CS6, SW5_CS6}, + {0, SW6_CS7, SW4_CS7, SW5_CS7}, + {0, SW6_CS8, SW4_CS8, SW5_CS8}, + {0, SW6_CS9, SW4_CS9, SW5_CS9}, + {0, SW6_CS10, SW4_CS10, SW5_CS10}, + {0, SW6_CS11, SW4_CS11, SW5_CS11}, + {0, SW6_CS12, SW4_CS12, SW5_CS12}, + {0, SW6_CS13, SW4_CS13, SW5_CS13}, + {0, SW6_CS14, SW4_CS14, SW5_CS14}, + {0, SW6_CS16, SW4_CS16, SW5_CS16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, SW9_CS1, SW7_CS1, SW8_CS1}, + {0, SW9_CS2, SW7_CS2, SW8_CS2}, + {0, SW9_CS3, SW7_CS3, SW8_CS3}, + {0, SW9_CS4, SW7_CS4, SW8_CS4}, + {0, SW9_CS5, SW7_CS5, SW8_CS5}, + {0, SW9_CS6, SW7_CS6, SW8_CS6}, + {0, SW9_CS7, SW7_CS7, SW8_CS7}, + {0, SW9_CS8, SW7_CS8, SW8_CS8}, + {0, SW9_CS9, SW7_CS9, SW8_CS9}, + {0, SW9_CS10, SW7_CS10, SW8_CS10}, + {0, SW9_CS11, SW7_CS11, SW8_CS11}, + {0, SW9_CS12, SW7_CS12, SW8_CS12}, + {0, SW9_CS13, SW7_CS13, SW8_CS13}, + {0, SW9_CS14, SW7_CS14, SW8_CS14}, + {0, SW9_CS16, SW7_CS16, SW8_CS16}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, - {0, L_16, J_16, K_16}, + {0, SW12_CS1, SW10_CS1, SW11_CS1}, + {0, SW12_CS2, SW10_CS2, SW11_CS2}, + {0, SW12_CS3, SW10_CS3, SW11_CS3}, + {0, SW12_CS4, SW10_CS4, SW11_CS4}, + {0, SW12_CS5, SW10_CS5, SW11_CS5}, + {0, SW12_CS6, SW10_CS6, SW11_CS6}, + {0, SW12_CS7, SW10_CS7, SW11_CS7}, + {0, SW12_CS8, SW10_CS8, SW11_CS8}, + {0, SW12_CS9, SW10_CS9, SW11_CS9}, + {0, SW12_CS10, SW10_CS10, SW11_CS10}, + {0, SW12_CS11, SW10_CS11, SW11_CS11}, + {0, SW12_CS12, SW10_CS12, SW11_CS12}, + {0, SW12_CS14, SW10_CS14, SW11_CS14}, + {0, SW12_CS16, SW10_CS16, SW11_CS16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, SW3_CS1, SW1_CS1, SW2_CS1}, + {1, SW3_CS3, SW1_CS3, SW2_CS3}, + {1, SW3_CS4, SW1_CS4, SW2_CS4}, + {1, SW3_CS5, SW1_CS5, SW2_CS5}, + {1, SW3_CS6, SW1_CS6, SW2_CS6}, + {1, SW3_CS7, SW1_CS7, SW2_CS7}, + {1, SW3_CS8, SW1_CS8, SW2_CS8}, + {1, SW3_CS9, SW1_CS9, SW2_CS9}, + {1, SW3_CS10, SW1_CS10, SW2_CS10}, + {1, SW3_CS11, SW1_CS11, SW2_CS11}, + {1, SW3_CS12, SW1_CS12, SW2_CS12}, + {1, SW3_CS14, SW1_CS14, SW2_CS14}, + {1, SW3_CS15, SW1_CS15, SW2_CS15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, SW6_CS1, SW4_CS1, SW5_CS1}, + {1, SW6_CS2, SW4_CS2, SW5_CS2}, + {1, SW6_CS3, SW4_CS3, SW5_CS3}, + {1, SW6_CS7, SW4_CS7, SW5_CS7}, + {1, SW6_CS11, SW4_CS11, SW5_CS11}, + {1, SW6_CS12, SW4_CS12, SW5_CS12}, + {1, SW6_CS13, SW4_CS13, SW5_CS13}, + {1, SW6_CS14, SW4_CS14, SW5_CS14}, + {1, SW6_CS15, SW4_CS15, SW5_CS15}, + {1, SW6_CS16, SW4_CS16, SW5_CS16} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q1v1/iso/iso.c b/keyboards/keychron/q1v1/iso/iso.c index 109eb012828..affc41d2196 100644 --- a/keyboards/keychron/q1v1/iso/iso.c +++ b/keyboards/keychron/q1v1/iso/iso.c @@ -24,94 +24,94 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, SW3_CS1, SW1_CS1, SW2_CS1}, + {0, SW3_CS3, SW1_CS3, SW2_CS3}, + {0, SW3_CS4, SW1_CS4, SW2_CS4}, + {0, SW3_CS5, SW1_CS5, SW2_CS5}, + {0, SW3_CS6, SW1_CS6, SW2_CS6}, + {0, SW3_CS7, SW1_CS7, SW2_CS7}, + {0, SW3_CS8, SW1_CS8, SW2_CS8}, + {0, SW3_CS9, SW1_CS9, SW2_CS9}, + {0, SW3_CS10, SW1_CS10, SW2_CS10}, + {0, SW3_CS11, SW1_CS11, SW2_CS11}, + {0, SW3_CS12, SW1_CS12, SW2_CS12}, + {0, SW3_CS13, SW1_CS13, SW2_CS13}, + {0, SW3_CS14, SW1_CS14, SW2_CS14}, + {0, SW3_CS15, SW1_CS15, SW2_CS15}, + {0, SW3_CS16, SW1_CS16, SW2_CS16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, SW6_CS1, SW4_CS1, SW5_CS1}, + {0, SW6_CS2, SW4_CS2, SW5_CS2}, + {0, SW6_CS3, SW4_CS3, SW5_CS3}, + {0, SW6_CS4, SW4_CS4, SW5_CS4}, + {0, SW6_CS5, SW4_CS5, SW5_CS5}, + {0, SW6_CS6, SW4_CS6, SW5_CS6}, + {0, SW6_CS7, SW4_CS7, SW5_CS7}, + {0, SW6_CS8, SW4_CS8, SW5_CS8}, + {0, SW6_CS9, SW4_CS9, SW5_CS9}, + {0, SW6_CS10, SW4_CS10, SW5_CS10}, + {0, SW6_CS11, SW4_CS11, SW5_CS11}, + {0, SW6_CS12, SW4_CS12, SW5_CS12}, + {0, SW6_CS13, SW4_CS13, SW5_CS13}, + {0, SW6_CS14, SW4_CS14, SW5_CS14}, + {0, SW6_CS16, SW4_CS16, SW5_CS16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_16, G_16, H_16}, + {0, SW9_CS1, SW7_CS1, SW8_CS1}, + {0, SW9_CS2, SW7_CS2, SW8_CS2}, + {0, SW9_CS3, SW7_CS3, SW8_CS3}, + {0, SW9_CS4, SW7_CS4, SW8_CS4}, + {0, SW9_CS5, SW7_CS5, SW8_CS5}, + {0, SW9_CS6, SW7_CS6, SW8_CS6}, + {0, SW9_CS7, SW7_CS7, SW8_CS7}, + {0, SW9_CS8, SW7_CS8, SW8_CS8}, + {0, SW9_CS9, SW7_CS9, SW8_CS9}, + {0, SW9_CS10, SW7_CS10, SW8_CS10}, + {0, SW9_CS11, SW7_CS11, SW8_CS11}, + {0, SW9_CS12, SW7_CS12, SW8_CS12}, + {0, SW9_CS13, SW7_CS13, SW8_CS13}, + {0, SW9_CS16, SW7_CS16, SW8_CS16}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, - {0, I_14, G_14, H_14}, - {0, L_16, J_16, K_16}, + {0, SW12_CS1, SW10_CS1, SW11_CS1}, + {0, SW12_CS2, SW10_CS2, SW11_CS2}, + {0, SW12_CS3, SW10_CS3, SW11_CS3}, + {0, SW12_CS4, SW10_CS4, SW11_CS4}, + {0, SW12_CS5, SW10_CS5, SW11_CS5}, + {0, SW12_CS6, SW10_CS6, SW11_CS6}, + {0, SW12_CS7, SW10_CS7, SW11_CS7}, + {0, SW12_CS8, SW10_CS8, SW11_CS8}, + {0, SW12_CS9, SW10_CS9, SW11_CS9}, + {0, SW12_CS10, SW10_CS10, SW11_CS10}, + {0, SW12_CS11, SW10_CS11, SW11_CS11}, + {0, SW12_CS12, SW10_CS12, SW11_CS12}, + {0, SW12_CS14, SW10_CS14, SW11_CS14}, + {0, SW9_CS14, SW7_CS14, SW8_CS14}, + {0, SW12_CS16, SW10_CS16, SW11_CS16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, SW3_CS1, SW1_CS1, SW2_CS1}, + {1, SW3_CS2, SW1_CS2, SW2_CS2}, + {1, SW3_CS3, SW1_CS3, SW2_CS3}, + {1, SW3_CS4, SW1_CS4, SW2_CS4}, + {1, SW3_CS5, SW1_CS5, SW2_CS5}, + {1, SW3_CS6, SW1_CS6, SW2_CS6}, + {1, SW3_CS7, SW1_CS7, SW2_CS7}, + {1, SW3_CS8, SW1_CS8, SW2_CS8}, + {1, SW3_CS9, SW1_CS9, SW2_CS9}, + {1, SW3_CS10, SW1_CS10, SW2_CS10}, + {1, SW3_CS11, SW1_CS11, SW2_CS11}, + {1, SW3_CS12, SW1_CS12, SW2_CS12}, + {1, SW3_CS14, SW1_CS14, SW2_CS14}, + {1, SW3_CS15, SW1_CS15, SW2_CS15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, SW6_CS1, SW4_CS1, SW5_CS1}, + {1, SW6_CS2, SW4_CS2, SW5_CS2}, + {1, SW6_CS3, SW4_CS3, SW5_CS3}, + {1, SW6_CS7, SW4_CS7, SW5_CS7}, + {1, SW6_CS11, SW4_CS11, SW5_CS11}, + {1, SW6_CS12, SW4_CS12, SW5_CS12}, + {1, SW6_CS13, SW4_CS13, SW5_CS13}, + {1, SW6_CS14, SW4_CS14, SW5_CS14}, + {1, SW6_CS15, SW4_CS15, SW5_CS15}, + {1, SW6_CS16, SW4_CS16, SW5_CS16} }; #define __ NO_LED diff --git a/keyboards/keychron/q1v1/iso_encoder/iso_encoder.c b/keyboards/keychron/q1v1/iso_encoder/iso_encoder.c index e46a17cdc63..e1c535b3182 100644 --- a/keyboards/keychron/q1v1/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q1v1/iso_encoder/iso_encoder.c @@ -25,94 +25,94 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, SW3_CS1, SW1_CS1, SW2_CS1}, + {0, SW3_CS3, SW1_CS3, SW2_CS3}, + {0, SW3_CS4, SW1_CS4, SW2_CS4}, + {0, SW3_CS5, SW1_CS5, SW2_CS5}, + {0, SW3_CS6, SW1_CS6, SW2_CS6}, + {0, SW3_CS7, SW1_CS7, SW2_CS7}, + {0, SW3_CS8, SW1_CS8, SW2_CS8}, + {0, SW3_CS9, SW1_CS9, SW2_CS9}, + {0, SW3_CS10, SW1_CS10, SW2_CS10}, + {0, SW3_CS11, SW1_CS11, SW2_CS11}, + {0, SW3_CS12, SW1_CS12, SW2_CS12}, + {0, SW3_CS13, SW1_CS13, SW2_CS13}, + {0, SW3_CS14, SW1_CS14, SW2_CS14}, + {0, SW3_CS15, SW1_CS15, SW2_CS15}, + {0, SW3_CS16, SW1_CS16, SW2_CS16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, SW6_CS1, SW4_CS1, SW5_CS1}, + {0, SW6_CS2, SW4_CS2, SW5_CS2}, + {0, SW6_CS3, SW4_CS3, SW5_CS3}, + {0, SW6_CS4, SW4_CS4, SW5_CS4}, + {0, SW6_CS5, SW4_CS5, SW5_CS5}, + {0, SW6_CS6, SW4_CS6, SW5_CS6}, + {0, SW6_CS7, SW4_CS7, SW5_CS7}, + {0, SW6_CS8, SW4_CS8, SW5_CS8}, + {0, SW6_CS9, SW4_CS9, SW5_CS9}, + {0, SW6_CS10, SW4_CS10, SW5_CS10}, + {0, SW6_CS11, SW4_CS11, SW5_CS11}, + {0, SW6_CS12, SW4_CS12, SW5_CS12}, + {0, SW6_CS13, SW4_CS13, SW5_CS13}, + {0, SW6_CS14, SW4_CS14, SW5_CS14}, + {0, SW6_CS16, SW4_CS16, SW5_CS16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_16, G_16, H_16}, + {0, SW9_CS1, SW7_CS1, SW8_CS1}, + {0, SW9_CS2, SW7_CS2, SW8_CS2}, + {0, SW9_CS3, SW7_CS3, SW8_CS3}, + {0, SW9_CS4, SW7_CS4, SW8_CS4}, + {0, SW9_CS5, SW7_CS5, SW8_CS5}, + {0, SW9_CS6, SW7_CS6, SW8_CS6}, + {0, SW9_CS7, SW7_CS7, SW8_CS7}, + {0, SW9_CS8, SW7_CS8, SW8_CS8}, + {0, SW9_CS9, SW7_CS9, SW8_CS9}, + {0, SW9_CS10, SW7_CS10, SW8_CS10}, + {0, SW9_CS11, SW7_CS11, SW8_CS11}, + {0, SW9_CS12, SW7_CS12, SW8_CS12}, + {0, SW9_CS13, SW7_CS13, SW8_CS13}, + {0, SW9_CS16, SW7_CS16, SW8_CS16}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, - {0, I_14, G_14, H_14}, - {0, L_16, J_16, K_16}, + {0, SW12_CS1, SW10_CS1, SW11_CS1}, + {0, SW12_CS2, SW10_CS2, SW11_CS2}, + {0, SW12_CS3, SW10_CS3, SW11_CS3}, + {0, SW12_CS4, SW10_CS4, SW11_CS4}, + {0, SW12_CS5, SW10_CS5, SW11_CS5}, + {0, SW12_CS6, SW10_CS6, SW11_CS6}, + {0, SW12_CS7, SW10_CS7, SW11_CS7}, + {0, SW12_CS8, SW10_CS8, SW11_CS8}, + {0, SW12_CS9, SW10_CS9, SW11_CS9}, + {0, SW12_CS10, SW10_CS10, SW11_CS10}, + {0, SW12_CS11, SW10_CS11, SW11_CS11}, + {0, SW12_CS12, SW10_CS12, SW11_CS12}, + {0, SW12_CS14, SW10_CS14, SW11_CS14}, + {0, SW9_CS14, SW7_CS14, SW8_CS14}, + {0, SW12_CS16, SW10_CS16, SW11_CS16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, SW3_CS1, SW1_CS1, SW2_CS1}, + {1, SW3_CS2, SW1_CS2, SW2_CS2}, + {1, SW3_CS3, SW1_CS3, SW2_CS3}, + {1, SW3_CS4, SW1_CS4, SW2_CS4}, + {1, SW3_CS5, SW1_CS5, SW2_CS5}, + {1, SW3_CS6, SW1_CS6, SW2_CS6}, + {1, SW3_CS7, SW1_CS7, SW2_CS7}, + {1, SW3_CS8, SW1_CS8, SW2_CS8}, + {1, SW3_CS9, SW1_CS9, SW2_CS9}, + {1, SW3_CS10, SW1_CS10, SW2_CS10}, + {1, SW3_CS11, SW1_CS11, SW2_CS11}, + {1, SW3_CS12, SW1_CS12, SW2_CS12}, + {1, SW3_CS14, SW1_CS14, SW2_CS14}, + {1, SW3_CS15, SW1_CS15, SW2_CS15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, SW6_CS1, SW4_CS1, SW5_CS1}, + {1, SW6_CS2, SW4_CS2, SW5_CS2}, + {1, SW6_CS3, SW4_CS3, SW5_CS3}, + {1, SW6_CS7, SW4_CS7, SW5_CS7}, + {1, SW6_CS11, SW4_CS11, SW5_CS11}, + {1, SW6_CS12, SW4_CS12, SW5_CS12}, + {1, SW6_CS13, SW4_CS13, SW5_CS13}, + {1, SW6_CS14, SW4_CS14, SW5_CS14}, + {1, SW6_CS15, SW4_CS15, SW5_CS15}, + {1, SW6_CS16, SW4_CS16, SW5_CS16} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q1v2/ansi/ansi.c b/keyboards/keychron/q1v2/ansi/ansi.c index a25b597b036..a0ff08aa483 100644 --- a/keyboards/keychron/q1v2/ansi/ansi.c +++ b/keyboards/keychron/q1v2/ansi/ansi.c @@ -25,93 +25,93 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #endif diff --git a/keyboards/keychron/q1v2/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q1v2/ansi_encoder/ansi_encoder.c index a25b597b036..a0ff08aa483 100644 --- a/keyboards/keychron/q1v2/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q1v2/ansi_encoder/ansi_encoder.c @@ -25,93 +25,93 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #endif diff --git a/keyboards/keychron/q1v2/iso/iso.c b/keyboards/keychron/q1v2/iso/iso.c index 53cdea506f1..eba47a51bed 100644 --- a/keyboards/keychron/q1v2/iso/iso.c +++ b/keyboards/keychron/q1v2/iso/iso.c @@ -25,94 +25,94 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #endif diff --git a/keyboards/keychron/q1v2/iso_encoder/iso_encoder.c b/keyboards/keychron/q1v2/iso_encoder/iso_encoder.c index 53cdea506f1..eba47a51bed 100644 --- a/keyboards/keychron/q1v2/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q1v2/iso_encoder/iso_encoder.c @@ -25,94 +25,94 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #endif diff --git a/keyboards/keychron/q1v2/jis/jis.c b/keyboards/keychron/q1v2/jis/jis.c index d43d64dd826..5ba663de460 100644 --- a/keyboards/keychron/q1v2/jis/jis.c +++ b/keyboards/keychron/q1v2/jis/jis.c @@ -25,97 +25,97 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_7, A_7, B_7}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #endif diff --git a/keyboards/keychron/q1v2/jis_encoder/jis_encoder.c b/keyboards/keychron/q1v2/jis_encoder/jis_encoder.c index d43d64dd826..5ba663de460 100644 --- a/keyboards/keychron/q1v2/jis_encoder/jis_encoder.c +++ b/keyboards/keychron/q1v2/jis_encoder/jis_encoder.c @@ -25,97 +25,97 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_7, A_7, B_7}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #endif diff --git a/keyboards/keychron/q2/ansi/ansi.c b/keyboards/keychron/q2/ansi/ansi.c index 64abe016a6f..f26fa9c697b 100644 --- a/keyboards/keychron/q2/ansi/ansi.c +++ b/keyboards/keychron/q2/ansi/ansi.c @@ -24,77 +24,77 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q2/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q2/ansi_encoder/ansi_encoder.c index 64abe016a6f..f26fa9c697b 100644 --- a/keyboards/keychron/q2/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q2/ansi_encoder/ansi_encoder.c @@ -24,77 +24,77 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q2/iso/iso.c b/keyboards/keychron/q2/iso/iso.c index 7da02c4a797..a54ec4d718b 100644 --- a/keyboards/keychron/q2/iso/iso.c +++ b/keyboards/keychron/q2/iso/iso.c @@ -24,78 +24,78 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q2/iso_encoder/iso_encoder.c b/keyboards/keychron/q2/iso_encoder/iso_encoder.c index 7da02c4a797..a54ec4d718b 100644 --- a/keyboards/keychron/q2/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q2/iso_encoder/iso_encoder.c @@ -24,78 +24,78 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q2/jis/jis.c b/keyboards/keychron/q2/jis/jis.c index b8d36be505e..b46ee106017 100644 --- a/keyboards/keychron/q2/jis/jis.c +++ b/keyboards/keychron/q2/jis/jis.c @@ -25,81 +25,81 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q2/jis_encoder/jis_encoder.c b/keyboards/keychron/q2/jis_encoder/jis_encoder.c index b8d36be505e..b46ee106017 100644 --- a/keyboards/keychron/q2/jis_encoder/jis_encoder.c +++ b/keyboards/keychron/q2/jis_encoder/jis_encoder.c @@ -25,81 +25,81 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q3/ansi/ansi.c b/keyboards/keychron/q3/ansi/ansi.c index a2793b040c6..f14e9f28cef 100644 --- a/keyboards/keychron/q3/ansi/ansi.c +++ b/keyboards/keychron/q3/ansi/ansi.c @@ -25,98 +25,98 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q3/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q3/ansi_encoder/ansi_encoder.c index 3b88a83d381..ac6c3757771 100644 --- a/keyboards/keychron/q3/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q3/ansi_encoder/ansi_encoder.c @@ -25,98 +25,98 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q3/iso/iso.c b/keyboards/keychron/q3/iso/iso.c index 37f418e66b4..6a942028d51 100644 --- a/keyboards/keychron/q3/iso/iso.c +++ b/keyboards/keychron/q3/iso/iso.c @@ -25,99 +25,99 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q3/iso_encoder/iso_encoder.c b/keyboards/keychron/q3/iso_encoder/iso_encoder.c index 37f418e66b4..6a942028d51 100644 --- a/keyboards/keychron/q3/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q3/iso_encoder/iso_encoder.c @@ -25,99 +25,99 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q3/jis/jis.c b/keyboards/keychron/q3/jis/jis.c index 0fc70b1af3d..3c51076020c 100644 --- a/keyboards/keychron/q3/jis/jis.c +++ b/keyboards/keychron/q3/jis/jis.c @@ -25,102 +25,102 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, // ESC - {0, I_2, G_2, H_2}, // F1 - {0, I_3, G_3, H_3}, // F2 - {0, I_4, G_4, H_4}, // F3 - {0, I_5, G_5, H_5}, // F4 - {0, I_6, G_6, H_6}, // F5 - {0, I_7, G_7, H_7}, // F6 - {0, I_8, G_8, H_8}, // F7 - {0, I_9, G_9, H_9}, // F8 - {0, I_10, G_10, H_10}, // F9 - {0, I_11, G_11, H_11}, // F10 - {0, I_12, G_12, H_12}, // F11 - {0, I_13, G_13, H_13}, // F12 - {0, I_15, G_15, H_15}, // Print - {0, I_16, G_16, H_16}, // Cortana - {1, I_15, G_15, H_15}, // Light + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // ESC + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // F1 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // F2 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // F3 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // F4 + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // F5 + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // F6 + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // F7 + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // F8 + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // F9 + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // F10 + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // F11 + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // F12 + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // Print + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // Cortana + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Light - {0, C_1, A_1, B_1}, // `~ - {0, C_2, A_2, B_2}, // 1! - {0, C_3, A_3, B_3}, // 2@ - {0, C_4, A_4, B_4}, // 3# - {0, C_5, A_5, B_5}, // 4$ - {0, C_6, A_6, B_6}, // 5% - {0, C_7, A_7, B_7}, // 6^ - {0, C_8, A_8, B_8}, // 7& - {0, C_9, A_9, B_9}, // 8* - {0, C_10, A_10, B_10}, // 9() - {0, C_11, A_11, B_11}, // 0) - {0, C_12, A_12, B_12}, // -_ - {0, C_13, A_13, B_13}, // =+ - {0, I_13, G_13, H_13}, // | - {0, I_14, G_14, H_14}, // Backspace - {0, C_15, A_15, B_15}, // Ins - {0, C_16, A_16, B_16}, // Home - {1, I_16, G_16, H_16}, // Page Up + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // `~ + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // 1! + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // 2@ + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // 3# + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 4$ + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 5% + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 6^ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 7& + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 8* + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 9() + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 0) + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // -_ + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // =+ + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // | + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // Backspace + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // Ins + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // Home + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // Page Up - {0, F_1, D_1, E_1}, // tab - {0, F_2, D_2, E_2}, // Q - {0, F_3, D_3, E_3}, // W - {0, F_4, D_4, E_4}, // E - {0, F_5, D_5, E_5}, // R - {0, F_6, D_6, E_6}, // T - {0, F_7, D_7, E_7}, // Y - {0, F_8, D_8, E_8}, // U - {0, F_9, D_9, E_9}, // I - {0, F_10, D_10, E_10}, // O - {0, F_11, D_11, E_11}, // P - {0, F_12, D_12, E_12}, // [{ - {0, F_14, D_14, E_14}, // }} - {0, F_15, D_15, E_15}, // Del - {0, F_16, D_16, E_16}, // End - {1, I_13, G_13, H_13}, // Page Down + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // tab + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // Q + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // W + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // E + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // R + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // T + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // Y + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // U + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // I + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // O + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // P + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // [{ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // }} + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // Del + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // End + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Page Down - {1, I_1, G_1, H_1}, // Cpas - {1, I_2, G_2, H_2}, // A - {1, I_3, G_3, H_3}, // S - {1, I_4, G_4, H_4}, // D - {1, I_5, G_5, H_5}, // F - {1, I_6, G_6, H_6}, // G - {1, I_7, G_7, H_7}, // H - {1, I_8, G_8, H_8}, // J - {1, I_9, G_9, H_9}, // K - {1, I_10, G_10, H_10}, // L - {1, I_11, G_11, H_11}, // ; - {1, I_12, G_12, H_12}, // : - {1, I_14, G_14, H_14}, // #~ - {0, F_13, D_13, E_13}, // Enter + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Cpas + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // A + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // S + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // D + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // F + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // G + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // H + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // J + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // K + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // L + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // ; + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // : + {1, CB9_CA14, CB7_CA14, CB8_CA14}, // #~ + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // Enter - {1, C_1, A_1, B_1}, // LShift - {1, C_3, A_3, B_3}, // Z - {1, C_4, A_4, B_4}, // X - {1, C_5, A_5, B_5}, // C - {1, C_6, A_6, B_6}, // V - {1, C_7, A_7, B_7}, // B - {1, C_8, A_8, B_8}, // N - {1, C_9, A_9, B_9}, // M - {1, C_10, A_10, B_10}, // ,< - {1, C_11, A_11, B_11}, // .> - {1, C_12, A_12, B_12}, // /? - {1, C_13, A_13, B_13}, // | - {1, C_14, A_14, B_14}, // RShift - {1, C_16, A_16, B_16}, // Up + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // LShift + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // Z + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // X + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // C + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // V + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // B + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // N + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // M + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // ,< + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // .> + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // /? + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // | + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // RShift + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // Up - {1, F_1, D_1, E_1}, // LCtrl - {1, F_2, D_2, E_2}, // LWin - {1, F_3, D_3, E_3}, // LAlt - {1, F_4, D_4, E_4}, // NUm - {1, F_7, D_7, E_7}, // Space - {1, F_10, D_10, E_10}, // Jap - {1, F_11, D_11, E_11}, // RAlt - {1, F_12, D_12, E_12}, // RWin - {1, F_13, D_13, E_13}, // Fn - {1, F_14, D_14, E_14}, // RCtrl - {1, F_15, D_15, E_15}, // Left - {1, F_16, D_16, E_16}, // Down - {1, C_15, A_15, B_15}, // Right + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // LCtrl + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // LWin + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // LAlt + {1, CB6_CA4, CB4_CA4, CB5_CA4}, // NUm + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Space + {1, CB6_CA10, CB4_CA10, CB5_CA10}, // Jap + {1, CB6_CA11, CB4_CA11, CB5_CA11}, // RAlt + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // RWin + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Fn + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // RCtrl + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Left + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // Down + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // Right }; #endif // GB_MATRIX_ENABLE diff --git a/keyboards/keychron/q3/jis_encoder/jis_encoder.c b/keyboards/keychron/q3/jis_encoder/jis_encoder.c index df4a6a467b6..aa34222bf39 100644 --- a/keyboards/keychron/q3/jis_encoder/jis_encoder.c +++ b/keyboards/keychron/q3/jis_encoder/jis_encoder.c @@ -25,103 +25,103 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, // ESC - {0, I_2, G_2, H_2}, // F1 - {0, I_3, G_3, H_3}, // F2 - {0, I_4, G_4, H_4}, // F3 - {0, I_5, G_5, H_5}, // F4 - {0, I_6, G_6, H_6}, // F5 - {0, I_7, G_7, H_7}, // F6 - {0, I_8, G_8, H_8}, // F7 - {0, I_9, G_9, H_9}, // F8 - {0, I_10, G_10, H_10}, // F9 - {0, I_11, G_11, H_11}, // F10 - {0, I_12, G_12, H_12}, // F11 - {0, I_13, G_13, H_13}, // F12 - {0, I_14, G_14, H_14}, // Mute - {0, I_15, G_15, H_15}, // Print - {0, I_16, G_16, H_16}, // Cortana - {1, I_15, G_15, H_15}, // Light + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // ESC + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // F1 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // F2 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // F3 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // F4 + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // F5 + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // F6 + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // F7 + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // F8 + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // F9 + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // F10 + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // F11 + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // F12 + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // Mute + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // Print + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // Cortana + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Light - {0, C_1, A_1, B_1}, // `~ - {0, C_2, A_2, B_2}, // 1! - {0, C_3, A_3, B_3}, // 2@ - {0, C_4, A_4, B_4}, // 3# - {0, C_5, A_5, B_5}, // 4$ - {0, C_6, A_6, B_6}, // 5% - {0, C_7, A_7, B_7}, // 6^ - {0, C_8, A_8, B_8}, // 7& - {0, C_9, A_9, B_9}, // 8* - {0, C_10, A_10, B_10}, // 9() - {0, C_11, A_11, B_11}, // 0) - {0, C_12, A_12, B_12}, // -_ - {0, C_13, A_13, B_13}, // =+ - {0, C_14, A_14, B_14}, // | - {1, F_6, D_6, E_6}, // Backspace - {0, C_15, A_15, B_15}, // Ins - {0, C_16, A_16, B_16}, // Home - {1, I_16, G_16, H_16}, // Page Up + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // `~ + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // 1! + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // 2@ + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // 3# + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 4$ + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 5% + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 6^ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 7& + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 8* + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 9() + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 0) + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // -_ + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // =+ + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // | + {1, CB6_CA6, CB4_CA6, CB5_CA6}, // Backspace + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // Ins + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // Home + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // Page Up - {0, F_1, D_1, E_1}, // tab - {0, F_2, D_2, E_2}, // Q - {0, F_3, D_3, E_3}, // W - {0, F_4, D_4, E_4}, // E - {0, F_5, D_5, E_5}, // R - {0, F_6, D_6, E_6}, // T - {0, F_7, D_7, E_7}, // Y - {0, F_8, D_8, E_8}, // U - {0, F_9, D_9, E_9}, // I - {0, F_10, D_10, E_10}, // O - {0, F_11, D_11, E_11}, // P - {0, F_12, D_12, E_12}, // [{ - {0, F_13, D_13, E_13}, // }} - {0, F_15, D_15, E_15}, // Del - {0, F_16, D_16, E_16}, // End - {1, I_13, G_13, H_13}, // Page Down + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // tab + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // Q + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // W + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // E + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // R + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // T + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // Y + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // U + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // I + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // O + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // P + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // [{ + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // }} + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // Del + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // End + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Page Down - {1, I_1, G_1, H_1}, // Cpas - {1, I_2, G_2, H_2}, // A - {1, I_3, G_3, H_3}, // S - {1, I_4, G_4, H_4}, // D - {1, I_5, G_5, H_5}, // F - {1, I_6, G_6, H_6}, // G - {1, I_7, G_7, H_7}, // H - {1, I_8, G_8, H_8}, // J - {1, I_9, G_9, H_9}, // K - {1, I_10, G_10, H_10}, // L - {1, I_11, G_11, H_11}, // ; - {1, I_12, G_12, H_12}, // : - {1, I_14, G_14, H_14}, // #~ - {0, F_14, D_14, E_14}, // Enter + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Cpas + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // A + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // S + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // D + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // F + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // G + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // H + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // J + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // K + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // L + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // ; + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // : + {1, CB9_CA14, CB7_CA14, CB8_CA14}, // #~ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // Enter - {1, C_1, A_1, B_1}, // LShift - {1, C_3, A_3, B_3}, // Z - {1, C_4, A_4, B_4}, // X - {1, C_5, A_5, B_5}, // C - {1, C_6, A_6, B_6}, // V - {1, C_7, A_7, B_7}, // B - {1, C_8, A_8, B_8}, // N - {1, C_9, A_9, B_9}, // M - {1, C_10, A_10, B_10}, // ,< - {1, C_11, A_11, B_11}, // .> - {1, C_12, A_12, B_12}, // /? - {1, C_13, A_13, B_13}, // | - {1, C_14, A_14, B_14}, // RShift - {1, C_16, A_16, B_16}, // Up + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // LShift + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // Z + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // X + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // C + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // V + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // B + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // N + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // M + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // ,< + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // .> + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // /? + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // | + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // RShift + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // Up - {1, F_1, D_1, E_1}, // LCtrl - {1, F_2, D_2, E_2}, // LWin - {1, F_3, D_3, E_3}, // LAlt - {1, F_4, D_4, E_4}, // NUm - {1, F_7, D_7, E_7}, // Space - {1, F_10, D_10, E_10}, // Jap - {1, F_11, D_11, E_11}, // RAlt - {1, F_12, D_12, E_12}, // RWin - {1, F_13, D_13, E_13}, // Fn - {1, F_14, D_14, E_14}, // RCtrl - {1, F_15, D_15, E_15}, // Left - {1, F_16, D_16, E_16}, // Down - {1, C_15, A_15, B_15}, // Right + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // LCtrl + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // LWin + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // LAlt + {1, CB6_CA4, CB4_CA4, CB5_CA4}, // NUm + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Space + {1, CB6_CA10, CB4_CA10, CB5_CA10}, // Jap + {1, CB6_CA11, CB4_CA11, CB5_CA11}, // RAlt + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // RWin + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Fn + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // RCtrl + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Left + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // Down + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // Right }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q4/ansi/v1/v1.c b/keyboards/keychron/q4/ansi/v1/v1.c index f9e2946bb3e..ee5551fbb8b 100644 --- a/keyboards/keychron/q4/ansi/v1/v1.c +++ b/keyboards/keychron/q4/ansi/v1/v1.c @@ -25,71 +25,71 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, }; #endif diff --git a/keyboards/keychron/q4/ansi/v2/v2.c b/keyboards/keychron/q4/ansi/v2/v2.c index f7564c02a1a..1a0e2711f3e 100644 --- a/keyboards/keychron/q4/ansi/v2/v2.c +++ b/keyboards/keychron/q4/ansi/v2/v2.c @@ -25,71 +25,71 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, + {0, CB12_CA1, CB10_CA1, CB11_CA1}, + {0, CB12_CA2, CB10_CA2, CB11_CA2}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_14, A_14, B_14}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, }; #endif diff --git a/keyboards/keychron/q4/iso/iso.c b/keyboards/keychron/q4/iso/iso.c index c30f06c6bd9..7f796238f5e 100644 --- a/keyboards/keychron/q4/iso/iso.c +++ b/keyboards/keychron/q4/iso/iso.c @@ -25,72 +25,72 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, - {0, I_14, G_14, H_14}, + {0, CB12_CA1, CB10_CA1, CB11_CA1}, + {0, CB12_CA2, CB10_CA2, CB11_CA2}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_14, A_14, B_14}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, }; #endif diff --git a/keyboards/keychron/q5/ansi/ansi.c b/keyboards/keychron/q5/ansi/ansi.c index 1b74c0eef90..bc6622dd7f6 100644 --- a/keyboards/keychron/q5/ansi/ansi.c +++ b/keyboards/keychron/q5/ansi/ansi.c @@ -25,111 +25,111 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q5/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q5/ansi_encoder/ansi_encoder.c index 646deb11153..760fdcbc97b 100644 --- a/keyboards/keychron/q5/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q5/ansi_encoder/ansi_encoder.c @@ -27,111 +27,111 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - // {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - // {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + // {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + // {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q5/iso/iso.c b/keyboards/keychron/q5/iso/iso.c index e5a6399f7a2..e08df9ab65e 100644 --- a/keyboards/keychron/q5/iso/iso.c +++ b/keyboards/keychron/q5/iso/iso.c @@ -27,112 +27,112 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q5/iso_encoder/iso_encoder.c b/keyboards/keychron/q5/iso_encoder/iso_encoder.c index 887931c0543..e0505e6fb9a 100644 --- a/keyboards/keychron/q5/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q5/iso_encoder/iso_encoder.c @@ -27,110 +27,110 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, // `~ - {0, C_2, A_2, B_2}, // 1! - {0, C_3, A_3, B_3}, // 2@ - {0, C_4, A_4, B_4}, // 3# - {0, C_5, A_5, B_5}, // 4$ - {0, C_6, A_6, B_6}, // 5% - {0, C_7, A_7, B_7}, // 6^ - {0, C_8, A_8, B_8}, // 7& - {0, C_9, A_9, B_9}, // 8* - {0, C_10, A_10, B_10}, // 9( - {0, C_11, A_11, B_11}, // 0) - {0, C_12, A_12, B_12}, // -_ - {0, C_13, A_13, B_13}, // =+ - {0, C_14, A_14, B_14}, // BackSpace - {0, C_16, A_16, B_16}, // Numlock - {0, L_9, J_9, K_9}, // / - {0, L_10, J_10, K_10}, // * - {0, L_11, J_11, K_11}, // - + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // `~ + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // 1! + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // 2@ + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // 3# + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 4$ + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 5% + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 6^ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 7& + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 8* + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 9( + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 0) + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // -_ + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // =+ + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // BackSpace + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // Numlock + {0, CB12_CA9, CB10_CA9, CB11_CA9}, // / + {0, CB12_CA10, CB10_CA10, CB11_CA10}, // * + {0, CB12_CA11, CB10_CA11, CB11_CA11}, // - - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q6/ansi/ansi.c b/keyboards/keychron/q6/ansi/ansi.c index b9f249e281e..62a22971e11 100644 --- a/keyboards/keychron/q6/ansi/ansi.c +++ b/keyboards/keychron/q6/ansi/ansi.c @@ -27,119 +27,119 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/q6/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q6/ansi_encoder/ansi_encoder.c index 40643290992..b3d8a6bd4ca 100644 --- a/keyboards/keychron/q6/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q6/ansi_encoder/ansi_encoder.c @@ -27,119 +27,119 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/q6/iso/iso.c b/keyboards/keychron/q6/iso/iso.c index 8cdee4cf3b2..eb6cab855ac 100644 --- a/keyboards/keychron/q6/iso/iso.c +++ b/keyboards/keychron/q6/iso/iso.c @@ -27,120 +27,120 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/q6/iso_encoder/iso_encoder.c b/keyboards/keychron/q6/iso_encoder/iso_encoder.c index 5ff71379c97..439e1cee50b 100644 --- a/keyboards/keychron/q6/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q6/iso_encoder/iso_encoder.c @@ -27,120 +27,120 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/q60/ansi/ansi.c b/keyboards/keychron/q60/ansi/ansi.c index f02d45b42ae..8b702eb5a60 100644 --- a/keyboards/keychron/q60/ansi/ansi.c +++ b/keyboards/keychron/q60/ansi/ansi.c @@ -27,70 +27,70 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, + {0, CB12_CA1, CB10_CA1, CB11_CA1}, + {0, CB12_CA2, CB10_CA2, CB11_CA2}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_16, J_16, K_16}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/q65/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q65/ansi_encoder/ansi_encoder.c index 3ed44a73873..6c4c2abe21d 100644 --- a/keyboards/keychron/q65/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q65/ansi_encoder/ansi_encoder.c @@ -25,82 +25,82 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_15, A_15, B_15}, // Esc - {0, C_14, A_14, B_14}, // 1! - {0, C_13, A_13, B_13}, // 2@ - {0, C_12, A_12, B_12}, // 3# - {0, C_11, A_11, B_11}, // 4$ - {0, C_10, A_10, B_10}, // 5% - {0, C_9, A_9, B_9}, // 6^ - {0, C_8, A_8, B_8}, // 7& - {0, C_7, A_7, B_7}, // 8* - {0, C_6, A_6, B_6}, // 9( - {0, C_5, A_5, B_5}, // 0) - {0, C_4, A_4, B_4}, // -_ - {0, C_3, A_3, B_3}, // =+ - {0, C_2, A_2, B_2}, // BackSpace - {0, C_1, A_1, B_1}, // Delete + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // Esc + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // 1! + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // 2@ + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // 3# + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 4$ + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 5% + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 6^ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 7& + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 8* + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 9( + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 0) + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // -_ + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // =+ + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // BackSpace + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // Delete - {0, F_16, D_16, E_16}, // Macro2 - {0, F_15, D_15, E_15}, // Tab - {0, F_14, D_14, E_14}, // Q - {0, F_13, D_13, E_13}, // W - {0, F_12, D_12, E_12}, // E - {0, F_11, D_11, E_11}, // R - {0, F_10, D_10, E_10}, // T - {0, F_9, D_9, E_9}, // Y - {0, F_8, D_8, E_8}, // U - {0, F_7, D_7, E_7}, // I - {0, F_6, D_6, E_6}, // O - {0, F_5, D_5, E_5}, // P - {0, F_4, D_4, E_4}, // [{ - {0, F_3, D_3, E_3}, // ]} - {0, F_2, D_2, E_2}, // | - {0, F_1, D_1, E_1}, // PageUp + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // Macro2 + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // Tab + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // Q + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // W + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // E + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // R + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // T + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // Y + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // U + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // I + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // O + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // P + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // [{ + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // ]} + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // | + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // PageUp - {1, C_16, A_16, B_16}, // Macro3 - {1, C_15, A_15, B_15}, // CapsLock - {1, C_14, A_14, B_14}, // A - {1, C_13, A_13, B_13}, // S - {1, C_12, A_12, B_12}, // D - {1, C_11, A_11, B_11}, // F - {1, C_10, A_10, B_10}, // G - {1, C_9, A_9, B_9}, // H - {1, C_8, A_8, B_8}, // J - {1, C_7, A_7, B_7}, // K - {1, C_6, A_6, B_6}, // L - {1, C_5, A_5, B_5}, // ;: - {1, C_4, A_4, B_4}, // '" - {1, C_2, A_2, B_2}, // Enter - {1, C_1, A_1, B_1}, // PageDown + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // Macro3 + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // CapsLock + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // A + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // S + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // D + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // F + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // G + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // H + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // J + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // K + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // L + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // ;: + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // '" + {1, CB3_CA2, CB1_CA2, CB2_CA2}, // Enter + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // PageDown - {1, I_16, G_16, H_16}, // Macro4 - {1, I_15, G_15, H_15}, // LeftShift - {1, I_13, G_13, H_13}, // Z - {1, I_12, G_12, H_12}, // X - {1, I_11, G_11, H_11}, // C - {1, I_10, G_10, H_10}, // V - {1, I_9, G_9, H_9}, // B - {1, I_8, G_8, H_8}, // N - {1, I_7, G_7, H_7}, // M - {1, I_6, G_6, H_6}, // ,< - {1, I_5, G_5, H_5}, // .> - {1, I_4, G_4, H_4}, // /? - {1, I_3, G_3, H_3}, // RightShift - {1, I_2, G_2, H_2}, // Up - {1, I_1, G_1, H_1}, // Home + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // Macro4 + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // LeftShift + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Z + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // X + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // C + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // V + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // B + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // N + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // M + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // ,< + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // .> + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // /? + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // RightShift + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // Up + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Home - {1, F_16, D_16, E_16}, // Macro5 - {1, F_15, D_15, E_15}, // LeftControl - {1, F_14, D_14, E_14}, // LeftOption - {1, F_13, D_13, E_13}, // LeftCommand - {1, F_9, D_9, E_9}, // Space - {1, F_6, D_6, E_6}, // RightCommand - {1, F_5, D_5, E_5}, // Fn1 - {1, F_4, D_4, E_4}, // Fn2 - {1, F_3, D_3, E_3}, // Left - {1, F_2, D_2, E_2}, // Down - {1, F_1, D_1, E_1}, // Right + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // Macro5 + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // LeftControl + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // LeftOption + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // LeftCommand + {1, CB6_CA9, CB4_CA9, CB5_CA9}, // Space + {1, CB6_CA6, CB4_CA6, CB5_CA6}, // RightCommand + {1, CB6_CA5, CB4_CA5, CB5_CA5}, // Fn1 + {1, CB6_CA4, CB4_CA4, CB5_CA4}, // Fn2 + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // Left + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // Down + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // Right }; #define __ NO_LED diff --git a/keyboards/keychron/q7/ansi/ansi.c b/keyboards/keychron/q7/ansi/ansi.c index 828028b39e1..ef21433f575 100644 --- a/keyboards/keychron/q7/ansi/ansi.c +++ b/keyboards/keychron/q7/ansi/ansi.c @@ -27,82 +27,82 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_15, G_15, H_15}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q7/iso/iso.c b/keyboards/keychron/q7/iso/iso.c index 85774429b8a..dfda79c8435 100644 --- a/keyboards/keychron/q7/iso/iso.c +++ b/keyboards/keychron/q7/iso/iso.c @@ -25,83 +25,83 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_15, G_15, H_15}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q8/ansi/ansi.c b/keyboards/keychron/q8/ansi/ansi.c index fbb68134488..e60752d7ddb 100644 --- a/keyboards/keychron/q8/ansi/ansi.c +++ b/keyboards/keychron/q8/ansi/ansi.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - // {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + // {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q8/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q8/ansi_encoder/ansi_encoder.c index fbb68134488..e60752d7ddb 100644 --- a/keyboards/keychron/q8/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q8/ansi_encoder/ansi_encoder.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - // {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + // {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q8/iso/iso.c b/keyboards/keychron/q8/iso/iso.c index aab7ab357b4..720c1eb34be 100644 --- a/keyboards/keychron/q8/iso/iso.c +++ b/keyboards/keychron/q8/iso/iso.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q8/iso_encoder/iso_encoder.c b/keyboards/keychron/q8/iso_encoder/iso_encoder.c index aab7ab357b4..720c1eb34be 100644 --- a/keyboards/keychron/q8/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q8/iso_encoder/iso_encoder.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q9/ansi/ansi.c b/keyboards/keychron/q9/ansi/ansi.c index 0034c79c789..e00c7f7e9d8 100644 --- a/keyboards/keychron/q9/ansi/ansi.c +++ b/keyboards/keychron/q9/ansi/ansi.c @@ -27,61 +27,61 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, L_16, J_16, K_16}, - {0, L_15, J_15, K_15}, - {0, L_14, J_14, K_14}, - {0, L_13, J_13, K_13}, - {0, L_12, J_12, K_12}, - {0, L_11, J_11, K_11}, - {0, L_10, J_10, K_10}, - {0, L_9, J_9, K_9}, - {0, L_8, J_8, K_8}, - {0, L_7, J_7, K_7}, - {0, L_6, J_6, K_6}, - {0, L_5, J_5, K_5}, - {0, L_4, J_4, K_4}, - {0, L_3, J_3, K_3}, - {0, L_2, J_2, K_2}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + {0, CB12_CA2, CB10_CA2, CB11_CA2}, - {0, C_16, A_16, B_16}, - {0, C_15, A_15, B_15}, - {0, C_14, A_14, B_14}, - {0, C_13, A_13, B_13}, - {0, C_12, A_12, B_12}, - {0, C_11, A_11, B_11}, - {0, C_10, A_10, B_10}, - {0, C_9, A_9, B_9}, - {0, C_8, A_8, B_8}, - {0, C_7, A_7, B_7}, - {0, C_6, A_6, B_6}, - {0, C_5, A_5, B_5}, - {0, C_3, A_3, B_3}, - {0, C_2, A_2, B_2}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, - {0, I_16, G_16, H_16}, - {0, I_14, G_14, H_14}, - {0, I_13, G_13, H_13}, - {0, I_12, G_12, H_12}, - {0, I_11, G_11, H_11}, - {0, I_10, G_10, H_10}, - {0, I_9, G_9, H_9}, - {0, I_8, G_8, H_8}, - {0, I_7, G_7, H_7}, - {0, I_6, G_6, H_6}, - {0, I_5, G_5, H_5}, - {0, I_3, G_3, H_3}, - {0, I_2, G_2, H_2}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, - {0, F_16, D_16, E_16}, - {0, F_15, D_15, E_15}, - {0, F_14, D_14, E_14}, - {0, F_10, D_10, E_10}, - {0, F_6, D_6, E_6}, - {0, F_5, D_5, E_5}, - {0, F_4, D_4, E_4}, - {0, F_3, D_3, E_3}, - {0, F_2, D_2, E_2}, - {0, C_4, A_4, B_4} + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB3_CA4, CB1_CA4, CB2_CA4} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q9/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q9/ansi_encoder/ansi_encoder.c index 0034c79c789..e00c7f7e9d8 100644 --- a/keyboards/keychron/q9/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q9/ansi_encoder/ansi_encoder.c @@ -27,61 +27,61 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, L_16, J_16, K_16}, - {0, L_15, J_15, K_15}, - {0, L_14, J_14, K_14}, - {0, L_13, J_13, K_13}, - {0, L_12, J_12, K_12}, - {0, L_11, J_11, K_11}, - {0, L_10, J_10, K_10}, - {0, L_9, J_9, K_9}, - {0, L_8, J_8, K_8}, - {0, L_7, J_7, K_7}, - {0, L_6, J_6, K_6}, - {0, L_5, J_5, K_5}, - {0, L_4, J_4, K_4}, - {0, L_3, J_3, K_3}, - {0, L_2, J_2, K_2}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + {0, CB12_CA2, CB10_CA2, CB11_CA2}, - {0, C_16, A_16, B_16}, - {0, C_15, A_15, B_15}, - {0, C_14, A_14, B_14}, - {0, C_13, A_13, B_13}, - {0, C_12, A_12, B_12}, - {0, C_11, A_11, B_11}, - {0, C_10, A_10, B_10}, - {0, C_9, A_9, B_9}, - {0, C_8, A_8, B_8}, - {0, C_7, A_7, B_7}, - {0, C_6, A_6, B_6}, - {0, C_5, A_5, B_5}, - {0, C_3, A_3, B_3}, - {0, C_2, A_2, B_2}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, - {0, I_16, G_16, H_16}, - {0, I_14, G_14, H_14}, - {0, I_13, G_13, H_13}, - {0, I_12, G_12, H_12}, - {0, I_11, G_11, H_11}, - {0, I_10, G_10, H_10}, - {0, I_9, G_9, H_9}, - {0, I_8, G_8, H_8}, - {0, I_7, G_7, H_7}, - {0, I_6, G_6, H_6}, - {0, I_5, G_5, H_5}, - {0, I_3, G_3, H_3}, - {0, I_2, G_2, H_2}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, - {0, F_16, D_16, E_16}, - {0, F_15, D_15, E_15}, - {0, F_14, D_14, E_14}, - {0, F_10, D_10, E_10}, - {0, F_6, D_6, E_6}, - {0, F_5, D_5, E_5}, - {0, F_4, D_4, E_4}, - {0, F_3, D_3, E_3}, - {0, F_2, D_2, E_2}, - {0, C_4, A_4, B_4} + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB3_CA4, CB1_CA4, CB2_CA4} }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q9/iso/iso.c b/keyboards/keychron/q9/iso/iso.c index e6a06b39098..f059b4bf58e 100644 --- a/keyboards/keychron/q9/iso/iso.c +++ b/keyboards/keychron/q9/iso/iso.c @@ -27,62 +27,62 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, L_16, J_16, K_16}, // Tab - {0, L_15, J_15, K_15}, // Q - {0, L_14, J_14, K_14}, // W - {0, L_13, J_13, K_13}, // E - {0, L_12, J_12, K_12}, // R - {0, L_11, J_11, K_11}, // T - {0, L_10, J_10, K_10}, // Y - {0, L_9, J_9, K_9}, // U - {0, L_8, J_8, K_8}, // I - {0, L_7, J_7, K_7}, // O - {0, L_6, J_6, K_6}, // P - {0, L_5, J_5, K_5}, // [ - {0, L_4, J_4, K_4}, // ] - {0, L_2, J_2, K_2}, // Del + {0, CB12_CA16, CB10_CA16, CB11_CA16}, // Tab + {0, CB12_CA15, CB10_CA15, CB11_CA15}, // Q + {0, CB12_CA14, CB10_CA14, CB11_CA14}, // W + {0, CB12_CA13, CB10_CA13, CB11_CA13}, // E + {0, CB12_CA12, CB10_CA12, CB11_CA12}, // R + {0, CB12_CA11, CB10_CA11, CB11_CA11}, // T + {0, CB12_CA10, CB10_CA10, CB11_CA10}, // Y + {0, CB12_CA9, CB10_CA9, CB11_CA9}, // U + {0, CB12_CA8, CB10_CA8, CB11_CA8}, // I + {0, CB12_CA7, CB10_CA7, CB11_CA7}, // O + {0, CB12_CA6, CB10_CA6, CB11_CA6}, // P + {0, CB12_CA5, CB10_CA5, CB11_CA5}, // [ + {0, CB12_CA4, CB10_CA4, CB11_CA4}, // ] + {0, CB12_CA2, CB10_CA2, CB11_CA2}, // Del - {0, C_16, A_16, B_16}, // CapsLock - {0, C_15, A_15, B_15}, // A - {0, C_14, A_14, B_14}, // S - {0, C_13, A_13, B_13}, // D - {0, C_12, A_12, B_12}, // F - {0, C_11, A_11, B_11}, // G - {0, C_10, A_10, B_10}, // H - {0, C_9, A_9, B_9}, // J - {0, C_8, A_8, B_8}, // K - {0, C_7, A_7, B_7}, // L - {0, C_6, A_6, B_6}, // ; - {0, C_5, A_5, B_5}, // ' - {0, C_3, A_3, B_3}, // # - {0, L_3, J_3, K_3}, // Enter - {0, C_2, A_2, B_2}, // Home + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // CapsLock + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // A + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // S + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // D + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // F + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // G + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // H + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // J + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // K + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // L + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // ; + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // ' + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // # + {0, CB12_CA3, CB10_CA3, CB11_CA3}, // Enter + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // Home - {0, I_16, G_16, H_16}, // LeftShift - {0, I_15, G_15, H_15}, // | - {0, I_14, G_14, H_14}, // Z - {0, I_13, G_13, H_13}, // X - {0, I_12, G_12, H_12}, // C - {0, I_11, G_11, H_11}, // V - {0, I_10, G_10, H_10}, // B - {0, I_9, G_9, H_9}, // N - {0, I_8, G_8, H_8}, // M - {0, I_7, G_7, H_7}, // , - {0, I_6, G_6, H_6}, // . - {0, I_5, G_5, H_5}, // ? - {0, I_3, G_3, H_3}, // RightShift - {0, I_2, G_2, H_2}, // Up + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // LeftShift + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // | + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // Z + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // X + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // C + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // V + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // B + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // N + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // M + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // , + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // . + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // ? + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // RightShift + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // Up - {0, F_16, D_16, E_16}, // LeftCtrl - {0, F_15, D_15, E_15}, // LeftWin - {0, F_14, D_14, E_14}, // LeftAlt - {0, F_10, D_10, E_10}, // Space - {0, F_6, D_6, E_6}, // RightAlt - {0, F_5, D_5, E_5}, // Fn1 - {0, F_4, D_4, E_4}, // Fn2 - {0, F_3, D_3, E_3}, // Left - {0, F_2, D_2, E_2}, // Down - {0, C_4, A_4, B_4} // Right + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // LeftCtrl + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // LeftWin + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // LeftAlt + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // Space + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // RightAlt + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // Fn1 + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // Fn2 + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // Left + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // Down + {0, CB3_CA4, CB1_CA4, CB2_CA4} // Right }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q9/iso_encoder/iso_encoder.c b/keyboards/keychron/q9/iso_encoder/iso_encoder.c index d607880eb25..1fdb4fc8cbb 100644 --- a/keyboards/keychron/q9/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q9/iso_encoder/iso_encoder.c @@ -27,62 +27,62 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, L_16, J_16, K_16}, // Tab - {0, L_15, J_15, K_15}, // Q - {0, L_14, J_14, K_14}, // W - {0, L_13, J_13, K_13}, // E - {0, L_12, J_12, K_12}, // R - {0, L_11, J_11, K_11}, // T - {0, L_10, J_10, K_10}, // Y - {0, L_9, J_9, K_9}, // U - {0, L_8, J_8, K_8}, // I - {0, L_7, J_7, K_7}, // O - {0, L_6, J_6, K_6}, // P - {0, L_5, J_5, K_5}, // [ - {0, L_4, J_4, K_4}, // ] - // {0, L_2, J_2, K_2}, // Mute + {0, CB12_CA16, CB10_CA16, CB11_CA16}, // Tab + {0, CB12_CA15, CB10_CA15, CB11_CA15}, // Q + {0, CB12_CA14, CB10_CA14, CB11_CA14}, // W + {0, CB12_CA13, CB10_CA13, CB11_CA13}, // E + {0, CB12_CA12, CB10_CA12, CB11_CA12}, // R + {0, CB12_CA11, CB10_CA11, CB11_CA11}, // T + {0, CB12_CA10, CB10_CA10, CB11_CA10}, // Y + {0, CB12_CA9, CB10_CA9, CB11_CA9}, // U + {0, CB12_CA8, CB10_CA8, CB11_CA8}, // I + {0, CB12_CA7, CB10_CA7, CB11_CA7}, // O + {0, CB12_CA6, CB10_CA6, CB11_CA6}, // P + {0, CB12_CA5, CB10_CA5, CB11_CA5}, // [ + {0, CB12_CA4, CB10_CA4, CB11_CA4}, // ] + // {0, CB12_CA2, CB10_CA2, CB11_CA2}, // Mute - {0, C_16, A_16, B_16}, // CapsLock - {0, C_15, A_15, B_15}, // A - {0, C_14, A_14, B_14}, // S - {0, C_13, A_13, B_13}, // D - {0, C_12, A_12, B_12}, // F - {0, C_11, A_11, B_11}, // G - {0, C_10, A_10, B_10}, // H - {0, C_9, A_9, B_9}, // J - {0, C_8, A_8, B_8}, // K - {0, C_7, A_7, B_7}, // L - {0, C_6, A_6, B_6}, // ; - {0, C_5, A_5, B_5}, // ' - {0, C_3, A_3, B_3}, // # - {0, L_3, J_3, K_3}, // Enter - {0, C_2, A_2, B_2}, // Home + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // CapsLock + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // A + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // S + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // D + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // F + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // G + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // H + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // J + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // K + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // L + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // ; + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // ' + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // # + {0, CB12_CA3, CB10_CA3, CB11_CA3}, // Enter + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // Home - {0, I_16, G_16, H_16}, // LeftShift - {0, I_15, G_15, H_15}, // | - {0, I_14, G_14, H_14}, // Z - {0, I_13, G_13, H_13}, // X - {0, I_12, G_12, H_12}, // C - {0, I_11, G_11, H_11}, // V - {0, I_10, G_10, H_10}, // B - {0, I_9, G_9, H_9}, // N - {0, I_8, G_8, H_8}, // M - {0, I_7, G_7, H_7}, // , - {0, I_6, G_6, H_6}, // . - {0, I_5, G_5, H_5}, // ? - {0, I_3, G_3, H_3}, // RightShift - {0, I_2, G_2, H_2}, // Up + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // LeftShift + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // | + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // Z + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // X + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // C + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // V + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // B + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // N + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // M + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // , + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // . + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // ? + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // RightShift + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // Up - {0, F_16, D_16, E_16}, // LeftCtrl - {0, F_15, D_15, E_15}, // LeftWin - {0, F_14, D_14, E_14}, // LeftAlt - {0, F_10, D_10, E_10}, // Space - {0, F_6, D_6, E_6}, // RightAlt - {0, F_5, D_5, E_5}, // Fn1 - {0, F_4, D_4, E_4}, // Fn2 - {0, F_3, D_3, E_3}, // Left - {0, F_2, D_2, E_2}, // Down - {0, C_4, A_4, B_4} // Right + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // LeftCtrl + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // LeftWin + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // LeftAlt + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // Space + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // RightAlt + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // Fn1 + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // Fn2 + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // Left + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // Down + {0, CB3_CA4, CB1_CA4, CB2_CA4} // Right }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/keychron/q9_plus/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q9_plus/ansi_encoder/ansi_encoder.c index ffc213b75b9..f9277d570b2 100755 --- a/keyboards/keychron/q9_plus/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q9_plus/ansi_encoder/ansi_encoder.c @@ -24,62 +24,62 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, L_16, J_16, K_16}, - {0, L_15, J_15, K_15}, - {0, L_14, J_14, K_14}, - {0, L_13, J_13, K_13}, - {0, L_12, J_12, K_12}, - {0, L_11, J_11, K_11}, - {0, L_10, J_10, K_10}, - {0, L_9, J_9, K_9}, - {0, L_8, J_8, K_8}, - {0, L_7, J_7, K_7}, - {0, L_6, J_6, K_6}, - {0, L_5, J_5, K_5}, - {0, L_4, J_4, K_4}, - {0, L_3, J_3, K_3}, - // {0, L_2, J_2, K_2}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + // {0, CB12_CA2, CB10_CA2, CB11_CA2}, - {0, C_16, A_16, B_16}, - {0, C_15, A_15, B_15}, - {0, C_14, A_14, B_14}, - {0, C_13, A_13, B_13}, - {0, C_12, A_12, B_12}, - {0, C_11, A_11, B_11}, - {0, C_10, A_10, B_10}, - {0, C_9, A_9, B_9}, - {0, C_8, A_8, B_8}, - {0, C_7, A_7, B_7}, - {0, C_6, A_6, B_6}, - {0, C_5, A_5, B_5}, - {0, C_3, A_3, B_3}, - {0, C_2, A_2, B_2}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, - {0, I_16, G_16, H_16}, - {0, I_14, G_14, H_14}, - {0, I_13, G_13, H_13}, - {0, I_12, G_12, H_12}, - {0, I_11, G_11, H_11}, - {0, I_10, G_10, H_10}, - {0, I_9, G_9, H_9}, - {0, I_8, G_8, H_8}, - {0, I_7, G_7, H_7}, - {0, I_6, G_6, H_6}, - {0, I_5, G_5, H_5}, - {0, I_3, G_3, H_3}, - {0, I_2, G_2, H_2}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, - {0, F_16, D_16, E_16}, - {0, F_15, D_15, E_15}, - {0, F_14, D_14, E_14}, - {0, F_13, D_13, E_13}, - {0, F_10, D_10, E_10}, - {0, F_7, D_7, E_7}, - {0, F_6, D_6, E_6}, - {0, F_5, D_5, E_5}, - {0, F_4, D_4, E_4}, - {0, F_3, D_3, E_3}, - {0, F_2, D_2, E_2}, - {0, C_4, A_4, B_4}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, }; #endif diff --git a/keyboards/keychron/s1/ansi/rgb/rgb.c b/keyboards/keychron/s1/ansi/rgb/rgb.c index e81e7db402f..af6390f7532 100644 --- a/keyboards/keychron/s1/ansi/rgb/rgb.c +++ b/keyboards/keychron/s1/ansi/rgb/rgb.c @@ -27,95 +27,95 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, // esc - {0, I_2, G_2, H_2}, // f1 - {0, I_3, G_3, H_3}, // f2 - {0, I_4, G_4, H_4}, // f3 - {0, I_5, G_5, H_5}, // f4 - {0, I_6, G_6, H_6}, // f4 - {0, I_7, G_7, H_7}, // f6 - {0, I_8, G_8, H_8}, // f7 - {0, I_9, G_9, H_9}, // f8 - {0, I_10, G_10, H_10}, // f9 - {0, I_11, G_11, H_11}, // f10 - {0, I_12, G_12, H_12}, // f11 - {0, I_13, G_13, H_13}, // f12 - {0, I_14, G_14, H_14}, // print - {0, I_15, G_15, H_15}, // del - {0, I_16, G_16, H_16}, // light + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // esc + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // f1 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // f2 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // f3 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // f4 + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // f4 + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // f6 + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // f7 + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // f8 + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // f9 + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // f10 + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // f11 + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // f12 + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // print + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // del + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // light - {0, F_1, D_1, E_1}, // ~ - {0, F_2, D_2, E_2}, // 1! - {0, F_3, D_3, E_3}, // 2@ - {0, F_4, D_4, E_4}, // 3# - {0, F_5, D_5, E_5}, // 4$ - {0, F_6, D_6, E_6}, // 5% - {0, F_7, D_7, E_7}, // 6^ - {0, F_8, D_8, E_8}, // 7& - {0, F_9, D_9, E_9}, // 8* - {0, F_10, D_10, E_10}, // 9( - {0, F_11, D_11, E_11}, // 0) - {0, F_12, D_12, E_12}, // -_ - {0, F_13, D_13, E_13}, // =+ - {0, F_14, D_14, E_14}, // back space - {0, F_16, D_16, E_16}, // page up + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // ~ + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // 1! + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // 2@ + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // 3# + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // 4$ + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // 5% + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // 6^ + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // 7& + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // 8* + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // 9( + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // 0) + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // -_ + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // =+ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // back space + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // page up - {0, C_1, A_1, B_1}, // tab - {0, C_2, A_2, B_2}, // q - {0, C_3, A_3, B_3}, // w - {0, C_4, A_4, B_4}, // e - {0, C_5, A_5, B_5}, // r - {0, C_6, A_6, B_6}, // t - {0, C_7, A_7, B_7}, // y - {0, C_8, A_8, B_8}, // u - {0, C_9, A_9, B_9}, // i - {0, C_10, A_10, B_10}, // o - {0, C_11, A_11, B_11}, // p - {0, C_12, A_12, B_12}, // [{ - {0, C_13, A_13, B_13}, // ]} - {0, C_14, A_14, B_14}, // | - {0, C_16, A_16, B_16}, // page down + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // tab + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // q + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // w + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // e + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // r + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // t + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // y + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // u + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // i + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // o + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // p + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // [{ + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // ]} + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // | + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // page down - {1, I_1, G_1, H_1}, // caps lock - {1, I_2, G_2, H_2}, // a - {1, I_3, G_3, H_3}, // s - {1, I_4, G_4, H_4}, // d - {1, I_5, G_5, H_5}, // f - {1, I_6, G_6, H_6}, // g - {1, I_7, G_7, H_7}, // h - {1, I_8, G_8, H_8}, // j - {1, I_9, G_9, H_9}, // k - {1, I_10, G_10, H_10}, // l - {1, I_11, G_11, H_11}, // ;: - {1, I_12, G_12, H_12}, // '" - {1, I_14, G_14, H_14}, // enter - {1, I_16, G_16, H_16}, // home + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // caps lock + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // a + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // s + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // d + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // f + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // g + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // h + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // j + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // k + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // l + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // ;: + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // '" + {1, CB9_CA14, CB7_CA14, CB8_CA14}, // enter + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // home - {1, C_1, A_1, B_1}, // left shift - {1, C_3, A_3, B_3}, // z - {1, C_4, A_4, B_4}, // x - {1, C_5, A_5, B_5}, // c - {1, C_6, A_6, B_6}, // v - {1, C_7, A_7, B_7}, // b - {1, C_8, A_8, B_8}, // b - {1, C_9, A_9, B_9}, // n - {1, C_10, A_10, B_10}, // m - {1, C_11, A_11, B_11}, // ,< - {1, C_12, A_12, B_12}, // .> - {1, C_13, A_13, B_13}, // right shift - {1, C_14, A_14, B_14}, // up - {1, C_16, A_16, B_16}, // end + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // left shift + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // z + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // x + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // c + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // v + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // b + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // b + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // n + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // m + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // ,< + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // .> + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // right shift + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // up + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // end - {1, F_1, D_1, E_1}, // left - {1, F_2, D_2, E_2}, // left command - {1, F_3, D_3, E_3}, // left optin - {1, F_7, D_7, E_7}, // space - {1, F_10, D_10, E_10}, // right command - {1, F_11, D_11, E_11}, // fn - {1, F_12, D_12, E_12}, // right ctrl - {1, F_13, D_13, E_13}, // left - {1, F_14, D_14, E_14}, // down - {1, F_16, D_16, E_16}, // right + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // left + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // left command + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // left optin + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // space + {1, CB6_CA10, CB4_CA10, CB5_CA10}, // right command + {1, CB6_CA11, CB4_CA11, CB5_CA11}, // fn + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // right ctrl + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // left + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // down + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // right }; #define __ NO_LED diff --git a/keyboards/keychron/s1/ansi/white/white.c b/keyboards/keychron/s1/ansi/white/white.c index d6a5eaf2320..69623863d1f 100644 --- a/keyboards/keychron/s1/ansi/white/white.c +++ b/keyboards/keychron/s1/ansi/white/white.c @@ -25,95 +25,95 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * driver * | LED address * | | */ - {0, F_1}, // esc - {0, F_2}, // f1 - {0, F_3}, // f2 - {0, F_4}, // f3 - {0, F_5}, // f4 - {0, F_6}, // f4 - {0, F_7}, // f6 - {0, F_8}, // f7 - {0, F_9}, // f8 - {0, F_10}, // f9 - {0, F_11}, // f10 - {0, F_12}, // f11 - {0, F_13}, // f12 - {0, F_14}, // print - {0, F_15}, // del - {0, F_16}, // light + {0, CB6_CA1}, // esc + {0, CB6_CA2}, // f1 + {0, CB6_CA3}, // f2 + {0, CB6_CA4}, // f3 + {0, CB6_CA5}, // f4 + {0, CB6_CA6}, // f4 + {0, CB6_CA7}, // f6 + {0, CB6_CA8}, // f7 + {0, CB6_CA9}, // f8 + {0, CB6_CA10}, // f9 + {0, CB6_CA11}, // f10 + {0, CB6_CA12}, // f11 + {0, CB6_CA13}, // f12 + {0, CB6_CA14}, // print + {0, CB6_CA15}, // del + {0, CB6_CA16}, // light - {0, E_1}, // ~ - {0, E_2}, // 1! - {0, E_3}, // 2@ - {0, E_4}, // 3# - {0, E_5}, // 4$ - {0, E_6}, // 5% - {0, E_7}, // 6^ - {0, E_8}, // 7& - {0, E_9}, // 8* - {0, E_10}, // 9( - {0, E_11}, // 0) - {0, E_12}, // -_ - {0, E_13}, // =+ - {0, E_14}, // back space - {0, E_16}, // page up + {0, CB5_CA1}, // ~ + {0, CB5_CA2}, // 1! + {0, CB5_CA3}, // 2@ + {0, CB5_CA4}, // 3# + {0, CB5_CA5}, // 4$ + {0, CB5_CA6}, // 5% + {0, CB5_CA7}, // 6^ + {0, CB5_CA8}, // 7& + {0, CB5_CA9}, // 8* + {0, CB5_CA10}, // 9( + {0, CB5_CA11}, // 0) + {0, CB5_CA12}, // -_ + {0, CB5_CA13}, // =+ + {0, CB5_CA14}, // back space + {0, CB5_CA16}, // page up - {0, D_1}, // tab - {0, D_2}, // q - {0, D_3}, // w - {0, D_4}, // e - {0, D_5}, // r - {0, D_6}, // t - {0, D_7}, // y - {0, D_8}, // u - {0, D_9}, // i - {0, D_10}, // o - {0, D_11}, // p - {0, D_12}, // [{ - {0, D_13}, // ]} - {0, D_14}, // | - {0, D_16}, // page down + {0, CB4_CA1}, // tab + {0, CB4_CA2}, // q + {0, CB4_CA3}, // w + {0, CB4_CA4}, // e + {0, CB4_CA5}, // r + {0, CB4_CA6}, // t + {0, CB4_CA7}, // y + {0, CB4_CA8}, // u + {0, CB4_CA9}, // i + {0, CB4_CA10}, // o + {0, CB4_CA11}, // p + {0, CB4_CA12}, // [{ + {0, CB4_CA13}, // ]} + {0, CB4_CA14}, // | + {0, CB4_CA16}, // page down - {0, C_1}, // caps lock - {0, C_2}, // a - {0, C_3}, // s - {0, C_4}, // d - {0, C_5}, // f - {0, C_6}, // g - {0, C_7}, // h - {0, C_8}, // j - {0, C_9}, // k - {0, C_10}, // l - {0, C_11}, // ;: - {0, C_12}, // '" - {0, C_14}, // enter - {0, C_16}, // home + {0, CB3_CA1}, // caps lock + {0, CB3_CA2}, // a + {0, CB3_CA3}, // s + {0, CB3_CA4}, // d + {0, CB3_CA5}, // f + {0, CB3_CA6}, // g + {0, CB3_CA7}, // h + {0, CB3_CA8}, // j + {0, CB3_CA9}, // k + {0, CB3_CA10}, // l + {0, CB3_CA11}, // ;: + {0, CB3_CA12}, // '" + {0, CB3_CA14}, // enter + {0, CB3_CA16}, // home - {0, B_1}, // left shift - {0, B_3}, // z - {0, B_4}, // x - {0, B_5}, // c - {0, B_6}, // v - {0, B_7}, // b - {0, B_8}, // b - {0, B_9}, // n - {0, B_10}, // m - {0, B_11}, // ,< - {0, B_12}, // .> - {0, B_13}, // right shift - {0, B_14}, // up - {0, B_16}, // end + {0, CB2_CA1}, // left shift + {0, CB2_CA3}, // z + {0, CB2_CA4}, // x + {0, CB2_CA5}, // c + {0, CB2_CA6}, // v + {0, CB2_CA7}, // b + {0, CB2_CA8}, // b + {0, CB2_CA9}, // n + {0, CB2_CA10}, // m + {0, CB2_CA11}, // ,< + {0, CB2_CA12}, // .> + {0, CB2_CA13}, // right shift + {0, CB2_CA14}, // up + {0, CB2_CA16}, // end - {0, A_1}, // left - {0, A_2}, // left command - {0, A_3}, // left optin - {0, A_7}, // space - {0, A_10}, // right command - {0, A_11}, // fn - {0, A_12}, // right ctrl - {0, A_13}, // left - {0, A_14}, // down - {0, A_16}, // right + {0, CB1_CA1}, // left + {0, CB1_CA2}, // left command + {0, CB1_CA3}, // left optin + {0, CB1_CA7}, // space + {0, CB1_CA10}, // right command + {0, CB1_CA11}, // fn + {0, CB1_CA12}, // right ctrl + {0, CB1_CA13}, // left + {0, CB1_CA14}, // down + {0, CB1_CA16}, // right }; #define __ NO_LED diff --git a/keyboards/keychron/v1/ansi/ansi.c b/keyboards/keychron/v1/ansi/ansi.c index 2db3ab782dd..a78d5dd4d78 100644 --- a/keyboards/keychron/v1/ansi/ansi.c +++ b/keyboards/keychron/v1/ansi/ansi.c @@ -27,93 +27,93 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v1/ansi_encoder/ansi_encoder.c b/keyboards/keychron/v1/ansi_encoder/ansi_encoder.c index 2db3ab782dd..a78d5dd4d78 100644 --- a/keyboards/keychron/v1/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/v1/ansi_encoder/ansi_encoder.c @@ -27,93 +27,93 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v1/iso/iso.c b/keyboards/keychron/v1/iso/iso.c index dff029055ba..a1095dcc926 100644 --- a/keyboards/keychron/v1/iso/iso.c +++ b/keyboards/keychron/v1/iso/iso.c @@ -27,94 +27,94 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v1/iso_encoder/iso_encoder.c b/keyboards/keychron/v1/iso_encoder/iso_encoder.c index dff029055ba..a1095dcc926 100644 --- a/keyboards/keychron/v1/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/v1/iso_encoder/iso_encoder.c @@ -27,94 +27,94 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_7, A_7, B_7}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v1/jis/jis.c b/keyboards/keychron/v1/jis/jis.c index 029c58fd709..d3b3f9aa900 100644 --- a/keyboards/keychron/v1/jis/jis.c +++ b/keyboards/keychron/v1/jis/jis.c @@ -27,97 +27,97 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_7, A_7, B_7}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v1/jis_encoder/jis_encoder.c b/keyboards/keychron/v1/jis_encoder/jis_encoder.c index 029c58fd709..d3b3f9aa900 100644 --- a/keyboards/keychron/v1/jis_encoder/jis_encoder.c +++ b/keyboards/keychron/v1/jis_encoder/jis_encoder.c @@ -27,97 +27,97 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, F_1, D_1, E_1}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_5, D_5, E_5}, - {1, F_6, D_6, E_6}, - {1, F_7, D_7, E_7}, - {1, F_8, D_8, E_8}, - {1, F_9, D_9, E_9}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_7, A_7, B_7}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v10/ansi_encoder/ansi_encoder.c b/keyboards/keychron/v10/ansi_encoder/ansi_encoder.c index 10cf2a85fdd..7a58d4deefb 100644 --- a/keyboards/keychron/v10/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/v10/ansi_encoder/ansi_encoder.c @@ -27,99 +27,99 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_2, A_2, B_2}, // ESC - {0, C_3, A_3, B_3}, // F1 - {0, C_4, A_4, B_4}, // F2 - {0, C_5, A_5, B_5}, // F3 - {0, C_6, A_6, B_6}, // F4 - {0, C_7, A_7, B_7}, // F5 - {0, C_8, A_8, B_8}, // F6 - {0, C_9, A_9, B_9}, // F7 - {0, C_10, A_10, B_10}, // F8 - {0, C_11, A_11, B_11}, // F9 - {0, C_12, A_12, B_12}, // F10 - {0, C_13, A_13, B_13}, // F11 - {0, C_14, A_14, B_14}, // F12 - {0, C_15, A_15, B_15}, // INS - {0, C_16, A_16, B_16}, // DEL + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // ESC + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // F1 + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // F2 + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // F3 + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // F4 + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // F5 + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // F6 + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // F7 + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // F8 + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // F9 + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // F10 + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // F11 + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // F12 + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // INS + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // DEL - {0, I_1, G_1, H_1}, // M1 - {0, I_2, G_2, H_2}, // `~ - {0, I_3, G_3, H_3}, // 1! - {0, I_4, G_4, H_4}, // 2@ - {0, I_5, G_5, H_5}, // 3# - {0, I_6, G_6, H_6}, // 4$ - {0, I_7, G_7, H_7}, // 5% - {0, I_8, G_8, H_8}, // 6^ - {0, I_9, G_9, H_9}, // 7& - {0, I_10, G_10, H_10}, // 8* - {0, I_11, G_11, H_11}, // 9( - {0, I_12, G_12, H_12}, // 0) - {0, I_13, G_13, H_13}, // -_ - {0, I_14, G_14, H_14}, // =+ - {0, I_15, G_15, H_15}, // BackSpace - {0, I_16, G_16, H_16}, // PgUp + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // M1 + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // `~ + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // 1! + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // 2@ + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // 3# + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // 4$ + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // 5% + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // 6^ + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // 7& + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // 8* + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // 9( + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // 0) + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // -_ + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // =+ + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // BackSpace + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // PgUp - {0, F_1, D_1, E_1}, // M2 - {0, F_2, D_2, E_2}, // TAB - {0, F_3, D_3, E_3}, // Q - {0, F_4, D_4, E_4}, // W - {0, F_5, D_5, E_5}, // E - {0, F_6, D_6, E_6}, // R - {0, F_7, D_7, E_7}, // T - {0, F_8, D_8, E_8}, // Y - {0, F_9, D_9, E_9}, // U - {0, F_10, D_10, E_10}, // I - {0, F_11, D_11, E_11}, // O - {0, F_12, D_12, E_12}, // P - {0, F_13, D_13, E_13}, // [ - {0, F_14, D_14, E_14}, // ] - {0, F_15, D_15, E_15}, // | - {0, F_16, D_16, E_16}, // PgDn + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // M2 + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // TAB + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // Q + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // W + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // E + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // R + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // T + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // Y + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // U + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // I + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // O + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // P + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // [ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // ] + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // | + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // PgDn - {1, C_16, A_16, B_16}, // M3 - {1, C_15, A_15, B_15}, // CapsLock - {1, C_14, A_14, B_14}, // A - {1, C_13, A_13, B_13}, // S - {1, C_12, A_12, B_12}, // D - {1, C_11, A_11, B_11}, // F - {1, C_10, A_10, B_10}, // G - {1, C_8, A_8, B_8}, // H - {1, C_7, A_7, B_7}, // J - {1, C_6, A_6, B_6}, // K - {1, C_5, A_5, B_5}, // L - {1, C_4, A_4, B_4}, // ; - {1, C_3, A_3, B_3}, // ' - {1, C_2, A_2, B_2}, // Enter - {1, C_1, A_1, B_1}, // Home + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // M3 + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // CapsLock + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // A + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // S + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // D + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // F + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // G + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // H + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // J + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // K + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // L + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // ; + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // ' + {1, CB3_CA2, CB1_CA2, CB2_CA2}, // Enter + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // Home - {1, I_16, G_16, H_16}, // M4 - {1, I_15, G_15, H_15}, // Shift_L - {1, I_13, G_13, H_13}, // Z - {1, I_12, G_12, H_12}, // X - {1, I_11, G_11, H_11}, // C - {1, I_10, G_10, H_10}, // V - {1, I_9, G_9, H_9}, // B - {1, I_8, G_8, H_8}, // B - {1, I_7, G_7, H_7}, // N - {1, I_6, G_6, H_6}, // M - {1, I_5, G_5, H_5}, // , - {1, I_4, G_4, H_4}, // . - {1, I_3, G_3, H_3}, // ? - {1, I_2, G_2, H_2}, // Shift_R - {1, I_1, G_1, H_1}, // Up + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // M4 + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Shift_L + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Z + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // X + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // C + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // V + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // B + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // B + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // N + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // M + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // , + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // . + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // ? + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // Shift_R + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Up - {1, F_16, D_16, E_16}, // M5 - {1, F_15, D_15, E_15}, // Ctrl_L - {1, F_14, D_14, E_14}, // Win_L - {1, F_13, D_13, E_13}, // Alt_L - {1, F_12, D_12, E_12}, // Space - {1, F_9, D_9, E_9}, // Fn - {1, F_8, D_8, E_8}, // Space - {1, F_7, D_7, E_7}, // Alt_R - {1, F_3, D_3, E_3}, // Left - {1, F_2, D_2, E_2}, // Down - {1, F_1, D_1, E_1}, // Right + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // M5 + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Ctrl_L + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // Win_L + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Alt_L + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // Space + {1, CB6_CA9, CB4_CA9, CB5_CA9}, // Fn + {1, CB6_CA8, CB4_CA8, CB5_CA8}, // Space + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Alt_R + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // Left + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // Down + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // Right }; #define __ NO_LED diff --git a/keyboards/keychron/v10/iso_encoder/iso_encoder.c b/keyboards/keychron/v10/iso_encoder/iso_encoder.c index b4bfb692068..359646b5426 100644 --- a/keyboards/keychron/v10/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/v10/iso_encoder/iso_encoder.c @@ -27,100 +27,100 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_2, A_2, B_2}, // ESC - {0, C_3, A_3, B_3}, // F1 - {0, C_4, A_4, B_4}, // F2 - {0, C_5, A_5, B_5}, // F3 - {0, C_6, A_6, B_6}, // F4 - {0, C_7, A_7, B_7}, // F5 - {0, C_8, A_8, B_8}, // F6 - {0, C_9, A_9, B_9}, // F7 - {0, C_10, A_10, B_10}, // F8 - {0, C_11, A_11, B_11}, // F9 - {0, C_12, A_12, B_12}, // F10 - {0, C_13, A_13, B_13}, // F11 - {0, C_14, A_14, B_14}, // F12 - {0, C_15, A_15, B_15}, // INS - {0, C_16, A_16, B_16}, // DEL + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // ESC + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // F1 + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // F2 + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // F3 + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // F4 + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // F5 + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // F6 + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // F7 + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // F8 + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // F9 + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // F10 + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // F11 + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // F12 + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // INS + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // DEL - {0, I_1, G_1, H_1}, // M1 - {0, I_2, G_2, H_2}, // `~ - {0, I_3, G_3, H_3}, // 1! - {0, I_4, G_4, H_4}, // 2@ - {0, I_5, G_5, H_5}, // 3# - {0, I_6, G_6, H_6}, // 4$ - {0, I_7, G_7, H_7}, // 5% - {0, I_8, G_8, H_8}, // 6^ - {0, I_9, G_9, H_9}, // 7& - {0, I_10, G_10, H_10}, // 8* - {0, I_11, G_11, H_11}, // 9( - {0, I_12, G_12, H_12}, // 0) - {0, I_13, G_13, H_13}, // -_ - {0, I_14, G_14, H_14}, // =+ - {0, I_15, G_15, H_15}, // BackSpace - {0, I_16, G_16, H_16}, // PgUp + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // M1 + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // `~ + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // 1! + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // 2@ + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // 3# + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // 4$ + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // 5% + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // 6^ + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // 7& + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // 8* + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // 9( + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // 0) + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // -_ + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // =+ + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // BackSpace + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // PgUp - {0, F_1, D_1, E_1}, // M2 - {0, F_2, D_2, E_2}, // TAB - {0, F_3, D_3, E_3}, // Q - {0, F_4, D_4, E_4}, // W - {0, F_5, D_5, E_5}, // E - {0, F_6, D_6, E_6}, // R - {0, F_7, D_7, E_7}, // T - {0, F_8, D_8, E_8}, // Y - {0, F_9, D_9, E_9}, // U - {0, F_10, D_10, E_10}, // I - {0, F_11, D_11, E_11}, // O - {0, F_12, D_12, E_12}, // P - {0, F_13, D_13, E_13}, // [ - {0, F_14, D_14, E_14}, // ] - {0, F_16, D_16, E_16}, // PgDn + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // M2 + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // TAB + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // Q + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // W + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // E + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // R + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // T + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // Y + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // U + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // I + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // O + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // P + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // [ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // ] + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // PgDn - {1, C_16, A_16, B_16}, // M3 - {1, C_15, A_15, B_15}, // CapsLock - {1, C_14, A_14, B_14}, // A - {1, C_13, A_13, B_13}, // S - {1, C_12, A_12, B_12}, // D - {1, C_11, A_11, B_11}, // F - {1, C_10, A_10, B_10}, // G - {1, C_8, A_8, B_8}, // H - {1, C_7, A_7, B_7}, // J - {1, C_6, A_6, B_6}, // K - {1, C_5, A_5, B_5}, // L - {1, C_4, A_4, B_4}, // ; - {1, C_3, A_3, B_3}, // ' - {0, F_15, D_15, E_15}, // | - {1, C_2, A_2, B_2}, // Enter - {1, C_1, A_1, B_1}, // Home + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // M3 + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // CapsLock + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // A + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // S + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // D + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // F + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // G + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // H + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // J + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // K + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // L + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // ; + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // ' + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // | + {1, CB3_CA2, CB1_CA2, CB2_CA2}, // Enter + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // Home - {1, I_16, G_16, H_16}, // M4 - {1, I_15, G_15, H_15}, // Shift_L - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, // Z - {1, I_12, G_12, H_12}, // X - {1, I_11, G_11, H_11}, // C - {1, I_10, G_10, H_10}, // V - {1, I_9, G_9, H_9}, // B - {1, I_8, G_8, H_8}, // B - {1, I_7, G_7, H_7}, // N - {1, I_6, G_6, H_6}, // M - {1, I_5, G_5, H_5}, // , - {1, I_4, G_4, H_4}, // . - {1, I_3, G_3, H_3}, // ? - {1, I_2, G_2, H_2}, // Shift_R - {1, I_1, G_1, H_1}, // Up + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // M4 + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Shift_L + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Z + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // X + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // C + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // V + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // B + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // B + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // N + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // M + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // , + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // . + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // ? + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // Shift_R + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Up - {1, F_16, D_16, E_16}, // M5 - {1, F_15, D_15, E_15}, // Ctrl_L - {1, F_14, D_14, E_14}, // Win_L - {1, F_13, D_13, E_13}, // Alt_L - {1, F_12, D_12, E_12}, // Space - {1, F_9, D_9, E_9}, // Fn - {1, F_8, D_8, E_8}, // Space - {1, F_7, D_7, E_7}, // Alt_R - {1, F_3, D_3, E_3}, // Left - {1, F_2, D_2, E_2}, // Down - {1, F_1, D_1, E_1}, // Right + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // M5 + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Ctrl_L + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // Win_L + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Alt_L + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // Space + {1, CB6_CA9, CB4_CA9, CB5_CA9}, // Fn + {1, CB6_CA8, CB4_CA8, CB5_CA8}, // Space + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Alt_R + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // Left + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // Down + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // Right }; #define __ NO_LED diff --git a/keyboards/keychron/v2/ansi/ansi.c b/keyboards/keychron/v2/ansi/ansi.c index 7e3214f1751..722aa27b470 100644 --- a/keyboards/keychron/v2/ansi/ansi.c +++ b/keyboards/keychron/v2/ansi/ansi.c @@ -27,77 +27,77 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v2/ansi_encoder/ansi_encoder.c b/keyboards/keychron/v2/ansi_encoder/ansi_encoder.c index df33725b5e1..6203483285f 100644 --- a/keyboards/keychron/v2/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/v2/ansi_encoder/ansi_encoder.c @@ -27,77 +27,77 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v2/iso/iso.c b/keyboards/keychron/v2/iso/iso.c index ba9d47a2f14..aca0879838e 100644 --- a/keyboards/keychron/v2/iso/iso.c +++ b/keyboards/keychron/v2/iso/iso.c @@ -27,78 +27,78 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #define __ NO_LED diff --git a/keyboards/keychron/v2/iso_encoder/iso_encoder.c b/keyboards/keychron/v2/iso_encoder/iso_encoder.c index ba9d47a2f14..aca0879838e 100644 --- a/keyboards/keychron/v2/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/v2/iso_encoder/iso_encoder.c @@ -27,78 +27,78 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #define __ NO_LED diff --git a/keyboards/keychron/v2/jis/jis.c b/keyboards/keychron/v2/jis/jis.c index 0d638b57538..1269d9b1e69 100644 --- a/keyboards/keychron/v2/jis/jis.c +++ b/keyboards/keychron/v2/jis/jis.c @@ -25,81 +25,81 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #define __ NO_LED diff --git a/keyboards/keychron/v2/jis_encoder/jis_encoder.c b/keyboards/keychron/v2/jis_encoder/jis_encoder.c index 10a3ca25a7f..85aaf165f69 100644 --- a/keyboards/keychron/v2/jis_encoder/jis_encoder.c +++ b/keyboards/keychron/v2/jis_encoder/jis_encoder.c @@ -25,81 +25,81 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_13, A_13, B_13}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_4, D_4, E_4}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16} + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16} }; #define __ NO_LED diff --git a/keyboards/keychron/v3/ansi/ansi.c b/keyboards/keychron/v3/ansi/ansi.c index 6205b0b01bf..7c476786193 100644 --- a/keyboards/keychron/v3/ansi/ansi.c +++ b/keyboards/keychron/v3/ansi/ansi.c @@ -25,98 +25,98 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #define __ NO_LED diff --git a/keyboards/keychron/v3/ansi_encoder/ansi_encoder.c b/keyboards/keychron/v3/ansi_encoder/ansi_encoder.c index 27f1f1f8304..d85708937aa 100644 --- a/keyboards/keychron/v3/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/v3/ansi_encoder/ansi_encoder.c @@ -25,99 +25,99 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - // {0, I_14, G_14, H_14}, // Encoder - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + // {0, CB9_CA14, CB7_CA14, CB8_CA14}, // Encoder + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #define __ NO_LED diff --git a/keyboards/keychron/v3/iso/iso.c b/keyboards/keychron/v3/iso/iso.c index be0934b4a0e..83798392c6b 100644 --- a/keyboards/keychron/v3/iso/iso.c +++ b/keyboards/keychron/v3/iso/iso.c @@ -25,99 +25,99 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #define __ NO_LED diff --git a/keyboards/keychron/v3/iso_encoder/iso_encoder.c b/keyboards/keychron/v3/iso_encoder/iso_encoder.c index 0456fb99f9c..ef0567dbe14 100644 --- a/keyboards/keychron/v3/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/v3/iso_encoder/iso_encoder.c @@ -25,99 +25,99 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {1, I_16, G_16, H_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {1, I_13, G_13, H_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, - {1, I_1, G_1, H_1}, - {1, I_2, G_2, H_2}, - {1, I_3, G_3, H_3}, - {1, I_4, G_4, H_4}, - {1, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, - {1, C_15, A_15, B_15}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, }; #define __ NO_LED diff --git a/keyboards/keychron/v3/jis/jis.c b/keyboards/keychron/v3/jis/jis.c index be93dbc6415..c04827dc5d9 100644 --- a/keyboards/keychron/v3/jis/jis.c +++ b/keyboards/keychron/v3/jis/jis.c @@ -25,102 +25,102 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, // ESC - {0, I_2, G_2, H_2}, // F1 - {0, I_3, G_3, H_3}, // F2 - {0, I_4, G_4, H_4}, // F3 - {0, I_5, G_5, H_5}, // F4 - {0, I_6, G_6, H_6}, // F5 - {0, I_7, G_7, H_7}, // F6 - {0, I_8, G_8, H_8}, // F7 - {0, I_9, G_9, H_9}, // F8 - {0, I_10, G_10, H_10}, // F9 - {0, I_11, G_11, H_11}, // F10 - {0, I_12, G_12, H_12}, // F11 - {0, I_13, G_13, H_13}, // F12 - {0, I_15, G_15, H_15}, // Print - {0, I_16, G_16, H_16}, // Cortana - {1, I_15, G_15, H_15}, // Light + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // ESC + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // F1 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // F2 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // F3 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // F4 + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // F5 + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // F6 + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // F7 + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // F8 + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // F9 + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // F10 + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // F11 + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // F12 + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // Print + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // Cortana + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Light - {0, C_1, A_1, B_1}, // `~ - {0, C_2, A_2, B_2}, // 1! - {0, C_3, A_3, B_3}, // 2@ - {0, C_4, A_4, B_4}, // 3# - {0, C_5, A_5, B_5}, // 4$ - {0, C_6, A_6, B_6}, // 5% - {0, C_7, A_7, B_7}, // 6^ - {0, C_8, A_8, B_8}, // 7& - {0, C_9, A_9, B_9}, // 8* - {0, C_10, A_10, B_10}, // 9() - {0, C_11, A_11, B_11}, // 0) - {0, C_12, A_12, B_12}, // -_ - {0, C_13, A_13, B_13}, // =+ - {0, C_14, A_14, B_14}, // / - {0, I_14, G_14, H_14}, // Backspace - {0, C_15, A_15, B_15}, // Ins - {0, C_16, A_16, B_16}, // Home - {1, I_16, G_16, H_16}, // Page Up + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // `~ + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // 1! + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // 2@ + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // 3# + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 4$ + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 5% + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 6^ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 7& + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 8* + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 9() + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 0) + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // -_ + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // =+ + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // / + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // Backspace + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // Ins + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // Home + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // Page Up - {0, F_1, D_1, E_1}, // tab - {0, F_2, D_2, E_2}, // Q - {0, F_3, D_3, E_3}, // W - {0, F_4, D_4, E_4}, // E - {0, F_5, D_5, E_5}, // R - {0, F_6, D_6, E_6}, // T - {0, F_7, D_7, E_7}, // Y - {0, F_8, D_8, E_8}, // U - {0, F_9, D_9, E_9}, // I - {0, F_10, D_10, E_10}, // O - {0, F_11, D_11, E_11}, // P - {0, F_12, D_12, E_12}, // [{ - {0, F_13, D_13, E_13}, // }} - {0, F_15, D_15, E_15}, // Del - {0, F_16, D_16, E_16}, // End - {1, I_13, G_13, H_13}, // Page Down + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // tab + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // Q + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // W + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // E + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // R + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // T + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // Y + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // U + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // I + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // O + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // P + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // [{ + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // }} + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // Del + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // End + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Page Down - {1, I_1, G_1, H_1}, // Cpas - {1, I_2, G_2, H_2}, // A - {1, I_3, G_3, H_3}, // S - {1, I_4, G_4, H_4}, // D - {1, I_5, G_5, H_5}, // F - {1, I_6, G_6, H_6}, // G - {1, I_7, G_7, H_7}, // H - {1, I_8, G_8, H_8}, // J - {1, I_9, G_9, H_9}, // K - {1, I_10, G_10, H_10}, // L - {1, I_11, G_11, H_11}, // ; - {1, I_12, G_12, H_12}, // : - {1, I_14, G_14, H_14}, // #~ - {0, F_14, D_14, E_14}, // Enter + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Cpas + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // A + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // S + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // D + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // F + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // G + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // H + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // J + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // K + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // L + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // ; + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // : + {1, CB9_CA14, CB7_CA14, CB8_CA14}, // #~ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // Enter - {1, C_1, A_1, B_1}, // LShift - {1, C_3, A_3, B_3}, // Z - {1, C_4, A_4, B_4}, // X - {1, C_5, A_5, B_5}, // C - {1, C_6, A_6, B_6}, // V - {1, C_7, A_7, B_7}, // B - {1, C_8, A_8, B_8}, // N - {1, C_9, A_9, B_9}, // M - {1, C_10, A_10, B_10}, // ,< - {1, C_11, A_11, B_11}, // .> - {1, C_12, A_12, B_12}, // /? - {1, C_13, A_13, B_13}, // | - {1, C_14, A_14, B_14}, // RShift - {1, C_16, A_16, B_16}, // Up + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // LShift + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // Z + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // X + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // C + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // V + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // B + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // N + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // M + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // ,< + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // .> + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // /? + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // | + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // RShift + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // Up - {1, F_1, D_1, E_1}, // LCtrl - {1, F_2, D_2, E_2}, // LWin - {1, F_3, D_3, E_3}, // LAlt - {1, F_4, D_4, E_4}, // NUm - {1, F_7, D_7, E_7}, // Space - {1, F_10, D_10, E_10}, // Jap - {1, F_11, D_11, E_11}, // RAlt - {1, F_12, D_12, E_12}, // RWin - {1, F_13, D_13, E_13}, // Fn - {1, F_14, D_14, E_14}, // RCtrl - {1, F_15, D_15, E_15}, // Left - {1, F_16, D_16, E_16}, // Down - {1, C_15, A_15, B_15}, // Right + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // LCtrl + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // LWin + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // LAlt + {1, CB6_CA4, CB4_CA4, CB5_CA4}, // NUm + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Space + {1, CB6_CA10, CB4_CA10, CB5_CA10}, // Jap + {1, CB6_CA11, CB4_CA11, CB5_CA11}, // RAlt + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // RWin + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Fn + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // RCtrl + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Left + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // Down + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // Right }; # define __ NO_LED diff --git a/keyboards/keychron/v3/jis_encoder/jis_encoder.c b/keyboards/keychron/v3/jis_encoder/jis_encoder.c index 9eea7b3994e..bf2018d86f1 100644 --- a/keyboards/keychron/v3/jis_encoder/jis_encoder.c +++ b/keyboards/keychron/v3/jis_encoder/jis_encoder.c @@ -25,103 +25,103 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, // ESC - {0, I_2, G_2, H_2}, // F1 - {0, I_3, G_3, H_3}, // F2 - {0, I_4, G_4, H_4}, // F3 - {0, I_5, G_5, H_5}, // F4 - {0, I_6, G_6, H_6}, // F5 - {0, I_7, G_7, H_7}, // F6 - {0, I_8, G_8, H_8}, // F7 - {0, I_9, G_9, H_9}, // F8 - {0, I_10, G_10, H_10}, // F9 - {0, I_11, G_11, H_11}, // F10 - {0, I_12, G_12, H_12}, // F11 - {0, I_13, G_13, H_13}, // F12 - {0, I_14, G_14, H_14}, // Mute - {0, I_15, G_15, H_15}, // Print - {0, I_16, G_16, H_16}, // Cortana - {1, I_15, G_15, H_15}, // Light + {0, CB9_CA1, CB7_CA1, CB8_CA1}, // ESC + {0, CB9_CA2, CB7_CA2, CB8_CA2}, // F1 + {0, CB9_CA3, CB7_CA3, CB8_CA3}, // F2 + {0, CB9_CA4, CB7_CA4, CB8_CA4}, // F3 + {0, CB9_CA5, CB7_CA5, CB8_CA5}, // F4 + {0, CB9_CA6, CB7_CA6, CB8_CA6}, // F5 + {0, CB9_CA7, CB7_CA7, CB8_CA7}, // F6 + {0, CB9_CA8, CB7_CA8, CB8_CA8}, // F7 + {0, CB9_CA9, CB7_CA9, CB8_CA9}, // F8 + {0, CB9_CA10, CB7_CA10, CB8_CA10}, // F9 + {0, CB9_CA11, CB7_CA11, CB8_CA11}, // F10 + {0, CB9_CA12, CB7_CA12, CB8_CA12}, // F11 + {0, CB9_CA13, CB7_CA13, CB8_CA13}, // F12 + {0, CB9_CA14, CB7_CA14, CB8_CA14}, // Mute + {0, CB9_CA15, CB7_CA15, CB8_CA15}, // Print + {0, CB9_CA16, CB7_CA16, CB8_CA16}, // Cortana + {1, CB9_CA15, CB7_CA15, CB8_CA15}, // Light - {0, C_1, A_1, B_1}, // `~ - {0, C_2, A_2, B_2}, // 1! - {0, C_3, A_3, B_3}, // 2@ - {0, C_4, A_4, B_4}, // 3# - {0, C_5, A_5, B_5}, // 4$ - {0, C_6, A_6, B_6}, // 5% - {0, C_7, A_7, B_7}, // 6^ - {0, C_8, A_8, B_8}, // 7& - {0, C_9, A_9, B_9}, // 8* - {0, C_10, A_10, B_10}, // 9() - {0, C_11, A_11, B_11}, // 0) - {0, C_12, A_12, B_12}, // -_ - {0, C_13, A_13, B_13}, // =+ - {0, C_14, A_14, B_14}, // | - {1, F_6, D_6, E_6}, // Backspace - {0, C_15, A_15, B_15}, // Ins - {0, C_16, A_16, B_16}, // Home - {1, I_16, G_16, H_16}, // Page Up + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // `~ + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // 1! + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // 2@ + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // 3# + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 4$ + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 5% + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 6^ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 7& + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 8* + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 9() + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 0) + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // -_ + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // =+ + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // | + {1, CB6_CA6, CB4_CA6, CB5_CA6}, // Backspace + {0, CB3_CA15, CB1_CA15, CB2_CA15}, // Ins + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // Home + {1, CB9_CA16, CB7_CA16, CB8_CA16}, // Page Up - {0, F_1, D_1, E_1}, // tab - {0, F_2, D_2, E_2}, // Q - {0, F_3, D_3, E_3}, // W - {0, F_4, D_4, E_4}, // E - {0, F_5, D_5, E_5}, // R - {0, F_6, D_6, E_6}, // T - {0, F_7, D_7, E_7}, // Y - {0, F_8, D_8, E_8}, // U - {0, F_9, D_9, E_9}, // I - {0, F_10, D_10, E_10}, // O - {0, F_11, D_11, E_11}, // P - {0, F_12, D_12, E_12}, // [{ - {0, F_13, D_13, E_13}, // }} - {0, F_15, D_15, E_15}, // Del - {0, F_16, D_16, E_16}, // End - {1, I_13, G_13, H_13}, // Page Down + {0, CB6_CA1, CB4_CA1, CB5_CA1}, // tab + {0, CB6_CA2, CB4_CA2, CB5_CA2}, // Q + {0, CB6_CA3, CB4_CA3, CB5_CA3}, // W + {0, CB6_CA4, CB4_CA4, CB5_CA4}, // E + {0, CB6_CA5, CB4_CA5, CB5_CA5}, // R + {0, CB6_CA6, CB4_CA6, CB5_CA6}, // T + {0, CB6_CA7, CB4_CA7, CB5_CA7}, // Y + {0, CB6_CA8, CB4_CA8, CB5_CA8}, // U + {0, CB6_CA9, CB4_CA9, CB5_CA9}, // I + {0, CB6_CA10, CB4_CA10, CB5_CA10}, // O + {0, CB6_CA11, CB4_CA11, CB5_CA11}, // P + {0, CB6_CA12, CB4_CA12, CB5_CA12}, // [{ + {0, CB6_CA13, CB4_CA13, CB5_CA13}, // }} + {0, CB6_CA15, CB4_CA15, CB5_CA15}, // Del + {0, CB6_CA16, CB4_CA16, CB5_CA16}, // End + {1, CB9_CA13, CB7_CA13, CB8_CA13}, // Page Down - {1, I_1, G_1, H_1}, // Cpas - {1, I_2, G_2, H_2}, // A - {1, I_3, G_3, H_3}, // S - {1, I_4, G_4, H_4}, // D - {1, I_5, G_5, H_5}, // F - {1, I_6, G_6, H_6}, // G - {1, I_7, G_7, H_7}, // H - {1, I_8, G_8, H_8}, // J - {1, I_9, G_9, H_9}, // K - {1, I_10, G_10, H_10}, // L - {1, I_11, G_11, H_11}, // ; - {1, I_12, G_12, H_12}, // : - {1, I_14, G_14, H_14}, // #~ - {0, F_14, D_14, E_14}, // Enter + {1, CB9_CA1, CB7_CA1, CB8_CA1}, // Cpas + {1, CB9_CA2, CB7_CA2, CB8_CA2}, // A + {1, CB9_CA3, CB7_CA3, CB8_CA3}, // S + {1, CB9_CA4, CB7_CA4, CB8_CA4}, // D + {1, CB9_CA5, CB7_CA5, CB8_CA5}, // F + {1, CB9_CA6, CB7_CA6, CB8_CA6}, // G + {1, CB9_CA7, CB7_CA7, CB8_CA7}, // H + {1, CB9_CA8, CB7_CA8, CB8_CA8}, // J + {1, CB9_CA9, CB7_CA9, CB8_CA9}, // K + {1, CB9_CA10, CB7_CA10, CB8_CA10}, // L + {1, CB9_CA11, CB7_CA11, CB8_CA11}, // ; + {1, CB9_CA12, CB7_CA12, CB8_CA12}, // : + {1, CB9_CA14, CB7_CA14, CB8_CA14}, // #~ + {0, CB6_CA14, CB4_CA14, CB5_CA14}, // Enter - {1, C_1, A_1, B_1}, // LShift - {1, C_3, A_3, B_3}, // Z - {1, C_4, A_4, B_4}, // X - {1, C_5, A_5, B_5}, // C - {1, C_6, A_6, B_6}, // V - {1, C_7, A_7, B_7}, // B - {1, C_8, A_8, B_8}, // N - {1, C_9, A_9, B_9}, // M - {1, C_10, A_10, B_10}, // ,< - {1, C_11, A_11, B_11}, // .> - {1, C_12, A_12, B_12}, // /? - {1, C_13, A_13, B_13}, // | - {1, C_14, A_14, B_14}, // RShift - {1, C_16, A_16, B_16}, // Up + {1, CB3_CA1, CB1_CA1, CB2_CA1}, // LShift + {1, CB3_CA3, CB1_CA3, CB2_CA3}, // Z + {1, CB3_CA4, CB1_CA4, CB2_CA4}, // X + {1, CB3_CA5, CB1_CA5, CB2_CA5}, // C + {1, CB3_CA6, CB1_CA6, CB2_CA6}, // V + {1, CB3_CA7, CB1_CA7, CB2_CA7}, // B + {1, CB3_CA8, CB1_CA8, CB2_CA8}, // N + {1, CB3_CA9, CB1_CA9, CB2_CA9}, // M + {1, CB3_CA10, CB1_CA10, CB2_CA10}, // ,< + {1, CB3_CA11, CB1_CA11, CB2_CA11}, // .> + {1, CB3_CA12, CB1_CA12, CB2_CA12}, // /? + {1, CB3_CA13, CB1_CA13, CB2_CA13}, // | + {1, CB3_CA14, CB1_CA14, CB2_CA14}, // RShift + {1, CB3_CA16, CB1_CA16, CB2_CA16}, // Up - {1, F_1, D_1, E_1}, // LCtrl - {1, F_2, D_2, E_2}, // LWin - {1, F_3, D_3, E_3}, // LAlt - {1, F_4, D_4, E_4}, // NUm - {1, F_7, D_7, E_7}, // Space - {1, F_10, D_10, E_10}, // Jap - {1, F_11, D_11, E_11}, // RAlt - {1, F_12, D_12, E_12}, // RWin - {1, F_13, D_13, E_13}, // Fn - {1, F_14, D_14, E_14}, // RCtrl - {1, F_15, D_15, E_15}, // Left - {1, F_16, D_16, E_16}, // Down - {1, C_15, A_15, B_15}, // Right + {1, CB6_CA1, CB4_CA1, CB5_CA1}, // LCtrl + {1, CB6_CA2, CB4_CA2, CB5_CA2}, // LWin + {1, CB6_CA3, CB4_CA3, CB5_CA3}, // LAlt + {1, CB6_CA4, CB4_CA4, CB5_CA4}, // NUm + {1, CB6_CA7, CB4_CA7, CB5_CA7}, // Space + {1, CB6_CA10, CB4_CA10, CB5_CA10}, // Jap + {1, CB6_CA11, CB4_CA11, CB5_CA11}, // RAlt + {1, CB6_CA12, CB4_CA12, CB5_CA12}, // RWin + {1, CB6_CA13, CB4_CA13, CB5_CA13}, // Fn + {1, CB6_CA14, CB4_CA14, CB5_CA14}, // RCtrl + {1, CB6_CA15, CB4_CA15, CB5_CA15}, // Left + {1, CB6_CA16, CB4_CA16, CB5_CA16}, // Down + {1, CB3_CA15, CB1_CA15, CB2_CA15}, // Right }; # define __ NO_LED diff --git a/keyboards/keychron/v4/ansi/ansi.c b/keyboards/keychron/v4/ansi/ansi.c index 24afdb65b76..7368144c8d8 100644 --- a/keyboards/keychron/v4/ansi/ansi.c +++ b/keyboards/keychron/v4/ansi/ansi.c @@ -27,71 +27,71 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_14, G_14, H_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, - {0, L_1, J_1, K_1}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, + {0, CB12_CA1, CB10_CA1, CB11_CA1}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v4/iso/iso.c b/keyboards/keychron/v4/iso/iso.c index 0b59f04d527..dc6a0f44d0b 100644 --- a/keyboards/keychron/v4/iso/iso.c +++ b/keyboards/keychron/v4/iso/iso.c @@ -27,72 +27,72 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, - {0, L_1, J_1, K_1}, - {0, L_2, J_2, K_2}, - {0, L_3, J_3, K_3}, - {0, L_4, J_4, K_4}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_14, J_14, K_14}, + {0, CB12_CA1, CB10_CA1, CB11_CA1}, + {0, CB12_CA2, CB10_CA2, CB11_CA2}, + {0, CB12_CA3, CB10_CA3, CB11_CA3}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v5/ansi/ansi.c b/keyboards/keychron/v5/ansi/ansi.c index 3f85b6b210a..b38d5f508f7 100644 --- a/keyboards/keychron/v5/ansi/ansi.c +++ b/keyboards/keychron/v5/ansi/ansi.c @@ -27,111 +27,111 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #define __ NO_LED diff --git a/keyboards/keychron/v5/ansi_encoder/ansi_encoder.c b/keyboards/keychron/v5/ansi_encoder/ansi_encoder.c index 06c7ae6d92f..bc68731d7de 100644 --- a/keyboards/keychron/v5/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/v5/ansi_encoder/ansi_encoder.c @@ -27,111 +27,111 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - // {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - // {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + // {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + // {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #define __ NO_LED diff --git a/keyboards/keychron/v5/iso/iso.c b/keyboards/keychron/v5/iso/iso.c index 7b2739d53e2..d8f5ae329cd 100644 --- a/keyboards/keychron/v5/iso/iso.c +++ b/keyboards/keychron/v5/iso/iso.c @@ -27,112 +27,112 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #define __ NO_LED diff --git a/keyboards/keychron/v5/iso_encoder/iso_encoder.c b/keyboards/keychron/v5/iso_encoder/iso_encoder.c index 9a13422d2c0..2d2a458577e 100644 --- a/keyboards/keychron/v5/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/v5/iso_encoder/iso_encoder.c @@ -27,110 +27,110 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, - {0, L_14, J_14, K_14}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, - {0, C_1, A_1, B_1}, // `~ - {0, C_2, A_2, B_2}, // 1! - {0, C_3, A_3, B_3}, // 2@ - {0, C_4, A_4, B_4}, // 3# - {0, C_5, A_5, B_5}, // 4$ - {0, C_6, A_6, B_6}, // 5% - {0, C_7, A_7, B_7}, // 6^ - {0, C_8, A_8, B_8}, // 7& - {0, C_9, A_9, B_9}, // 8* - {0, C_10, A_10, B_10}, // 9( - {0, C_11, A_11, B_11}, // 0) - {0, C_12, A_12, B_12}, // -_ - {0, C_13, A_13, B_13}, // =+ - {0, C_14, A_14, B_14}, // BackSpace - {0, C_16, A_16, B_16}, // Numlock - {0, L_9, J_9, K_9}, // / - {0, L_10, J_10, K_10}, // * - {0, L_11, J_11, K_11}, // - + {0, CB3_CA1, CB1_CA1, CB2_CA1}, // `~ + {0, CB3_CA2, CB1_CA2, CB2_CA2}, // 1! + {0, CB3_CA3, CB1_CA3, CB2_CA3}, // 2@ + {0, CB3_CA4, CB1_CA4, CB2_CA4}, // 3# + {0, CB3_CA5, CB1_CA5, CB2_CA5}, // 4$ + {0, CB3_CA6, CB1_CA6, CB2_CA6}, // 5% + {0, CB3_CA7, CB1_CA7, CB2_CA7}, // 6^ + {0, CB3_CA8, CB1_CA8, CB2_CA8}, // 7& + {0, CB3_CA9, CB1_CA9, CB2_CA9}, // 8* + {0, CB3_CA10, CB1_CA10, CB2_CA10}, // 9( + {0, CB3_CA11, CB1_CA11, CB2_CA11}, // 0) + {0, CB3_CA12, CB1_CA12, CB2_CA12}, // -_ + {0, CB3_CA13, CB1_CA13, CB2_CA13}, // =+ + {0, CB3_CA14, CB1_CA14, CB2_CA14}, // BackSpace + {0, CB3_CA16, CB1_CA16, CB2_CA16}, // Numlock + {0, CB12_CA9, CB10_CA9, CB11_CA9}, // / + {0, CB12_CA10, CB10_CA10, CB11_CA10}, // * + {0, CB12_CA11, CB10_CA11, CB11_CA11}, // - - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_15, J_15, K_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {0, L_16, J_16, K_16}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, - {1, L_5, J_5, K_5}, - {1, L_6, J_6, K_6}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_1, J_1, K_1}, - {1, L_2, J_2, K_2}, - {1, L_7, J_7, K_7} + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, + {1, CB12_CA7, CB10_CA7, CB11_CA7} }; #define __ NO_LED diff --git a/keyboards/keychron/v6/ansi/ansi.c b/keyboards/keychron/v6/ansi/ansi.c index be5bad84ff2..2e055e57af8 100644 --- a/keyboards/keychron/v6/ansi/ansi.c +++ b/keyboards/keychron/v6/ansi/ansi.c @@ -25,119 +25,119 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/v6/ansi_encoder/ansi_encoder.c b/keyboards/keychron/v6/ansi_encoder/ansi_encoder.c index b83a5b0fb09..1ebf9479124 100644 --- a/keyboards/keychron/v6/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/v6/ansi_encoder/ansi_encoder.c @@ -27,119 +27,119 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/v6/iso/iso.c b/keyboards/keychron/v6/iso/iso.c index 1138cb07d78..cc9dbd8c231 100644 --- a/keyboards/keychron/v6/iso/iso.c +++ b/keyboards/keychron/v6/iso/iso.c @@ -27,120 +27,120 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/v6/iso_encoder/iso_encoder.c b/keyboards/keychron/v6/iso_encoder/iso_encoder.c index 47f609d8178..f1a8e18acf5 100644 --- a/keyboards/keychron/v6/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/v6/iso_encoder/iso_encoder.c @@ -27,120 +27,120 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_15, G_15, H_15}, - {0, I_16, G_16, H_16}, - {0, L_5, J_5, K_5}, - {0, L_6, J_6, K_6}, - {0, L_7, J_7, K_7}, - {0, L_8, J_8, K_8}, - {0, L_4, J_4, K_4}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, + {0, CB9_CA16, CB7_CA16, CB8_CA16}, + {0, CB12_CA5, CB10_CA5, CB11_CA5}, + {0, CB12_CA6, CB10_CA6, CB11_CA6}, + {0, CB12_CA7, CB10_CA7, CB11_CA7}, + {0, CB12_CA8, CB10_CA8, CB11_CA8}, + {0, CB12_CA4, CB10_CA4, CB11_CA4}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, - {0, L_9, J_9, K_9}, - {0, L_10, J_10, K_10}, - {0, L_11, J_11, K_11}, - {0, L_12, J_12, K_12}, - {0, L_13, J_13, K_13}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, + {0, CB12_CA9, CB10_CA9, CB11_CA9}, + {0, CB12_CA10, CB10_CA10, CB11_CA10}, + {0, CB12_CA11, CB10_CA11, CB11_CA11}, + {0, CB12_CA12, CB10_CA12, CB11_CA12}, + {0, CB12_CA13, CB10_CA13, CB11_CA13}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, - {0, L_14, J_14, K_14}, - {0, L_15, J_15, K_15}, - {0, L_16, J_16, K_16}, - {1, L_1, J_1, K_1}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, + {0, CB12_CA14, CB10_CA14, CB11_CA14}, + {0, CB12_CA15, CB10_CA15, CB11_CA15}, + {0, CB12_CA16, CB10_CA16, CB11_CA16}, + {1, CB12_CA1, CB10_CA1, CB11_CA1}, - {1, C_16, A_16, B_16}, - {1, C_15, A_15, B_15}, - {1, C_14, A_14, B_14}, - {1, C_13, A_13, B_13}, - {1, C_12, A_12, B_12}, - {1, C_11, A_11, B_11}, - {1, C_10, A_10, B_10}, - {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_3, A_3, B_3}, - {0, F_14, D_14, E_14}, - {1, L_3, J_3, K_3}, - {1, L_4, J_4, K_4}, - {1, L_5, J_5, K_5}, - {1, L_2, J_2, K_2}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA13, CB1_CA13, CB2_CA13}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB12_CA3, CB10_CA3, CB11_CA3}, + {1, CB12_CA4, CB10_CA4, CB11_CA4}, + {1, CB12_CA5, CB10_CA5, CB11_CA5}, + {1, CB12_CA2, CB10_CA2, CB11_CA2}, - {1, I_16, G_16, H_16}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_3, G_3, H_3}, - {1, I_1, G_1, H_1}, - {1, L_6, J_6, K_6}, - {1, L_7, J_7, K_7}, - {1, L_8, J_8, K_8}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, + {1, CB12_CA6, CB10_CA6, CB11_CA6}, + {1, CB12_CA7, CB10_CA7, CB11_CA7}, + {1, CB12_CA8, CB10_CA8, CB11_CA8}, - {1, F_16, D_16, E_16}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_10, D_10, E_10}, - {1, F_6, D_6, E_6}, - {1, F_5, D_5, E_5}, - {1, F_4, D_4, E_4}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1}, - {1, L_10, J_10, K_10}, - {1, L_11, J_11, K_11}, - {1, L_12, J_12, K_12}, - {1, L_9, J_9, K_9}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA5, CB4_CA5, CB5_CA5}, + {1, CB6_CA4, CB4_CA4, CB5_CA4}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB12_CA10, CB10_CA10, CB11_CA10}, + {1, CB12_CA11, CB10_CA11, CB11_CA11}, + {1, CB12_CA12, CB10_CA12, CB11_CA12}, + {1, CB12_CA9, CB10_CA9, CB11_CA9}, }; #define __ NO_LED diff --git a/keyboards/keychron/v7/ansi/ansi.c b/keyboards/keychron/v7/ansi/ansi.c index 132f5685191..4d0bedff097 100644 --- a/keyboards/keychron/v7/ansi/ansi.c +++ b/keyboards/keychron/v7/ansi/ansi.c @@ -27,82 +27,82 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {1, I_15, G_15, H_15}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v7/iso/iso.c b/keyboards/keychron/v7/iso/iso.c index 7aaeafe65e2..cdd2d97209a 100644 --- a/keyboards/keychron/v7/iso/iso.c +++ b/keyboards/keychron/v7/iso/iso.c @@ -27,83 +27,83 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {0, C_6, A_6, B_6}, - {0, C_7, A_7, B_7}, - {0, C_8, A_8, B_8}, - {0, C_9, A_9, B_9}, - {0, C_10, A_10, B_10}, - {0, C_11, A_11, B_11}, - {0, C_12, A_12, B_12}, - {0, C_13, A_13, B_13}, - {0, C_14, A_14, B_14}, - {0, C_15, A_15, B_15}, - {0, C_16, A_16, B_16}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {0, CB3_CA6, CB1_CA6, CB2_CA6}, + {0, CB3_CA7, CB1_CA7, CB2_CA7}, + {0, CB3_CA8, CB1_CA8, CB2_CA8}, + {0, CB3_CA9, CB1_CA9, CB2_CA9}, + {0, CB3_CA10, CB1_CA10, CB2_CA10}, + {0, CB3_CA11, CB1_CA11, CB2_CA11}, + {0, CB3_CA12, CB1_CA12, CB2_CA12}, + {0, CB3_CA13, CB1_CA13, CB2_CA13}, + {0, CB3_CA14, CB1_CA14, CB2_CA14}, + {0, CB3_CA15, CB1_CA15, CB2_CA15}, + {0, CB3_CA16, CB1_CA16, CB2_CA16}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, - {0, F_16, D_16, E_16}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, + {0, CB6_CA16, CB4_CA16, CB5_CA16}, - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {1, I_6, G_6, H_6}, - {1, I_7, G_7, H_7}, - {1, I_8, G_8, H_8}, - {1, I_9, G_9, H_9}, - {1, I_10, G_10, H_10}, - {1, I_11, G_11, H_11}, - {1, I_12, G_12, H_12}, - {1, I_14, G_14, H_14}, - {0, F_14, D_14, E_14}, - {1, I_15, G_15, H_15}, - {1, I_16, G_16, H_16}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA16, CB7_CA16, CB8_CA16}, - {1, C_1, A_1, B_1}, - {1, C_2, A_2, B_2}, - {1, C_3, A_3, B_3}, - {1, C_4, A_4, B_4}, - {1, C_5, A_5, B_5}, - {1, C_6, A_6, B_6}, - {1, C_7, A_7, B_7}, - {1, C_8, A_8, B_8}, - {1, C_9, A_9, B_9}, - {1, C_10, A_10, B_10}, - {1, C_11, A_11, B_11}, - {1, C_12, A_12, B_12}, - {1, C_14, A_14, B_14}, - {1, C_15, A_15, B_15}, - {1, C_16, A_16, B_16}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA11, CB1_CA11, CB2_CA11}, + {1, CB3_CA12, CB1_CA12, CB2_CA12}, + {1, CB3_CA14, CB1_CA14, CB2_CA14}, + {1, CB3_CA15, CB1_CA15, CB2_CA15}, + {1, CB3_CA16, CB1_CA16, CB2_CA16}, - {1, F_1, D_1, E_1}, - {1, F_2, D_2, E_2}, - {1, F_3, D_3, E_3}, - {1, F_7, D_7, E_7}, - {1, F_10, D_10, E_10}, - {1, F_11, D_11, E_11}, - {1, F_12, D_12, E_12}, - {1, F_13, D_13, E_13}, - {1, F_14, D_14, E_14}, - {1, F_15, D_15, E_15}, - {1, F_16, D_16, E_16}, + {1, CB6_CA1, CB4_CA1, CB5_CA1}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA10, CB4_CA10, CB5_CA10}, + {1, CB6_CA11, CB4_CA11, CB5_CA11}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA16, CB4_CA16, CB5_CA16}, }; #define __ NO_LED diff --git a/keyboards/keychron/v8/ansi/ansi.c b/keyboards/keychron/v8/ansi/ansi.c index e5840fe966f..fcc232511fa 100644 --- a/keyboards/keychron/v8/ansi/ansi.c +++ b/keyboards/keychron/v8/ansi/ansi.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - // {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + // {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #define __ NO_LED diff --git a/keyboards/keychron/v8/ansi_encoder/ansi_encoder.c b/keyboards/keychron/v8/ansi_encoder/ansi_encoder.c index e5840fe966f..fcc232511fa 100644 --- a/keyboards/keychron/v8/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/v8/ansi_encoder/ansi_encoder.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_14, D_14, E_14}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - // {1, C_9, A_9, B_9}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + // {1, CB3_CA9, CB1_CA9, CB2_CA9}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #define __ NO_LED diff --git a/keyboards/keychron/v8/iso/iso.c b/keyboards/keychron/v8/iso/iso.c index 07b350209d0..4658969a105 100644 --- a/keyboards/keychron/v8/iso/iso.c +++ b/keyboards/keychron/v8/iso/iso.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #define __ NO_LED diff --git a/keyboards/keychron/v8/iso_encoder/iso_encoder.c b/keyboards/keychron/v8/iso_encoder/iso_encoder.c index 07b350209d0..4658969a105 100644 --- a/keyboards/keychron/v8/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/v8/iso_encoder/iso_encoder.c @@ -27,80 +27,80 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, I_1, G_1, H_1}, - {0, I_2, G_2, H_2}, - {0, I_3, G_3, H_3}, - {0, I_4, G_4, H_4}, - {0, I_5, G_5, H_5}, - {0, I_6, G_6, H_6}, - {0, I_7, G_7, H_7}, - {0, I_8, G_8, H_8}, - {0, I_9, G_9, H_9}, - {0, I_10, G_10, H_10}, - {0, I_11, G_11, H_11}, - {0, I_12, G_12, H_12}, - {0, I_13, G_13, H_13}, - {0, I_14, G_14, H_14}, - {0, I_15, G_15, H_15}, + {0, CB9_CA1, CB7_CA1, CB8_CA1}, + {0, CB9_CA2, CB7_CA2, CB8_CA2}, + {0, CB9_CA3, CB7_CA3, CB8_CA3}, + {0, CB9_CA4, CB7_CA4, CB8_CA4}, + {0, CB9_CA5, CB7_CA5, CB8_CA5}, + {0, CB9_CA6, CB7_CA6, CB8_CA6}, + {0, CB9_CA7, CB7_CA7, CB8_CA7}, + {0, CB9_CA8, CB7_CA8, CB8_CA8}, + {0, CB9_CA9, CB7_CA9, CB8_CA9}, + {0, CB9_CA10, CB7_CA10, CB8_CA10}, + {0, CB9_CA11, CB7_CA11, CB8_CA11}, + {0, CB9_CA12, CB7_CA12, CB8_CA12}, + {0, CB9_CA13, CB7_CA13, CB8_CA13}, + {0, CB9_CA14, CB7_CA14, CB8_CA14}, + {0, CB9_CA15, CB7_CA15, CB8_CA15}, - {0, F_1, D_1, E_1}, - {0, F_2, D_2, E_2}, - {0, F_3, D_3, E_3}, - {0, F_4, D_4, E_4}, - {0, F_5, D_5, E_5}, - {0, F_6, D_6, E_6}, - {0, F_7, D_7, E_7}, - {0, F_8, D_8, E_8}, - {0, F_9, D_9, E_9}, - {0, F_10, D_10, E_10}, - {0, F_11, D_11, E_11}, - {0, F_12, D_12, E_12}, - {0, F_13, D_13, E_13}, - {0, F_15, D_15, E_15}, + {0, CB6_CA1, CB4_CA1, CB5_CA1}, + {0, CB6_CA2, CB4_CA2, CB5_CA2}, + {0, CB6_CA3, CB4_CA3, CB5_CA3}, + {0, CB6_CA4, CB4_CA4, CB5_CA4}, + {0, CB6_CA5, CB4_CA5, CB5_CA5}, + {0, CB6_CA6, CB4_CA6, CB5_CA6}, + {0, CB6_CA7, CB4_CA7, CB5_CA7}, + {0, CB6_CA8, CB4_CA8, CB5_CA8}, + {0, CB6_CA9, CB4_CA9, CB5_CA9}, + {0, CB6_CA10, CB4_CA10, CB5_CA10}, + {0, CB6_CA11, CB4_CA11, CB5_CA11}, + {0, CB6_CA12, CB4_CA12, CB5_CA12}, + {0, CB6_CA13, CB4_CA13, CB5_CA13}, + {0, CB6_CA15, CB4_CA15, CB5_CA15}, - {0, C_1, A_1, B_1}, - {0, C_2, A_2, B_2}, - {0, C_3, A_3, B_3}, - {0, C_4, A_4, B_4}, - {0, C_5, A_5, B_5}, - {1, C_10, A_10, B_10}, - {1, C_8, A_8, B_8}, - {1, C_7, A_7, B_7}, - {1, C_6, A_6, B_6}, - {1, C_5, A_5, B_5}, - {1, C_4, A_4, B_4}, - {1, C_3, A_3, B_3}, - {1, C_2, A_2, B_2}, - {0, F_14, D_14, E_14}, - {1, C_1, A_1, B_1}, + {0, CB3_CA1, CB1_CA1, CB2_CA1}, + {0, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB3_CA3, CB1_CA3, CB2_CA3}, + {0, CB3_CA4, CB1_CA4, CB2_CA4}, + {0, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA10, CB1_CA10, CB2_CA10}, + {1, CB3_CA8, CB1_CA8, CB2_CA8}, + {1, CB3_CA7, CB1_CA7, CB2_CA7}, + {1, CB3_CA6, CB1_CA6, CB2_CA6}, + {1, CB3_CA5, CB1_CA5, CB2_CA5}, + {1, CB3_CA4, CB1_CA4, CB2_CA4}, + {1, CB3_CA3, CB1_CA3, CB2_CA3}, + {1, CB3_CA2, CB1_CA2, CB2_CA2}, + {0, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB3_CA1, CB1_CA1, CB2_CA1}, - {1, I_15, G_15, H_15}, - {1, I_14, G_14, H_14}, - {1, I_13, G_13, H_13}, - {1, I_12, G_12, H_12}, - {1, I_11, G_11, H_11}, - {1, I_10, G_10, H_10}, - {1, I_9, G_9, H_9}, - {1, I_8, G_8, H_8}, - {1, I_7, G_7, H_7}, - {1, I_6, G_6, H_6}, - {1, I_5, G_5, H_5}, - {1, I_4, G_4, H_4}, - {1, I_3, G_3, H_3}, - {1, I_2, G_2, H_2}, - {1, I_1, G_1, H_1}, + {1, CB9_CA15, CB7_CA15, CB8_CA15}, + {1, CB9_CA14, CB7_CA14, CB8_CA14}, + {1, CB9_CA13, CB7_CA13, CB8_CA13}, + {1, CB9_CA12, CB7_CA12, CB8_CA12}, + {1, CB9_CA11, CB7_CA11, CB8_CA11}, + {1, CB9_CA10, CB7_CA10, CB8_CA10}, + {1, CB9_CA9, CB7_CA9, CB8_CA9}, + {1, CB9_CA8, CB7_CA8, CB8_CA8}, + {1, CB9_CA7, CB7_CA7, CB8_CA7}, + {1, CB9_CA6, CB7_CA6, CB8_CA6}, + {1, CB9_CA5, CB7_CA5, CB8_CA5}, + {1, CB9_CA4, CB7_CA4, CB8_CA4}, + {1, CB9_CA3, CB7_CA3, CB8_CA3}, + {1, CB9_CA2, CB7_CA2, CB8_CA2}, + {1, CB9_CA1, CB7_CA1, CB8_CA1}, - {1, F_15, D_15, E_15}, - {1, F_14, D_14, E_14}, - {1, F_13, D_13, E_13}, - {1, F_12, D_12, E_12}, - {1, F_9, D_9, E_9}, - {1, F_8, D_8, E_8}, - {1, F_7, D_7, E_7}, - {1, F_6, D_6, E_6}, - {1, F_3, D_3, E_3}, - {1, F_2, D_2, E_2}, - {1, F_1, D_1, E_1} + {1, CB6_CA15, CB4_CA15, CB5_CA15}, + {1, CB6_CA14, CB4_CA14, CB5_CA14}, + {1, CB6_CA13, CB4_CA13, CB5_CA13}, + {1, CB6_CA12, CB4_CA12, CB5_CA12}, + {1, CB6_CA9, CB4_CA9, CB5_CA9}, + {1, CB6_CA8, CB4_CA8, CB5_CA8}, + {1, CB6_CA7, CB4_CA7, CB5_CA7}, + {1, CB6_CA6, CB4_CA6, CB5_CA6}, + {1, CB6_CA3, CB4_CA3, CB5_CA3}, + {1, CB6_CA2, CB4_CA2, CB5_CA2}, + {1, CB6_CA1, CB4_CA1, CB5_CA1} }; #define __ NO_LED diff --git a/keyboards/kprepublic/bm40hsrgb/rev2/rev2.c b/keyboards/kprepublic/bm40hsrgb/rev2/rev2.c index 8dd4cc2af1c..a867cb0f20d 100755 --- a/keyboards/kprepublic/bm40hsrgb/rev2/rev2.c +++ b/keyboards/kprepublic/bm40hsrgb/rev2/rev2.c @@ -18,56 +18,56 @@ #if defined(RGB_MATRIX_ENABLE) const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_11, J_11, L_11 }, - { 0, K_12, J_12, L_12 } + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 } }; #endif /* RGB_MATRIX_ENABLE */ diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c index ce12ad67fe9..3ee74755fad 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c +++ b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c @@ -23,73 +23,73 @@ # include "ws2812.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_14, G_14, I_14 }, - - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_12, J_12, L_12 }, - { 0, K_13, J_13, L_13 }, - { 0, K_14, J_14, L_14 }, - - { 0, H_16, G_16, I_16 }, - { 0, H_15, G_15, I_15 }, - { 0, H_13, G_13, I_13 }, - { 0, E_15, D_15, F_15 }, - { 0, K_15, J_15, L_15 }, - { 0, K_11, J_11, L_11 }, - { 0, K_16, J_16, L_16 }, - { 0, B_16, A_16, C_16 }, - { 0, E_16, D_16, F_16 } + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c index 982bf39c52c..eca53e98934 100644 --- a/keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c +++ b/keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c @@ -16,73 +16,73 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_14, G_14, I_14 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_12, J_12, L_12 }, - { 0, K_13, J_13, L_13 }, - { 0, K_14, J_14, L_14 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, - { 0, H_16, G_16, I_16 }, - { 0, H_15, G_15, I_15 }, - { 0, H_13, G_13, I_13 }, - { 0, E_15, D_15, F_15 }, - { 0, K_15, J_15, L_15 }, - { 0, K_11, J_11, L_11 }, - { 0, K_16, J_16, L_16 }, - { 0, B_16, A_16, C_16 }, - { 0, E_16, D_16, F_16 } + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c index 24c785d28e2..e7641bf4e5e 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c @@ -25,74 +25,74 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_13, G_13, I_13 }, - - { 0, K_1, J_1, L_1 }, - { 0, K_11, J_11, L_11 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_12, J_12, L_12 }, - { 0, K_13, J_13, L_13 }, - { 0, K_14, J_14, L_14 }, - - { 0, H_16, G_16, I_16 }, - { 0, H_14, G_14, I_14 }, - { 0, H_15, G_15, I_15 }, - { 0, E_15, D_15, F_15 }, - { 0, K_15, J_15, L_15 }, - { 0, K_16, J_16, L_16 }, - { 0, B_16, A_16, C_16 }, - { 0, B_15, A_15, C_15 }, - { 0, E_16, D_16, F_16 } + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS14, SW10_CS14, SW12_CS14 }, + + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW2_CS15, SW1_CS15, SW3_CS15 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 } }; led_config_t g_led_config = { { diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c index f2f63375421..5cb6d850c9f 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c @@ -22,71 +22,71 @@ # include "ws2812.h" const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, B_1, A_1, C_1 }, - { 0, B_2, A_2, C_2 }, - { 0, B_3, A_3, C_3 }, - { 0, B_4, A_4, C_4 }, - { 0, B_5, A_5, C_5 }, - { 0, B_6, A_6, C_6 }, - { 0, B_7, A_7, C_7 }, - { 0, B_8, A_8, C_8 }, - { 0, B_9, A_9, C_9 }, - { 0, B_10, A_10, C_10 }, - { 0, B_11, A_11, C_11 }, - { 0, B_12, A_12, C_12 }, - { 0, B_13, A_13, C_13 }, - { 0, B_14, A_14, C_14 }, - - { 0, E_1, D_1, F_1 }, - { 0, E_2, D_2, F_2 }, - { 0, E_3, D_3, F_3 }, - { 0, E_4, D_4, F_4 }, - { 0, E_5, D_5, F_5 }, - { 0, E_6, D_6, F_6 }, - { 0, E_7, D_7, F_7 }, - { 0, E_8, D_8, F_8 }, - { 0, E_9, D_9, F_9 }, - { 0, E_10, D_10, F_10 }, - { 0, E_11, D_11, F_11 }, - { 0, E_12, D_12, F_12 }, - { 0, E_13, D_13, F_13 }, - { 0, E_14, D_14, F_14 }, - - { 0, H_1, G_1, I_1 }, - { 0, H_2, G_2, I_2 }, - { 0, H_3, G_3, I_3 }, - { 0, H_4, G_4, I_4 }, - { 0, H_5, G_5, I_5 }, - { 0, H_6, G_6, I_6 }, - { 0, H_7, G_7, I_7 }, - { 0, H_8, G_8, I_8 }, - { 0, H_9, G_9, I_9 }, - { 0, H_10, G_10, I_10 }, - { 0, H_11, G_11, I_11 }, - { 0, H_12, G_12, I_12 }, - { 0, H_14, G_14, I_14 }, - - { 0, K_1, J_1, L_1 }, - { 0, K_2, J_2, L_2 }, - { 0, K_3, J_3, L_3 }, - { 0, K_4, J_4, L_4 }, - { 0, K_5, J_5, L_5 }, - { 0, K_6, J_6, L_6 }, - { 0, K_7, J_7, L_7 }, - { 0, K_8, J_8, L_8 }, - { 0, K_9, J_9, L_9 }, - { 0, K_10, J_10, L_10 }, - { 0, K_11, J_11, L_11 }, - { 0, K_13, J_13, L_13 }, - - { 0, H_16, G_16, I_16 }, - { 0, H_15, G_15, I_15 }, - { 0, H_13, G_13, I_13 }, - { 0, E_15, D_15, F_15 }, - { 0, K_15, J_15, L_15 }, - { 0, K_16, J_16, L_16 }, - { 0, K_12, J_12, L_12 }, - { 0, E_16, D_16, F_16 } + { 0, SW2_CS1, SW1_CS1, SW3_CS1 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW11_CS15, SW10_CS15, SW12_CS15 }, + { 0, SW11_CS16, SW10_CS16, SW12_CS16 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 } }; led_config_t g_led_config = { diff --git a/keyboards/kprepublic/bm68hsrgb/rev2/rev2.c b/keyboards/kprepublic/bm68hsrgb/rev2/rev2.c index 357ce13e960..68068d7fb97 100644 --- a/keyboards/kprepublic/bm68hsrgb/rev2/rev2.c +++ b/keyboards/kprepublic/bm68hsrgb/rev2/rev2.c @@ -18,78 +18,78 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS6_SW1, CS5_SW1, CS4_SW1}, - {0, CS6_SW2, CS5_SW2, CS4_SW2}, - {0, CS6_SW3, CS5_SW3, CS4_SW3}, - {0, CS6_SW4, CS5_SW4, CS4_SW4}, - {0, CS6_SW5, CS5_SW5, CS4_SW5}, - {0, CS6_SW6, CS5_SW6, CS4_SW6}, - {0, CS6_SW7, CS5_SW7, CS4_SW7}, - {0, CS6_SW8, CS5_SW8, CS4_SW8}, - {0, CS18_SW1, CS17_SW1, CS16_SW1}, - {0, CS18_SW2, CS17_SW2, CS16_SW2}, - {0, CS18_SW3, CS17_SW3, CS16_SW3}, - {0, CS18_SW4, CS17_SW4, CS16_SW4}, - {0, CS18_SW5, CS17_SW5, CS16_SW5}, - {0, CS18_SW6, CS17_SW6, CS16_SW6}, - {0, CS18_SW7, CS17_SW7, CS16_SW7}, + {0, SW1_CS6, SW1_CS5, SW1_CS4}, + {0, SW2_CS6, SW2_CS5, SW2_CS4}, + {0, SW3_CS6, SW3_CS5, SW3_CS4}, + {0, SW4_CS6, SW4_CS5, SW4_CS4}, + {0, SW5_CS6, SW5_CS5, SW5_CS4}, + {0, SW6_CS6, SW6_CS5, SW6_CS4}, + {0, SW7_CS6, SW7_CS5, SW7_CS4}, + {0, SW8_CS6, SW8_CS5, SW8_CS4}, + {0, SW1_CS18, SW1_CS17, SW1_CS16}, + {0, SW2_CS18, SW2_CS17, SW2_CS16}, + {0, SW3_CS18, SW3_CS17, SW3_CS16}, + {0, SW4_CS18, SW4_CS17, SW4_CS16}, + {0, SW5_CS18, SW5_CS17, SW5_CS16}, + {0, SW6_CS18, SW6_CS17, SW6_CS16}, + {0, SW7_CS18, SW7_CS17, SW7_CS16}, - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS21_SW1, CS20_SW1, CS19_SW1}, - {0, CS21_SW2, CS20_SW2, CS19_SW2}, - {0, CS21_SW3, CS20_SW3, CS19_SW3}, - {0, CS21_SW4, CS20_SW4, CS19_SW4}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW1_CS21, SW1_CS20, SW1_CS19}, + {0, SW2_CS21, SW2_CS20, SW2_CS19}, + {0, SW3_CS21, SW3_CS20, SW3_CS19}, + {0, SW4_CS21, SW4_CS20, SW4_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS24_SW1, CS23_SW1, CS22_SW1}, - {0, CS24_SW2, CS23_SW2, CS22_SW2}, - {0, CS24_SW3, CS23_SW3, CS22_SW3}, - {0, CS24_SW4, CS23_SW4, CS22_SW4}, - {0, CS24_SW6, CS23_SW6, CS22_SW6}, - {0, CS24_SW7, CS23_SW7, CS22_SW7}, + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW1_CS24, SW1_CS23, SW1_CS22}, + {0, SW2_CS24, SW2_CS23, SW2_CS22}, + {0, SW3_CS24, SW3_CS23, SW3_CS22}, + {0, SW4_CS24, SW4_CS23, SW4_CS22}, + {0, SW6_CS24, SW6_CS23, SW6_CS22}, + {0, SW7_CS24, SW7_CS23, SW7_CS22}, - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW4, CS14_SW4, CS13_SW4}, - {0, CS15_SW5, CS14_SW5, CS13_SW5}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS15_SW7, CS14_SW7, CS13_SW7}, - {0, CS15_SW8, CS14_SW8, CS13_SW8}, - {0, CS27_SW1, CS26_SW1, CS25_SW1}, - {0, CS27_SW2, CS26_SW2, CS25_SW2}, - {0, CS27_SW3, CS26_SW3, CS25_SW3}, - {0, CS27_SW4, CS26_SW4, CS25_SW4}, - {0, CS27_SW5, CS26_SW5, CS25_SW5}, - {0, CS27_SW6, CS26_SW6, CS25_SW6}, - {0, CS27_SW7, CS26_SW7, CS25_SW7}, + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW4_CS15, SW4_CS14, SW4_CS13}, + {0, SW5_CS15, SW5_CS14, SW5_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW7_CS15, SW7_CS14, SW7_CS13}, + {0, SW8_CS15, SW8_CS14, SW8_CS13}, + {0, SW1_CS27, SW1_CS26, SW1_CS25}, + {0, SW2_CS27, SW2_CS26, SW2_CS25}, + {0, SW3_CS27, SW3_CS26, SW3_CS25}, + {0, SW4_CS27, SW4_CS26, SW4_CS25}, + {0, SW5_CS27, SW5_CS26, SW5_CS25}, + {0, SW6_CS27, SW6_CS26, SW6_CS25}, + {0, SW7_CS27, SW7_CS26, SW7_CS25}, - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW7, CS2_SW7, CS1_SW7}, - {0, CS30_SW2, CS29_SW2, CS28_SW2}, - {0, CS30_SW3, CS29_SW3, CS28_SW3}, - {0, CS30_SW4, CS29_SW4, CS28_SW4}, - {0, CS30_SW5, CS29_SW5, CS28_SW5}, - {0, CS30_SW6, CS29_SW6, CS28_SW6}, - {0, CS30_SW7, CS29_SW7, CS28_SW7} + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW7_CS3, SW7_CS2, SW7_CS1}, + {0, SW2_CS30, SW2_CS29, SW2_CS28}, + {0, SW3_CS30, SW3_CS29, SW3_CS28}, + {0, SW4_CS30, SW4_CS29, SW4_CS28}, + {0, SW5_CS30, SW5_CS29, SW5_CS28}, + {0, SW6_CS30, SW6_CS29, SW6_CS28}, + {0, SW7_CS30, SW7_CS29, SW7_CS28} }; led_config_t g_led_config = { { diff --git a/keyboards/kprepublic/bm80v2/bm80v2.c b/keyboards/kprepublic/bm80v2/bm80v2.c index 3e3de08288b..9c1b71d0579 100644 --- a/keyboards/kprepublic/bm80v2/bm80v2.c +++ b/keyboards/kprepublic/bm80v2/bm80v2.c @@ -17,99 +17,99 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS6_SW1, CS5_SW1, CS4_SW1}, - {0, CS6_SW3, CS5_SW3, CS4_SW3}, - {0, CS6_SW4, CS5_SW4, CS4_SW4}, - {0, CS6_SW5, CS5_SW5, CS4_SW5}, - {0, CS6_SW6, CS5_SW6, CS4_SW6}, - {0, CS6_SW7, CS5_SW7, CS4_SW7}, - {0, CS6_SW8, CS5_SW8, CS4_SW8}, - {0, CS6_SW9, CS5_SW9, CS4_SW9}, - {0, CS21_SW1, CS20_SW1, CS19_SW1}, - {0, CS21_SW2, CS20_SW2, CS19_SW2}, - {0, CS21_SW3, CS20_SW3, CS19_SW3}, - {0, CS21_SW4, CS20_SW4, CS19_SW4}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, - {0, CS21_SW8, CS20_SW8, CS19_SW8}, + {0, SW1_CS6, SW1_CS5, SW1_CS4}, + {0, SW3_CS6, SW3_CS5, SW3_CS4}, + {0, SW4_CS6, SW4_CS5, SW4_CS4}, + {0, SW5_CS6, SW5_CS5, SW5_CS4}, + {0, SW6_CS6, SW6_CS5, SW6_CS4}, + {0, SW7_CS6, SW7_CS5, SW7_CS4}, + {0, SW8_CS6, SW8_CS5, SW8_CS4}, + {0, SW9_CS6, SW9_CS5, SW9_CS4}, + {0, SW1_CS21, SW1_CS20, SW1_CS19}, + {0, SW2_CS21, SW2_CS20, SW2_CS19}, + {0, SW3_CS21, SW3_CS20, SW3_CS19}, + {0, SW4_CS21, SW4_CS20, SW4_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, + {0, SW8_CS21, SW8_CS20, SW8_CS19}, - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS9_SW9, CS8_SW9, CS7_SW9}, - {0,CS24_SW1, CS23_SW1, CS22_SW1}, - {0,CS24_SW2, CS23_SW2, CS22_SW2}, - {0,CS24_SW3, CS23_SW3, CS22_SW3}, - {0,CS24_SW4, CS23_SW4, CS22_SW4}, - {0,CS24_SW5, CS23_SW5, CS22_SW5}, - {0,CS24_SW6, CS23_SW6, CS22_SW6}, - {0,CS24_SW7, CS23_SW7, CS22_SW7}, - {0,CS24_SW8, CS23_SW8, CS22_SW8}, + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW9_CS9, SW9_CS8, SW9_CS7}, + {0,SW1_CS24, SW1_CS23, SW1_CS22}, + {0,SW2_CS24, SW2_CS23, SW2_CS22}, + {0,SW3_CS24, SW3_CS23, SW3_CS22}, + {0,SW4_CS24, SW4_CS23, SW4_CS22}, + {0,SW5_CS24, SW5_CS23, SW5_CS22}, + {0,SW6_CS24, SW6_CS23, SW6_CS22}, + {0,SW7_CS24, SW7_CS23, SW7_CS22}, + {0,SW8_CS24, SW8_CS23, SW8_CS22}, - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS12_SW9, CS11_SW9, CS10_SW9}, - {0, CS27_SW1, CS26_SW1, CS25_SW1}, - {0, CS27_SW2, CS26_SW2, CS25_SW2}, - {0, CS27_SW3, CS26_SW3, CS25_SW3}, - {0, CS27_SW4, CS26_SW4, CS25_SW4}, - {0, CS27_SW5, CS26_SW5, CS25_SW5}, - {0, CS27_SW6, CS26_SW6, CS25_SW6}, - {0, CS27_SW7, CS26_SW7, CS25_SW7}, - {0, CS27_SW8, CS26_SW8, CS25_SW8}, + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW9_CS12, SW9_CS11, SW9_CS10}, + {0, SW1_CS27, SW1_CS26, SW1_CS25}, + {0, SW2_CS27, SW2_CS26, SW2_CS25}, + {0, SW3_CS27, SW3_CS26, SW3_CS25}, + {0, SW4_CS27, SW4_CS26, SW4_CS25}, + {0, SW5_CS27, SW5_CS26, SW5_CS25}, + {0, SW6_CS27, SW6_CS26, SW6_CS25}, + {0, SW7_CS27, SW7_CS26, SW7_CS25}, + {0, SW8_CS27, SW8_CS26, SW8_CS25}, - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW4, CS14_SW4, CS13_SW4}, - {0, CS15_SW5, CS14_SW5, CS13_SW5}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS15_SW7, CS14_SW7, CS13_SW7}, - {0, CS15_SW8, CS14_SW8, CS13_SW8}, - {0, CS15_SW9, CS14_SW9, CS13_SW9}, - {0, CS30_SW1, CS29_SW1, CS28_SW1}, - {0, CS30_SW2, CS29_SW2, CS28_SW2}, - {0, CS30_SW3, CS29_SW3, CS28_SW3}, - {0, CS30_SW4, CS29_SW4, CS28_SW4}, + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW4_CS15, SW4_CS14, SW4_CS13}, + {0, SW5_CS15, SW5_CS14, SW5_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW7_CS15, SW7_CS14, SW7_CS13}, + {0, SW8_CS15, SW8_CS14, SW8_CS13}, + {0, SW9_CS15, SW9_CS14, SW9_CS13}, + {0, SW1_CS30, SW1_CS29, SW1_CS28}, + {0, SW2_CS30, SW2_CS29, SW2_CS28}, + {0, SW3_CS30, SW3_CS29, SW3_CS28}, + {0, SW4_CS30, SW4_CS29, SW4_CS28}, - {0, CS18_SW1, CS17_SW1, CS16_SW1}, - {0, CS18_SW3, CS17_SW3, CS16_SW3}, - {0, CS18_SW4, CS17_SW4, CS16_SW4}, - {0, CS18_SW5, CS17_SW5, CS16_SW5}, - {0, CS18_SW6, CS17_SW6, CS16_SW6}, - {0, CS18_SW7, CS17_SW7, CS16_SW7}, - {0, CS18_SW8, CS17_SW8, CS16_SW8}, - {0, CS18_SW9, CS17_SW9, CS16_SW9}, - {0, CS33_SW1, CS32_SW1, CS31_SW1}, - {0, CS33_SW2, CS32_SW2, CS31_SW2}, - {0, CS33_SW3, CS32_SW3, CS31_SW3}, - {0, CS33_SW4, CS32_SW4, CS31_SW4}, - {0, CS33_SW7, CS32_SW7, CS31_SW7}, + {0, SW1_CS18, SW1_CS17, SW1_CS16}, + {0, SW3_CS18, SW3_CS17, SW3_CS16}, + {0, SW4_CS18, SW4_CS17, SW4_CS16}, + {0, SW5_CS18, SW5_CS17, SW5_CS16}, + {0, SW6_CS18, SW6_CS17, SW6_CS16}, + {0, SW7_CS18, SW7_CS17, SW7_CS16}, + {0, SW8_CS18, SW8_CS17, SW8_CS16}, + {0, SW9_CS18, SW9_CS17, SW9_CS16}, + {0, SW1_CS33, SW1_CS32, SW1_CS31}, + {0, SW2_CS33, SW2_CS32, SW2_CS31}, + {0, SW3_CS33, SW3_CS32, SW3_CS31}, + {0, SW4_CS33, SW4_CS32, SW4_CS31}, + {0, SW7_CS33, SW7_CS32, SW7_CS31}, - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, - {0, CS36_SW2, CS35_SW2, CS34_SW2}, - {0, CS36_SW3, CS35_SW3, CS34_SW3}, - {0, CS36_SW4, CS35_SW4, CS34_SW4}, - {0, CS36_SW5, CS35_SW5, CS34_SW5}, - {0, CS36_SW6, CS35_SW6, CS34_SW6}, - {0, CS36_SW7, CS35_SW7, CS34_SW7}, - {0, CS36_SW8, CS35_SW8, CS34_SW8} + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, + {0, SW2_CS36, SW2_CS35, SW2_CS34}, + {0, SW3_CS36, SW3_CS35, SW3_CS34}, + {0, SW4_CS36, SW4_CS35, SW4_CS34}, + {0, SW5_CS36, SW5_CS35, SW5_CS34}, + {0, SW6_CS36, SW6_CS35, SW6_CS34}, + {0, SW7_CS36, SW7_CS35, SW7_CS34}, + {0, SW8_CS36, SW8_CS35, SW8_CS34} }; led_config_t g_led_config = { { diff --git a/keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c b/keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c index 1d6e3df5479..3009359c65f 100644 --- a/keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c +++ b/keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c @@ -17,100 +17,100 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS6_SW1, CS5_SW1, CS4_SW1}, - {0, CS6_SW3, CS5_SW3, CS4_SW3}, - {0, CS6_SW4, CS5_SW4, CS4_SW4}, - {0, CS6_SW5, CS5_SW5, CS4_SW5}, - {0, CS6_SW6, CS5_SW6, CS4_SW6}, - {0, CS6_SW7, CS5_SW7, CS4_SW7}, - {0, CS6_SW8, CS5_SW8, CS4_SW8}, - {0, CS6_SW9, CS5_SW9, CS4_SW9}, - {0, CS21_SW1, CS20_SW1, CS19_SW1}, - {0, CS21_SW2, CS20_SW2, CS19_SW2}, - {0, CS21_SW3, CS20_SW3, CS19_SW3}, - {0, CS21_SW4, CS20_SW4, CS19_SW4}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, - {0, CS21_SW7, CS20_SW7, CS19_SW7}, - {0, CS21_SW8, CS20_SW8, CS19_SW8}, + {0, SW1_CS6, SW1_CS5, SW1_CS4}, + {0, SW3_CS6, SW3_CS5, SW3_CS4}, + {0, SW4_CS6, SW4_CS5, SW4_CS4}, + {0, SW5_CS6, SW5_CS5, SW5_CS4}, + {0, SW6_CS6, SW6_CS5, SW6_CS4}, + {0, SW7_CS6, SW7_CS5, SW7_CS4}, + {0, SW8_CS6, SW8_CS5, SW8_CS4}, + {0, SW9_CS6, SW9_CS5, SW9_CS4}, + {0, SW1_CS21, SW1_CS20, SW1_CS19}, + {0, SW2_CS21, SW2_CS20, SW2_CS19}, + {0, SW3_CS21, SW3_CS20, SW3_CS19}, + {0, SW4_CS21, SW4_CS20, SW4_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, + {0, SW7_CS21, SW7_CS20, SW7_CS19}, + {0, SW8_CS21, SW8_CS20, SW8_CS19}, - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS9_SW9, CS8_SW9, CS7_SW9}, - {0,CS24_SW1, CS23_SW1, CS22_SW1}, - {0,CS24_SW2, CS23_SW2, CS22_SW2}, - {0,CS24_SW3, CS23_SW3, CS22_SW3}, - {0,CS24_SW4, CS23_SW4, CS22_SW4}, - {0,CS24_SW5, CS23_SW5, CS22_SW5}, - {0,CS24_SW6, CS23_SW6, CS22_SW6}, - {0,CS24_SW7, CS23_SW7, CS22_SW7}, - {0,CS24_SW8, CS23_SW8, CS22_SW8}, + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW9_CS9, SW9_CS8, SW9_CS7}, + {0,SW1_CS24, SW1_CS23, SW1_CS22}, + {0,SW2_CS24, SW2_CS23, SW2_CS22}, + {0,SW3_CS24, SW3_CS23, SW3_CS22}, + {0,SW4_CS24, SW4_CS23, SW4_CS22}, + {0,SW5_CS24, SW5_CS23, SW5_CS22}, + {0,SW6_CS24, SW6_CS23, SW6_CS22}, + {0,SW7_CS24, SW7_CS23, SW7_CS22}, + {0,SW8_CS24, SW8_CS23, SW8_CS22}, - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS12_SW9, CS11_SW9, CS10_SW9}, - {0, CS27_SW1, CS26_SW1, CS25_SW1}, - {0, CS27_SW2, CS26_SW2, CS25_SW2}, - {0, CS27_SW3, CS26_SW3, CS25_SW3}, - {0, CS27_SW4, CS26_SW4, CS25_SW4}, - {0, CS27_SW5, CS26_SW5, CS25_SW5}, - {0, CS27_SW6, CS26_SW6, CS25_SW6}, - {0, CS27_SW7, CS26_SW7, CS25_SW7}, - {0, CS27_SW8, CS26_SW8, CS25_SW8}, + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW9_CS12, SW9_CS11, SW9_CS10}, + {0, SW1_CS27, SW1_CS26, SW1_CS25}, + {0, SW2_CS27, SW2_CS26, SW2_CS25}, + {0, SW3_CS27, SW3_CS26, SW3_CS25}, + {0, SW4_CS27, SW4_CS26, SW4_CS25}, + {0, SW5_CS27, SW5_CS26, SW5_CS25}, + {0, SW6_CS27, SW6_CS26, SW6_CS25}, + {0, SW7_CS27, SW7_CS26, SW7_CS25}, + {0, SW8_CS27, SW8_CS26, SW8_CS25}, - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW4, CS14_SW4, CS13_SW4}, - {0, CS15_SW5, CS14_SW5, CS13_SW5}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS15_SW7, CS14_SW7, CS13_SW7}, - {0, CS15_SW8, CS14_SW8, CS13_SW8}, - {0, CS15_SW9, CS14_SW9, CS13_SW9}, - {0, CS30_SW1, CS29_SW1, CS28_SW1}, - {0, CS30_SW2, CS29_SW2, CS28_SW2}, - {0, CS30_SW3, CS29_SW3, CS28_SW3}, - {0, CS30_SW4, CS29_SW4, CS28_SW4}, + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW4_CS15, SW4_CS14, SW4_CS13}, + {0, SW5_CS15, SW5_CS14, SW5_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW7_CS15, SW7_CS14, SW7_CS13}, + {0, SW8_CS15, SW8_CS14, SW8_CS13}, + {0, SW9_CS15, SW9_CS14, SW9_CS13}, + {0, SW1_CS30, SW1_CS29, SW1_CS28}, + {0, SW2_CS30, SW2_CS29, SW2_CS28}, + {0, SW3_CS30, SW3_CS29, SW3_CS28}, + {0, SW4_CS30, SW4_CS29, SW4_CS28}, - {0, CS18_SW1, CS17_SW1, CS16_SW1}, - {0, CS18_SW2, CS17_SW2, CS16_SW2}, - {0, CS18_SW3, CS17_SW3, CS16_SW3}, - {0, CS18_SW4, CS17_SW4, CS16_SW4}, - {0, CS18_SW5, CS17_SW5, CS16_SW5}, - {0, CS18_SW6, CS17_SW6, CS16_SW6}, - {0, CS18_SW7, CS17_SW7, CS16_SW7}, - {0, CS18_SW8, CS17_SW8, CS16_SW8}, - {0, CS18_SW9, CS17_SW9, CS16_SW9}, - {0, CS33_SW1, CS32_SW1, CS31_SW1}, - {0, CS33_SW2, CS32_SW2, CS31_SW2}, - {0, CS33_SW3, CS32_SW3, CS31_SW3}, - {0, CS33_SW4, CS32_SW4, CS31_SW4}, - {0, CS33_SW7, CS32_SW7, CS31_SW7}, + {0, SW1_CS18, SW1_CS17, SW1_CS16}, + {0, SW2_CS18, SW2_CS17, SW2_CS16}, + {0, SW3_CS18, SW3_CS17, SW3_CS16}, + {0, SW4_CS18, SW4_CS17, SW4_CS16}, + {0, SW5_CS18, SW5_CS17, SW5_CS16}, + {0, SW6_CS18, SW6_CS17, SW6_CS16}, + {0, SW7_CS18, SW7_CS17, SW7_CS16}, + {0, SW8_CS18, SW8_CS17, SW8_CS16}, + {0, SW9_CS18, SW9_CS17, SW9_CS16}, + {0, SW1_CS33, SW1_CS32, SW1_CS31}, + {0, SW2_CS33, SW2_CS32, SW2_CS31}, + {0, SW3_CS33, SW3_CS32, SW3_CS31}, + {0, SW4_CS33, SW4_CS32, SW4_CS31}, + {0, SW7_CS33, SW7_CS32, SW7_CS31}, - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, - {0, CS36_SW2, CS35_SW2, CS34_SW2}, - {0, CS36_SW3, CS35_SW3, CS34_SW3}, - {0, CS36_SW4, CS35_SW4, CS34_SW4}, - {0, CS36_SW5, CS35_SW5, CS34_SW5}, - {0, CS36_SW6, CS35_SW6, CS34_SW6}, - {0, CS36_SW7, CS35_SW7, CS34_SW7}, - {0, CS36_SW8, CS35_SW8, CS34_SW8} + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, + {0, SW2_CS36, SW2_CS35, SW2_CS34}, + {0, SW3_CS36, SW3_CS35, SW3_CS34}, + {0, SW4_CS36, SW4_CS35, SW4_CS34}, + {0, SW5_CS36, SW5_CS35, SW5_CS34}, + {0, SW6_CS36, SW6_CS35, SW6_CS34}, + {0, SW7_CS36, SW7_CS35, SW7_CS34}, + {0, SW8_CS36, SW8_CS35, SW8_CS34} }; led_config_t g_led_config = { { diff --git a/keyboards/kprepublic/cstc40/daughterboard/daughterboard.c b/keyboards/kprepublic/cstc40/daughterboard/daughterboard.c index 1df130fe533..38fac99155a 100644 --- a/keyboards/kprepublic/cstc40/daughterboard/daughterboard.c +++ b/keyboards/kprepublic/cstc40/daughterboard/daughterboard.c @@ -17,55 +17,55 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, L_1, K_1, J_1 }, - { 0, L_2, K_2, J_2 }, - { 0, L_3, K_3, J_3 }, - { 0, L_4, K_4, J_4 }, - { 0, L_5, K_5, J_5 }, - { 0, L_6, K_6, J_6 }, - { 0, L_7, K_7, J_7 }, - { 0, L_8, K_8, J_8 }, - { 0, L_9, K_9, J_9 }, - { 0, L_10, K_10, J_10 }, - { 0, L_11, K_11, J_11 }, - { 0, L_12, K_12, J_12 }, + { 0, SW12_CS1, SW11_CS1, SW10_CS1 }, + { 0, SW12_CS2, SW11_CS2, SW10_CS2 }, + { 0, SW12_CS3, SW11_CS3, SW10_CS3 }, + { 0, SW12_CS4, SW11_CS4, SW10_CS4 }, + { 0, SW12_CS5, SW11_CS5, SW10_CS5 }, + { 0, SW12_CS6, SW11_CS6, SW10_CS6 }, + { 0, SW12_CS7, SW11_CS7, SW10_CS7 }, + { 0, SW12_CS8, SW11_CS8, SW10_CS8 }, + { 0, SW12_CS9, SW11_CS9, SW10_CS9 }, + { 0, SW12_CS10, SW11_CS10, SW10_CS10 }, + { 0, SW12_CS11, SW11_CS11, SW10_CS11 }, + { 0, SW12_CS12, SW11_CS12, SW10_CS12 }, - { 0, I_1, H_1, G_1 }, - { 0, I_2, H_2, G_2 }, - { 0, I_3, H_3, G_3 }, - { 0, I_4, H_4, G_4 }, - { 0, I_5, H_5, G_5 }, - { 0, I_6, H_6, G_6 }, - { 0, I_7, H_7, G_7 }, - { 0, I_8, H_8, G_8 }, - { 0, I_9, H_9, G_9 }, - { 0, I_10, H_10, G_10 }, - { 0, I_11, H_11, G_11 }, - { 0, I_12, H_12, G_12 }, + { 0, SW9_CS1, SW8_CS1, SW7_CS1 }, + { 0, SW9_CS2, SW8_CS2, SW7_CS2 }, + { 0, SW9_CS3, SW8_CS3, SW7_CS3 }, + { 0, SW9_CS4, SW8_CS4, SW7_CS4 }, + { 0, SW9_CS5, SW8_CS5, SW7_CS5 }, + { 0, SW9_CS6, SW8_CS6, SW7_CS6 }, + { 0, SW9_CS7, SW8_CS7, SW7_CS7 }, + { 0, SW9_CS8, SW8_CS8, SW7_CS8 }, + { 0, SW9_CS9, SW8_CS9, SW7_CS9 }, + { 0, SW9_CS10, SW8_CS10, SW7_CS10 }, + { 0, SW9_CS11, SW8_CS11, SW7_CS11 }, + { 0, SW9_CS12, SW8_CS12, SW7_CS12 }, - { 0, F_1, E_1, D_1 }, - { 0, F_2, E_2, D_2 }, - { 0, F_3, E_3, D_3 }, - { 0, F_4, E_4, D_4 }, - { 0, F_5, E_5, D_5 }, - { 0, F_6, E_6, D_6 }, - { 0, F_7, E_7, D_7 }, - { 0, F_8, E_8, D_8 }, - { 0, F_9, E_9, D_9 }, - { 0, F_10, E_10, D_10 }, - { 0, F_11, E_11, D_11 }, - { 0, F_12, E_12, D_12 }, + { 0, SW6_CS1, SW5_CS1, SW4_CS1 }, + { 0, SW6_CS2, SW5_CS2, SW4_CS2 }, + { 0, SW6_CS3, SW5_CS3, SW4_CS3 }, + { 0, SW6_CS4, SW5_CS4, SW4_CS4 }, + { 0, SW6_CS5, SW5_CS5, SW4_CS5 }, + { 0, SW6_CS6, SW5_CS6, SW4_CS6 }, + { 0, SW6_CS7, SW5_CS7, SW4_CS7 }, + { 0, SW6_CS8, SW5_CS8, SW4_CS8 }, + { 0, SW6_CS9, SW5_CS9, SW4_CS9 }, + { 0, SW6_CS10, SW5_CS10, SW4_CS10 }, + { 0, SW6_CS11, SW5_CS11, SW4_CS11 }, + { 0, SW6_CS12, SW5_CS12, SW4_CS12 }, - { 0, C_1, B_1, A_1 }, - { 0, C_2, B_2, A_2 }, - { 0, C_3, B_3, A_3 }, - { 0, C_4, B_4, A_4 }, - { 0, C_5, B_5, A_5 }, - { 0, C_6, B_6, A_6 }, - { 0, C_8, B_8, A_8 }, - { 0, C_9, B_9, A_9 }, - { 0, C_10, B_10, A_10 }, - { 0, C_11, B_11, A_11 }, - { 0, C_12, B_12, A_12 } + { 0, SW3_CS1, SW2_CS1, SW1_CS1 }, + { 0, SW3_CS2, SW2_CS2, SW1_CS2 }, + { 0, SW3_CS3, SW2_CS3, SW1_CS3 }, + { 0, SW3_CS4, SW2_CS4, SW1_CS4 }, + { 0, SW3_CS5, SW2_CS5, SW1_CS5 }, + { 0, SW3_CS6, SW2_CS6, SW1_CS6 }, + { 0, SW3_CS8, SW2_CS8, SW1_CS8 }, + { 0, SW3_CS9, SW2_CS9, SW1_CS9 }, + { 0, SW3_CS10, SW2_CS10, SW1_CS10 }, + { 0, SW3_CS11, SW2_CS11, SW1_CS11 }, + { 0, SW3_CS12, SW2_CS12, SW1_CS12 } }; #endif \ No newline at end of file diff --git a/keyboards/kprepublic/cstc40/single_pcb/single_pcb.c b/keyboards/kprepublic/cstc40/single_pcb/single_pcb.c index 1df130fe533..38fac99155a 100644 --- a/keyboards/kprepublic/cstc40/single_pcb/single_pcb.c +++ b/keyboards/kprepublic/cstc40/single_pcb/single_pcb.c @@ -17,55 +17,55 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, L_1, K_1, J_1 }, - { 0, L_2, K_2, J_2 }, - { 0, L_3, K_3, J_3 }, - { 0, L_4, K_4, J_4 }, - { 0, L_5, K_5, J_5 }, - { 0, L_6, K_6, J_6 }, - { 0, L_7, K_7, J_7 }, - { 0, L_8, K_8, J_8 }, - { 0, L_9, K_9, J_9 }, - { 0, L_10, K_10, J_10 }, - { 0, L_11, K_11, J_11 }, - { 0, L_12, K_12, J_12 }, + { 0, SW12_CS1, SW11_CS1, SW10_CS1 }, + { 0, SW12_CS2, SW11_CS2, SW10_CS2 }, + { 0, SW12_CS3, SW11_CS3, SW10_CS3 }, + { 0, SW12_CS4, SW11_CS4, SW10_CS4 }, + { 0, SW12_CS5, SW11_CS5, SW10_CS5 }, + { 0, SW12_CS6, SW11_CS6, SW10_CS6 }, + { 0, SW12_CS7, SW11_CS7, SW10_CS7 }, + { 0, SW12_CS8, SW11_CS8, SW10_CS8 }, + { 0, SW12_CS9, SW11_CS9, SW10_CS9 }, + { 0, SW12_CS10, SW11_CS10, SW10_CS10 }, + { 0, SW12_CS11, SW11_CS11, SW10_CS11 }, + { 0, SW12_CS12, SW11_CS12, SW10_CS12 }, - { 0, I_1, H_1, G_1 }, - { 0, I_2, H_2, G_2 }, - { 0, I_3, H_3, G_3 }, - { 0, I_4, H_4, G_4 }, - { 0, I_5, H_5, G_5 }, - { 0, I_6, H_6, G_6 }, - { 0, I_7, H_7, G_7 }, - { 0, I_8, H_8, G_8 }, - { 0, I_9, H_9, G_9 }, - { 0, I_10, H_10, G_10 }, - { 0, I_11, H_11, G_11 }, - { 0, I_12, H_12, G_12 }, + { 0, SW9_CS1, SW8_CS1, SW7_CS1 }, + { 0, SW9_CS2, SW8_CS2, SW7_CS2 }, + { 0, SW9_CS3, SW8_CS3, SW7_CS3 }, + { 0, SW9_CS4, SW8_CS4, SW7_CS4 }, + { 0, SW9_CS5, SW8_CS5, SW7_CS5 }, + { 0, SW9_CS6, SW8_CS6, SW7_CS6 }, + { 0, SW9_CS7, SW8_CS7, SW7_CS7 }, + { 0, SW9_CS8, SW8_CS8, SW7_CS8 }, + { 0, SW9_CS9, SW8_CS9, SW7_CS9 }, + { 0, SW9_CS10, SW8_CS10, SW7_CS10 }, + { 0, SW9_CS11, SW8_CS11, SW7_CS11 }, + { 0, SW9_CS12, SW8_CS12, SW7_CS12 }, - { 0, F_1, E_1, D_1 }, - { 0, F_2, E_2, D_2 }, - { 0, F_3, E_3, D_3 }, - { 0, F_4, E_4, D_4 }, - { 0, F_5, E_5, D_5 }, - { 0, F_6, E_6, D_6 }, - { 0, F_7, E_7, D_7 }, - { 0, F_8, E_8, D_8 }, - { 0, F_9, E_9, D_9 }, - { 0, F_10, E_10, D_10 }, - { 0, F_11, E_11, D_11 }, - { 0, F_12, E_12, D_12 }, + { 0, SW6_CS1, SW5_CS1, SW4_CS1 }, + { 0, SW6_CS2, SW5_CS2, SW4_CS2 }, + { 0, SW6_CS3, SW5_CS3, SW4_CS3 }, + { 0, SW6_CS4, SW5_CS4, SW4_CS4 }, + { 0, SW6_CS5, SW5_CS5, SW4_CS5 }, + { 0, SW6_CS6, SW5_CS6, SW4_CS6 }, + { 0, SW6_CS7, SW5_CS7, SW4_CS7 }, + { 0, SW6_CS8, SW5_CS8, SW4_CS8 }, + { 0, SW6_CS9, SW5_CS9, SW4_CS9 }, + { 0, SW6_CS10, SW5_CS10, SW4_CS10 }, + { 0, SW6_CS11, SW5_CS11, SW4_CS11 }, + { 0, SW6_CS12, SW5_CS12, SW4_CS12 }, - { 0, C_1, B_1, A_1 }, - { 0, C_2, B_2, A_2 }, - { 0, C_3, B_3, A_3 }, - { 0, C_4, B_4, A_4 }, - { 0, C_5, B_5, A_5 }, - { 0, C_6, B_6, A_6 }, - { 0, C_8, B_8, A_8 }, - { 0, C_9, B_9, A_9 }, - { 0, C_10, B_10, A_10 }, - { 0, C_11, B_11, A_11 }, - { 0, C_12, B_12, A_12 } + { 0, SW3_CS1, SW2_CS1, SW1_CS1 }, + { 0, SW3_CS2, SW2_CS2, SW1_CS2 }, + { 0, SW3_CS3, SW2_CS3, SW1_CS3 }, + { 0, SW3_CS4, SW2_CS4, SW1_CS4 }, + { 0, SW3_CS5, SW2_CS5, SW1_CS5 }, + { 0, SW3_CS6, SW2_CS6, SW1_CS6 }, + { 0, SW3_CS8, SW2_CS8, SW1_CS8 }, + { 0, SW3_CS9, SW2_CS9, SW1_CS9 }, + { 0, SW3_CS10, SW2_CS10, SW1_CS10 }, + { 0, SW3_CS11, SW2_CS11, SW1_CS11 }, + { 0, SW3_CS12, SW2_CS12, SW1_CS12 } }; #endif \ No newline at end of file diff --git a/keyboards/latincompass/latin60rgb/latin60rgb.c b/keyboards/latincompass/latin60rgb/latin60rgb.c index 95ddc428daa..8a032d76b14 100644 --- a/keyboards/latincompass/latin60rgb/latin60rgb.c +++ b/keyboards/latincompass/latin60rgb/latin60rgb.c @@ -17,69 +17,69 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - { 0, K_13, J_13, L_13 }, - { 0, K_12, J_12, L_12 }, - { 0, K_11, J_11, L_11 }, - { 0, K_10, J_10, L_10 }, - { 0, K_9, J_9, L_9 }, - { 0, K_8, J_8, L_8 }, - { 0, K_7, J_7, L_7 }, - { 0, K_6, J_6, L_6 }, - { 0, K_5, J_5, L_5 }, - { 0, K_4, J_4, L_4 }, - { 0, K_3, J_3, L_3 }, - { 0, K_2, J_2, L_2 }, - { 0, K_1, J_1, L_1 }, + { 0, SW11_CS13, SW10_CS13, SW12_CS13 }, + { 0, SW11_CS12, SW10_CS12, SW12_CS12 }, + { 0, SW11_CS11, SW10_CS11, SW12_CS11 }, + { 0, SW11_CS10, SW10_CS10, SW12_CS10 }, + { 0, SW11_CS9, SW10_CS9, SW12_CS9 }, + { 0, SW11_CS8, SW10_CS8, SW12_CS8 }, + { 0, SW11_CS7, SW10_CS7, SW12_CS7 }, + { 0, SW11_CS6, SW10_CS6, SW12_CS6 }, + { 0, SW11_CS5, SW10_CS5, SW12_CS5 }, + { 0, SW11_CS4, SW10_CS4, SW12_CS4 }, + { 0, SW11_CS3, SW10_CS3, SW12_CS3 }, + { 0, SW11_CS2, SW10_CS2, SW12_CS2 }, + { 0, SW11_CS1, SW10_CS1, SW12_CS1 }, - { 0, H_16, G_16, I_16 }, - { 0, H_15, G_15, I_15 }, - { 0, H_14, G_14, I_14 }, - { 0, H_13, G_13, I_13 }, - { 0, H_12, G_12, I_12 }, - { 0, H_11, G_11, I_11 }, - { 0, H_10, G_10, I_10 }, - { 0, H_9, G_9, I_9 }, - { 0, H_8, G_8, I_8 }, - { 0, H_7, G_7, I_7 }, - { 0, H_6, G_6, I_6 }, - { 0, H_5, G_5, I_5 }, - { 0, H_4, G_4, I_4 }, - { 0, H_3, G_3, I_3 }, - { 0, H_2, G_2, I_2 }, - { 0, H_1, G_1, I_1 }, + { 0, SW8_CS16, SW7_CS16, SW9_CS16 }, + { 0, SW8_CS15, SW7_CS15, SW9_CS15 }, + { 0, SW8_CS14, SW7_CS14, SW9_CS14 }, + { 0, SW8_CS13, SW7_CS13, SW9_CS13 }, + { 0, SW8_CS12, SW7_CS12, SW9_CS12 }, + { 0, SW8_CS11, SW7_CS11, SW9_CS11 }, + { 0, SW8_CS10, SW7_CS10, SW9_CS10 }, + { 0, SW8_CS9, SW7_CS9, SW9_CS9 }, + { 0, SW8_CS8, SW7_CS8, SW9_CS8 }, + { 0, SW8_CS7, SW7_CS7, SW9_CS7 }, + { 0, SW8_CS6, SW7_CS6, SW9_CS6 }, + { 0, SW8_CS5, SW7_CS5, SW9_CS5 }, + { 0, SW8_CS4, SW7_CS4, SW9_CS4 }, + { 0, SW8_CS3, SW7_CS3, SW9_CS3 }, + { 0, SW8_CS2, SW7_CS2, SW9_CS2 }, + { 0, SW8_CS1, SW7_CS1, SW9_CS1 }, - { 0, E_16, D_16, F_16 }, - { 0, E_15, D_15, F_15 }, - { 0, E_14, D_14, F_14 }, - { 0, E_13, D_13, F_13 }, - { 0, E_12, D_12, F_12 }, - { 0, E_11, D_11, F_11 }, - { 0, E_10, D_10, F_10 }, - { 0, E_9, D_9, F_9 }, - { 0, E_8, D_8, F_8 }, - { 0, E_7, D_7, F_7 }, - { 0, E_6, D_6, F_6 }, - { 0, E_5, D_5, F_5 }, - { 0, E_4, D_4, F_4 }, - { 0, E_3, D_3, F_3 }, - { 0, E_2, D_2, F_2 }, - { 0, E_1, D_1, F_1 }, + { 0, SW5_CS16, SW4_CS16, SW6_CS16 }, + { 0, SW5_CS15, SW4_CS15, SW6_CS15 }, + { 0, SW5_CS14, SW4_CS14, SW6_CS14 }, + { 0, SW5_CS13, SW4_CS13, SW6_CS13 }, + { 0, SW5_CS12, SW4_CS12, SW6_CS12 }, + { 0, SW5_CS11, SW4_CS11, SW6_CS11 }, + { 0, SW5_CS10, SW4_CS10, SW6_CS10 }, + { 0, SW5_CS9, SW4_CS9, SW6_CS9 }, + { 0, SW5_CS8, SW4_CS8, SW6_CS8 }, + { 0, SW5_CS7, SW4_CS7, SW6_CS7 }, + { 0, SW5_CS6, SW4_CS6, SW6_CS6 }, + { 0, SW5_CS5, SW4_CS5, SW6_CS5 }, + { 0, SW5_CS4, SW4_CS4, SW6_CS4 }, + { 0, SW5_CS3, SW4_CS3, SW6_CS3 }, + { 0, SW5_CS2, SW4_CS2, SW6_CS2 }, + { 0, SW5_CS1, SW4_CS1, SW6_CS1 }, - { 0, B_16, A_16, C_16 }, - { 0, B_14, A_14, C_14 }, - { 0, B_13, A_13, C_13 }, - { 0, B_12, A_12, C_12 }, - { 0, B_11, A_11, C_11 }, - { 0, B_10, A_10, C_10 }, - { 0, B_9, A_9, C_9 }, - { 0, B_8, A_8, C_8 }, - { 0, B_7, A_7, C_7 }, - { 0, B_6, A_6, C_6 }, - { 0, B_5, A_5, C_5 }, - { 0, B_4, A_4, C_4 }, - { 0, B_3, A_3, C_3 }, - { 0, B_2, A_2, C_2 }, - { 0, B_1, A_1, C_1 } + { 0, SW2_CS16, SW1_CS16, SW3_CS16 }, + { 0, SW2_CS14, SW1_CS14, SW3_CS14 }, + { 0, SW2_CS13, SW1_CS13, SW3_CS13 }, + { 0, SW2_CS12, SW1_CS12, SW3_CS12 }, + { 0, SW2_CS11, SW1_CS11, SW3_CS11 }, + { 0, SW2_CS10, SW1_CS10, SW3_CS10 }, + { 0, SW2_CS9, SW1_CS9, SW3_CS9 }, + { 0, SW2_CS8, SW1_CS8, SW3_CS8 }, + { 0, SW2_CS7, SW1_CS7, SW3_CS7 }, + { 0, SW2_CS6, SW1_CS6, SW3_CS6 }, + { 0, SW2_CS5, SW1_CS5, SW3_CS5 }, + { 0, SW2_CS4, SW1_CS4, SW3_CS4 }, + { 0, SW2_CS3, SW1_CS3, SW3_CS3 }, + { 0, SW2_CS2, SW1_CS2, SW3_CS2 }, + { 0, SW2_CS1, SW1_CS1, SW3_CS1 } }; diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c b/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c index 5eebd7ec8a9..33dd2157e40 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c +++ b/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c @@ -18,74 +18,74 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS3_SW5, CS2_SW5, CS1_SW5}, /* D9-K31-00 */ - {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* D46-K00-01 */ - {0, CS6_SW9, CS5_SW9, CS4_SW9}, /* D59-K01-02 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* D73-K02-03 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* D75-K03-04 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* D77-K04-05 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* D79-K05-06 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* D81-K06-07 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* D83-K07-08 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* D85-K08-09 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* D87-K09-10 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* D90-K0A-11 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* D93-K0B-12 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* D95-K0C-13 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* D98-K0D-14 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* D100-K0E-15 */ - {0, CS3_SW4, CS2_SW4, CS1_SW4}, /* D94-K41-16 */ - {0, CS6_SW4, CS5_SW4, CS4_SW4}, /* D92-K10-17 */ - {0, CS6_SW6, CS5_SW6, CS4_SW6}, /* D89-K11-18 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* D86-K12-19 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* D84-K13-20 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* D82-K14-21 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* D80-K15-22 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* D78-K16-23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* D76-K17-24 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* D74-K18-25 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* D72-K19-26 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* D51-K1A-27 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* D10-K1B-28 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* D101-K1C-29 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* D104-K1D-30 */ - {0, CS3_SW3, CS2_SW3, CS1_SW3}, /* D108-K43-31 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* D111-K20-32 */ - {0, CS6_SW7, CS5_SW7, CS4_SW7}, /* D114-K21-33 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* D117-K22-34 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* D120-K23-35 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* D123-K24-36 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* D126-K25-37 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* D129-K26-38 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* D133-K27-39 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* D142-K28-40 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* D146-K29-41 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* D160-K2A-42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* D167-K2B-43 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* D168-K2D-44 */ + {0, SW5_CS3, SW5_CS2, SW5_CS1}, /* D9-K31-00 */ + {0, SW5_CS6, SW5_CS5, SW5_CS4}, /* D46-K00-01 */ + {0, SW9_CS6, SW9_CS5, SW9_CS4}, /* D59-K01-02 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* D73-K02-03 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* D75-K03-04 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* D77-K04-05 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* D79-K05-06 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* D81-K06-07 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* D83-K07-08 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* D85-K08-09 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* D87-K09-10 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* D90-K0A-11 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* D93-K0B-12 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* D95-K0C-13 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* D98-K0D-14 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* D100-K0E-15 */ + {0, SW4_CS3, SW4_CS2, SW4_CS1}, /* D94-K41-16 */ + {0, SW4_CS6, SW4_CS5, SW4_CS4}, /* D92-K10-17 */ + {0, SW6_CS6, SW6_CS5, SW6_CS4}, /* D89-K11-18 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* D86-K12-19 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* D84-K13-20 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* D82-K14-21 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* D80-K15-22 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* D78-K16-23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* D76-K17-24 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* D74-K18-25 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* D72-K19-26 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* D51-K1A-27 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* D10-K1B-28 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* D101-K1C-29 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* D104-K1D-30 */ + {0, SW3_CS3, SW3_CS2, SW3_CS1}, /* D108-K43-31 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* D111-K20-32 */ + {0, SW7_CS6, SW7_CS5, SW7_CS4}, /* D114-K21-33 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* D117-K22-34 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* D120-K23-35 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* D123-K24-36 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* D126-K25-37 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* D129-K26-38 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* D133-K27-39 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* D142-K28-40 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* D146-K29-41 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* D160-K2A-42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* D167-K2B-43 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* D168-K2D-44 */ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* D163-K30-45 */ - {0, CS6_SW8, CS5_SW8, CS4_SW8}, /* D147-K31-46 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* D144-K32-47 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* D137-K33-48 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* D130-K34-49 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* D127-K35-50 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* D124-K36-51 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* D121-K37-52 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* D118-K38-53 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* D115-K39-54 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* D112-K3A-55 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* D109-K3B-56 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* D105-K3D-57 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* D103-K3E-58 */ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* D163-K30-45 */ + {0, SW8_CS6, SW8_CS5, SW8_CS4}, /* D147-K31-46 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* D144-K32-47 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* D137-K33-48 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* D130-K34-49 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* D127-K35-50 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* D124-K36-51 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* D121-K37-52 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* D118-K38-53 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* D115-K39-54 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* D112-K3A-55 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* D109-K3B-56 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* D105-K3D-57 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* D103-K3E-58 */ - {0, CS3_SW1, CS2_SW1, CS1_SW1}, /* D163-K40-59 */ - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* D147-K42-60 */ - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* D137-K44-61 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* D127-K46-62 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* D121-K48-63 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* D115-K4A-64 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* D103-K4E-65 */ + {0, SW1_CS3, SW1_CS2, SW1_CS1}, /* D163-K40-59 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* D147-K42-60 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* D137-K44-61 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* D127-K46-62 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* D121-K48-63 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* D115-K4A-64 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* D103-K4E-65 */ }; led_config_t g_led_config = { diff --git a/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c b/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c index cd8f2e2ca0f..8df305bb1a1 100644 --- a/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c +++ b/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c @@ -18,97 +18,97 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS34_SW1, CS35_SW1, CS36_SW1}, //D92-K00-0 - {0, CS37_SW1, CS38_SW1, CS39_SW1}, //D94-K01-1 - {0, CS31_SW1, CS32_SW1, CS33_SW1}, //D96-K02-2 - {0, CS28_SW1, CS29_SW1, CS30_SW1}, //D98-K03-3 - {0, CS25_SW1, CS26_SW1, CS27_SW1}, //D100-K04-4 - {0, CS22_SW1, CS23_SW1, CS24_SW1}, //D102-K05-5 - {0, CS19_SW1, CS20_SW1, CS21_SW1}, //D104-K06-6 - {0, CS18_SW1, CS17_SW1, CS16_SW1}, //D106-K07-7 - {0, CS15_SW1, CS14_SW1, CS13_SW1}, //D108-K08-8 - {0, CS12_SW1, CS11_SW1, CS10_SW1}, //D110-K09-9 - {0, CS9_SW1, CS8_SW1, CS7_SW1}, //D112-K0A-10 - {0, CS6_SW1, CS5_SW1, CS4_SW1}, //D114-K0B-11 - {0, CS3_SW1, CS2_SW1, CS1_SW1}, //D116-K0C-12 - {0, CS15_SW7, CS14_SW7, CS13_SW7}, //D157-K0D-13 - {0, CS18_SW7, CS17_SW7, CS16_SW7}, //D118-K0E-14 - {0, CS19_SW7, CS20_SW7, CS21_SW7}, //D120-K0F-15 - {0, CS12_SW7, CS11_SW7, CS10_SW7}, //D122-K0G-16 - {0, CS34_SW2, CS35_SW2, CS36_SW2}, //D93-K10-17 - {0, CS37_SW2, CS38_SW2, CS39_SW2}, //D95-K11-18 - {0, CS31_SW2, CS32_SW2, CS33_SW2}, //D97-K12-19 - {0, CS28_SW2, CS29_SW2, CS30_SW2}, //D99-K13-20 - {0, CS25_SW2, CS26_SW2, CS27_SW2}, //D101-K14-21 - {0, CS22_SW2, CS23_SW2, CS24_SW2}, //D103-K15-22 - {0, CS19_SW2, CS20_SW2, CS21_SW2}, //D105-K16-23 - {0, CS18_SW2, CS17_SW2, CS16_SW2}, //D107-K17-24 - {0, CS15_SW2, CS14_SW2, CS13_SW2}, //D109-K18-25 - {0, CS12_SW2, CS11_SW2, CS10_SW2}, //D111-K19-26 - {0, CS9_SW2, CS8_SW2, CS7_SW2}, //D113-K1A-27 - {0, CS6_SW2, CS5_SW2, CS4_SW2}, //D115-K1B-28 - {0, CS3_SW2, CS2_SW2, CS1_SW2}, //D117-K1C-29 - {0, CS3_SW8, CS2_SW8, CS1_SW8}, //D158-K1D-30 - {0, CS3_SW7, CS2_SW7, CS1_SW7}, //D119-K1E-31 - {0, CS18_SW8, CS17_SW8, CS16_SW8}, //D121-K1F-32 - {0, CS9_SW9, CS8_SW9, CS7_SW9}, //D123-K1G-33 - {0, CS34_SW3, CS35_SW3, CS36_SW3}, //D124-K20-34 - {0, CS37_SW3, CS38_SW3, CS39_SW3}, //D127-K21-35 - {0, CS31_SW3, CS32_SW3, CS33_SW3}, //D130-K22-36 - {0, CS28_SW3, CS29_SW3, CS30_SW3}, //D133-K23-37 - {0, CS25_SW3, CS26_SW3, CS27_SW3}, //D135-K24-38 - {0, CS22_SW3, CS23_SW3, CS24_SW3}, //D137-K25-39 - {0, CS19_SW3, CS20_SW3, CS21_SW3}, //D139-K26-40 - {0, CS18_SW3, CS17_SW3, CS16_SW3}, //D142-K27-41 - {0, CS15_SW3, CS14_SW3, CS13_SW3}, //D144-K28-42 - {0, CS12_SW3, CS11_SW3, CS10_SW3}, //D146-K29-43 - {0, CS9_SW3, CS8_SW3, CS7_SW3}, //D148-K2A-44 - {0, CS6_SW3, CS5_SW3, CS4_SW3}, //D151-K2B-45 - {0, CS3_SW3, CS2_SW3, CS1_SW3}, //D154-K2C-46 - {0, CS6_SW8, CS5_SW8, CS4_SW8}, //D159-K2D-47 - {0, CS6_SW7, CS5_SW7, CS4_SW7}, //D180-K2E-48 - {0, CS19_SW8, CS20_SW8, CS21_SW8}, //D181-K2F-49 - {0, CS9_SW7, CS8_SW7, CS7_SW7}, //D182-K2G-50 - {0, CS34_SW4, CS35_SW4, CS36_SW4}, //D166-K30-51 - {0, CS37_SW4, CS38_SW4, CS39_SW4}, //D167-K31-52 - {0, CS31_SW4, CS32_SW4, CS33_SW4}, //D168-K32-53 - {0, CS28_SW4, CS29_SW4, CS30_SW4}, //D169-K33-54 - {0, CS25_SW4, CS26_SW4, CS27_SW4}, //D170-K34-55 - {0, CS22_SW4, CS23_SW4, CS24_SW4}, //D171-K35-56 - {0, CS19_SW4, CS20_SW4, CS21_SW4}, //D172-K36-57 - {0, CS18_SW4, CS17_SW4, CS16_SW4}, //D173-K37-58 - {0, CS15_SW4, CS14_SW4, CS13_SW4}, //D174-K38-59 - {0, CS12_SW4, CS11_SW4, CS10_SW4}, //D175-K39-60 - {0, CS9_SW4, CS8_SW4, CS7_SW4}, //D176-K3A-61 - {0, CS6_SW4, CS5_SW4, CS4_SW4}, //D177-K3B-62 - {0, CS3_SW4, CS2_SW4, CS1_SW4}, //D178-K3C-63 - {0, CS9_SW8, CS8_SW8, CS7_SW8}, //D179-K3D-64 - {0, CS34_SW5, CS35_SW5, CS36_SW5}, //D125-K40-65 - {0, CS37_SW5, CS38_SW5, CS39_SW5}, //D128-K41-66 - {0, CS31_SW5, CS32_SW5, CS33_SW5}, //D131-K42-67 - {0, CS28_SW5, CS29_SW5, CS30_SW5}, //D134-K43-68 - {0, CS25_SW5, CS26_SW5, CS27_SW5}, //D136-K44-69 - {0, CS22_SW5, CS23_SW5, CS24_SW5}, //D138-K45-70 - {0, CS19_SW5, CS20_SW5, CS21_SW5}, //D140-K46-71 - {0, CS18_SW5, CS17_SW5, CS16_SW5}, //D143-K47-72 - {0, CS15_SW5, CS14_SW5, CS13_SW5}, //D145-K48-73 - {0, CS12_SW5, CS11_SW5, CS10_SW5}, //D147-K49-74 - {0, CS9_SW5, CS8_SW5, CS7_SW5}, //D149-K4A-75 - {0, CS6_SW5, CS5_SW5, CS4_SW5}, //D152-K4B-76 - {0, CS3_SW5, CS2_SW5, CS1_SW5}, //D155-K4C-77 - {0, CS12_SW8, CS11_SW8, CS10_SW8}, //D160-K4D-78 - {0, CS12_SW9, CS11_SW9, CS10_SW9}, //D163-K4E-79 - {0, CS34_SW6, CS35_SW6, CS36_SW6}, //D126-K20-80 - {0, CS37_SW6, CS38_SW6, CS39_SW6}, //D129-K21-81 - {0, CS31_SW6, CS32_SW6, CS33_SW6}, //D132-K22-82 - {0, CS19_SW6, CS20_SW6, CS21_SW6}, //D141-K26-83 - {0, CS9_SW6, CS8_SW6, CS7_SW6}, //D150-K2A-84 - {0, CS6_SW6, CS5_SW6, CS4_SW6}, //D153-K2B-85 - {0, CS3_SW6, CS2_SW6, CS1_SW6}, //D156-K2C-86 - {0, CS15_SW8, CS14_SW8, CS13_SW8}, //D161-K2D-87 - {0, CS15_SW9, CS14_SW9, CS13_SW9}, //D162-K2E-88 - {0, CS18_SW9, CS17_SW9, CS16_SW9}, //D164-K2F-89 - {0, CS19_SW9, CS20_SW9, CS21_SW9}, //D165-K2G-90 + {0, SW1_CS34, SW1_CS35, SW1_CS36}, //D92-K00-0 + {0, SW1_CS37, SW1_CS38, SW1_CS39}, //D94-K01-1 + {0, SW1_CS31, SW1_CS32, SW1_CS33}, //D96-K02-2 + {0, SW1_CS28, SW1_CS29, SW1_CS30}, //D98-K03-3 + {0, SW1_CS25, SW1_CS26, SW1_CS27}, //D100-K04-4 + {0, SW1_CS22, SW1_CS23, SW1_CS24}, //D102-K05-5 + {0, SW1_CS19, SW1_CS20, SW1_CS21}, //D104-K06-6 + {0, SW1_CS18, SW1_CS17, SW1_CS16}, //D106-K07-7 + {0, SW1_CS15, SW1_CS14, SW1_CS13}, //D108-K08-8 + {0, SW1_CS12, SW1_CS11, SW1_CS10}, //D110-K09-9 + {0, SW1_CS9, SW1_CS8, SW1_CS7}, //D112-K0A-10 + {0, SW1_CS6, SW1_CS5, SW1_CS4}, //D114-K0B-11 + {0, SW1_CS3, SW1_CS2, SW1_CS1}, //D116-K0C-12 + {0, SW7_CS15, SW7_CS14, SW7_CS13}, //D157-K0D-13 + {0, SW7_CS18, SW7_CS17, SW7_CS16}, //D118-K0E-14 + {0, SW7_CS19, SW7_CS20, SW7_CS21}, //D120-K0F-15 + {0, SW7_CS12, SW7_CS11, SW7_CS10}, //D122-K0G-16 + {0, SW2_CS34, SW2_CS35, SW2_CS36}, //D93-K10-17 + {0, SW2_CS37, SW2_CS38, SW2_CS39}, //D95-K11-18 + {0, SW2_CS31, SW2_CS32, SW2_CS33}, //D97-K12-19 + {0, SW2_CS28, SW2_CS29, SW2_CS30}, //D99-K13-20 + {0, SW2_CS25, SW2_CS26, SW2_CS27}, //D101-K14-21 + {0, SW2_CS22, SW2_CS23, SW2_CS24}, //D103-K15-22 + {0, SW2_CS19, SW2_CS20, SW2_CS21}, //D105-K16-23 + {0, SW2_CS18, SW2_CS17, SW2_CS16}, //D107-K17-24 + {0, SW2_CS15, SW2_CS14, SW2_CS13}, //D109-K18-25 + {0, SW2_CS12, SW2_CS11, SW2_CS10}, //D111-K19-26 + {0, SW2_CS9, SW2_CS8, SW2_CS7}, //D113-K1A-27 + {0, SW2_CS6, SW2_CS5, SW2_CS4}, //D115-K1B-28 + {0, SW2_CS3, SW2_CS2, SW2_CS1}, //D117-K1C-29 + {0, SW8_CS3, SW8_CS2, SW8_CS1}, //D158-K1D-30 + {0, SW7_CS3, SW7_CS2, SW7_CS1}, //D119-K1E-31 + {0, SW8_CS18, SW8_CS17, SW8_CS16}, //D121-K1F-32 + {0, SW9_CS9, SW9_CS8, SW9_CS7}, //D123-K1G-33 + {0, SW3_CS34, SW3_CS35, SW3_CS36}, //D124-K20-34 + {0, SW3_CS37, SW3_CS38, SW3_CS39}, //D127-K21-35 + {0, SW3_CS31, SW3_CS32, SW3_CS33}, //D130-K22-36 + {0, SW3_CS28, SW3_CS29, SW3_CS30}, //D133-K23-37 + {0, SW3_CS25, SW3_CS26, SW3_CS27}, //D135-K24-38 + {0, SW3_CS22, SW3_CS23, SW3_CS24}, //D137-K25-39 + {0, SW3_CS19, SW3_CS20, SW3_CS21}, //D139-K26-40 + {0, SW3_CS18, SW3_CS17, SW3_CS16}, //D142-K27-41 + {0, SW3_CS15, SW3_CS14, SW3_CS13}, //D144-K28-42 + {0, SW3_CS12, SW3_CS11, SW3_CS10}, //D146-K29-43 + {0, SW3_CS9, SW3_CS8, SW3_CS7}, //D148-K2A-44 + {0, SW3_CS6, SW3_CS5, SW3_CS4}, //D151-K2B-45 + {0, SW3_CS3, SW3_CS2, SW3_CS1}, //D154-K2C-46 + {0, SW8_CS6, SW8_CS5, SW8_CS4}, //D159-K2D-47 + {0, SW7_CS6, SW7_CS5, SW7_CS4}, //D180-K2E-48 + {0, SW8_CS19, SW8_CS20, SW8_CS21}, //D181-K2F-49 + {0, SW7_CS9, SW7_CS8, SW7_CS7}, //D182-K2G-50 + {0, SW4_CS34, SW4_CS35, SW4_CS36}, //D166-K30-51 + {0, SW4_CS37, SW4_CS38, SW4_CS39}, //D167-K31-52 + {0, SW4_CS31, SW4_CS32, SW4_CS33}, //D168-K32-53 + {0, SW4_CS28, SW4_CS29, SW4_CS30}, //D169-K33-54 + {0, SW4_CS25, SW4_CS26, SW4_CS27}, //D170-K34-55 + {0, SW4_CS22, SW4_CS23, SW4_CS24}, //D171-K35-56 + {0, SW4_CS19, SW4_CS20, SW4_CS21}, //D172-K36-57 + {0, SW4_CS18, SW4_CS17, SW4_CS16}, //D173-K37-58 + {0, SW4_CS15, SW4_CS14, SW4_CS13}, //D174-K38-59 + {0, SW4_CS12, SW4_CS11, SW4_CS10}, //D175-K39-60 + {0, SW4_CS9, SW4_CS8, SW4_CS7}, //D176-K3A-61 + {0, SW4_CS6, SW4_CS5, SW4_CS4}, //D177-K3B-62 + {0, SW4_CS3, SW4_CS2, SW4_CS1}, //D178-K3C-63 + {0, SW8_CS9, SW8_CS8, SW8_CS7}, //D179-K3D-64 + {0, SW5_CS34, SW5_CS35, SW5_CS36}, //D125-K40-65 + {0, SW5_CS37, SW5_CS38, SW5_CS39}, //D128-K41-66 + {0, SW5_CS31, SW5_CS32, SW5_CS33}, //D131-K42-67 + {0, SW5_CS28, SW5_CS29, SW5_CS30}, //D134-K43-68 + {0, SW5_CS25, SW5_CS26, SW5_CS27}, //D136-K44-69 + {0, SW5_CS22, SW5_CS23, SW5_CS24}, //D138-K45-70 + {0, SW5_CS19, SW5_CS20, SW5_CS21}, //D140-K46-71 + {0, SW5_CS18, SW5_CS17, SW5_CS16}, //D143-K47-72 + {0, SW5_CS15, SW5_CS14, SW5_CS13}, //D145-K48-73 + {0, SW5_CS12, SW5_CS11, SW5_CS10}, //D147-K49-74 + {0, SW5_CS9, SW5_CS8, SW5_CS7}, //D149-K4A-75 + {0, SW5_CS6, SW5_CS5, SW5_CS4}, //D152-K4B-76 + {0, SW5_CS3, SW5_CS2, SW5_CS1}, //D155-K4C-77 + {0, SW8_CS12, SW8_CS11, SW8_CS10}, //D160-K4D-78 + {0, SW9_CS12, SW9_CS11, SW9_CS10}, //D163-K4E-79 + {0, SW6_CS34, SW6_CS35, SW6_CS36}, //D126-K20-80 + {0, SW6_CS37, SW6_CS38, SW6_CS39}, //D129-K21-81 + {0, SW6_CS31, SW6_CS32, SW6_CS33}, //D132-K22-82 + {0, SW6_CS19, SW6_CS20, SW6_CS21}, //D141-K26-83 + {0, SW6_CS9, SW6_CS8, SW6_CS7}, //D150-K2A-84 + {0, SW6_CS6, SW6_CS5, SW6_CS4}, //D153-K2B-85 + {0, SW6_CS3, SW6_CS2, SW6_CS1}, //D156-K2C-86 + {0, SW8_CS15, SW8_CS14, SW8_CS13}, //D161-K2D-87 + {0, SW9_CS15, SW9_CS14, SW9_CS13}, //D162-K2E-88 + {0, SW9_CS18, SW9_CS17, SW9_CS16}, //D164-K2F-89 + {0, SW9_CS19, SW9_CS20, SW9_CS21}, //D165-K2G-90 }; led_config_t g_led_config = { { diff --git a/keyboards/melgeek/mach80/rev1/rev1.c b/keyboards/melgeek/mach80/rev1/rev1.c index 630b399e210..a4b49610cc2 100755 --- a/keyboards/melgeek/mach80/rev1/rev1.c +++ b/keyboards/melgeek/mach80/rev1/rev1.c @@ -20,103 +20,103 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB65 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB67 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB68 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB69 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB70 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB55 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB71 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB72 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB66 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB60 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB61 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB73 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB74 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB75 */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB76 */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB77 */ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB78 */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB79 */ - {0, CS33_SW6, CS32_SW6, CS31_SW6}, /* RGB80 */ - {0, CS33_SW7, CS32_SW7, CS31_SW7}, /* RGB83 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS33_SW8, CS32_SW8, CS31_SW8}, /* RGB81 */ - {0, CS33_SW9, CS32_SW9, CS31_SW9}, /* RGB82 */ - {0, CS36_SW1, CS35_SW1, CS34_SW1}, /* RGB89 */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB90 */ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB91 */ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB92 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB45 */ - {0, CS36_SW5, CS35_SW5, CS34_SW5}, /* RGB84 */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB85 */ - {0, CS36_SW7, CS35_SW7, CS34_SW7}, /* RGB88 */ - {0, CS36_SW8, CS35_SW8, CS34_SW8}, /* RGB86 */ - {0, CS36_SW9, CS35_SW9, CS34_SW9}, /* RGB87 */ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, /* RGB98 */ - {0, CS39_SW2, CS38_SW2, CS37_SW2}, /* RGB99 */ - {0, CS39_SW3, CS38_SW3, CS37_SW3}, /* RGB100 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS39_SW4, CS38_SW4, CS37_SW4}, /* RGB101 */ - {0, CS39_SW5, CS38_SW5, CS37_SW5}, /* RGB110 */ - {0, CS39_SW6, CS38_SW6, CS37_SW6}, /* RGB111 */ - {0, CS39_SW7, CS38_SW7, CS37_SW7}, /* RGB112 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB65 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB67 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB68 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB69 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB70 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB55 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB71 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB72 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB66 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB60 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB61 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB73 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB74 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB75 */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB76 */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB77 */ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB78 */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB79 */ + {0, SW6_CS33, SW6_CS32, SW6_CS31}, /* RGB80 */ + {0, SW7_CS33, SW7_CS32, SW7_CS31}, /* RGB83 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW8_CS33, SW8_CS32, SW8_CS31}, /* RGB81 */ + {0, SW9_CS33, SW9_CS32, SW9_CS31}, /* RGB82 */ + {0, SW1_CS36, SW1_CS35, SW1_CS34}, /* RGB89 */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB90 */ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB91 */ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB92 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB45 */ + {0, SW5_CS36, SW5_CS35, SW5_CS34}, /* RGB84 */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB85 */ + {0, SW7_CS36, SW7_CS35, SW7_CS34}, /* RGB88 */ + {0, SW8_CS36, SW8_CS35, SW8_CS34}, /* RGB86 */ + {0, SW9_CS36, SW9_CS35, SW9_CS34}, /* RGB87 */ + {0, SW1_CS39, SW1_CS38, SW1_CS37}, /* RGB98 */ + {0, SW2_CS39, SW2_CS38, SW2_CS37}, /* RGB99 */ + {0, SW3_CS39, SW3_CS38, SW3_CS37}, /* RGB100 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW4_CS39, SW4_CS38, SW4_CS37}, /* RGB101 */ + {0, SW5_CS39, SW5_CS38, SW5_CS37}, /* RGB110 */ + {0, SW6_CS39, SW6_CS38, SW6_CS37}, /* RGB111 */ + {0, SW7_CS39, SW7_CS38, SW7_CS37}, /* RGB112 */ }; led_config_t g_led_config = { { @@ -145,9 +145,9 @@ led_config_t g_led_config = { }; const is31fl3741_led_t g_is31_indicator_leds[3] = { - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB107 */ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB108 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB109 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB107 */ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB108 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB109 */ }; bool led_update_kb(led_t led_state) { diff --git a/keyboards/melgeek/mach80/rev2/rev2.c b/keyboards/melgeek/mach80/rev2/rev2.c index 5cea55620b1..1a759f38c60 100755 --- a/keyboards/melgeek/mach80/rev2/rev2.c +++ b/keyboards/melgeek/mach80/rev2/rev2.c @@ -20,100 +20,100 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB65 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB67 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB68 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB69 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB70 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB55 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB71 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB72 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB66 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB60 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB61 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB73 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB74 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB75 */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB76 */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB77 */ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB78 */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB79 */ - {0, CS33_SW6, CS32_SW6, CS31_SW6}, /* RGB80 */ - {0, CS33_SW7, CS32_SW7, CS31_SW7}, /* RGB83 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS33_SW8, CS32_SW8, CS31_SW8}, /* RGB81 */ - {0, CS33_SW9, CS32_SW9, CS31_SW9}, /* RGB82 */ - {0, CS36_SW1, CS35_SW1, CS34_SW1}, /* RGB89 */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB90 */ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB91 */ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB92 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB45 */ - {0, CS36_SW5, CS35_SW5, CS34_SW5}, /* RGB84 */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB85 */ - {0, CS36_SW7, CS35_SW7, CS34_SW7}, /* RGB88 */ - {0, CS36_SW8, CS35_SW8, CS34_SW8}, /* RGB86 */ - {0, CS36_SW9, CS35_SW9, CS34_SW9}, /* RGB87 */ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, /* RGB98 */ - {0, CS39_SW2, CS38_SW2, CS37_SW2}, /* RGB99 */ - {0, CS39_SW3, CS38_SW3, CS37_SW3}, /* RGB100 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS39_SW4, CS38_SW4, CS37_SW4}, /* RGB101 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB65 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB67 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB68 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB69 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB70 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB55 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB71 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB72 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB66 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB60 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB61 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB73 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB74 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB75 */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB76 */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB77 */ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB78 */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB79 */ + {0, SW6_CS33, SW6_CS32, SW6_CS31}, /* RGB80 */ + {0, SW7_CS33, SW7_CS32, SW7_CS31}, /* RGB83 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW8_CS33, SW8_CS32, SW8_CS31}, /* RGB81 */ + {0, SW9_CS33, SW9_CS32, SW9_CS31}, /* RGB82 */ + {0, SW1_CS36, SW1_CS35, SW1_CS34}, /* RGB89 */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB90 */ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB91 */ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB92 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB45 */ + {0, SW5_CS36, SW5_CS35, SW5_CS34}, /* RGB84 */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB85 */ + {0, SW7_CS36, SW7_CS35, SW7_CS34}, /* RGB88 */ + {0, SW8_CS36, SW8_CS35, SW8_CS34}, /* RGB86 */ + {0, SW9_CS36, SW9_CS35, SW9_CS34}, /* RGB87 */ + {0, SW1_CS39, SW1_CS38, SW1_CS37}, /* RGB98 */ + {0, SW2_CS39, SW2_CS38, SW2_CS37}, /* RGB99 */ + {0, SW3_CS39, SW3_CS38, SW3_CS37}, /* RGB100 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW4_CS39, SW4_CS38, SW4_CS37}, /* RGB101 */ }; led_config_t g_led_config = { { @@ -143,9 +143,9 @@ led_config_t g_led_config = { }; const is31fl3741_led_t g_is31_indicator_leds[3] = { - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB107 */ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB108 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB109 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB107 */ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB108 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB109 */ }; bool led_update_kb(led_t led_state) { diff --git a/keyboards/melgeek/mj61/rev1/rev1.c b/keyboards/melgeek/mj61/rev1/rev1.c index 227d8c32aa2..3ee0da5183b 100644 --- a/keyboards/melgeek/mj61/rev1/rev1.c +++ b/keyboards/melgeek/mj61/rev1/rev1.c @@ -18,69 +18,69 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB1 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB2 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB3 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB4 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB5 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB6 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB7 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB8 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB9 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB10 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB11 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB12 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB13 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB14 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB15 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB16 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB17 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB18 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB19 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB20 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB21 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB22 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB23 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB24 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB25 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB26 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB27 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB28 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB29 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB30 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB31 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB32 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB33 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB34 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB35 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB36 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB37 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB38 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB39 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB40 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB41 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB42 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB43 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB44 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB45 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB46 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB47 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB48 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB49 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB50 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB51 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB52 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB53 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB54 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB55 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB56 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB57 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB58 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB59 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB60 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB61 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB62 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB63 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB1 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB2 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB3 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB4 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB5 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB6 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB7 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB8 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB9 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB10 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB11 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB12 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB13 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB14 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB15 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB16 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB17 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB18 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB19 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB20 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB21 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB22 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB23 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB24 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB25 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB26 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB27 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB28 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB29 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB30 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB31 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB32 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB33 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB34 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB35 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB36 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB37 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB38 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB39 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB40 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB41 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB42 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB43 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB44 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB45 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB46 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB47 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB48 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB49 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB50 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB51 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB52 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB53 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB54 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB55 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB56 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB57 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB58 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB59 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB60 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB61 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB62 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB63 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mj61/rev2/rev2.c b/keyboards/melgeek/mj61/rev2/rev2.c index 5c797a58225..71d41c16b3f 100644 --- a/keyboards/melgeek/mj61/rev2/rev2.c +++ b/keyboards/melgeek/mj61/rev2/rev2.c @@ -20,77 +20,77 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB5 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB6 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB7 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB2 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB48 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB46 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB49 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB50 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB51 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB52 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB53 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB16 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB12 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB17 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB13 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB14 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB18 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB15 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB47 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB60 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB61 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB21 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB19 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB22 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB26 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB20 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB23 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB24 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB25 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB56 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB57 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB62 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB58 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB63 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB59 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB35 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB32 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB33 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB34 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB65 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB66 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB67 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB68 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB69 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB70 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB40 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB43 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB38 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB44 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB45 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB39 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB42 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB71 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB3 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB4 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB5 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB6 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB7 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB2 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB48 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB46 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB49 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB50 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB51 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB52 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB53 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB16 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB12 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB17 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB13 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB14 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB18 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB15 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB47 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB60 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB61 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB21 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB19 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB22 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB26 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB20 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB23 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB24 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB25 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB56 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB57 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB62 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB58 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB63 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB59 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB35 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB32 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB33 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB34 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB65 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB66 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB67 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB68 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB69 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB70 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB40 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB43 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB38 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB44 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB45 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB39 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB42 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB71 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mj63/rev1/rev1.c b/keyboards/melgeek/mj63/rev1/rev1.c index 78e12b3f73c..e3baf32de7c 100644 --- a/keyboards/melgeek/mj63/rev1/rev1.c +++ b/keyboards/melgeek/mj63/rev1/rev1.c @@ -20,71 +20,71 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB60 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB61 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB62 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB63 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB65 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB66 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB60 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB61 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB62 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB63 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB65 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB66 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mj63/rev2/rev2.c b/keyboards/melgeek/mj63/rev2/rev2.c index d452661c45c..418092ec9f6 100644 --- a/keyboards/melgeek/mj63/rev2/rev2.c +++ b/keyboards/melgeek/mj63/rev2/rev2.c @@ -20,77 +20,77 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB5 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB6 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB7 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB2 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB48 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB46 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB49 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB50 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB51 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB52 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB53 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB16 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB12 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB17 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB13 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB14 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB18 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB15 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB47 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB60 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB61 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB21 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB19 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB22 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB26 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB20 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB23 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB24 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB25 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB56 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB57 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB62 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB58 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB63 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB59 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB35 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB32 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB33 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB34 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB65 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB66 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB68 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB69 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB70 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB40 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB43 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB38 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB44 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB45 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB39 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB42 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB71 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB72 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB3 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB4 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB5 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB6 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB7 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB2 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB48 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB46 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB49 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB50 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB51 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB52 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB53 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB16 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB12 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB17 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB13 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB14 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB18 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB15 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB47 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB60 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB61 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB21 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB19 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB22 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB26 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB20 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB23 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB24 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB25 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB56 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB57 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB62 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB58 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB63 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB59 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB35 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB32 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB33 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB34 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB65 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB66 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB68 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB69 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB70 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB40 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB43 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB38 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB44 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB45 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB39 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB42 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB71 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB72 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mj64/rev1/rev1.c b/keyboards/melgeek/mj64/rev1/rev1.c index efc9637db81..b9609cad1e8 100644 --- a/keyboards/melgeek/mj64/rev1/rev1.c +++ b/keyboards/melgeek/mj64/rev1/rev1.c @@ -19,70 +19,70 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB45 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB60 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB61 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB62 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB63 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB45 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB60 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB61 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB62 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB63 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mj64/rev2/rev2.c b/keyboards/melgeek/mj64/rev2/rev2.c index 2f11cc95baf..16c8e1f6125 100644 --- a/keyboards/melgeek/mj64/rev2/rev2.c +++ b/keyboards/melgeek/mj64/rev2/rev2.c @@ -19,72 +19,72 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB45 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB60 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB61 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB62 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB63 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB65 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB66 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB45 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB60 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB61 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB62 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB63 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB65 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB66 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mj64/rev3/rev3.c b/keyboards/melgeek/mj64/rev3/rev3.c index d797301b0a7..7af80c7388f 100644 --- a/keyboards/melgeek/mj64/rev3/rev3.c +++ b/keyboards/melgeek/mj64/rev3/rev3.c @@ -19,78 +19,78 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB5 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB6 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB7 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB2 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB48 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB46 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB49 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB50 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB51 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB52 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB53 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB16 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB12 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB17 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB13 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB14 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB18 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB15 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB47 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB60 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB61 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB21 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB19 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB22 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB26 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB20 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB23 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB24 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB25 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB56 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB57 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB62 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB58 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB63 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB59 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB35 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB32 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB33 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB34 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB65 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB66 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB67 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB68 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB69 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB70 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB40 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB43 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB38 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB44 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB45 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB39 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB42 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB71 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB72 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB3 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB4 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB5 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB6 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB7 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB2 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB48 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB46 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB49 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB50 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB51 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB52 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB53 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB16 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB12 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB17 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB13 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB14 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB18 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB15 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB47 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB60 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB61 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB21 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB19 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB22 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB26 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB20 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB23 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB24 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB25 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB56 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB57 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB62 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB58 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB63 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB59 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB35 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB32 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB33 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB34 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB65 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB66 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB67 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB68 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB69 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB70 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB40 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB43 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB38 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB44 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB45 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB39 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB42 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB71 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB72 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mj65/rev3/rev3.c b/keyboards/melgeek/mj65/rev3/rev3.c index 39eb0431641..1392d5af4e5 100644 --- a/keyboards/melgeek/mj65/rev3/rev3.c +++ b/keyboards/melgeek/mj65/rev3/rev3.c @@ -19,82 +19,82 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB60 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB61 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB62 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB63 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB65 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB66 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB67 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB68 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB69 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB70 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB71 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB72 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB73 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB45 */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB74 */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB75 */ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB76 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB60 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB61 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB62 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB63 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB65 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB66 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB67 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB68 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB69 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB70 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB71 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB72 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB73 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB45 */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB74 */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB75 */ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB76 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/mojo68/rev1/rev1.c b/keyboards/melgeek/mojo68/rev1/rev1.c index 0490acd7dcd..af17d96c6d9 100755 --- a/keyboards/melgeek/mojo68/rev1/rev1.c +++ b/keyboards/melgeek/mojo68/rev1/rev1.c @@ -19,74 +19,74 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB60 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB61 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB62 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB63 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB65 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB66 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB67 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB45 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB68 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB60 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB61 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB62 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB63 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB65 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB66 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB67 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB45 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB68 */ }; led_config_t g_led_config = { @@ -113,9 +113,9 @@ led_config_t g_led_config = { }; const is31fl3741_led_t g_is31_indicator_leds[3] = { - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB124 */ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB125 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB126 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB124 */ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB125 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB126 */ }; bool led_update_kb(led_t led_state) { diff --git a/keyboards/melgeek/mojo75/rev1/rev1.c b/keyboards/melgeek/mojo75/rev1/rev1.c index 7a8e3cb2d3f..18daafebf8d 100644 --- a/keyboards/melgeek/mojo75/rev1/rev1.c +++ b/keyboards/melgeek/mojo75/rev1/rev1.c @@ -19,98 +19,98 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB1 */ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB2 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB3 */ - {0, CS6_SW4, CS5_SW4, CS4_SW4}, /* RGB4 */ - {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* RGB5 */ - {0, CS6_SW6, CS5_SW6, CS4_SW6}, /* RGB6 */ - {0, CS6_SW7, CS5_SW7, CS4_SW7}, /* RGB7 */ - {0, CS6_SW8, CS5_SW8, CS4_SW8}, /* RGB8 */ - {0, CS6_SW9, CS5_SW9, CS4_SW9}, /* RGB9 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB55 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB56 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB57 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB58 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB59 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB60 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB61 */ - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB10 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB11 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB12 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB13 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB14 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB15 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB16 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB17 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB18 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB62 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB63 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB64 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB65 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB66 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB67 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB68 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB69 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB19 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB20 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB21 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB22 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB23 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB24 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB25 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB26 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB27 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB70 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB71 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB72 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB86 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB73 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB74 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB28 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB29 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB30 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB31 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB32 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB33 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB34 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB35 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB36 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB75 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB76 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB77 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB78 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB79 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB80 */ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, /* RGB91 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB37 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB38 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB39 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB40 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB41 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB42 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB43 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB44 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB45 */ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB84 */ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB83 */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB82 */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB85 */ - {0, CS36_SW1, CS35_SW1, CS34_SW1}, /* RGB81 */ - {0, CS39_SW2, CS38_SW2, CS37_SW2}, /* RGB87 */ - {0, CS39_SW3, CS38_SW3, CS37_SW3}, /* RGB89 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB46 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB47 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB48 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB49 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB50 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB51 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB52 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB53 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB54 */ - {0, CS39_SW4, CS38_SW4, CS37_SW4}, /* RGB88 */ - {0, CS39_SW5, CS38_SW5, CS37_SW5}, /* RGB92 */ - {0, CS39_SW6, CS38_SW6, CS37_SW6}, /* RGB90 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB1 */ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB2 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB3 */ + {0, SW4_CS6, SW4_CS5, SW4_CS4}, /* RGB4 */ + {0, SW5_CS6, SW5_CS5, SW5_CS4}, /* RGB5 */ + {0, SW6_CS6, SW6_CS5, SW6_CS4}, /* RGB6 */ + {0, SW7_CS6, SW7_CS5, SW7_CS4}, /* RGB7 */ + {0, SW8_CS6, SW8_CS5, SW8_CS4}, /* RGB8 */ + {0, SW9_CS6, SW9_CS5, SW9_CS4}, /* RGB9 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB55 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB56 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB57 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB58 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB59 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB60 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB61 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB10 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB11 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB12 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB13 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB14 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB15 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB16 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB17 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB18 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB62 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB63 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB64 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB65 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB66 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB67 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB68 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB69 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB19 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB20 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB21 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB22 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB23 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB24 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB25 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB26 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB27 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB70 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB71 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB72 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB86 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB73 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB74 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB28 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB29 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB30 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB31 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB32 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB33 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB34 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB35 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB36 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB75 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB76 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB77 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB78 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB79 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB80 */ + {0, SW1_CS39, SW1_CS38, SW1_CS37}, /* RGB91 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB37 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB38 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB39 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB40 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB41 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB42 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB43 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB44 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB45 */ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB84 */ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB83 */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB82 */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB85 */ + {0, SW1_CS36, SW1_CS35, SW1_CS34}, /* RGB81 */ + {0, SW2_CS39, SW2_CS38, SW2_CS37}, /* RGB87 */ + {0, SW3_CS39, SW3_CS38, SW3_CS37}, /* RGB89 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB46 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB47 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB48 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB49 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB50 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB51 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB52 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB53 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB54 */ + {0, SW4_CS39, SW4_CS38, SW4_CS37}, /* RGB88 */ + {0, SW5_CS39, SW5_CS38, SW5_CS37}, /* RGB92 */ + {0, SW6_CS39, SW6_CS38, SW6_CS37}, /* RGB90 */ }; led_config_t g_led_config = { diff --git a/keyboards/melgeek/tegic/rev1/rev1.c b/keyboards/melgeek/tegic/rev1/rev1.c index eacbebf94c1..b087264919c 100755 --- a/keyboards/melgeek/tegic/rev1/rev1.c +++ b/keyboards/melgeek/tegic/rev1/rev1.c @@ -20,102 +20,102 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB4 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB5 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB6 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB7 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB8 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB9 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB55 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB56 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB57 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB58 */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB59 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB60 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB1 */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB2 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB3 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB4 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB5 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB6 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB7 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB8 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB9 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB55 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB56 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB57 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB58 */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB59 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB60 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB10 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB11 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB12 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB13 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB14 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB15 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB16 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB17 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB18 */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB61 */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB62 */ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB63 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB64 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB65 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB66 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB67 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB68 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB10 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB11 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB12 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB13 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB14 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB15 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB16 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB17 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB18 */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB61 */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB62 */ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB63 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB64 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB65 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB66 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB67 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB68 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB19 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB21 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB22 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB23 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB24 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB25 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB26 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB27 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB127 */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB128 */ - {0, CS30_SW8, CS29_SW8, CS28_SW8}, /* RGB129 */ - {0, CS30_SW9, CS29_SW9, CS28_SW9}, /* RGB130 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB136 */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB135 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB19 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB21 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB22 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB23 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB24 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB25 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB26 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB27 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB127 */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB128 */ + {0, SW8_CS30, SW8_CS29, SW8_CS28}, /* RGB129 */ + {0, SW9_CS30, SW9_CS29, SW9_CS28}, /* RGB130 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB136 */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB135 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB28 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB29 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB30 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB31 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB32 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB33 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB34 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB35 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB36 */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB138 */ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB139 */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB137 */ - {0, CS33_SW6, CS32_SW6, CS31_SW6}, /* RGB131 */ - {0, CS33_SW7, CS32_SW7, CS31_SW7}, /* RGB132 */ - {0, CS33_SW8, CS32_SW8, CS31_SW8}, /* RGB133*/ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB28 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB29 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB30 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB31 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB32 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB33 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB34 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB35 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB36 */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB138 */ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB139 */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB137 */ + {0, SW6_CS33, SW6_CS32, SW6_CS31}, /* RGB131 */ + {0, SW7_CS33, SW7_CS32, SW7_CS31}, /* RGB132 */ + {0, SW8_CS33, SW8_CS32, SW8_CS31}, /* RGB133*/ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB37 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB38 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB39 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB40 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB41 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB42 */ - {0, CS21_SW7, CS20_SW7, CS19_SW7}, /* RGB43 */ - {0, CS21_SW8, CS20_SW8, CS19_SW8}, /* RGB44 */ - {0, CS21_SW9, CS20_SW9, CS19_SW9}, /* RGB45 */ - {0, CS33_SW9, CS32_SW9, CS31_SW9}, /* RGB134 */ - {0, CS36_SW1, CS35_SW1, CS34_SW1}, /* RGB145 */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB144*/ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB148 */ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB147 */ - {0, CS36_SW5, CS35_SW5, CS34_SW5}, /* RGB146 */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB140 */ - {0, CS36_SW7, CS35_SW7, CS34_SW7}, /* RGB141 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB37 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB38 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB39 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB40 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB41 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB42 */ + {0, SW7_CS21, SW7_CS20, SW7_CS19}, /* RGB43 */ + {0, SW8_CS21, SW8_CS20, SW8_CS19}, /* RGB44 */ + {0, SW9_CS21, SW9_CS20, SW9_CS19}, /* RGB45 */ + {0, SW9_CS33, SW9_CS32, SW9_CS31}, /* RGB134 */ + {0, SW1_CS36, SW1_CS35, SW1_CS34}, /* RGB145 */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB144*/ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB148 */ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB147 */ + {0, SW5_CS36, SW5_CS35, SW5_CS34}, /* RGB146 */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB140 */ + {0, SW7_CS36, SW7_CS35, SW7_CS34}, /* RGB141 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB46 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB47 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB48 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB49 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB50 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB51 */ - {0, CS24_SW7, CS23_SW7, CS22_SW7}, /* RGB52 */ - {0, CS24_SW8, CS23_SW8, CS22_SW8}, /* RGB53 */ - {0, CS24_SW9, CS23_SW9, CS22_SW9}, /* RGB54 */ - {0, CS36_SW8, CS35_SW8, CS34_SW8}, /* RGB142 */ - {0, CS36_SW9, CS35_SW9, CS34_SW9}, /* RGB143 */ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, /* RGB149 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB46 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB47 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB48 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB49 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB50 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB51 */ + {0, SW7_CS24, SW7_CS23, SW7_CS22}, /* RGB52 */ + {0, SW8_CS24, SW8_CS23, SW8_CS22}, /* RGB53 */ + {0, SW9_CS24, SW9_CS23, SW9_CS22}, /* RGB54 */ + {0, SW8_CS36, SW8_CS35, SW8_CS34}, /* RGB142 */ + {0, SW9_CS36, SW9_CS35, SW9_CS34}, /* RGB143 */ + {0, SW1_CS39, SW1_CS38, SW1_CS37}, /* RGB149 */ }; led_config_t g_led_config = { { diff --git a/keyboards/melgeek/z70ultra/z70ultra.c b/keyboards/melgeek/z70ultra/z70ultra.c index 51827ab15ed..1cb46df643a 100644 --- a/keyboards/melgeek/z70ultra/z70ultra.c +++ b/keyboards/melgeek/z70ultra/z70ultra.c @@ -19,77 +19,77 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS28_SW1, CS30_SW1, CS29_SW1}, /* RGB10 */ - {0, CS28_SW2, CS30_SW2, CS29_SW2}, /* RGB11 */ - {0, CS28_SW3, CS30_SW3, CS29_SW3}, /* RGB12 */ - {0, CS28_SW4, CS30_SW4, CS29_SW4}, /* RGB13 */ - {0, CS28_SW5, CS30_SW5, CS29_SW5}, /* RGB14 */ - {0, CS28_SW6, CS30_SW6, CS29_SW6}, /* RGB15 */ - {0, CS28_SW7, CS30_SW7, CS29_SW7}, /* RGB16 */ - {0, CS28_SW8, CS30_SW8, CS29_SW8}, /* RGB17 */ - {0, CS28_SW9, CS30_SW9, CS29_SW9}, /* RGB18 */ - {0, CS31_SW1, CS33_SW1, CS32_SW1}, /* RGB28 */ - {0, CS31_SW2, CS33_SW2, CS32_SW2}, /* RGB29 */ - {0, CS31_SW3, CS33_SW3, CS32_SW3}, /* RGB30 */ - {0, CS31_SW4, CS33_SW4, CS32_SW4}, /* RGB31 */ - {0, CS31_SW5, CS33_SW5, CS32_SW5}, /* RGB32 */ - {0, CS31_SW6, CS33_SW6, CS32_SW6}, /* RGB33 */ - {0, CS25_SW1, CS27_SW1, CS26_SW1}, /* RGB1 */ - {0, CS25_SW2, CS27_SW2, CS26_SW2}, /* RGB2 */ - {0, CS25_SW3, CS27_SW3, CS26_SW3}, /* RGB3 */ - {0, CS25_SW4, CS27_SW4, CS26_SW4}, /* RGB4 */ - {0, CS25_SW5, CS27_SW5, CS26_SW5}, /* RGB5 */ - {0, CS25_SW6, CS27_SW6, CS26_SW6}, /* RGB6 */ - {0, CS25_SW7, CS27_SW7, CS26_SW7}, /* RGB7 */ - {0, CS25_SW8, CS27_SW8, CS26_SW8}, /* RGB8 */ - {0, CS25_SW9, CS27_SW9, CS26_SW9}, /* RGB9 */ - {0, CS34_SW1, CS36_SW1, CS35_SW1}, /* RGB46 */ - {0, CS34_SW2, CS36_SW2, CS35_SW2}, /* RGB47 */ - {0, CS34_SW3, CS36_SW3, CS35_SW3}, /* RGB48 */ - {0, CS34_SW4, CS36_SW4, CS35_SW4}, /* RGB49 */ - {0, CS34_SW5, CS36_SW5, CS35_SW5}, /* RGB50 */ - {0, CS31_SW7, CS33_SW7, CS32_SW7}, /* RGB34 */ - {0, CS22_SW1, CS24_SW1, CS23_SW1}, /* RGB37 */ - {0, CS22_SW2, CS24_SW2, CS23_SW2}, /* RGB38 */ - {0, CS22_SW3, CS24_SW3, CS23_SW3}, /* RGB39 */ - {0, CS22_SW4, CS24_SW4, CS23_SW4}, /* RGB40 */ - {0, CS22_SW5, CS24_SW5, CS23_SW5}, /* RGB41 */ - {0, CS22_SW6, CS24_SW6, CS23_SW6}, /* RGB42 */ - {0, CS22_SW7, CS24_SW7, CS23_SW7}, /* RGB43 */ - {0, CS22_SW8, CS24_SW8, CS23_SW8}, /* RGB44 */ - {0, CS22_SW9, CS24_SW9, CS23_SW9}, /* RGB45 */ - {0, CS34_SW9, CS36_SW9, CS35_SW9}, /* RGB54 */ - {0, CS34_SW8, CS36_SW8, CS35_SW8}, /* RGB53 */ - {0, CS34_SW7, CS36_SW7, CS35_SW7}, /* RGB52 */ - {0, CS34_SW6, CS36_SW6, CS35_SW6}, /* RGB51 */ - {0, CS31_SW8, CS33_SW8, CS32_SW8}, /* RGB35 */ - {0, CS19_SW2, CS21_SW2, CS20_SW2}, /* RGB56 */ - {0, CS19_SW4, CS21_SW4, CS20_SW4}, /* RGB60 */ - {0, CS19_SW5, CS21_SW5, CS20_SW5}, /* RGB59 */ - {0, CS19_SW6, CS21_SW6, CS20_SW6}, /* RGB60 */ - {0, CS19_SW7, CS21_SW7, CS20_SW7}, /* RGB61 */ - {0, CS19_SW8, CS21_SW8, CS20_SW8}, /* RGB62 */ - {0, CS19_SW9, CS21_SW9, CS20_SW9}, /* RGB63 */ - {0, CS19_SW3, CS21_SW3, CS20_SW3}, /* RGB57 */ - {0, CS19_SW1, CS21_SW1, CS20_SW1}, /* RGB55 */ - {0, CS37_SW5, CS39_SW5, CS38_SW5}, /* RGB23 */ - {0, CS37_SW6, CS39_SW6, CS38_SW6}, /* RGB24 */ - {0, CS37_SW7, CS39_SW7, CS38_SW7}, /* RGB25 */ - {0, CS37_SW8, CS39_SW8, CS38_SW8}, /* RGB26 */ - {0, CS31_SW9, CS33_SW9, CS32_SW9}, /* RGB36 */ + {0, SW1_CS28, SW1_CS30, SW1_CS29}, /* RGB10 */ + {0, SW2_CS28, SW2_CS30, SW2_CS29}, /* RGB11 */ + {0, SW3_CS28, SW3_CS30, SW3_CS29}, /* RGB12 */ + {0, SW4_CS28, SW4_CS30, SW4_CS29}, /* RGB13 */ + {0, SW5_CS28, SW5_CS30, SW5_CS29}, /* RGB14 */ + {0, SW6_CS28, SW6_CS30, SW6_CS29}, /* RGB15 */ + {0, SW7_CS28, SW7_CS30, SW7_CS29}, /* RGB16 */ + {0, SW8_CS28, SW8_CS30, SW8_CS29}, /* RGB17 */ + {0, SW9_CS28, SW9_CS30, SW9_CS29}, /* RGB18 */ + {0, SW1_CS31, SW1_CS33, SW1_CS32}, /* RGB28 */ + {0, SW2_CS31, SW2_CS33, SW2_CS32}, /* RGB29 */ + {0, SW3_CS31, SW3_CS33, SW3_CS32}, /* RGB30 */ + {0, SW4_CS31, SW4_CS33, SW4_CS32}, /* RGB31 */ + {0, SW5_CS31, SW5_CS33, SW5_CS32}, /* RGB32 */ + {0, SW6_CS31, SW6_CS33, SW6_CS32}, /* RGB33 */ + {0, SW1_CS25, SW1_CS27, SW1_CS26}, /* RGB1 */ + {0, SW2_CS25, SW2_CS27, SW2_CS26}, /* RGB2 */ + {0, SW3_CS25, SW3_CS27, SW3_CS26}, /* RGB3 */ + {0, SW4_CS25, SW4_CS27, SW4_CS26}, /* RGB4 */ + {0, SW5_CS25, SW5_CS27, SW5_CS26}, /* RGB5 */ + {0, SW6_CS25, SW6_CS27, SW6_CS26}, /* RGB6 */ + {0, SW7_CS25, SW7_CS27, SW7_CS26}, /* RGB7 */ + {0, SW8_CS25, SW8_CS27, SW8_CS26}, /* RGB8 */ + {0, SW9_CS25, SW9_CS27, SW9_CS26}, /* RGB9 */ + {0, SW1_CS34, SW1_CS36, SW1_CS35}, /* RGB46 */ + {0, SW2_CS34, SW2_CS36, SW2_CS35}, /* RGB47 */ + {0, SW3_CS34, SW3_CS36, SW3_CS35}, /* RGB48 */ + {0, SW4_CS34, SW4_CS36, SW4_CS35}, /* RGB49 */ + {0, SW5_CS34, SW5_CS36, SW5_CS35}, /* RGB50 */ + {0, SW7_CS31, SW7_CS33, SW7_CS32}, /* RGB34 */ + {0, SW1_CS22, SW1_CS24, SW1_CS23}, /* RGB37 */ + {0, SW2_CS22, SW2_CS24, SW2_CS23}, /* RGB38 */ + {0, SW3_CS22, SW3_CS24, SW3_CS23}, /* RGB39 */ + {0, SW4_CS22, SW4_CS24, SW4_CS23}, /* RGB40 */ + {0, SW5_CS22, SW5_CS24, SW5_CS23}, /* RGB41 */ + {0, SW6_CS22, SW6_CS24, SW6_CS23}, /* RGB42 */ + {0, SW7_CS22, SW7_CS24, SW7_CS23}, /* RGB43 */ + {0, SW8_CS22, SW8_CS24, SW8_CS23}, /* RGB44 */ + {0, SW9_CS22, SW9_CS24, SW9_CS23}, /* RGB45 */ + {0, SW9_CS34, SW9_CS36, SW9_CS35}, /* RGB54 */ + {0, SW8_CS34, SW8_CS36, SW8_CS35}, /* RGB53 */ + {0, SW7_CS34, SW7_CS36, SW7_CS35}, /* RGB52 */ + {0, SW6_CS34, SW6_CS36, SW6_CS35}, /* RGB51 */ + {0, SW8_CS31, SW8_CS33, SW8_CS32}, /* RGB35 */ + {0, SW2_CS19, SW2_CS21, SW2_CS20}, /* RGB56 */ + {0, SW4_CS19, SW4_CS21, SW4_CS20}, /* RGB60 */ + {0, SW5_CS19, SW5_CS21, SW5_CS20}, /* RGB59 */ + {0, SW6_CS19, SW6_CS21, SW6_CS20}, /* RGB60 */ + {0, SW7_CS19, SW7_CS21, SW7_CS20}, /* RGB61 */ + {0, SW8_CS19, SW8_CS21, SW8_CS20}, /* RGB62 */ + {0, SW9_CS19, SW9_CS21, SW9_CS20}, /* RGB63 */ + {0, SW3_CS19, SW3_CS21, SW3_CS20}, /* RGB57 */ + {0, SW1_CS19, SW1_CS21, SW1_CS20}, /* RGB55 */ + {0, SW5_CS37, SW5_CS39, SW5_CS38}, /* RGB23 */ + {0, SW6_CS37, SW6_CS39, SW6_CS38}, /* RGB24 */ + {0, SW7_CS37, SW7_CS39, SW7_CS38}, /* RGB25 */ + {0, SW8_CS37, SW8_CS39, SW8_CS38}, /* RGB26 */ + {0, SW9_CS31, SW9_CS33, SW9_CS32}, /* RGB36 */ - {0, CS6_SW1, CS8_SW1, CS7_SW1}, /* RGB64 */ - {0, CS6_SW3, CS8_SW3, CS7_SW3}, /* RGB66 */ - {0, CS6_SW4, CS8_SW4, CS7_SW4}, /* RGB67 */ - {0, CS6_SW5, CS8_SW5, CS7_SW5}, /* RGB69 */ - {0, CS6_SW6, CS8_SW6, CS7_SW6}, /* RGB70 */ - {0, CS6_SW2, CS8_SW2, CS7_SW2}, /* RGB65 */ + {0, SW1_CS6, SW1_CS8, SW1_CS7}, /* RGB64 */ + {0, SW3_CS6, SW3_CS8, SW3_CS7}, /* RGB66 */ + {0, SW4_CS6, SW4_CS8, SW4_CS7}, /* RGB67 */ + {0, SW5_CS6, SW5_CS8, SW5_CS7}, /* RGB69 */ + {0, SW6_CS6, SW6_CS8, SW6_CS7}, /* RGB70 */ + {0, SW2_CS6, SW2_CS8, SW2_CS7}, /* RGB65 */ - {0, CS37_SW1, CS39_SW1, CS38_SW1}, /* RGB19 */ - {0, CS37_SW2, CS39_SW2, CS38_SW2}, /* RGB20 */ - {0, CS37_SW3, CS39_SW3, CS38_SW3}, /* RGB21 */ - {0, CS37_SW4, CS39_SW4, CS38_SW4}, /* RGB22 */ - {0, CS37_SW9, CS39_SW9, CS38_SW9}, /* RGB27 */ + {0, SW1_CS37, SW1_CS39, SW1_CS38}, /* RGB19 */ + {0, SW2_CS37, SW2_CS39, SW2_CS38}, /* RGB20 */ + {0, SW3_CS37, SW3_CS39, SW3_CS38}, /* RGB21 */ + {0, SW4_CS37, SW4_CS39, SW4_CS38}, /* RGB22 */ + {0, SW9_CS37, SW9_CS39, SW9_CS38}, /* RGB27 */ }; led_config_t g_led_config = { { @@ -118,12 +118,12 @@ led_config_t g_led_config = { }; const is31fl3741_led_t g_is31_indicator_leds[6] = { - {0, CS5_SW1, CS3_SW1, CS4_SW1}, /* RGB71 */ - {0, CS5_SW2, CS3_SW2, CS4_SW2}, /* RGB72 */ - {0, CS5_SW3, CS3_SW3, CS4_SW3}, /* RGB73 */ - {0, CS5_SW4, CS3_SW4, CS4_SW4}, /* RGB74 */ - {0, CS5_SW5, CS3_SW5, CS4_SW5}, /* RGB75 */ - {0, CS5_SW6, CS3_SW6, CS4_SW6}, /* RGB76 */ + {0, SW1_CS5, SW1_CS3, SW1_CS4}, /* RGB71 */ + {0, SW2_CS5, SW2_CS3, SW2_CS4}, /* RGB72 */ + {0, SW3_CS5, SW3_CS3, SW3_CS4}, /* RGB73 */ + {0, SW4_CS5, SW4_CS3, SW4_CS4}, /* RGB74 */ + {0, SW5_CS5, SW5_CS3, SW5_CS4}, /* RGB75 */ + {0, SW6_CS5, SW6_CS3, SW6_CS4}, /* RGB76 */ }; bool led_update_kb(led_t led_state) { diff --git a/keyboards/miller/gm862/gm862.c b/keyboards/miller/gm862/gm862.c index 3dcbe122fb1..534ef6cdc65 100644 --- a/keyboards/miller/gm862/gm862.c +++ b/keyboards/miller/gm862/gm862.c @@ -2,67 +2,67 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - {0, B_1, A_1, C_1}, - {0, B_2, A_2, C_2}, - {0, B_3, A_3, C_3}, - {0, B_4, A_4, C_4}, - {0, B_5, A_5, C_5}, - {0, B_6, A_6, C_6}, - {0, B_7, A_7, C_7}, - {0, B_8, A_8, C_8}, - {0, B_9, A_9, C_9}, - {0, B_10, A_10, C_10}, - {0, B_11, A_11, C_11}, - {0, B_12, A_12, C_12}, - {0, B_13, A_13, C_13}, - {0, B_14, A_14, C_14}, - {0, E_1, D_1, F_1}, - {0, E_2, D_2, F_2}, - {0, E_3, D_3, F_3}, - {0, E_4, D_4, F_4}, - {0, E_5, D_5, F_5}, - {0, E_6, D_6, F_6}, - {0, E_7, D_7, F_7}, - {0, E_8, D_8, F_8}, - {0, E_9, D_9, F_9}, - {0, E_10, D_10, F_10}, - {0, E_11, D_11, F_11}, - {0, E_12, D_12, F_12}, - {0, E_13, D_13, F_13}, - {0, E_14, D_14, F_14}, - {0, H_1, G_1, I_1}, - {0, H_2, G_2, I_2}, - {0, H_3, G_3, I_3}, - {0, H_4, G_4, I_4}, - {0, H_5, G_5, I_5}, - {0, H_6, G_6, I_6}, - {0, H_7, G_7, I_7}, - {0, H_8, G_8, I_8}, - {0, H_9, G_9, I_9}, - {0, H_10, G_10, I_10}, - {0, H_11, G_11, I_11}, - {0, H_12, G_12, I_12}, - {0, H_13, G_13, I_13}, - {0, K_1, J_1, L_1}, - {0, K_2, J_2, L_2}, - {0, K_3, J_3, L_3}, - {0, K_4, J_4, L_4}, - {0, K_5, J_5, L_5}, - {0, K_6, J_6, L_6}, - {0, K_7, J_7, L_7}, - {0, K_8, J_8, L_8}, - {0, K_9, J_9, L_9}, - {0, K_10, J_10, L_10}, - {0, K_11, J_11, L_11}, - {0, K_14, J_14, L_14}, - {0, B_16, A_16, C_16}, - {0, E_16, D_16, F_16}, - {0, H_16, G_16, I_16}, - {0, K_16, J_16, L_16}, - {0, K_15, J_15, L_15}, - {0, K_12, J_12, L_12}, - {0, K_13, J_13, L_13}, - {0, H_14, G_14, I_14}, + {0, SW2_CS1, SW1_CS1, SW3_CS1}, + {0, SW2_CS2, SW1_CS2, SW3_CS2}, + {0, SW2_CS3, SW1_CS3, SW3_CS3}, + {0, SW2_CS4, SW1_CS4, SW3_CS4}, + {0, SW2_CS5, SW1_CS5, SW3_CS5}, + {0, SW2_CS6, SW1_CS6, SW3_CS6}, + {0, SW2_CS7, SW1_CS7, SW3_CS7}, + {0, SW2_CS8, SW1_CS8, SW3_CS8}, + {0, SW2_CS9, SW1_CS9, SW3_CS9}, + {0, SW2_CS10, SW1_CS10, SW3_CS10}, + {0, SW2_CS11, SW1_CS11, SW3_CS11}, + {0, SW2_CS12, SW1_CS12, SW3_CS12}, + {0, SW2_CS13, SW1_CS13, SW3_CS13}, + {0, SW2_CS14, SW1_CS14, SW3_CS14}, + {0, SW5_CS1, SW4_CS1, SW6_CS1}, + {0, SW5_CS2, SW4_CS2, SW6_CS2}, + {0, SW5_CS3, SW4_CS3, SW6_CS3}, + {0, SW5_CS4, SW4_CS4, SW6_CS4}, + {0, SW5_CS5, SW4_CS5, SW6_CS5}, + {0, SW5_CS6, SW4_CS6, SW6_CS6}, + {0, SW5_CS7, SW4_CS7, SW6_CS7}, + {0, SW5_CS8, SW4_CS8, SW6_CS8}, + {0, SW5_CS9, SW4_CS9, SW6_CS9}, + {0, SW5_CS10, SW4_CS10, SW6_CS10}, + {0, SW5_CS11, SW4_CS11, SW6_CS11}, + {0, SW5_CS12, SW4_CS12, SW6_CS12}, + {0, SW5_CS13, SW4_CS13, SW6_CS13}, + {0, SW5_CS14, SW4_CS14, SW6_CS14}, + {0, SW8_CS1, SW7_CS1, SW9_CS1}, + {0, SW8_CS2, SW7_CS2, SW9_CS2}, + {0, SW8_CS3, SW7_CS3, SW9_CS3}, + {0, SW8_CS4, SW7_CS4, SW9_CS4}, + {0, SW8_CS5, SW7_CS5, SW9_CS5}, + {0, SW8_CS6, SW7_CS6, SW9_CS6}, + {0, SW8_CS7, SW7_CS7, SW9_CS7}, + {0, SW8_CS8, SW7_CS8, SW9_CS8}, + {0, SW8_CS9, SW7_CS9, SW9_CS9}, + {0, SW8_CS10, SW7_CS10, SW9_CS10}, + {0, SW8_CS11, SW7_CS11, SW9_CS11}, + {0, SW8_CS12, SW7_CS12, SW9_CS12}, + {0, SW8_CS13, SW7_CS13, SW9_CS13}, + {0, SW11_CS1, SW10_CS1, SW12_CS1}, + {0, SW11_CS2, SW10_CS2, SW12_CS2}, + {0, SW11_CS3, SW10_CS3, SW12_CS3}, + {0, SW11_CS4, SW10_CS4, SW12_CS4}, + {0, SW11_CS5, SW10_CS5, SW12_CS5}, + {0, SW11_CS6, SW10_CS6, SW12_CS6}, + {0, SW11_CS7, SW10_CS7, SW12_CS7}, + {0, SW11_CS8, SW10_CS8, SW12_CS8}, + {0, SW11_CS9, SW10_CS9, SW12_CS9}, + {0, SW11_CS10, SW10_CS10, SW12_CS10}, + {0, SW11_CS11, SW10_CS11, SW12_CS11}, + {0, SW11_CS14, SW10_CS14, SW12_CS14}, + {0, SW2_CS16, SW1_CS16, SW3_CS16}, + {0, SW5_CS16, SW4_CS16, SW6_CS16}, + {0, SW8_CS16, SW7_CS16, SW9_CS16}, + {0, SW11_CS16, SW10_CS16, SW12_CS16}, + {0, SW11_CS15, SW10_CS15, SW12_CS15}, + {0, SW11_CS12, SW10_CS12, SW12_CS12}, + {0, SW11_CS13, SW10_CS13, SW12_CS13}, + {0, SW8_CS14, SW7_CS14, SW9_CS14}, }; led_config_t g_led_config = { { diff --git a/keyboards/monsgeek/m1/m1.c b/keyboards/monsgeek/m1/m1.c index a0375b2c0f7..006eb66d7f9 100644 --- a/keyboards/monsgeek/m1/m1.c +++ b/keyboards/monsgeek/m1/m1.c @@ -24,121 +24,121 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, D_2, E_2, F_2}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, A_15, B_15, C_15}, - {0, G_13, H_13, I_13}, - {1, D_3, E_3, F_3}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB1_CA15, CB2_CA15, CB3_CA15}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, - {0, J_1, K_1, L_1}, - {0, A_16, B_16, C_16}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, D_7, E_7, F_7}, - {1, D_4, E_4, F_4}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB1_CA16, CB2_CA16, CB3_CA16}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, + {1, CB4_CA4, CB5_CA4, CB6_CA4}, - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, - {0, D_15, E_15, F_15}, - {1, D_6, E_6, F_6}, - {1, D_5, E_5, F_5}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, - {1, G_4, H_4, I_4}, - {1, G_5, H_5, I_5}, - {1, G_6, H_6, I_6}, - {1, G_7, H_7, I_7}, - {1, G_8, H_8, I_8}, - {1, G_9, H_9, I_9}, - {1, G_10, H_10, I_10}, - {1, G_11, H_11, I_11}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, + {1, CB7_CA6, CB8_CA6, CB9_CA6}, + {1, CB7_CA7, CB8_CA7, CB9_CA7}, + {1, CB7_CA8, CB8_CA8, CB9_CA8}, + {1, CB7_CA9, CB8_CA9, CB9_CA9}, + {1, CB7_CA10, CB8_CA10, CB9_CA10}, + {1, CB7_CA11, CB8_CA11, CB9_CA11}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - {1, J_4, K_4, L_4}, - {1, J_5, K_5, L_5}, - {1, J_6, K_6, L_6}, - {1, J_7, K_7, L_7}, - {1, J_8, K_8, L_8}, - {1, J_9, K_9, L_9}, - {1, J_10, K_10, L_10}, - {1, J_11, K_11, L_11}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, + {1, CB10_CA6, CB11_CA6, CB12_CA6}, + {1, CB10_CA7, CB11_CA7, CB12_CA7}, + {1, CB10_CA8, CB11_CA8, CB12_CA8}, + {1, CB10_CA9, CB11_CA9, CB12_CA9}, + {1, CB10_CA10, CB11_CA10, CB12_CA10}, + {1, CB10_CA11, CB11_CA11, CB12_CA11}, }; // clang-format on diff --git a/keyboards/monsgeek/m3/m3.c b/keyboards/monsgeek/m3/m3.c index 2bdba9fa314..9a93a7d7d4e 100644 --- a/keyboards/monsgeek/m3/m3.c +++ b/keyboards/monsgeek/m3/m3.c @@ -25,103 +25,103 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | | B location * | | | | */ /*row0*/ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, - {1, A_15, B_15, C_15}, - {1, A_16, B_16, C_16}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB1_CA15, CB2_CA15, CB3_CA15}, + {1, CB1_CA16, CB2_CA16, CB3_CA16}, /*row1*/ - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, - {1, D_2, E_2, F_2}, - {1, D_3, E_3, F_3}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, /*row2*/ - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, /*row3*/ - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, G_13, H_13, I_13}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, /*row4*/ - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, J_4, K_4, L_4}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, /*row5*/ - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, - {0, D_15, E_15, F_15}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, }; #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/monsgeek/m5/m5.c b/keyboards/monsgeek/m5/m5.c index 2e244542ef5..822214a05ca 100644 --- a/keyboards/monsgeek/m5/m5.c +++ b/keyboards/monsgeek/m5/m5.c @@ -25,125 +25,125 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | | B location * | | | | */ /*row0*/ - {1, A_1, B_1, C_1}, - {1, A_2, B_2, C_2}, - {1, A_3, B_3, C_3}, - {1, A_4, B_4, C_4}, - {1, A_5, B_5, C_5}, - {1, A_6, B_6, C_6}, - {1, A_7, B_7, C_7}, - {1, A_8, B_8, C_8}, - {1, A_9, B_9, C_9}, - {1, A_10, B_10, C_10}, - {1, A_11, B_11, C_11}, - {1, A_12, B_12, C_12}, - {1, A_13, B_13, C_13}, - {1, A_14, B_14, C_14}, - {1, A_15, B_15, C_15}, - {1, A_16, B_16, C_16}, - {1, D_11, E_11, F_11}, - {1, D_12, E_12, F_12}, - {1, D_13, E_13, F_13}, - {1, D_14, E_14, F_14}, + {1, CB1_CA1, CB2_CA1, CB3_CA1}, + {1, CB1_CA2, CB2_CA2, CB3_CA2}, + {1, CB1_CA3, CB2_CA3, CB3_CA3}, + {1, CB1_CA4, CB2_CA4, CB3_CA4}, + {1, CB1_CA5, CB2_CA5, CB3_CA5}, + {1, CB1_CA6, CB2_CA6, CB3_CA6}, + {1, CB1_CA7, CB2_CA7, CB3_CA7}, + {1, CB1_CA8, CB2_CA8, CB3_CA8}, + {1, CB1_CA9, CB2_CA9, CB3_CA9}, + {1, CB1_CA10, CB2_CA10, CB3_CA10}, + {1, CB1_CA11, CB2_CA11, CB3_CA11}, + {1, CB1_CA12, CB2_CA12, CB3_CA12}, + {1, CB1_CA13, CB2_CA13, CB3_CA13}, + {1, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB1_CA15, CB2_CA15, CB3_CA15}, + {1, CB1_CA16, CB2_CA16, CB3_CA16}, + {1, CB4_CA11, CB5_CA11, CB6_CA11}, + {1, CB4_CA12, CB5_CA12, CB6_CA12}, + {1, CB4_CA13, CB5_CA13, CB6_CA13}, + {1, CB4_CA14, CB5_CA14, CB6_CA14}, /*row1*/ - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1 }, - {1, D_2, E_2, F_2}, - {1, D_3, E_3, F_3}, - {1, D_4, E_4, F_4}, - {1, D_5, E_5, F_5}, - {1, D_6, E_6, F_6}, - {1, D_7, E_7, F_7}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1 }, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, + {1, CB4_CA4, CB5_CA4, CB6_CA4}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, /*row2*/ - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, - {1, D_8, E_8, F_8}, - {1, D_9, E_9, F_9}, - {1, D_10, E_10, F_10}, - {1, G_7, H_7, I_7}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, + {1, CB4_CA8, CB5_CA8, CB6_CA8}, + {1, CB4_CA9, CB5_CA9, CB6_CA9}, + {1, CB4_CA10, CB5_CA10, CB6_CA10}, + {1, CB7_CA7, CB8_CA7, CB9_CA7}, /*row3*/ - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, G_13, H_13, I_13}, - {1, G_4, H_4, I_4}, - {1, G_5, H_5, I_5}, - {1, G_6, H_6, I_6}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, + {1, CB7_CA6, CB8_CA6, CB9_CA6}, /*row4*/ - {0, J_1, K_1, L_1}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, J_4, K_4, L_4}, - {1, J_7, K_7, L_7}, - {1, J_8, K_8, L_8}, - {1, J_9, K_9, L_9}, - {1, J_10, K_10, L_10}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA7, CB11_CA7, CB12_CA7}, + {1, CB10_CA8, CB11_CA8, CB12_CA8}, + {1, CB10_CA9, CB11_CA9, CB12_CA9}, + {1, CB10_CA10, CB11_CA10, CB12_CA10}, /*row5*/ - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, - {0, D_15, E_15, F_15}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - {1, J_5, K_5, L_5}, - {1, J_6, K_6, L_6}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, + {1, CB10_CA6, CB11_CA6, CB12_CA6}, }; #endif diff --git a/keyboards/monsgeek/m6/m6.c b/keyboards/monsgeek/m6/m6.c index 3d0a60eb0db..ef7fc92015f 100644 --- a/keyboards/monsgeek/m6/m6.c +++ b/keyboards/monsgeek/m6/m6.c @@ -24,105 +24,105 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, A_1, B_1, C_1}, - {0, A_2, B_2, C_2}, - {0, A_3, B_3, C_3}, - {0, A_4, B_4, C_4}, - {0, A_5, B_5, C_5}, - {0, A_6, B_6, C_6}, - {0, A_7, B_7, C_7}, - {0, A_8, B_8, C_8}, - {0, A_9, B_9, C_9}, - {0, A_10, B_10, C_10}, - {0, A_11, B_11, C_11}, - {0, A_12, B_12, C_12}, - {0, A_13, B_13, C_13}, - {0, A_14, B_14, C_14}, - {1, D_1, E_1, F_1}, + {0, CB1_CA1, CB2_CA1, CB3_CA1}, + {0, CB1_CA2, CB2_CA2, CB3_CA2}, + {0, CB1_CA3, CB2_CA3, CB3_CA3}, + {0, CB1_CA4, CB2_CA4, CB3_CA4}, + {0, CB1_CA5, CB2_CA5, CB3_CA5}, + {0, CB1_CA6, CB2_CA6, CB3_CA6}, + {0, CB1_CA7, CB2_CA7, CB3_CA7}, + {0, CB1_CA8, CB2_CA8, CB3_CA8}, + {0, CB1_CA9, CB2_CA9, CB3_CA9}, + {0, CB1_CA10, CB2_CA10, CB3_CA10}, + {0, CB1_CA11, CB2_CA11, CB3_CA11}, + {0, CB1_CA12, CB2_CA12, CB3_CA12}, + {0, CB1_CA13, CB2_CA13, CB3_CA13}, + {0, CB1_CA14, CB2_CA14, CB3_CA14}, + {1, CB4_CA1, CB5_CA1, CB6_CA1}, - {0, D_1, E_1, F_1}, - {0, D_2, E_2, F_2}, - {0, D_3, E_3, F_3}, - {0, D_4, E_4, F_4}, - {0, D_5, E_5, F_5}, - {0, D_6, E_6, F_6}, - {0, D_7, E_7, F_7}, - {0, D_8, E_8, F_8}, - {0, D_9, E_9, F_9}, - {0, D_10, E_10, F_10}, - {0, D_11, E_11, F_11}, - {0, D_12, E_12, F_12}, - {0, D_13, E_13, F_13}, - {0, D_14, E_14, F_14}, - {1, D_2, E_2, F_2}, + {0, CB4_CA1, CB5_CA1, CB6_CA1}, + {0, CB4_CA2, CB5_CA2, CB6_CA2}, + {0, CB4_CA3, CB5_CA3, CB6_CA3}, + {0, CB4_CA4, CB5_CA4, CB6_CA4}, + {0, CB4_CA5, CB5_CA5, CB6_CA5}, + {0, CB4_CA6, CB5_CA6, CB6_CA6}, + {0, CB4_CA7, CB5_CA7, CB6_CA7}, + {0, CB4_CA8, CB5_CA8, CB6_CA8}, + {0, CB4_CA9, CB5_CA9, CB6_CA9}, + {0, CB4_CA10, CB5_CA10, CB6_CA10}, + {0, CB4_CA11, CB5_CA11, CB6_CA11}, + {0, CB4_CA12, CB5_CA12, CB6_CA12}, + {0, CB4_CA13, CB5_CA13, CB6_CA13}, + {0, CB4_CA14, CB5_CA14, CB6_CA14}, + {1, CB4_CA2, CB5_CA2, CB6_CA2}, - {0, G_1, H_1, I_1}, - {0, G_2, H_2, I_2}, - {0, G_3, H_3, I_3}, - {0, G_4, H_4, I_4}, - {0, G_5, H_5, I_5}, - {0, G_6, H_6, I_6}, - {0, G_7, H_7, I_7}, - {0, G_8, H_8, I_8}, - {0, G_9, H_9, I_9}, - {0, G_10, H_10, I_10}, - {0, G_11, H_11, I_11}, - {0, G_12, H_12, I_12}, - {0, A_15, B_15, C_15}, - {0, G_13, H_13, I_13}, - {1, D_3, E_3, F_3}, + {0, CB7_CA1, CB8_CA1, CB9_CA1}, + {0, CB7_CA2, CB8_CA2, CB9_CA2}, + {0, CB7_CA3, CB8_CA3, CB9_CA3}, + {0, CB7_CA4, CB8_CA4, CB9_CA4}, + {0, CB7_CA5, CB8_CA5, CB9_CA5}, + {0, CB7_CA6, CB8_CA6, CB9_CA6}, + {0, CB7_CA7, CB8_CA7, CB9_CA7}, + {0, CB7_CA8, CB8_CA8, CB9_CA8}, + {0, CB7_CA9, CB8_CA9, CB9_CA9}, + {0, CB7_CA10, CB8_CA10, CB9_CA10}, + {0, CB7_CA11, CB8_CA11, CB9_CA11}, + {0, CB7_CA12, CB8_CA12, CB9_CA12}, + {0, CB1_CA15, CB2_CA15, CB3_CA15}, + {0, CB7_CA13, CB8_CA13, CB9_CA13}, + {1, CB4_CA3, CB5_CA3, CB6_CA3}, - {0, J_1, K_1, L_1}, - {0, A_16, B_16, C_16}, - {0, J_2, K_2, L_2}, - {0, J_3, K_3, L_3}, - {0, J_4, K_4, L_4}, - {0, J_5, K_5, L_5}, - {0, J_6, K_6, L_6}, - {0, J_7, K_7, L_7}, - {0, J_8, K_8, L_8}, - {0, J_9, K_9, L_9}, - {0, J_10, K_10, L_10}, - {0, J_11, K_11, L_11}, - {0, J_12, K_12, L_12}, - {1, D_7, E_7, F_7}, - {1, D_4, E_4, F_4}, + {0, CB10_CA1, CB11_CA1, CB12_CA1}, + {0, CB1_CA16, CB2_CA16, CB3_CA16}, + {0, CB10_CA2, CB11_CA2, CB12_CA2}, + {0, CB10_CA3, CB11_CA3, CB12_CA3}, + {0, CB10_CA4, CB11_CA4, CB12_CA4}, + {0, CB10_CA5, CB11_CA5, CB12_CA5}, + {0, CB10_CA6, CB11_CA6, CB12_CA6}, + {0, CB10_CA7, CB11_CA7, CB12_CA7}, + {0, CB10_CA8, CB11_CA8, CB12_CA8}, + {0, CB10_CA9, CB11_CA9, CB12_CA9}, + {0, CB10_CA10, CB11_CA10, CB12_CA10}, + {0, CB10_CA11, CB11_CA11, CB12_CA11}, + {0, CB10_CA12, CB11_CA12, CB12_CA12}, + {1, CB4_CA7, CB5_CA7, CB6_CA7}, + {1, CB4_CA4, CB5_CA4, CB6_CA4}, - {0, J_13, K_13, L_13}, - {0, J_14, K_14, L_14}, - {0, J_15, K_15, L_15}, - {0, J_16, K_16, L_16}, - {0, G_14, H_14, I_14}, - {0, G_15, H_15, I_15}, - {0, G_16, H_16, I_16}, - {0, D_15, E_15, F_15}, - {1, D_6, E_6, F_6}, - {1, D_5, E_5, F_5}, + {0, CB10_CA13, CB11_CA13, CB12_CA13}, + {0, CB10_CA14, CB11_CA14, CB12_CA14}, + {0, CB10_CA15, CB11_CA15, CB12_CA15}, + {0, CB10_CA16, CB11_CA16, CB12_CA16}, + {0, CB7_CA14, CB8_CA14, CB9_CA14}, + {0, CB7_CA15, CB8_CA15, CB9_CA15}, + {0, CB7_CA16, CB8_CA16, CB9_CA16}, + {0, CB4_CA15, CB5_CA15, CB6_CA15}, + {1, CB4_CA6, CB5_CA6, CB6_CA6}, + {1, CB4_CA5, CB5_CA5, CB6_CA5}, - {1, G_1, H_1, I_1}, - {1, G_2, H_2, I_2}, - {1, G_3, H_3, I_3}, - {1, G_4, H_4, I_4}, - {1, G_5, H_5, I_5}, - {1, G_6, H_6, I_6}, - {1, G_7, H_7, I_7}, - {1, G_8, H_8, I_8}, - {1, G_9, H_9, I_9}, - {1, G_10, H_10, I_10}, - {1, G_11, H_11, I_11}, + {1, CB7_CA1, CB8_CA1, CB9_CA1}, + {1, CB7_CA2, CB8_CA2, CB9_CA2}, + {1, CB7_CA3, CB8_CA3, CB9_CA3}, + {1, CB7_CA4, CB8_CA4, CB9_CA4}, + {1, CB7_CA5, CB8_CA5, CB9_CA5}, + {1, CB7_CA6, CB8_CA6, CB9_CA6}, + {1, CB7_CA7, CB8_CA7, CB9_CA7}, + {1, CB7_CA8, CB8_CA8, CB9_CA8}, + {1, CB7_CA9, CB8_CA9, CB9_CA9}, + {1, CB7_CA10, CB8_CA10, CB9_CA10}, + {1, CB7_CA11, CB8_CA11, CB9_CA11}, - {1, J_1, K_1, L_1}, - {1, J_2, K_2, L_2}, - {1, J_3, K_3, L_3}, - {1, J_4, K_4, L_4}, - {1, J_5, K_5, L_5}, - {1, J_6, K_6, L_6}, - {1, J_7, K_7, L_7}, - {1, J_8, K_8, L_8}, - {1, J_9, K_9, L_9}, - {1, J_10, K_10, L_10}, - {1, J_11, K_11, L_11}, + {1, CB10_CA1, CB11_CA1, CB12_CA1}, + {1, CB10_CA2, CB11_CA2, CB12_CA2}, + {1, CB10_CA3, CB11_CA3, CB12_CA3}, + {1, CB10_CA4, CB11_CA4, CB12_CA4}, + {1, CB10_CA5, CB11_CA5, CB12_CA5}, + {1, CB10_CA6, CB11_CA6, CB12_CA6}, + {1, CB10_CA7, CB11_CA7, CB12_CA7}, + {1, CB10_CA8, CB11_CA8, CB12_CA8}, + {1, CB10_CA9, CB11_CA9, CB12_CA9}, + {1, CB10_CA10, CB11_CA10, CB12_CA10}, + {1, CB10_CA11, CB11_CA11, CB12_CA11}, }; // clang-format on diff --git a/keyboards/mt/mt64rgb/mt64rgb.c b/keyboards/mt/mt64rgb/mt64rgb.c index 42e6a48dc2a..bcf26de2313 100644 --- a/keyboards/mt/mt64rgb/mt64rgb.c +++ b/keyboards/mt/mt64rgb/mt64rgb.c @@ -24,74 +24,74 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | | B location * | | | | */ - {0, A_1, B_1, C_1}, - {0, D_1, E_1, F_1}, - {0, G_1, H_1, I_1}, - {0, J_1, K_1, L_1}, - {0, A_6, B_6, C_6}, - {0, D_6, E_6, F_6}, - {0, G_6, H_6, I_6}, - {0, J_6, K_6, L_6}, - {0, A_11, B_11, C_11}, - {0, D_11, E_11, F_11}, - {0, G_11, H_11, I_11}, - {0, J_11, K_11, L_11}, - {0, A_16, B_16, C_16}, - {0, D_16, E_16, F_16}, + {0, SW1_CS1, SW2_CS1, SW3_CS1}, + {0, SW4_CS1, SW5_CS1, SW6_CS1}, + {0, SW7_CS1, SW8_CS1, SW9_CS1}, + {0, SW10_CS1, SW11_CS1, SW12_CS1}, + {0, SW1_CS6, SW2_CS6, SW3_CS6}, + {0, SW4_CS6, SW5_CS6, SW6_CS6}, + {0, SW7_CS6, SW8_CS6, SW9_CS6}, + {0, SW10_CS6, SW11_CS6, SW12_CS6}, + {0, SW1_CS11, SW2_CS11, SW3_CS11}, + {0, SW4_CS11, SW5_CS11, SW6_CS11}, + {0, SW7_CS11, SW8_CS11, SW9_CS11}, + {0, SW10_CS11, SW11_CS11, SW12_CS11}, + {0, SW1_CS16, SW2_CS16, SW3_CS16}, + {0, SW4_CS16, SW5_CS16, SW6_CS16}, - {0, A_2, B_2, C_2}, - {0, D_2, E_2, F_2}, - {0, G_2, H_2, I_2}, - {0, J_2, K_2, L_2}, - {0, A_7, B_7, C_7}, - {0, D_7, E_7, F_7}, - {0, G_7, H_7, I_7}, - {0, J_7, K_7, L_7}, - {0, A_12, B_12, C_12}, - {0, D_12, E_12, F_12}, - {0, G_12, H_12, I_12}, - {0, J_12, K_12, L_12}, - {0, G_16, H_16, I_16}, - {0, J_16, K_16, L_16}, + {0, SW1_CS2, SW2_CS2, SW3_CS2}, + {0, SW4_CS2, SW5_CS2, SW6_CS2}, + {0, SW7_CS2, SW8_CS2, SW9_CS2}, + {0, SW10_CS2, SW11_CS2, SW12_CS2}, + {0, SW1_CS7, SW2_CS7, SW3_CS7}, + {0, SW4_CS7, SW5_CS7, SW6_CS7}, + {0, SW7_CS7, SW8_CS7, SW9_CS7}, + {0, SW10_CS7, SW11_CS7, SW12_CS7}, + {0, SW1_CS12, SW2_CS12, SW3_CS12}, + {0, SW4_CS12, SW5_CS12, SW6_CS12}, + {0, SW7_CS12, SW8_CS12, SW9_CS12}, + {0, SW10_CS12, SW11_CS12, SW12_CS12}, + {0, SW7_CS16, SW8_CS16, SW9_CS16}, + {0, SW10_CS16, SW11_CS16, SW12_CS16}, - {0, A_3, B_3, C_3}, - {0, D_3, E_3, F_3}, - {0, G_3, H_3, I_3}, - {0, J_3, K_3, L_3}, - {0, A_8, B_8, C_8}, - {0, D_8, E_8, F_8}, - {0, G_8, H_8, I_8}, - {0, J_8, K_8, L_8}, - {0, A_13, B_13, C_13}, - {0, D_13, E_13, F_13}, - {0, G_13, H_13, I_13}, - {0, J_13, K_13, L_13}, - {0, A_15, B_15, C_15}, + {0, SW1_CS3, SW2_CS3, SW3_CS3}, + {0, SW4_CS3, SW5_CS3, SW6_CS3}, + {0, SW7_CS3, SW8_CS3, SW9_CS3}, + {0, SW10_CS3, SW11_CS3, SW12_CS3}, + {0, SW1_CS8, SW2_CS8, SW3_CS8}, + {0, SW4_CS8, SW5_CS8, SW6_CS8}, + {0, SW7_CS8, SW8_CS8, SW9_CS8}, + {0, SW10_CS8, SW11_CS8, SW12_CS8}, + {0, SW1_CS13, SW2_CS13, SW3_CS13}, + {0, SW4_CS13, SW5_CS13, SW6_CS13}, + {0, SW7_CS13, SW8_CS13, SW9_CS13}, + {0, SW10_CS13, SW11_CS13, SW12_CS13}, + {0, SW1_CS15, SW2_CS15, SW3_CS15}, - {0, A_4, B_4, C_4}, - {0, D_4, E_4, F_4}, - {0, G_4, H_4, I_4}, - {0, J_4, K_4, L_4}, - {0, A_9, B_9, C_9}, - {0, D_9, E_9, F_9}, - {0, G_9, H_9, I_9}, - {0, J_9, K_9, L_9}, - {0, A_14, B_14, C_14}, - {0, D_14, E_14, F_14}, - {0, G_14, H_14, I_14}, - {0, J_14, K_14, L_14}, - {0, D_15, E_15, F_15}, - {0, G_15, H_15, I_15}, + {0, SW1_CS4, SW2_CS4, SW3_CS4}, + {0, SW4_CS4, SW5_CS4, SW6_CS4}, + {0, SW7_CS4, SW8_CS4, SW9_CS4}, + {0, SW10_CS4, SW11_CS4, SW12_CS4}, + {0, SW1_CS9, SW2_CS9, SW3_CS9}, + {0, SW4_CS9, SW5_CS9, SW6_CS9}, + {0, SW7_CS9, SW8_CS9, SW9_CS9}, + {0, SW10_CS9, SW11_CS9, SW12_CS9}, + {0, SW1_CS14, SW2_CS14, SW3_CS14}, + {0, SW4_CS14, SW5_CS14, SW6_CS14}, + {0, SW7_CS14, SW8_CS14, SW9_CS14}, + {0, SW10_CS14, SW11_CS14, SW12_CS14}, + {0, SW4_CS15, SW5_CS15, SW6_CS15}, + {0, SW7_CS15, SW8_CS15, SW9_CS15}, - {0, A_5, B_5, C_5}, - {0, D_5, E_5, F_5}, - {0, G_5, H_5, I_5}, - {0, J_5, K_5, L_5}, - {0, A_10, B_10, C_10}, - {0, D_10, E_10, F_10}, - {0, G_10, H_10, I_10}, - {0, J_10, K_10, L_10}, - {0, J_15, K_15, L_15} + {0, SW1_CS5, SW2_CS5, SW3_CS5}, + {0, SW4_CS5, SW5_CS5, SW6_CS5}, + {0, SW7_CS5, SW8_CS5, SW9_CS5}, + {0, SW10_CS5, SW11_CS5, SW12_CS5}, + {0, SW1_CS10, SW2_CS10, SW3_CS10}, + {0, SW4_CS10, SW5_CS10, SW6_CS10}, + {0, SW7_CS10, SW8_CS10, SW9_CS10}, + {0, SW10_CS10, SW11_CS10, SW12_CS10}, + {0, SW10_CS15, SW11_CS15, SW12_CS15} }; led_config_t g_led_config = {{ diff --git a/keyboards/mt/mt84/mt84.c b/keyboards/mt/mt84/mt84.c index 4dd24c30b22..276c92fc065 100644 --- a/keyboards/mt/mt84/mt84.c +++ b/keyboards/mt/mt84/mt84.c @@ -24,95 +24,95 @@ const is31fl3737_led_t PROGMEM g_is31fl3737_leds[IS31FL3737_LED_COUNT] = { * | | | B location * | | | | */ - {0, A_11, B_11, C_11}, - {0, D_11, E_11, F_11}, - {0, G_11, H_11, I_11}, - {0, J_11, K_11, L_11}, - {0, A_12, B_12, C_12}, - {0, D_12, E_12, F_12}, - {0, G_12, H_12, I_12}, - {0, J_12, K_12, L_12}, - {1, A_11, B_11, C_11}, - {1, D_11, E_11, F_11}, - {1, G_11, H_11, I_11}, - {1, J_11, K_11, L_11}, - {1, A_12, B_12, C_12}, - {1, D_12, E_12, F_12}, - {1, G_12, H_12, I_12}, - {1, J_12, K_12, L_12}, + {0, SW1_CS11, SW2_CS11, SW3_CS11}, + {0, SW4_CS11, SW5_CS11, SW6_CS11}, + {0, SW7_CS11, SW8_CS11, SW9_CS11}, + {0, SW10_CS11, SW11_CS11, SW12_CS11}, + {0, SW1_CS12, SW2_CS12, SW3_CS12}, + {0, SW4_CS12, SW5_CS12, SW6_CS12}, + {0, SW7_CS12, SW8_CS12, SW9_CS12}, + {0, SW10_CS12, SW11_CS12, SW12_CS12}, + {1, SW1_CS11, SW2_CS11, SW3_CS11}, + {1, SW4_CS11, SW5_CS11, SW6_CS11}, + {1, SW7_CS11, SW8_CS11, SW9_CS11}, + {1, SW10_CS11, SW11_CS11, SW12_CS11}, + {1, SW1_CS12, SW2_CS12, SW3_CS12}, + {1, SW4_CS12, SW5_CS12, SW6_CS12}, + {1, SW7_CS12, SW8_CS12, SW9_CS12}, + {1, SW10_CS12, SW11_CS12, SW12_CS12}, - {0, A_1, B_1, C_1}, - {0, D_1, E_1, F_1}, - {0, G_1, H_1, I_1}, - {0, J_1, K_1, L_1}, - {0, A_6, B_6, C_6}, - {0, D_6, E_6, F_6}, - {0, G_6, H_6, I_6}, - {0, J_6, K_6, L_6}, - {1, A_1, B_1, C_1}, - {1, D_1, E_1, F_1}, - {1, G_1, H_1, I_1}, - {1, J_1, K_1, L_1}, - {1, A_6, B_6, C_6}, - {1, D_6, E_6, F_6}, - {1, G_6, H_6, I_6}, + {0, SW1_CS1, SW2_CS1, SW3_CS1}, + {0, SW4_CS1, SW5_CS1, SW6_CS1}, + {0, SW7_CS1, SW8_CS1, SW9_CS1}, + {0, SW10_CS1, SW11_CS1, SW12_CS1}, + {0, SW1_CS6, SW2_CS6, SW3_CS6}, + {0, SW4_CS6, SW5_CS6, SW6_CS6}, + {0, SW7_CS6, SW8_CS6, SW9_CS6}, + {0, SW10_CS6, SW11_CS6, SW12_CS6}, + {1, SW1_CS1, SW2_CS1, SW3_CS1}, + {1, SW4_CS1, SW5_CS1, SW6_CS1}, + {1, SW7_CS1, SW8_CS1, SW9_CS1}, + {1, SW10_CS1, SW11_CS1, SW12_CS1}, + {1, SW1_CS6, SW2_CS6, SW3_CS6}, + {1, SW4_CS6, SW5_CS6, SW6_CS6}, + {1, SW7_CS6, SW8_CS6, SW9_CS6}, - {0, A_2, B_2, C_2}, - {0, D_2, E_2, F_2}, - {0, G_2, H_2, I_2}, - {0, J_2, K_2, L_2}, - {0, A_7, B_7, C_7}, - {0, D_7, E_7, F_7}, - {0, G_7, H_7, I_7}, - {0, J_7, K_7, L_7}, - {1, A_2, B_2, C_2}, - {1, D_2, E_2, F_2}, - {1, G_2, H_2, I_2}, - {1, J_2, K_2, L_2}, - {1, A_7, B_7, C_7}, - {1, D_7, E_7, F_7}, - {1, G_7, H_7, I_7}, + {0, SW1_CS2, SW2_CS2, SW3_CS2}, + {0, SW4_CS2, SW5_CS2, SW6_CS2}, + {0, SW7_CS2, SW8_CS2, SW9_CS2}, + {0, SW10_CS2, SW11_CS2, SW12_CS2}, + {0, SW1_CS7, SW2_CS7, SW3_CS7}, + {0, SW4_CS7, SW5_CS7, SW6_CS7}, + {0, SW7_CS7, SW8_CS7, SW9_CS7}, + {0, SW10_CS7, SW11_CS7, SW12_CS7}, + {1, SW1_CS2, SW2_CS2, SW3_CS2}, + {1, SW4_CS2, SW5_CS2, SW6_CS2}, + {1, SW7_CS2, SW8_CS2, SW9_CS2}, + {1, SW10_CS2, SW11_CS2, SW12_CS2}, + {1, SW1_CS7, SW2_CS7, SW3_CS7}, + {1, SW4_CS7, SW5_CS7, SW6_CS7}, + {1, SW7_CS7, SW8_CS7, SW9_CS7}, - {0, A_3, B_3, C_3}, - {0, D_3, E_3, F_3}, - {0, G_3, H_3, I_3}, - {0, J_3, K_3, L_3}, - {0, A_8, B_8, C_8}, - {0, D_8, E_8, F_8}, - {0, G_8, H_8, I_8}, - {0, J_8, K_8, L_8}, - {1, A_3, B_3, C_3}, - {1, D_3, E_3, F_3}, - {1, G_3, H_3, I_3}, - {1, J_3, K_3, L_3}, - {1, A_8, B_8, C_8}, - {1, G_8, H_8, I_8}, + {0, SW1_CS3, SW2_CS3, SW3_CS3}, + {0, SW4_CS3, SW5_CS3, SW6_CS3}, + {0, SW7_CS3, SW8_CS3, SW9_CS3}, + {0, SW10_CS3, SW11_CS3, SW12_CS3}, + {0, SW1_CS8, SW2_CS8, SW3_CS8}, + {0, SW4_CS8, SW5_CS8, SW6_CS8}, + {0, SW7_CS8, SW8_CS8, SW9_CS8}, + {0, SW10_CS8, SW11_CS8, SW12_CS8}, + {1, SW1_CS3, SW2_CS3, SW3_CS3}, + {1, SW4_CS3, SW5_CS3, SW6_CS3}, + {1, SW7_CS3, SW8_CS3, SW9_CS3}, + {1, SW10_CS3, SW11_CS3, SW12_CS3}, + {1, SW1_CS8, SW2_CS8, SW3_CS8}, + {1, SW7_CS8, SW8_CS8, SW9_CS8}, - {0, A_4, B_4, C_4}, - {0, D_4, E_4, F_4}, - {0, G_4, H_4, I_4}, - {0, J_4, K_4, L_4}, - {0, A_9, B_9, C_9}, - {0, D_9, E_9, F_9}, - {0, G_9, H_9, I_9}, - {0, J_9, K_9, L_9}, - {1, A_4, B_4, C_4}, - {1, D_4, E_4, F_4}, - {1, G_4, H_4, I_4}, - {1, J_4, K_4, L_4}, - {1, A_9, B_9, C_9}, - {1, G_9, H_9, I_9}, + {0, SW1_CS4, SW2_CS4, SW3_CS4}, + {0, SW4_CS4, SW5_CS4, SW6_CS4}, + {0, SW7_CS4, SW8_CS4, SW9_CS4}, + {0, SW10_CS4, SW11_CS4, SW12_CS4}, + {0, SW1_CS9, SW2_CS9, SW3_CS9}, + {0, SW4_CS9, SW5_CS9, SW6_CS9}, + {0, SW7_CS9, SW8_CS9, SW9_CS9}, + {0, SW10_CS9, SW11_CS9, SW12_CS9}, + {1, SW1_CS4, SW2_CS4, SW3_CS4}, + {1, SW4_CS4, SW5_CS4, SW6_CS4}, + {1, SW7_CS4, SW8_CS4, SW9_CS4}, + {1, SW10_CS4, SW11_CS4, SW12_CS4}, + {1, SW1_CS9, SW2_CS9, SW3_CS9}, + {1, SW7_CS9, SW8_CS9, SW9_CS9}, - {0, A_5, B_5, C_5}, - {0, D_5, E_5, F_5}, - {0, G_5, H_5, I_5}, - {0, D_10, E_10, F_10}, - {1, D_5, E_5, F_5}, - {1, G_5, H_5, I_5}, - {1, J_5, K_5, L_5}, - {1, A_10, B_10, C_10}, - {1, D_10, E_10, F_10}, - {1, G_10, H_10, I_10} + {0, SW1_CS5, SW2_CS5, SW3_CS5}, + {0, SW4_CS5, SW5_CS5, SW6_CS5}, + {0, SW7_CS5, SW8_CS5, SW9_CS5}, + {0, SW4_CS10, SW5_CS10, SW6_CS10}, + {1, SW4_CS5, SW5_CS5, SW6_CS5}, + {1, SW7_CS5, SW8_CS5, SW9_CS5}, + {1, SW10_CS5, SW11_CS5, SW12_CS5}, + {1, SW1_CS10, SW2_CS10, SW3_CS10}, + {1, SW4_CS10, SW5_CS10, SW6_CS10}, + {1, SW7_CS10, SW8_CS10, SW9_CS10} }; led_config_t g_led_config = {{ diff --git a/keyboards/novelkeys/nk65/nk65.c b/keyboards/novelkeys/nk65/nk65.c index c4a14e7087b..dd0a94a8e6f 100755 --- a/keyboards/novelkeys/nk65/nk65.c +++ b/keyboards/novelkeys/nk65/nk65.c @@ -28,135 +28,135 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, B_1, A_1, C_1}, //LA1 - {0, E_1, D_1, F_1}, //LA2 - {0, H_1, G_1, I_1}, //LA3 - {0, K_1, J_1, L_1}, //LA4 - {0, B_2, A_2, C_2}, //LA5 - {0, E_2, D_2, F_2}, //LA6 - {0, H_2, G_2, I_2}, //LA7 - {0, K_2, J_2, L_2}, //LA8 - {0, B_3, A_3, C_3}, //LA9 - {0, E_3, D_3, F_3}, //LA10 - {0, H_3, G_3, I_3}, //LA11 - {0, K_3, J_3, L_3}, //LA12 - {0, B_4, A_4, C_4}, //LA13 - {0, E_4, D_4, F_4}, //LA14 - {0, H_4, G_4, I_4}, //LA15 - {0, K_4, J_4, L_4}, //LA16 - {0, B_5, A_5, C_5}, //LA17 - {0, E_5, D_5, F_5}, //LA18 - {0, H_5, G_5, I_5}, //LA19 - {0, K_5, J_5, L_5}, //LA20 - {0, B_6, A_6, C_6}, //LA21 - {0, E_6, D_6, F_6}, //LA22 - {0, H_6, G_6, I_6}, //LA23 - {0, K_6, J_6, L_6}, //LA24 - {0, B_7, A_7, C_7}, //LA25 - {0, E_7, D_7, F_7}, //LA26 - {0, H_7, G_7, I_7}, //LA27 - {0, K_7, J_7, L_7}, //LA28 - {0, B_8, A_8, C_8}, //LA29 - {0, E_8, D_8, F_8}, //LA30 - {0, H_8, G_8, I_8}, //LA31 - {0, K_8, J_8, L_8}, //LA32 - {0, B_9, A_9, C_9}, //LA33 - {0, E_9, D_9, F_9}, //LA34 - {0, H_9, G_9, I_9}, //LA35 - {0, K_9, J_9, L_9}, //LA36 - {0, B_10, A_10, C_10}, //LA37 - {0, E_10, D_10, F_10}, //LA38 - {0, H_10, G_10, I_10}, //LA39 - {0, K_10, J_10, L_10}, //LA40 - {0, B_11, A_11, C_11}, //LA41 - {0, E_11, D_11, F_11}, //LA42 - {0, H_11, G_11, I_11}, //LA43 - {0, K_11, J_11, L_11}, //LA44 - {0, B_12, A_12, C_12}, //LA45 - {0, E_12, D_12, F_12}, //LA46 - {0, H_12, G_12, I_12}, //LA47 - {0, K_12, J_12, L_12}, //LA48 - {0, B_13, A_13, C_13}, //LA49 - {0, E_13, D_13, F_13}, //LA50 - {0, H_13, G_13, I_13}, //LA51 - {0, K_13, J_13, L_13}, //LA52 - {0, B_14, A_14, C_14}, //LA53 - {0, E_14, D_14, F_14}, //LA54 - {0, H_14, G_14, I_14}, //LA55 - {0, K_14, J_14, L_14}, //LA56 - {0, B_15, A_15, C_15}, //LA57 - {0, E_15, D_15, F_15}, //LA58 - {0, H_15, G_15, I_15}, //LA59 - {0, K_15, J_15, L_15}, //LA60 - {0, B_16, A_16, C_16}, //LA61 - {0, E_16, D_16, F_16}, //LA62 - {0, H_16, G_16, I_16}, //LA63 - {0, K_16, J_16, L_16}, //LA64 + {0, SW2_CS1, SW1_CS1, SW3_CS1}, //LA1 + {0, SW5_CS1, SW4_CS1, SW6_CS1}, //LA2 + {0, SW8_CS1, SW7_CS1, SW9_CS1}, //LA3 + {0, SW11_CS1, SW10_CS1, SW12_CS1}, //LA4 + {0, SW2_CS2, SW1_CS2, SW3_CS2}, //LA5 + {0, SW5_CS2, SW4_CS2, SW6_CS2}, //LA6 + {0, SW8_CS2, SW7_CS2, SW9_CS2}, //LA7 + {0, SW11_CS2, SW10_CS2, SW12_CS2}, //LA8 + {0, SW2_CS3, SW1_CS3, SW3_CS3}, //LA9 + {0, SW5_CS3, SW4_CS3, SW6_CS3}, //LA10 + {0, SW8_CS3, SW7_CS3, SW9_CS3}, //LA11 + {0, SW11_CS3, SW10_CS3, SW12_CS3}, //LA12 + {0, SW2_CS4, SW1_CS4, SW3_CS4}, //LA13 + {0, SW5_CS4, SW4_CS4, SW6_CS4}, //LA14 + {0, SW8_CS4, SW7_CS4, SW9_CS4}, //LA15 + {0, SW11_CS4, SW10_CS4, SW12_CS4}, //LA16 + {0, SW2_CS5, SW1_CS5, SW3_CS5}, //LA17 + {0, SW5_CS5, SW4_CS5, SW6_CS5}, //LA18 + {0, SW8_CS5, SW7_CS5, SW9_CS5}, //LA19 + {0, SW11_CS5, SW10_CS5, SW12_CS5}, //LA20 + {0, SW2_CS6, SW1_CS6, SW3_CS6}, //LA21 + {0, SW5_CS6, SW4_CS6, SW6_CS6}, //LA22 + {0, SW8_CS6, SW7_CS6, SW9_CS6}, //LA23 + {0, SW11_CS6, SW10_CS6, SW12_CS6}, //LA24 + {0, SW2_CS7, SW1_CS7, SW3_CS7}, //LA25 + {0, SW5_CS7, SW4_CS7, SW6_CS7}, //LA26 + {0, SW8_CS7, SW7_CS7, SW9_CS7}, //LA27 + {0, SW11_CS7, SW10_CS7, SW12_CS7}, //LA28 + {0, SW2_CS8, SW1_CS8, SW3_CS8}, //LA29 + {0, SW5_CS8, SW4_CS8, SW6_CS8}, //LA30 + {0, SW8_CS8, SW7_CS8, SW9_CS8}, //LA31 + {0, SW11_CS8, SW10_CS8, SW12_CS8}, //LA32 + {0, SW2_CS9, SW1_CS9, SW3_CS9}, //LA33 + {0, SW5_CS9, SW4_CS9, SW6_CS9}, //LA34 + {0, SW8_CS9, SW7_CS9, SW9_CS9}, //LA35 + {0, SW11_CS9, SW10_CS9, SW12_CS9}, //LA36 + {0, SW2_CS10, SW1_CS10, SW3_CS10}, //LA37 + {0, SW5_CS10, SW4_CS10, SW6_CS10}, //LA38 + {0, SW8_CS10, SW7_CS10, SW9_CS10}, //LA39 + {0, SW11_CS10, SW10_CS10, SW12_CS10}, //LA40 + {0, SW2_CS11, SW1_CS11, SW3_CS11}, //LA41 + {0, SW5_CS11, SW4_CS11, SW6_CS11}, //LA42 + {0, SW8_CS11, SW7_CS11, SW9_CS11}, //LA43 + {0, SW11_CS11, SW10_CS11, SW12_CS11}, //LA44 + {0, SW2_CS12, SW1_CS12, SW3_CS12}, //LA45 + {0, SW5_CS12, SW4_CS12, SW6_CS12}, //LA46 + {0, SW8_CS12, SW7_CS12, SW9_CS12}, //LA47 + {0, SW11_CS12, SW10_CS12, SW12_CS12}, //LA48 + {0, SW2_CS13, SW1_CS13, SW3_CS13}, //LA49 + {0, SW5_CS13, SW4_CS13, SW6_CS13}, //LA50 + {0, SW8_CS13, SW7_CS13, SW9_CS13}, //LA51 + {0, SW11_CS13, SW10_CS13, SW12_CS13}, //LA52 + {0, SW2_CS14, SW1_CS14, SW3_CS14}, //LA53 + {0, SW5_CS14, SW4_CS14, SW6_CS14}, //LA54 + {0, SW8_CS14, SW7_CS14, SW9_CS14}, //LA55 + {0, SW11_CS14, SW10_CS14, SW12_CS14}, //LA56 + {0, SW2_CS15, SW1_CS15, SW3_CS15}, //LA57 + {0, SW5_CS15, SW4_CS15, SW6_CS15}, //LA58 + {0, SW8_CS15, SW7_CS15, SW9_CS15}, //LA59 + {0, SW11_CS15, SW10_CS15, SW12_CS15}, //LA60 + {0, SW2_CS16, SW1_CS16, SW3_CS16}, //LA61 + {0, SW5_CS16, SW4_CS16, SW6_CS16}, //LA62 + {0, SW8_CS16, SW7_CS16, SW9_CS16}, //LA63 + {0, SW11_CS16, SW10_CS16, SW12_CS16}, //LA64 - {1, B_1, A_1, C_1}, //LB1 - {1, E_1, D_1, F_1}, //LB2 - {1, H_1, G_1, I_1}, //LB3 - {1, K_1, J_1, L_1}, //LB4 - {1, B_2, A_2, C_2}, //LB5 - {1, E_2, D_2, F_2}, //LB6 - {1, H_2, G_2, I_2}, //LB7 - {1, K_2, J_2, L_2}, //LB8 - {1, B_3, A_3, C_3}, //LB9 - {1, E_3, D_3, F_3}, //LB10 - {1, H_3, G_3, I_3}, //LB11 - {1, K_3, J_3, L_3}, //LB12 - {1, B_4, A_4, C_4}, //LB13 - {1, E_4, D_4, F_4}, //LB14 - {1, H_4, G_4, I_4}, //LB15 - {1, K_4, J_4, L_4}, //LB16 - {1, B_5, A_5, C_5}, //LB17 - {1, E_5, D_5, F_5}, //LB18 - {1, H_5, G_5, I_5}, //LB19 - {1, K_5, J_5, L_5}, //LB20 - {1, B_6, A_6, C_6}, //LB21 - {1, E_6, D_6, F_6}, //LB22 - {1, H_6, G_6, I_6}, //LB23 - {1, K_6, J_6, L_6}, //LB24 - {1, B_7, A_7, C_7}, //LB25 - {1, E_7, D_7, F_7}, //LB26 - {1, H_7, G_7, I_7}, //LB27 - {1, K_7, J_7, L_7}, //LB28 - {1, B_8, A_8, C_8}, //LB29 - {1, E_8, D_8, F_8}, //LB30 - {1, H_8, G_8, I_8}, //LB31 - {1, K_8, J_8, L_8}, //LB32 - {1, B_9, A_9, C_9}, //LB33 - {1, E_9, D_9, F_9}, //LB34 - {1, H_9, G_9, I_9}, //LB35 - {1, K_9, J_9, L_9}, //LB36 - {1, B_10, A_10, C_10}, //LB37 - {1, E_10, D_10, F_10}, //LB38 - {1, H_10, G_10, I_10}, //LB39 - {1, K_10, J_10, L_10}, //LB40 - {1, B_11, A_11, C_11}, //LB41 - {1, E_11, D_11, F_11}, //LB42 - {1, H_11, G_11, I_11}, //LB43 - {1, K_11, J_11, L_11}, //LB44 - {1, B_12, A_12, C_12}, //LB45 - {1, E_12, D_12, F_12}, //LB46 - {1, H_12, G_12, I_12}, //LB47 - {1, K_12, J_12, L_12}, //LB48 - {1, B_13, A_13, C_13}, //LB49 - {1, E_13, D_13, F_13}, //LB50 - {1, H_13, G_13, I_13}, //LB51 - {1, K_13, J_13, L_13}, //LB52 - {1, B_14, A_14, C_14}, //LB53 - {1, E_14, D_14, F_14}, //LB54 - {1, H_14, G_14, I_14}, //LB55 - {1, K_14, J_14, L_14}, //LB56 - {1, B_15, A_15, C_15}, //LB57 - {1, E_15, D_15, F_15}, //LB58 - {1, H_15, G_15, I_15}, //LB59 - {1, K_15, J_15, L_15}, //LB60 - {1, B_16, A_16, C_16}, //LB61 - {1, E_16, D_16, F_16}, //LB62 - {1, H_16, G_16, I_16}, //LB63 - {1, K_16, J_16, L_16}, //LB64 + {1, SW2_CS1, SW1_CS1, SW3_CS1}, //LB1 + {1, SW5_CS1, SW4_CS1, SW6_CS1}, //LB2 + {1, SW8_CS1, SW7_CS1, SW9_CS1}, //LB3 + {1, SW11_CS1, SW10_CS1, SW12_CS1}, //LB4 + {1, SW2_CS2, SW1_CS2, SW3_CS2}, //LB5 + {1, SW5_CS2, SW4_CS2, SW6_CS2}, //LB6 + {1, SW8_CS2, SW7_CS2, SW9_CS2}, //LB7 + {1, SW11_CS2, SW10_CS2, SW12_CS2}, //LB8 + {1, SW2_CS3, SW1_CS3, SW3_CS3}, //LB9 + {1, SW5_CS3, SW4_CS3, SW6_CS3}, //LB10 + {1, SW8_CS3, SW7_CS3, SW9_CS3}, //LB11 + {1, SW11_CS3, SW10_CS3, SW12_CS3}, //LB12 + {1, SW2_CS4, SW1_CS4, SW3_CS4}, //LB13 + {1, SW5_CS4, SW4_CS4, SW6_CS4}, //LB14 + {1, SW8_CS4, SW7_CS4, SW9_CS4}, //LB15 + {1, SW11_CS4, SW10_CS4, SW12_CS4}, //LB16 + {1, SW2_CS5, SW1_CS5, SW3_CS5}, //LB17 + {1, SW5_CS5, SW4_CS5, SW6_CS5}, //LB18 + {1, SW8_CS5, SW7_CS5, SW9_CS5}, //LB19 + {1, SW11_CS5, SW10_CS5, SW12_CS5}, //LB20 + {1, SW2_CS6, SW1_CS6, SW3_CS6}, //LB21 + {1, SW5_CS6, SW4_CS6, SW6_CS6}, //LB22 + {1, SW8_CS6, SW7_CS6, SW9_CS6}, //LB23 + {1, SW11_CS6, SW10_CS6, SW12_CS6}, //LB24 + {1, SW2_CS7, SW1_CS7, SW3_CS7}, //LB25 + {1, SW5_CS7, SW4_CS7, SW6_CS7}, //LB26 + {1, SW8_CS7, SW7_CS7, SW9_CS7}, //LB27 + {1, SW11_CS7, SW10_CS7, SW12_CS7}, //LB28 + {1, SW2_CS8, SW1_CS8, SW3_CS8}, //LB29 + {1, SW5_CS8, SW4_CS8, SW6_CS8}, //LB30 + {1, SW8_CS8, SW7_CS8, SW9_CS8}, //LB31 + {1, SW11_CS8, SW10_CS8, SW12_CS8}, //LB32 + {1, SW2_CS9, SW1_CS9, SW3_CS9}, //LB33 + {1, SW5_CS9, SW4_CS9, SW6_CS9}, //LB34 + {1, SW8_CS9, SW7_CS9, SW9_CS9}, //LB35 + {1, SW11_CS9, SW10_CS9, SW12_CS9}, //LB36 + {1, SW2_CS10, SW1_CS10, SW3_CS10}, //LB37 + {1, SW5_CS10, SW4_CS10, SW6_CS10}, //LB38 + {1, SW8_CS10, SW7_CS10, SW9_CS10}, //LB39 + {1, SW11_CS10, SW10_CS10, SW12_CS10}, //LB40 + {1, SW2_CS11, SW1_CS11, SW3_CS11}, //LB41 + {1, SW5_CS11, SW4_CS11, SW6_CS11}, //LB42 + {1, SW8_CS11, SW7_CS11, SW9_CS11}, //LB43 + {1, SW11_CS11, SW10_CS11, SW12_CS11}, //LB44 + {1, SW2_CS12, SW1_CS12, SW3_CS12}, //LB45 + {1, SW5_CS12, SW4_CS12, SW6_CS12}, //LB46 + {1, SW8_CS12, SW7_CS12, SW9_CS12}, //LB47 + {1, SW11_CS12, SW10_CS12, SW12_CS12}, //LB48 + {1, SW2_CS13, SW1_CS13, SW3_CS13}, //LB49 + {1, SW5_CS13, SW4_CS13, SW6_CS13}, //LB50 + {1, SW8_CS13, SW7_CS13, SW9_CS13}, //LB51 + {1, SW11_CS13, SW10_CS13, SW12_CS13}, //LB52 + {1, SW2_CS14, SW1_CS14, SW3_CS14}, //LB53 + {1, SW5_CS14, SW4_CS14, SW6_CS14}, //LB54 + {1, SW8_CS14, SW7_CS14, SW9_CS14}, //LB55 + {1, SW11_CS14, SW10_CS14, SW12_CS14}, //LB56 + {1, SW2_CS15, SW1_CS15, SW3_CS15}, //LB57 + {1, SW5_CS15, SW4_CS15, SW6_CS15}, //LB58 + {1, SW8_CS15, SW7_CS15, SW9_CS15}, //LB59 + {1, SW11_CS15, SW10_CS15, SW12_CS15}, //LB60 + {1, SW2_CS16, SW1_CS16, SW3_CS16}, //LB61 + {1, SW5_CS16, SW4_CS16, SW6_CS16}, //LB62 + {1, SW8_CS16, SW7_CS16, SW9_CS16}, //LB63 + {1, SW11_CS16, SW10_CS16, SW12_CS16}, //LB64 }; #endif diff --git a/keyboards/novelkeys/nk87/nk87.c b/keyboards/novelkeys/nk87/nk87.c index e701bfaccf9..420141c7283 100755 --- a/keyboards/novelkeys/nk87/nk87.c +++ b/keyboards/novelkeys/nk87/nk87.c @@ -28,135 +28,135 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, B_1, A_1, C_1}, //LA1 - {0, E_1, D_1, F_1}, //LA2 - {0, H_1, G_1, I_1}, //LA3 - {0, K_1, J_1, L_1}, //LA4 - {0, B_2, A_2, C_2}, //LA5 - {0, E_2, D_2, F_2}, //LA6 - {0, H_2, G_2, I_2}, //LA7 - {0, K_2, J_2, L_2}, //LA8 - {0, B_3, A_3, C_3}, //LA9 - {0, E_3, D_3, F_3}, //LA10 - {0, H_3, G_3, I_3}, //LA11 - {0, K_3, J_3, L_3}, //LA12 - {0, B_4, A_4, C_4}, //LA13 - {0, E_4, D_4, F_4}, //LA14 - {0, H_4, G_4, I_4}, //LA15 - {0, K_4, J_4, L_4}, //LA16 - {0, B_5, A_5, C_5}, //LA17 - {0, E_5, D_5, F_5}, //LA18 - {0, H_5, G_5, I_5}, //LA19 - {0, K_5, J_5, L_5}, //LA20 - {0, B_6, A_6, C_6}, //LA21 - {0, E_6, D_6, F_6}, //LA22 - {0, H_6, G_6, I_6}, //LA23 - {0, K_6, J_6, L_6}, //LA24 - {0, B_7, A_7, C_7}, //LA25 - {0, E_7, D_7, F_7}, //LA26 - {0, H_7, G_7, I_7}, //LA27 - {0, K_7, J_7, L_7}, //LA28 - {0, B_8, A_8, C_8}, //LA29 - {0, E_8, D_8, F_8}, //LA30 - {0, H_8, G_8, I_8}, //LA31 - {0, K_8, J_8, L_8}, //LA32 - {0, B_9, A_9, C_9}, //LA33 - {0, E_9, D_9, F_9}, //LA34 - {0, H_9, G_9, I_9}, //LA35 - {0, K_9, J_9, L_9}, //LA36 - {0, B_10, A_10, C_10}, //LA37 - {0, E_10, D_10, F_10}, //LA38 - {0, H_10, G_10, I_10}, //LA39 - {0, K_10, J_10, L_10}, //LA40 - {0, B_11, A_11, C_11}, //LA41 - {0, E_11, D_11, F_11}, //LA42 - {0, H_11, G_11, I_11}, //LA43 - {0, K_11, J_11, L_11}, //LA44 - {0, B_12, A_12, C_12}, //LA45 - {0, E_12, D_12, F_12}, //LA46 - {0, H_12, G_12, I_12}, //LA47 - {0, K_12, J_12, L_12}, //LA48 - {0, B_13, A_13, C_13}, //LA49 - {0, E_13, D_13, F_13}, //LA50 - {0, H_13, G_13, I_13}, //LA51 - {0, K_13, J_13, L_13}, //LA52 - {0, B_14, A_14, C_14}, //LA53 - {0, E_14, D_14, F_14}, //LA54 - {0, H_14, G_14, I_14}, //LA55 - {0, K_14, J_14, L_14}, //LA56 - {0, B_15, A_15, C_15}, //LA57 - {0, E_15, D_15, F_15}, //LA58 - {0, H_15, G_15, I_15}, //LA59 - {0, K_15, J_15, L_15}, //LA60 - {0, B_16, A_16, C_16}, //LA61 - {0, E_16, D_16, F_16}, //LA62 - {0, H_16, G_16, I_16}, //LA63 - {0, K_16, J_16, L_16}, //LA64 + {0, SW2_CS1, SW1_CS1, SW3_CS1}, //LA1 + {0, SW5_CS1, SW4_CS1, SW6_CS1}, //LA2 + {0, SW8_CS1, SW7_CS1, SW9_CS1}, //LA3 + {0, SW11_CS1, SW10_CS1, SW12_CS1}, //LA4 + {0, SW2_CS2, SW1_CS2, SW3_CS2}, //LA5 + {0, SW5_CS2, SW4_CS2, SW6_CS2}, //LA6 + {0, SW8_CS2, SW7_CS2, SW9_CS2}, //LA7 + {0, SW11_CS2, SW10_CS2, SW12_CS2}, //LA8 + {0, SW2_CS3, SW1_CS3, SW3_CS3}, //LA9 + {0, SW5_CS3, SW4_CS3, SW6_CS3}, //LA10 + {0, SW8_CS3, SW7_CS3, SW9_CS3}, //LA11 + {0, SW11_CS3, SW10_CS3, SW12_CS3}, //LA12 + {0, SW2_CS4, SW1_CS4, SW3_CS4}, //LA13 + {0, SW5_CS4, SW4_CS4, SW6_CS4}, //LA14 + {0, SW8_CS4, SW7_CS4, SW9_CS4}, //LA15 + {0, SW11_CS4, SW10_CS4, SW12_CS4}, //LA16 + {0, SW2_CS5, SW1_CS5, SW3_CS5}, //LA17 + {0, SW5_CS5, SW4_CS5, SW6_CS5}, //LA18 + {0, SW8_CS5, SW7_CS5, SW9_CS5}, //LA19 + {0, SW11_CS5, SW10_CS5, SW12_CS5}, //LA20 + {0, SW2_CS6, SW1_CS6, SW3_CS6}, //LA21 + {0, SW5_CS6, SW4_CS6, SW6_CS6}, //LA22 + {0, SW8_CS6, SW7_CS6, SW9_CS6}, //LA23 + {0, SW11_CS6, SW10_CS6, SW12_CS6}, //LA24 + {0, SW2_CS7, SW1_CS7, SW3_CS7}, //LA25 + {0, SW5_CS7, SW4_CS7, SW6_CS7}, //LA26 + {0, SW8_CS7, SW7_CS7, SW9_CS7}, //LA27 + {0, SW11_CS7, SW10_CS7, SW12_CS7}, //LA28 + {0, SW2_CS8, SW1_CS8, SW3_CS8}, //LA29 + {0, SW5_CS8, SW4_CS8, SW6_CS8}, //LA30 + {0, SW8_CS8, SW7_CS8, SW9_CS8}, //LA31 + {0, SW11_CS8, SW10_CS8, SW12_CS8}, //LA32 + {0, SW2_CS9, SW1_CS9, SW3_CS9}, //LA33 + {0, SW5_CS9, SW4_CS9, SW6_CS9}, //LA34 + {0, SW8_CS9, SW7_CS9, SW9_CS9}, //LA35 + {0, SW11_CS9, SW10_CS9, SW12_CS9}, //LA36 + {0, SW2_CS10, SW1_CS10, SW3_CS10}, //LA37 + {0, SW5_CS10, SW4_CS10, SW6_CS10}, //LA38 + {0, SW8_CS10, SW7_CS10, SW9_CS10}, //LA39 + {0, SW11_CS10, SW10_CS10, SW12_CS10}, //LA40 + {0, SW2_CS11, SW1_CS11, SW3_CS11}, //LA41 + {0, SW5_CS11, SW4_CS11, SW6_CS11}, //LA42 + {0, SW8_CS11, SW7_CS11, SW9_CS11}, //LA43 + {0, SW11_CS11, SW10_CS11, SW12_CS11}, //LA44 + {0, SW2_CS12, SW1_CS12, SW3_CS12}, //LA45 + {0, SW5_CS12, SW4_CS12, SW6_CS12}, //LA46 + {0, SW8_CS12, SW7_CS12, SW9_CS12}, //LA47 + {0, SW11_CS12, SW10_CS12, SW12_CS12}, //LA48 + {0, SW2_CS13, SW1_CS13, SW3_CS13}, //LA49 + {0, SW5_CS13, SW4_CS13, SW6_CS13}, //LA50 + {0, SW8_CS13, SW7_CS13, SW9_CS13}, //LA51 + {0, SW11_CS13, SW10_CS13, SW12_CS13}, //LA52 + {0, SW2_CS14, SW1_CS14, SW3_CS14}, //LA53 + {0, SW5_CS14, SW4_CS14, SW6_CS14}, //LA54 + {0, SW8_CS14, SW7_CS14, SW9_CS14}, //LA55 + {0, SW11_CS14, SW10_CS14, SW12_CS14}, //LA56 + {0, SW2_CS15, SW1_CS15, SW3_CS15}, //LA57 + {0, SW5_CS15, SW4_CS15, SW6_CS15}, //LA58 + {0, SW8_CS15, SW7_CS15, SW9_CS15}, //LA59 + {0, SW11_CS15, SW10_CS15, SW12_CS15}, //LA60 + {0, SW2_CS16, SW1_CS16, SW3_CS16}, //LA61 + {0, SW5_CS16, SW4_CS16, SW6_CS16}, //LA62 + {0, SW8_CS16, SW7_CS16, SW9_CS16}, //LA63 + {0, SW11_CS16, SW10_CS16, SW12_CS16}, //LA64 - {1, B_1, A_1, C_1}, //LB1 - {1, E_1, D_1, F_1}, //LB2 - {1, H_1, G_1, I_1}, //LB3 - {1, K_1, J_1, L_1}, //LB4 - {1, B_2, A_2, C_2}, //LB5 - {1, E_2, D_2, F_2}, //LB6 - {1, H_2, G_2, I_2}, //LB7 - {1, K_2, J_2, L_2}, //LB8 - {1, B_3, A_3, C_3}, //LB9 - {1, E_3, D_3, F_3}, //LB10 - {1, H_3, G_3, I_3}, //LB11 - {1, K_3, J_3, L_3}, //LB12 - {1, B_4, A_4, C_4}, //LB13 - {1, E_4, D_4, F_4}, //LB14 - {1, H_4, G_4, I_4}, //LB15 - {1, K_4, J_4, L_4}, //LB16 - {1, B_5, A_5, C_5}, //LB17 - {1, E_5, D_5, F_5}, //LB18 - {1, H_5, G_5, I_5}, //LB19 - {1, K_5, J_5, L_5}, //LB20 - {1, B_6, A_6, C_6}, //LB21 - {1, E_6, D_6, F_6}, //LB22 - {1, H_6, G_6, I_6}, //LB23 - {1, K_6, J_6, L_6}, //LB24 - {1, B_7, A_7, C_7}, //LB25 - {1, E_7, D_7, F_7}, //LB26 - {1, H_7, G_7, I_7}, //LB27 - {1, K_7, J_7, L_7}, //LB28 - {1, B_8, A_8, C_8}, //LB29 - {1, E_8, D_8, F_8}, //LB30 - {1, H_8, G_8, I_8}, //LB31 - {1, K_8, J_8, L_8}, //LB32 - {1, B_9, A_9, C_9}, //LB33 - {1, E_9, D_9, F_9}, //LB34 - {1, H_9, G_9, I_9}, //LB35 - {1, K_9, J_9, L_9}, //LB36 - {1, B_10, A_10, C_10}, //LB37 - {1, E_10, D_10, F_10}, //LB38 - {1, H_10, G_10, I_10}, //LB39 - {1, K_10, J_10, L_10}, //LB40 - {1, B_11, A_11, C_11}, //LB41 - {1, E_11, D_11, F_11}, //LB42 - {1, H_11, G_11, I_11}, //LB43 - {1, K_11, J_11, L_11}, //LB44 - {1, B_12, A_12, C_12}, //LB45 - {1, E_12, D_12, F_12}, //LB46 - {1, H_12, G_12, I_12}, //LB47 - {1, K_12, J_12, L_12}, //LB48 - {1, B_13, A_13, C_13}, //LB49 - {1, E_13, D_13, F_13}, //LB50 - {1, H_13, G_13, I_13}, //LB51 - {1, K_13, J_13, L_13}, //LB52 - {1, B_14, A_14, C_14}, //LB53 - {1, E_14, D_14, F_14}, //LB54 - {1, H_14, G_14, I_14}, //LB55 - {1, K_14, J_14, L_14}, //LB56 - {1, B_15, A_15, C_15}, //LB57 - {1, E_15, D_15, F_15}, //LB58 - {1, H_15, G_15, I_15}, //LB59 - {1, K_15, J_15, L_15}, //LB60 - {1, B_16, A_16, C_16}, //LB61 - {1, E_16, D_16, F_16}, //LB62 - {1, H_16, G_16, I_16}, //LB63 - {1, K_16, J_16, L_16}, //LB64 + {1, SW2_CS1, SW1_CS1, SW3_CS1}, //LB1 + {1, SW5_CS1, SW4_CS1, SW6_CS1}, //LB2 + {1, SW8_CS1, SW7_CS1, SW9_CS1}, //LB3 + {1, SW11_CS1, SW10_CS1, SW12_CS1}, //LB4 + {1, SW2_CS2, SW1_CS2, SW3_CS2}, //LB5 + {1, SW5_CS2, SW4_CS2, SW6_CS2}, //LB6 + {1, SW8_CS2, SW7_CS2, SW9_CS2}, //LB7 + {1, SW11_CS2, SW10_CS2, SW12_CS2}, //LB8 + {1, SW2_CS3, SW1_CS3, SW3_CS3}, //LB9 + {1, SW5_CS3, SW4_CS3, SW6_CS3}, //LB10 + {1, SW8_CS3, SW7_CS3, SW9_CS3}, //LB11 + {1, SW11_CS3, SW10_CS3, SW12_CS3}, //LB12 + {1, SW2_CS4, SW1_CS4, SW3_CS4}, //LB13 + {1, SW5_CS4, SW4_CS4, SW6_CS4}, //LB14 + {1, SW8_CS4, SW7_CS4, SW9_CS4}, //LB15 + {1, SW11_CS4, SW10_CS4, SW12_CS4}, //LB16 + {1, SW2_CS5, SW1_CS5, SW3_CS5}, //LB17 + {1, SW5_CS5, SW4_CS5, SW6_CS5}, //LB18 + {1, SW8_CS5, SW7_CS5, SW9_CS5}, //LB19 + {1, SW11_CS5, SW10_CS5, SW12_CS5}, //LB20 + {1, SW2_CS6, SW1_CS6, SW3_CS6}, //LB21 + {1, SW5_CS6, SW4_CS6, SW6_CS6}, //LB22 + {1, SW8_CS6, SW7_CS6, SW9_CS6}, //LB23 + {1, SW11_CS6, SW10_CS6, SW12_CS6}, //LB24 + {1, SW2_CS7, SW1_CS7, SW3_CS7}, //LB25 + {1, SW5_CS7, SW4_CS7, SW6_CS7}, //LB26 + {1, SW8_CS7, SW7_CS7, SW9_CS7}, //LB27 + {1, SW11_CS7, SW10_CS7, SW12_CS7}, //LB28 + {1, SW2_CS8, SW1_CS8, SW3_CS8}, //LB29 + {1, SW5_CS8, SW4_CS8, SW6_CS8}, //LB30 + {1, SW8_CS8, SW7_CS8, SW9_CS8}, //LB31 + {1, SW11_CS8, SW10_CS8, SW12_CS8}, //LB32 + {1, SW2_CS9, SW1_CS9, SW3_CS9}, //LB33 + {1, SW5_CS9, SW4_CS9, SW6_CS9}, //LB34 + {1, SW8_CS9, SW7_CS9, SW9_CS9}, //LB35 + {1, SW11_CS9, SW10_CS9, SW12_CS9}, //LB36 + {1, SW2_CS10, SW1_CS10, SW3_CS10}, //LB37 + {1, SW5_CS10, SW4_CS10, SW6_CS10}, //LB38 + {1, SW8_CS10, SW7_CS10, SW9_CS10}, //LB39 + {1, SW11_CS10, SW10_CS10, SW12_CS10}, //LB40 + {1, SW2_CS11, SW1_CS11, SW3_CS11}, //LB41 + {1, SW5_CS11, SW4_CS11, SW6_CS11}, //LB42 + {1, SW8_CS11, SW7_CS11, SW9_CS11}, //LB43 + {1, SW11_CS11, SW10_CS11, SW12_CS11}, //LB44 + {1, SW2_CS12, SW1_CS12, SW3_CS12}, //LB45 + {1, SW5_CS12, SW4_CS12, SW6_CS12}, //LB46 + {1, SW8_CS12, SW7_CS12, SW9_CS12}, //LB47 + {1, SW11_CS12, SW10_CS12, SW12_CS12}, //LB48 + {1, SW2_CS13, SW1_CS13, SW3_CS13}, //LB49 + {1, SW5_CS13, SW4_CS13, SW6_CS13}, //LB50 + {1, SW8_CS13, SW7_CS13, SW9_CS13}, //LB51 + {1, SW11_CS13, SW10_CS13, SW12_CS13}, //LB52 + {1, SW2_CS14, SW1_CS14, SW3_CS14}, //LB53 + {1, SW5_CS14, SW4_CS14, SW6_CS14}, //LB54 + {1, SW8_CS14, SW7_CS14, SW9_CS14}, //LB55 + {1, SW11_CS14, SW10_CS14, SW12_CS14}, //LB56 + {1, SW2_CS15, SW1_CS15, SW3_CS15}, //LB57 + {1, SW5_CS15, SW4_CS15, SW6_CS15}, //LB58 + {1, SW8_CS15, SW7_CS15, SW9_CS15}, //LB59 + {1, SW11_CS15, SW10_CS15, SW12_CS15}, //LB60 + {1, SW2_CS16, SW1_CS16, SW3_CS16}, //LB61 + {1, SW5_CS16, SW4_CS16, SW6_CS16}, //LB62 + {1, SW8_CS16, SW7_CS16, SW9_CS16}, //LB63 + {1, SW11_CS16, SW10_CS16, SW12_CS16}, //LB64 }; #endif diff --git a/keyboards/orthograph/orthograph.c b/keyboards/orthograph/orthograph.c index 04d25829370..9d824574d10 100644 --- a/keyboards/orthograph/orthograph.c +++ b/keyboards/orthograph/orthograph.c @@ -24,105 +24,105 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ -{0, A_6, B_6, C_6}, -{0, A_5, B_5, C_5}, -{0, A_4, B_4, C_4}, -{0, A_3, B_3, C_3}, -{0, A_2, B_2, C_2}, -{0, A_1, B_1, C_1}, - -{0, D_6, E_6, F_6}, -{0, D_5, E_5, F_5}, -{0, D_4, E_4, F_4}, -{0, D_3, E_3, F_3}, -{0, D_2, E_2, F_2}, -{0, D_1, E_1, F_1}, - -{0, G_6, H_6, I_6}, -{0, G_5, H_5, I_5}, -{0, G_4, H_4, I_4}, -{0, G_3, H_3, I_3}, -{0, G_2, H_2, I_2}, -{0, G_1, H_1, I_1}, - -{0, A_14, B_14, C_14}, -{0, A_13, B_13, C_13}, -{0, A_12, B_12, C_12}, -{0, A_11, B_11, C_11}, -{0, A_10, B_10, C_10}, -{0, A_9, B_9, C_9}, - -{0, D_14, E_14, F_14}, -{0, D_13, E_13, F_13}, -{0, D_12, E_12, F_12}, -{0, D_11, E_11, F_11}, -{0, D_10, E_10, F_10}, -{0, D_9, E_9, F_9}, - -{0, G_14, H_14, I_14}, -{0, G_13, H_13, I_13}, -{0, G_12, H_12, I_12}, -{0, G_11, H_11, I_11}, -{0, G_10, H_10, I_10}, -{0, G_9, H_9, I_9}, +{0, SW1_CS6, SW2_CS6, SW3_CS6}, +{0, SW1_CS5, SW2_CS5, SW3_CS5}, +{0, SW1_CS4, SW2_CS4, SW3_CS4}, +{0, SW1_CS3, SW2_CS3, SW3_CS3}, +{0, SW1_CS2, SW2_CS2, SW3_CS2}, +{0, SW1_CS1, SW2_CS1, SW3_CS1}, + +{0, SW4_CS6, SW5_CS6, SW6_CS6}, +{0, SW4_CS5, SW5_CS5, SW6_CS5}, +{0, SW4_CS4, SW5_CS4, SW6_CS4}, +{0, SW4_CS3, SW5_CS3, SW6_CS3}, +{0, SW4_CS2, SW5_CS2, SW6_CS2}, +{0, SW4_CS1, SW5_CS1, SW6_CS1}, + +{0, SW7_CS6, SW8_CS6, SW9_CS6}, +{0, SW7_CS5, SW8_CS5, SW9_CS5}, +{0, SW7_CS4, SW8_CS4, SW9_CS4}, +{0, SW7_CS3, SW8_CS3, SW9_CS3}, +{0, SW7_CS2, SW8_CS2, SW9_CS2}, +{0, SW7_CS1, SW8_CS1, SW9_CS1}, + +{0, SW1_CS14, SW2_CS14, SW3_CS14}, +{0, SW1_CS13, SW2_CS13, SW3_CS13}, +{0, SW1_CS12, SW2_CS12, SW3_CS12}, +{0, SW1_CS11, SW2_CS11, SW3_CS11}, +{0, SW1_CS10, SW2_CS10, SW3_CS10}, +{0, SW1_CS9, SW2_CS9, SW3_CS9}, + +{0, SW4_CS14, SW5_CS14, SW6_CS14}, +{0, SW4_CS13, SW5_CS13, SW6_CS13}, +{0, SW4_CS12, SW5_CS12, SW6_CS12}, +{0, SW4_CS11, SW5_CS11, SW6_CS11}, +{0, SW4_CS10, SW5_CS10, SW6_CS10}, +{0, SW4_CS9, SW5_CS9, SW6_CS9}, + +{0, SW7_CS14, SW8_CS14, SW9_CS14}, +{0, SW7_CS13, SW8_CS13, SW9_CS13}, +{0, SW7_CS12, SW8_CS12, SW9_CS12}, +{0, SW7_CS11, SW8_CS11, SW9_CS11}, +{0, SW7_CS10, SW8_CS10, SW9_CS10}, +{0, SW7_CS9, SW8_CS9, SW9_CS9}, //---------------- -{0, A_6, B_6, C_6}, -{0, A_5, B_5, C_5}, -{0, A_4, B_4, C_4}, -{0, A_3, B_3, C_3}, -{0, A_2, B_2, C_2}, -{0, A_1, B_1, C_1}, -{0, A_16, B_16, C_16}, -// {0, A_15, B_15, C_15}, - - -{0, D_6, E_6, F_6}, -{0, D_5, E_5, F_5}, -{0, D_4, E_4, F_4}, -{0, D_3, E_3, F_3}, -{0, D_2, E_2, F_2}, -{0, D_1, E_1, F_1}, -{0, D_16, E_16, F_16}, -{0, D_15, E_15, F_15}, - -{0, G_6, H_6, I_6}, -{0, G_5, H_5, I_5}, -{0, G_4, H_4, I_4}, -{0, G_3, H_3, I_3}, -{0, G_2, H_2, I_2}, -{0, G_1, H_1, I_1}, -{0, G_16, H_16, I_16}, -{0, G_15, H_15, I_15}, - -{0, A_14, B_14, C_14}, -{0, A_13, B_13, C_13}, -{0, A_12, B_12, C_12}, -{0, A_11, B_11, C_11}, -{0, A_10, B_10, C_10}, -{0, A_9, B_9, C_9}, -{0, A_8, B_8, C_8}, -// {0, A_7, B_7, C_7}, - -{0, D_14, E_14, F_14}, -{0, D_13, E_13, F_13}, -{0, D_12, E_12, F_12}, -{0, D_11, E_11, F_11}, -{0, D_10, E_10, F_10}, -{0, D_9, E_9, F_9}, -{0, D_8, E_8, F_8}, -{0, D_7, E_7, F_7}, - -{0, G_14, H_14, I_14}, -{0, G_13, H_13, I_13}, -{0, G_12, H_12, I_12}, -{0, G_11, H_11, I_11}, -{0, G_10, H_10, I_10}, -{0, G_9, H_9, I_9}, -{0, G_8, H_8, I_8}, -{0, G_7, H_7, I_7} +{0, SW1_CS6, SW2_CS6, SW3_CS6}, +{0, SW1_CS5, SW2_CS5, SW3_CS5}, +{0, SW1_CS4, SW2_CS4, SW3_CS4}, +{0, SW1_CS3, SW2_CS3, SW3_CS3}, +{0, SW1_CS2, SW2_CS2, SW3_CS2}, +{0, SW1_CS1, SW2_CS1, SW3_CS1}, +{0, SW1_CS16, SW2_CS16, SW3_CS16}, +// {0, SW1_CS15, SW2_CS15, SW3_CS15}, + + +{0, SW4_CS6, SW5_CS6, SW6_CS6}, +{0, SW4_CS5, SW5_CS5, SW6_CS5}, +{0, SW4_CS4, SW5_CS4, SW6_CS4}, +{0, SW4_CS3, SW5_CS3, SW6_CS3}, +{0, SW4_CS2, SW5_CS2, SW6_CS2}, +{0, SW4_CS1, SW5_CS1, SW6_CS1}, +{0, SW4_CS16, SW5_CS16, SW6_CS16}, +{0, SW4_CS15, SW5_CS15, SW6_CS15}, + +{0, SW7_CS6, SW8_CS6, SW9_CS6}, +{0, SW7_CS5, SW8_CS5, SW9_CS5}, +{0, SW7_CS4, SW8_CS4, SW9_CS4}, +{0, SW7_CS3, SW8_CS3, SW9_CS3}, +{0, SW7_CS2, SW8_CS2, SW9_CS2}, +{0, SW7_CS1, SW8_CS1, SW9_CS1}, +{0, SW7_CS16, SW8_CS16, SW9_CS16}, +{0, SW7_CS15, SW8_CS15, SW9_CS15}, + +{0, SW1_CS14, SW2_CS14, SW3_CS14}, +{0, SW1_CS13, SW2_CS13, SW3_CS13}, +{0, SW1_CS12, SW2_CS12, SW3_CS12}, +{0, SW1_CS11, SW2_CS11, SW3_CS11}, +{0, SW1_CS10, SW2_CS10, SW3_CS10}, +{0, SW1_CS9, SW2_CS9, SW3_CS9}, +{0, SW1_CS8, SW2_CS8, SW3_CS8}, +// {0, SW1_CS7, SW2_CS7, SW3_CS7}, + +{0, SW4_CS14, SW5_CS14, SW6_CS14}, +{0, SW4_CS13, SW5_CS13, SW6_CS13}, +{0, SW4_CS12, SW5_CS12, SW6_CS12}, +{0, SW4_CS11, SW5_CS11, SW6_CS11}, +{0, SW4_CS10, SW5_CS10, SW6_CS10}, +{0, SW4_CS9, SW5_CS9, SW6_CS9}, +{0, SW4_CS8, SW5_CS8, SW6_CS8}, +{0, SW4_CS7, SW5_CS7, SW6_CS7}, + +{0, SW7_CS14, SW8_CS14, SW9_CS14}, +{0, SW7_CS13, SW8_CS13, SW9_CS13}, +{0, SW7_CS12, SW8_CS12, SW9_CS12}, +{0, SW7_CS11, SW8_CS11, SW9_CS11}, +{0, SW7_CS10, SW8_CS10, SW9_CS10}, +{0, SW7_CS9, SW8_CS9, SW9_CS9}, +{0, SW7_CS8, SW8_CS8, SW9_CS8}, +{0, SW7_CS7, SW8_CS7, SW9_CS7} }; #endif diff --git a/keyboards/owlab/voice65/hotswap/hotswap.c b/keyboards/owlab/voice65/hotswap/hotswap.c index 107952d3706..79179d16616 100644 --- a/keyboards/owlab/voice65/hotswap/hotswap.c +++ b/keyboards/owlab/voice65/hotswap/hotswap.c @@ -18,73 +18,73 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS3_SW1, CS2_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB1-1 */ - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB2-2 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB3-3 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB4-4 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB5-5 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB6-6 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB7-7 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB8-8 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB9-9 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB10-0 */ - {0, CS36_SW1, CS35_SW1, CS34_SW1}, /* RGB11--- */ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, /* RGB12-+= */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB13-BS */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB14-DEL */ - {0, CS3_SW2, CS2_SW2, CS1_SW2}, /* RGB15-TAB ----ROW1*/ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB16-Q */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB17-W */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB18-E */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB19-R */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB20-T */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB21-Y */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB22-U */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB23-I */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB24-O */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB25-P */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB26-[ */ - {0, CS39_SW2, CS38_SW2, CS37_SW2}, /* RGB27-] */ - {0, CS39_SW6, CS38_SW6, CS37_SW6}, /* RGB28-\ */ - {0, CS30_SW7, CS29_SW7, CS28_SW7}, /* RGB29-PGUP */ - {0, CS3_SW3, CS2_SW3, CS1_SW3}, /* RGB30-CAPS---ROW2*/ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB31-A-- */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB32-S-- */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB33-D-- */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB34-F-- */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB35-G-- */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB36-H-- */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB37-J-- */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB38-K-- */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB39-L-- */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB40-;:- */ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB41-''- */ - {0, CS39_SW3, CS38_SW3, CS37_SW3}, /* RGB42-ENTER- */ - {0, CS33_SW7, CS32_SW7, CS31_SW7}, /* RGB43-PGDN */ - {0, CS3_SW4, CS2_SW4, CS1_SW4}, /* RGB44-LSF --ROW3*/ - {0, CS6_SW4, CS5_SW4, CS4_SW4}, /* RGB45-Z -*/ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB46-X -*/ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB47-C -*/ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB48-V -*/ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB49-B -*/ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB50-N -*/ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB51-M -*/ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB52-,< -*/ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB53->. -*/ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB54-? -*/ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB55-RSF -*/ - {0, CS39_SW4, CS38_SW4, CS37_SW4}, /* RGB56-UP -*/ - {0, CS36_SW7, CS35_SW7, CS34_SW7}, /* RGB57--MO-- */ - {0, CS3_SW5, CS2_SW5, CS1_SW5}, /* RGB58-lct-- row4*/ - {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* RGB59-lwin- */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB60-lalt- */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB61-sp- */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB62-ralt- */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB63-rct- */ - {0, CS36_SW5, CS35_SW5, CS34_SW5}, /* RGB64-left- */ - {0, CS39_SW5, CS38_SW5, CS37_SW5}, /* RGB65-dn- */ - {0, CS39_SW7, CS38_SW7, CS37_SW7}, /* RGB66-right- */ + {0, SW1_CS3, SW1_CS2, SW1_CS1}, /* RGB0-ESC ROW0*/ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB1-1 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB2-2 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB3-3 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB4-4 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB5-5 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB6-6 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB7-7 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB8-8 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB9-9 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB10-0 */ + {0, SW1_CS36, SW1_CS35, SW1_CS34}, /* RGB11--- */ + {0, SW1_CS39, SW1_CS38, SW1_CS37}, /* RGB12-+= */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB13-BS */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB14-DEL */ + {0, SW2_CS3, SW2_CS2, SW2_CS1}, /* RGB15-TAB ----ROW1*/ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB16-Q */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB17-W */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB18-E */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB19-R */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB20-T */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB21-Y */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB22-U */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB23-I */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB24-O */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB25-P */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB26-[ */ + {0, SW2_CS39, SW2_CS38, SW2_CS37}, /* RGB27-] */ + {0, SW6_CS39, SW6_CS38, SW6_CS37}, /* RGB28-\ */ + {0, SW7_CS30, SW7_CS29, SW7_CS28}, /* RGB29-PGUP */ + {0, SW3_CS3, SW3_CS2, SW3_CS1}, /* RGB30-CAPS---ROW2*/ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB31-A-- */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB32-S-- */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB33-D-- */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB34-F-- */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB35-G-- */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB36-H-- */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB37-J-- */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB38-K-- */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB39-L-- */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB40-;:- */ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB41-''- */ + {0, SW3_CS39, SW3_CS38, SW3_CS37}, /* RGB42-ENTER- */ + {0, SW7_CS33, SW7_CS32, SW7_CS31}, /* RGB43-PGDN */ + {0, SW4_CS3, SW4_CS2, SW4_CS1}, /* RGB44-LSF --ROW3*/ + {0, SW4_CS6, SW4_CS5, SW4_CS4}, /* RGB45-Z -*/ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB46-X -*/ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB47-C -*/ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB48-V -*/ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB49-B -*/ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB50-N -*/ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB51-M -*/ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB52-,< -*/ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB53->. -*/ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB54-? -*/ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB55-RSF -*/ + {0, SW4_CS39, SW4_CS38, SW4_CS37}, /* RGB56-UP -*/ + {0, SW7_CS36, SW7_CS35, SW7_CS34}, /* RGB57--MO-- */ + {0, SW5_CS3, SW5_CS2, SW5_CS1}, /* RGB58-lct-- row4*/ + {0, SW5_CS6, SW5_CS5, SW5_CS4}, /* RGB59-lwin- */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB60-lalt- */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB61-sp- */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB62-ralt- */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB63-rct- */ + {0, SW5_CS36, SW5_CS35, SW5_CS34}, /* RGB64-left- */ + {0, SW5_CS39, SW5_CS38, SW5_CS37}, /* RGB65-dn- */ + {0, SW7_CS39, SW7_CS38, SW7_CS37}, /* RGB66-right- */ }; led_config_t g_led_config = { { diff --git a/keyboards/owlab/voice65/soldered/soldered.c b/keyboards/owlab/voice65/soldered/soldered.c index eb3b68515a9..23144914fef 100644 --- a/keyboards/owlab/voice65/soldered/soldered.c +++ b/keyboards/owlab/voice65/soldered/soldered.c @@ -18,77 +18,77 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS3_SW1, CS2_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB1-1 */ - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB2-2 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB3-3 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB4-4 */ - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB5-5 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB6-6 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB7-7 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB8-8 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB9-9 */ - {0, CS33_SW1, CS32_SW1, CS31_SW1}, /* RGB10-0 */ - {0, CS36_SW1, CS35_SW1, CS34_SW1}, /* RGB11--- */ - {0, CS39_SW6, CS38_SW6, CS37_SW6}, /* RGB12-+= */ - {0, CS36_SW6, CS35_SW6, CS34_SW6}, /* RGB13-BS */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB14-BACKSPACE SPLIT */ - {0, CS36_SW8, CS35_SW8, CS34_SW8}, /* RGB15-DEL */ - {0, CS3_SW2, CS2_SW2, CS1_SW2}, /* RGB16-TAB ----ROW1*/ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB17-Q */ - {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB18-W */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB19-E */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB20-R */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB21-T */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB22-Y */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB23-U */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB24-I */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB25-O */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB26-P */ - {0, CS36_SW2, CS35_SW2, CS34_SW2}, /* RGB27-[ */ - {0, CS39_SW7, CS38_SW7, CS37_SW7}, /* RGB28-] */ - {0, CS36_SW7, CS35_SW7, CS34_SW7}, /* RGB29-\ */ - {0, CS27_SW7, CS26_SW7, CS25_SW7}, /* RGB30-PGUP */ - {0, CS3_SW3, CS2_SW3, CS1_SW3}, /* RGB31-CAPS---ROW2*/ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB32-A-- */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB33-S-- */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB34-D-- */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB35-F-- */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB36-G-- */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB37-H-- */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB38-J-- */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB39-K-- */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB40-L-- */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB41-;:- */ - {0, CS36_SW3, CS35_SW3, CS34_SW3}, /* RGB42-''- */ - {0, CS39_SW8, CS38_SW8, CS37_SW8}, /* RGB43-ENTER- */ - {0, CS27_SW8, CS26_SW8, CS25_SW8}, /* RGB44-PGDN */ - {0, CS3_SW4, CS2_SW4, CS1_SW4}, /* RGB45-LSF --ROW3*/ - {0, CS6_SW4, CS5_SW4, CS4_SW4}, /* RGB46-LSF split -*/ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB47-Z -*/ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB48-X -*/ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB49-C -*/ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB50-V -*/ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB51-B -*/ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB52-N -*/ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB53-M -*/ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB54-<, -*/ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB55->. -*/ - {0, CS36_SW4, CS35_SW4, CS34_SW4}, /* RGB56-?/ -*/ - {0, CS39_SW9, CS38_SW9, CS37_SW9}, /* RGB57-RSF -*/ - {0, CS36_SW9, CS35_SW9, CS34_SW9}, /* RGB58-UP -*/ - {0, CS27_SW9, CS26_SW9, CS25_SW9}, /* RGB59--MO-- */ - {0, CS3_SW5, CS2_SW5, CS1_SW5}, /* RGB60-lct-- row4*/ - {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* RGB61-lwin- */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB62-lalt- */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB63-sp2.25- */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB64-sp7U6.25U1.25U- */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB65-sp2.75U- */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB66-ralt- */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB67-rctrl- */ - {0, CS36_SW5, CS35_SW5, CS34_SW5}, /* RGB68-left- */ - {0, CS39_SW5, CS38_SW5, CS37_SW5}, /* RGB69-dn- */ - {0, CS27_SW5, CS26_SW5, CS25_SW5}, /* RGB70-right- */ + {0, SW1_CS3, SW1_CS2, SW1_CS1}, /* RGB0-ESC ROW0*/ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB1-1 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB2-2 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB3-3 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB4-4 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB5-5 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB6-6 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB7-7 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB8-8 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB9-9 */ + {0, SW1_CS33, SW1_CS32, SW1_CS31}, /* RGB10-0 */ + {0, SW1_CS36, SW1_CS35, SW1_CS34}, /* RGB11--- */ + {0, SW6_CS39, SW6_CS38, SW6_CS37}, /* RGB12-+= */ + {0, SW6_CS36, SW6_CS35, SW6_CS34}, /* RGB13-BS */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB14-BACKSPACE SPLIT */ + {0, SW8_CS36, SW8_CS35, SW8_CS34}, /* RGB15-DEL */ + {0, SW2_CS3, SW2_CS2, SW2_CS1}, /* RGB16-TAB ----ROW1*/ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB17-Q */ + {0, SW2_CS9, SW2_CS8, SW2_CS7}, /* RGB18-W */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB19-E */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB20-R */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB21-T */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB22-Y */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB23-U */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB24-I */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB25-O */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB26-P */ + {0, SW2_CS36, SW2_CS35, SW2_CS34}, /* RGB27-[ */ + {0, SW7_CS39, SW7_CS38, SW7_CS37}, /* RGB28-] */ + {0, SW7_CS36, SW7_CS35, SW7_CS34}, /* RGB29-\ */ + {0, SW7_CS27, SW7_CS26, SW7_CS25}, /* RGB30-PGUP */ + {0, SW3_CS3, SW3_CS2, SW3_CS1}, /* RGB31-CAPS---ROW2*/ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB32-A-- */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB33-S-- */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB34-D-- */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB35-F-- */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB36-G-- */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB37-H-- */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB38-J-- */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB39-K-- */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB40-L-- */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB41-;:- */ + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /* RGB42-''- */ + {0, SW8_CS39, SW8_CS38, SW8_CS37}, /* RGB43-ENTER- */ + {0, SW8_CS27, SW8_CS26, SW8_CS25}, /* RGB44-PGDN */ + {0, SW4_CS3, SW4_CS2, SW4_CS1}, /* RGB45-LSF --ROW3*/ + {0, SW4_CS6, SW4_CS5, SW4_CS4}, /* RGB46-LSF split -*/ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB47-Z -*/ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB48-X -*/ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB49-C -*/ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB50-V -*/ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB51-B -*/ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB52-N -*/ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB53-M -*/ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB54-<, -*/ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB55->. -*/ + {0, SW4_CS36, SW4_CS35, SW4_CS34}, /* RGB56-?/ -*/ + {0, SW9_CS39, SW9_CS38, SW9_CS37}, /* RGB57-RSF -*/ + {0, SW9_CS36, SW9_CS35, SW9_CS34}, /* RGB58-UP -*/ + {0, SW9_CS27, SW9_CS26, SW9_CS25}, /* RGB59--MO-- */ + {0, SW5_CS3, SW5_CS2, SW5_CS1}, /* RGB60-lct-- row4*/ + {0, SW5_CS6, SW5_CS5, SW5_CS4}, /* RGB61-lwin- */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB62-lalt- */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB63-sp2.25- */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB64-sp7U6.25U1.25U- */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB65-sp2.75U- */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB66-ralt- */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB67-rctrl- */ + {0, SW5_CS36, SW5_CS35, SW5_CS34}, /* RGB68-left- */ + {0, SW5_CS39, SW5_CS38, SW5_CS37}, /* RGB69-dn- */ + {0, SW5_CS27, SW5_CS26, SW5_CS25}, /* RGB70-right- */ }; led_config_t g_led_config = { { diff --git a/keyboards/phentech/rpk_001/rpk_001.c b/keyboards/phentech/rpk_001/rpk_001.c index b24c0c6c0e7..5ccd8d73930 100644 --- a/keyboards/phentech/rpk_001/rpk_001.c +++ b/keyboards/phentech/rpk_001/rpk_001.c @@ -14,77 +14,77 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS1_SW1, CS2_SW1, CS3_SW1 }, // 0 Esc - {0, CS1_SW2, CS2_SW2, CS3_SW2 }, // 1 1 - {0, CS1_SW3, CS2_SW3, CS3_SW3 }, // 2 2 - {0, CS1_SW4, CS2_SW4, CS3_SW4 }, // 3 3 - {0, CS1_SW5, CS2_SW5, CS3_SW5 }, // 4 4 - {0, CS1_SW6, CS2_SW6, CS3_SW6 }, // 5 5 - {0, CS1_SW7, CS2_SW7, CS3_SW7 }, // 6 6 - {0, CS1_SW8, CS2_SW8, CS3_SW8 }, // 7 7 - {0, CS1_SW9, CS2_SW9, CS3_SW9 }, // 8 8 - {0, CS1_SW10, CS2_SW10, CS3_SW10 }, // 9 9 - {0, CS1_SW11, CS2_SW11, CS3_SW11 }, // 10 0 - {0, CS1_SW12, CS2_SW12, CS3_SW12 }, // 11 - - {0, CS16_SW1, CS17_SW1, CS18_SW1 }, // 12 = - {0, CS16_SW2, CS17_SW2, CS18_SW2 }, // 13 Backspace + {0, SW1_CS1, SW1_CS2, SW1_CS3 }, // 0 Esc + {0, SW2_CS1, SW2_CS2, SW2_CS3 }, // 1 1 + {0, SW3_CS1, SW3_CS2, SW3_CS3 }, // 2 2 + {0, SW4_CS1, SW4_CS2, SW4_CS3 }, // 3 3 + {0, SW5_CS1, SW5_CS2, SW5_CS3 }, // 4 4 + {0, SW6_CS1, SW6_CS2, SW6_CS3 }, // 5 5 + {0, SW7_CS1, SW7_CS2, SW7_CS3 }, // 6 6 + {0, SW8_CS1, SW8_CS2, SW8_CS3 }, // 7 7 + {0, SW9_CS1, SW9_CS2, SW9_CS3 }, // 8 8 + {0, SW10_CS1, SW10_CS2, SW10_CS3 }, // 9 9 + {0, SW11_CS1, SW11_CS2, SW11_CS3 }, // 10 0 + {0, SW12_CS1, SW12_CS2, SW12_CS3 }, // 11 - + {0, SW1_CS16, SW1_CS17, SW1_CS18 }, // 12 = + {0, SW2_CS16, SW2_CS17, SW2_CS18 }, // 13 Backspace - {0, CS4_SW1, CS5_SW1, CS6_SW1 }, // 14 Tab - {0, CS4_SW2, CS5_SW2, CS6_SW2 }, // 15 Q - {0, CS4_SW3, CS5_SW3, CS6_SW3 }, // 16 W - {0, CS4_SW4, CS5_SW4, CS6_SW4 }, // 17 E - {0, CS4_SW5, CS5_SW5, CS6_SW5 }, // 18 R - {0, CS4_SW6, CS5_SW6, CS6_SW6 }, // 19 T - {0, CS4_SW7, CS5_SW7, CS6_SW7 }, // 20 Y - {0, CS4_SW8, CS5_SW8, CS6_SW8 }, // 21 U - {0, CS4_SW9, CS5_SW9, CS6_SW9 }, // 22 I - {0, CS4_SW10, CS5_SW10, CS6_SW10 }, // 23 O - {0, CS4_SW11, CS5_SW11, CS6_SW11 }, // 24 P - {0, CS4_SW12, CS5_SW12, CS6_SW12 }, // 25 [ - {0, CS16_SW4, CS17_SW4, CS18_SW4 }, // 26 ] - {0, CS16_SW5, CS17_SW5, CS18_SW5 }, // 27 \| - {0, CS16_SW3, CS17_SW3, CS18_SW3 }, // 28 Del + {0, SW1_CS4, SW1_CS5, SW1_CS6 }, // 14 Tab + {0, SW2_CS4, SW2_CS5, SW2_CS6 }, // 15 Q + {0, SW3_CS4, SW3_CS5, SW3_CS6 }, // 16 W + {0, SW4_CS4, SW4_CS5, SW4_CS6 }, // 17 E + {0, SW5_CS4, SW5_CS5, SW5_CS6 }, // 18 R + {0, SW6_CS4, SW6_CS5, SW6_CS6 }, // 19 T + {0, SW7_CS4, SW7_CS5, SW7_CS6 }, // 20 Y + {0, SW8_CS4, SW8_CS5, SW8_CS6 }, // 21 U + {0, SW9_CS4, SW9_CS5, SW9_CS6 }, // 22 I + {0, SW10_CS4, SW10_CS5, SW10_CS6 }, // 23 O + {0, SW11_CS4, SW11_CS5, SW11_CS6 }, // 24 P + {0, SW12_CS4, SW12_CS5, SW12_CS6 }, // 25 [ + {0, SW4_CS16, SW4_CS17, SW4_CS18 }, // 26 ] + {0, SW5_CS16, SW5_CS17, SW5_CS18 }, // 27 \| + {0, SW3_CS16, SW3_CS17, SW3_CS18 }, // 28 Del - {0, CS7_SW1, CS8_SW1, CS9_SW1 }, // 29 Caps Lock - {0, CS7_SW2, CS8_SW2, CS9_SW2 }, // 30 A - {0, CS7_SW3, CS8_SW3, CS9_SW3 }, // 31 S - {0, CS7_SW4, CS8_SW4, CS9_SW4 }, // 32 D - {0, CS7_SW5, CS8_SW5, CS9_SW5 }, // 33 F - {0, CS7_SW6, CS8_SW6, CS9_SW6 }, // 34 G - {0, CS7_SW7, CS8_SW7, CS9_SW7 }, // 35 H - {0, CS7_SW8, CS8_SW8, CS9_SW8 }, // 36 J - {0, CS7_SW9, CS8_SW9, CS9_SW9 }, // 37 K - {0, CS7_SW10, CS8_SW10, CS9_SW10 }, // 38 L - {0, CS7_SW11, CS8_SW11, CS9_SW11 }, // 39 ; - {0, CS7_SW12, CS8_SW12, CS9_SW12 }, // 40 ' - {0, CS16_SW7, CS17_SW7, CS18_SW7 }, // 41 Enter - {0, CS16_SW6, CS17_SW6, CS18_SW6 }, // 42 Home + {0, SW1_CS7, SW1_CS8, SW1_CS9 }, // 29 Caps Lock + {0, SW2_CS7, SW2_CS8, SW2_CS9 }, // 30 A + {0, SW3_CS7, SW3_CS8, SW3_CS9 }, // 31 S + {0, SW4_CS7, SW4_CS8, SW4_CS9 }, // 32 D + {0, SW5_CS7, SW5_CS8, SW5_CS9 }, // 33 F + {0, SW6_CS7, SW6_CS8, SW6_CS9 }, // 34 G + {0, SW7_CS7, SW7_CS8, SW7_CS9 }, // 35 H + {0, SW8_CS7, SW8_CS8, SW8_CS9 }, // 36 J + {0, SW9_CS7, SW9_CS8, SW9_CS9 }, // 37 K + {0, SW10_CS7, SW10_CS8, SW10_CS9 }, // 38 L + {0, SW11_CS7, SW11_CS8, SW11_CS9 }, // 39 ; + {0, SW12_CS7, SW12_CS8, SW12_CS9 }, // 40 ' + {0, SW7_CS16, SW7_CS17, SW7_CS18 }, // 41 Enter + {0, SW6_CS16, SW6_CS17, SW6_CS18 }, // 42 Home - {0, CS10_SW1, CS11_SW1, CS12_SW1 }, // 43 Shift_L - {0, CS10_SW3, CS11_SW3, CS12_SW3 }, // 44 Z - {0, CS10_SW4, CS11_SW4, CS12_SW4 }, // 45 X - {0, CS10_SW5, CS11_SW5, CS12_SW5 }, // 46 C - {0, CS10_SW6, CS11_SW6, CS12_SW6 }, // 47 V - {0, CS10_SW7, CS11_SW7, CS12_SW7 }, // 48 B - {0, CS10_SW8, CS11_SW8, CS12_SW8 }, // 49 N - {0, CS10_SW9, CS11_SW9, CS12_SW9 }, // 50 M - {0, CS10_SW10, CS11_SW10, CS12_SW10 }, // 51 , - {0, CS10_SW11, CS11_SW11, CS12_SW11 }, // 52 . - {0, CS10_SW12, CS11_SW12, CS12_SW12 }, // 53 / - {0, CS16_SW9, CS17_SW9, CS18_SW9 }, // 54 Shift_R - {0, CS16_SW10, CS17_SW10, CS18_SW10 }, // 55 Up - {0, CS16_SW8, CS17_SW8, CS18_SW8 }, // 56 END + {0, SW1_CS10, SW1_CS11, SW1_CS12 }, // 43 Shift_L + {0, SW3_CS10, SW3_CS11, SW3_CS12 }, // 44 Z + {0, SW4_CS10, SW4_CS11, SW4_CS12 }, // 45 X + {0, SW5_CS10, SW5_CS11, SW5_CS12 }, // 46 C + {0, SW6_CS10, SW6_CS11, SW6_CS12 }, // 47 V + {0, SW7_CS10, SW7_CS11, SW7_CS12 }, // 48 B + {0, SW8_CS10, SW8_CS11, SW8_CS12 }, // 49 N + {0, SW9_CS10, SW9_CS11, SW9_CS12 }, // 50 M + {0, SW10_CS10, SW10_CS11, SW10_CS12 }, // 51 , + {0, SW11_CS10, SW11_CS11, SW11_CS12 }, // 52 . + {0, SW12_CS10, SW12_CS11, SW12_CS12 }, // 53 / + {0, SW9_CS16, SW9_CS17, SW9_CS18 }, // 54 Shift_R + {0, SW10_CS16, SW10_CS17, SW10_CS18 }, // 55 Up + {0, SW8_CS16, SW8_CS17, SW8_CS18 }, // 56 END - {0, CS13_SW1, CS14_SW1, CS15_SW1 }, // 57 Ctrl_L - {0, CS13_SW2, CS14_SW2, CS15_SW2 }, // 58 Win_L - {0, CS13_SW3, CS14_SW3, CS15_SW3 }, // 59 Alt_L - {0, CS13_SW6, CS14_SW6, CS15_SW6 }, // 60 Space - {0, CS13_SW9, CS14_SW9, CS15_SW9 }, // 61 Alt_R - {0, CS13_SW10, CS14_SW10, CS15_SW10 }, // 62 Ctrl_R - {0, CS13_SW11, CS14_SW11, CS15_SW11 }, // 63 FN - {0, CS13_SW12, CS14_SW12, CS15_SW12 }, // 64 Left - {0, CS16_SW12, CS17_SW12, CS18_SW12 }, // 65 Down - {0, CS16_SW11, CS17_SW11, CS18_SW11 }, // 66 Right + {0, SW1_CS13, SW1_CS14, SW1_CS15 }, // 57 Ctrl_L + {0, SW2_CS13, SW2_CS14, SW2_CS15 }, // 58 Win_L + {0, SW3_CS13, SW3_CS14, SW3_CS15 }, // 59 Alt_L + {0, SW6_CS13, SW6_CS14, SW6_CS15 }, // 60 Space + {0, SW9_CS13, SW9_CS14, SW9_CS15 }, // 61 Alt_R + {0, SW10_CS13, SW10_CS14, SW10_CS15 }, // 62 Ctrl_R + {0, SW11_CS13, SW11_CS14, SW11_CS15 }, // 63 FN + {0, SW12_CS13, SW12_CS14, SW12_CS15 }, // 64 Left + {0, SW12_CS16, SW12_CS17, SW12_CS18 }, // 65 Down + {0, SW11_CS16, SW11_CS17, SW11_CS18 }, // 66 Right }; // clang-format on diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c index 532558a2941..522fd700338 100644 --- a/keyboards/planck/ez/ez.c +++ b/keyboards/planck/ez/ez.c @@ -28,60 +28,60 @@ const is31fl3737_led_t PROGMEM g_is31fl3737_leds[IS31FL3737_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, B_12, A_12, C_12}, - {0, B_11, A_11, C_11}, - {0, B_10, A_10, C_10}, - {0, B_9, A_9, C_9}, - {0, B_8, A_8, C_8}, - {0, B_7, A_7, C_7}, - - {0, H_12, G_12, I_12}, - {0, H_11, G_11, I_11}, - {0, H_10, G_10, I_10}, - {0, H_9, G_9, I_9}, - {0, H_8, G_8, I_8}, - {0, H_7, G_7, I_7}, - - {0, B_6, A_6, C_6}, - {0, B_5, A_5, C_5}, - {0, B_4, A_4, C_4}, - {0, B_3, A_3, C_3}, - {0, B_2, A_2, C_2}, - {0, B_1, A_1, C_1}, - - {0, H_6, G_6, I_6}, - {0, H_5, G_5, I_5}, - {0, H_4, G_4, I_4}, - {0, H_3, G_3, I_3}, - {0, H_2, G_2, I_2}, - {0, H_1, G_1, I_1}, - - {0, E_12, D_12, F_12}, - {0, E_11, D_11, F_11}, - {0, E_10, D_10, F_10}, - {0, E_9, D_9, F_9}, - {0, E_8, D_8, F_8}, - {0, E_7, D_7, F_7}, - - {0, K_12, J_12, L_12}, - {0, K_11, J_11, L_11}, - {0, K_10, J_10, L_10}, - {0, K_9, J_9, L_9}, - {0, K_8, J_8, L_8}, - {0, K_7, J_7, L_7}, - - {0, E_6, D_6, F_6}, - {0, E_5, D_5, F_5}, - {0, E_4, D_4, F_4}, - {0, E_3, D_3, F_3}, - {0, E_2, D_2, F_2}, - {0, E_1, D_1, F_1}, - - {0, K_6, J_6, L_6}, - {0, K_5, J_5, L_5}, - {0, K_4, J_4, L_4}, - {0, K_3, J_3, L_3}, - {0, K_2, J_2, L_2}, + {0, SW2_CS12, SW1_CS12, SW3_CS12}, + {0, SW2_CS11, SW1_CS11, SW3_CS11}, + {0, SW2_CS10, SW1_CS10, SW3_CS10}, + {0, SW2_CS9, SW1_CS9, SW3_CS9}, + {0, SW2_CS8, SW1_CS8, SW3_CS8}, + {0, SW2_CS7, SW1_CS7, SW3_CS7}, + + {0, SW8_CS12, SW7_CS12, SW9_CS12}, + {0, SW8_CS11, SW7_CS11, SW9_CS11}, + {0, SW8_CS10, SW7_CS10, SW9_CS10}, + {0, SW8_CS9, SW7_CS9, SW9_CS9}, + {0, SW8_CS8, SW7_CS8, SW9_CS8}, + {0, SW8_CS7, SW7_CS7, SW9_CS7}, + + {0, SW2_CS6, SW1_CS6, SW3_CS6}, + {0, SW2_CS5, SW1_CS5, SW3_CS5}, + {0, SW2_CS4, SW1_CS4, SW3_CS4}, + {0, SW2_CS3, SW1_CS3, SW3_CS3}, + {0, SW2_CS2, SW1_CS2, SW3_CS2}, + {0, SW2_CS1, SW1_CS1, SW3_CS1}, + + {0, SW8_CS6, SW7_CS6, SW9_CS6}, + {0, SW8_CS5, SW7_CS5, SW9_CS5}, + {0, SW8_CS4, SW7_CS4, SW9_CS4}, + {0, SW8_CS3, SW7_CS3, SW9_CS3}, + {0, SW8_CS2, SW7_CS2, SW9_CS2}, + {0, SW8_CS1, SW7_CS1, SW9_CS1}, + + {0, SW5_CS12, SW4_CS12, SW6_CS12}, + {0, SW5_CS11, SW4_CS11, SW6_CS11}, + {0, SW5_CS10, SW4_CS10, SW6_CS10}, + {0, SW5_CS9, SW4_CS9, SW6_CS9}, + {0, SW5_CS8, SW4_CS8, SW6_CS8}, + {0, SW5_CS7, SW4_CS7, SW6_CS7}, + + {0, SW11_CS12, SW10_CS12, SW12_CS12}, + {0, SW11_CS11, SW10_CS11, SW12_CS11}, + {0, SW11_CS10, SW10_CS10, SW12_CS10}, + {0, SW11_CS9, SW10_CS9, SW12_CS9}, + {0, SW11_CS8, SW10_CS8, SW12_CS8}, + {0, SW11_CS7, SW10_CS7, SW12_CS7}, + + {0, SW5_CS6, SW4_CS6, SW6_CS6}, + {0, SW5_CS5, SW4_CS5, SW6_CS5}, + {0, SW5_CS4, SW4_CS4, SW6_CS4}, + {0, SW5_CS3, SW4_CS3, SW6_CS3}, + {0, SW5_CS2, SW4_CS2, SW6_CS2}, + {0, SW5_CS1, SW4_CS1, SW6_CS1}, + + {0, SW11_CS6, SW10_CS6, SW12_CS6}, + {0, SW11_CS5, SW10_CS5, SW12_CS5}, + {0, SW11_CS4, SW10_CS4, SW12_CS4}, + {0, SW11_CS3, SW10_CS3, SW12_CS3}, + {0, SW11_CS2, SW10_CS2, SW12_CS2}, }; diff --git a/keyboards/playkbtw/pk64rgb/pk64rgb.c b/keyboards/playkbtw/pk64rgb/pk64rgb.c index 17b8c74b182..b745c82b9d5 100644 --- a/keyboards/playkbtw/pk64rgb/pk64rgb.c +++ b/keyboards/playkbtw/pk64rgb/pk64rgb.c @@ -25,74 +25,74 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | | B location * | | | | */ - {0, A_1, B_1, C_1}, - {0, D_1, E_1, F_1}, - {0, G_1, H_1, I_1}, - {0, J_1, K_1, L_1}, - {0, A_6, B_6, C_6}, - {0, D_6, E_6, F_6}, - {0, G_6, H_6, I_6}, - {0, J_6, K_6, L_6}, - {0, A_11, B_11, C_11}, - {0, D_11, E_11, F_11}, - {0, G_11, H_11, I_11}, - {0, J_11, K_11, L_11}, - {0, A_16, B_16, C_16}, - {0, D_16, E_16, F_16}, + {0, SW1_CS1, SW2_CS1, SW3_CS1}, + {0, SW4_CS1, SW5_CS1, SW6_CS1}, + {0, SW7_CS1, SW8_CS1, SW9_CS1}, + {0, SW10_CS1, SW11_CS1, SW12_CS1}, + {0, SW1_CS6, SW2_CS6, SW3_CS6}, + {0, SW4_CS6, SW5_CS6, SW6_CS6}, + {0, SW7_CS6, SW8_CS6, SW9_CS6}, + {0, SW10_CS6, SW11_CS6, SW12_CS6}, + {0, SW1_CS11, SW2_CS11, SW3_CS11}, + {0, SW4_CS11, SW5_CS11, SW6_CS11}, + {0, SW7_CS11, SW8_CS11, SW9_CS11}, + {0, SW10_CS11, SW11_CS11, SW12_CS11}, + {0, SW1_CS16, SW2_CS16, SW3_CS16}, + {0, SW4_CS16, SW5_CS16, SW6_CS16}, - {0, A_2, B_2, C_2}, - {0, D_2, E_2, F_2}, - {0, G_2, H_2, I_2}, - {0, J_2, K_2, L_2}, - {0, A_7, B_7, C_7}, - {0, D_7, E_7, F_7}, - {0, G_7, H_7, I_7}, - {0, J_7, K_7, L_7}, - {0, A_12, B_12, C_12}, - {0, D_12, E_12, F_12}, - {0, G_12, H_12, I_12}, - {0, J_12, K_12, L_12}, - {0, G_16, H_16, I_16}, - {0, J_16, K_16, L_16}, + {0, SW1_CS2, SW2_CS2, SW3_CS2}, + {0, SW4_CS2, SW5_CS2, SW6_CS2}, + {0, SW7_CS2, SW8_CS2, SW9_CS2}, + {0, SW10_CS2, SW11_CS2, SW12_CS2}, + {0, SW1_CS7, SW2_CS7, SW3_CS7}, + {0, SW4_CS7, SW5_CS7, SW6_CS7}, + {0, SW7_CS7, SW8_CS7, SW9_CS7}, + {0, SW10_CS7, SW11_CS7, SW12_CS7}, + {0, SW1_CS12, SW2_CS12, SW3_CS12}, + {0, SW4_CS12, SW5_CS12, SW6_CS12}, + {0, SW7_CS12, SW8_CS12, SW9_CS12}, + {0, SW10_CS12, SW11_CS12, SW12_CS12}, + {0, SW7_CS16, SW8_CS16, SW9_CS16}, + {0, SW10_CS16, SW11_CS16, SW12_CS16}, - {0, A_3, B_3, C_3}, - {0, D_3, E_3, F_3}, - {0, G_3, H_3, I_3}, - {0, J_3, K_3, L_3}, - {0, A_8, B_8, C_8}, - {0, D_8, E_8, F_8}, - {0, G_8, H_8, I_8}, - {0, J_8, K_8, L_8}, - {0, A_13, B_13, C_13}, - {0, D_13, E_13, F_13}, - {0, G_13, H_13, I_13}, - {0, J_13, K_13, L_13}, - {0, A_15, B_15, C_15}, + {0, SW1_CS3, SW2_CS3, SW3_CS3}, + {0, SW4_CS3, SW5_CS3, SW6_CS3}, + {0, SW7_CS3, SW8_CS3, SW9_CS3}, + {0, SW10_CS3, SW11_CS3, SW12_CS3}, + {0, SW1_CS8, SW2_CS8, SW3_CS8}, + {0, SW4_CS8, SW5_CS8, SW6_CS8}, + {0, SW7_CS8, SW8_CS8, SW9_CS8}, + {0, SW10_CS8, SW11_CS8, SW12_CS8}, + {0, SW1_CS13, SW2_CS13, SW3_CS13}, + {0, SW4_CS13, SW5_CS13, SW6_CS13}, + {0, SW7_CS13, SW8_CS13, SW9_CS13}, + {0, SW10_CS13, SW11_CS13, SW12_CS13}, + {0, SW1_CS15, SW2_CS15, SW3_CS15}, - {0, A_4, B_4, C_4}, - {0, D_4, E_4, F_4}, - {0, G_4, H_4, I_4}, - {0, J_4, K_4, L_4}, - {0, A_9, B_9, C_9}, - {0, D_9, E_9, F_9}, - {0, G_9, H_9, I_9}, - {0, J_9, K_9, L_9}, - {0, A_14, B_14, C_14}, - {0, D_14, E_14, F_14}, - {0, G_14, H_14, I_14}, - {0, J_14, K_14, L_14}, - {0, D_15, E_15, F_15}, - {0, G_15, H_15, I_15}, + {0, SW1_CS4, SW2_CS4, SW3_CS4}, + {0, SW4_CS4, SW5_CS4, SW6_CS4}, + {0, SW7_CS4, SW8_CS4, SW9_CS4}, + {0, SW10_CS4, SW11_CS4, SW12_CS4}, + {0, SW1_CS9, SW2_CS9, SW3_CS9}, + {0, SW4_CS9, SW5_CS9, SW6_CS9}, + {0, SW7_CS9, SW8_CS9, SW9_CS9}, + {0, SW10_CS9, SW11_CS9, SW12_CS9}, + {0, SW1_CS14, SW2_CS14, SW3_CS14}, + {0, SW4_CS14, SW5_CS14, SW6_CS14}, + {0, SW7_CS14, SW8_CS14, SW9_CS14}, + {0, SW10_CS14, SW11_CS14, SW12_CS14}, + {0, SW4_CS15, SW5_CS15, SW6_CS15}, + {0, SW7_CS15, SW8_CS15, SW9_CS15}, - {0, A_5, B_5, C_5}, - {0, D_5, E_5, F_5}, - {0, G_5, H_5, I_5}, - {0, J_5, K_5, L_5}, - {0, A_10, B_10, C_10}, - {0, D_10, E_10, F_10}, - {0, G_10, H_10, I_10}, - {0, J_10, K_10, L_10}, - {0, J_15, K_15, L_15} + {0, SW1_CS5, SW2_CS5, SW3_CS5}, + {0, SW4_CS5, SW5_CS5, SW6_CS5}, + {0, SW7_CS5, SW8_CS5, SW9_CS5}, + {0, SW10_CS5, SW11_CS5, SW12_CS5}, + {0, SW1_CS10, SW2_CS10, SW3_CS10}, + {0, SW4_CS10, SW5_CS10, SW6_CS10}, + {0, SW7_CS10, SW8_CS10, SW9_CS10}, + {0, SW10_CS10, SW11_CS10, SW12_CS10}, + {0, SW10_CS15, SW11_CS15, SW12_CS15} }; led_config_t g_led_config = {{ diff --git a/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c b/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c index c5b513447b9..e2a85a75c39 100644 --- a/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c +++ b/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c @@ -25,84 +25,84 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - //{0, CS1_SW4, CS2_SW4, CS3_SW4}, // 0, Esc - - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // 0, Esc - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 1, 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 2, 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 3, 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 4, 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 5, 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 6, 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 7, 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 8, 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 9, 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 10, 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // 11, - - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // 12, = - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // 13, Backspace - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // 14, Del - - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // 15, Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // 16, Q - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // 17, W - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // 18, E - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // 19, R - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // 20, T - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // 21, Y - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // 22, U - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // 23, I - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // 24, O - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // 25, P - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // 26, [ - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // 27, ] - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // 28, "\\" - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // 29, PGUP - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // 30, CapsLock - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // 31, A - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // 32, S - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // 33, D - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // 34, F - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // 35, G - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // 36, H - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // 37, J - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // 38, K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // 39, L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // 40, ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // 41, ' - {0, CS13_SW12, CS14_SW12, CS15_SW12}, // 42, Enter - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // 43, PGDN - - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // 44, LShift - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // 45, Z - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // 46, X - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // 47, C - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // 48, V - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // 49, B - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // 50, N - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // 51, M - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // 52, , - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // 53, . - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // 54, / - {0, CS16_SW8, CS17_SW8, CS18_SW8}, // 55, RShift - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // 56, Up - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // 57, END - - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // 58, LCtrl - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // 59, LWin - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // 60, LAlt - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // 61, LED71 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // 62, LED72 - {0, CS16_SW4, CS17_SW4, CS18_SW4}, // 63, Space - {0, CS16_SW7, CS17_SW7, CS18_SW7}, // 64, LED73 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // 65, LED74 - {0, CS16_SW5, CS17_SW5, CS18_SW5}, // 66, RAlt - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // 67, FN - - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // 68, Left - {0, CS16_SW11, CS17_SW11, CS18_SW11}, // 69, Down - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // 70, Right + //{0, SW4_CS1, SW4_CS2, SW4_CS3}, // 0, Esc + + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // 0, Esc + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 1, 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 2, 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 3, 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 4, 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 5, 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 6, 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 7, 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 8, 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 9, 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 10, 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // 11, - + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // 12, = + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // 13, Backspace + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // 14, Del + + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // 15, Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // 16, Q + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // 17, W + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // 18, E + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // 19, R + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // 20, T + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // 21, Y + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // 22, U + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // 23, I + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // 24, O + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // 25, P + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // 26, [ + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // 27, ] + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // 28, "\\" + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // 29, PGUP + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // 30, CapsLock + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // 31, A + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // 32, S + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // 33, D + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // 34, F + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // 35, G + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // 36, H + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // 37, J + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // 38, K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // 39, L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // 40, ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // 41, ' + {0, SW12_CS13, SW12_CS14, SW12_CS15}, // 42, Enter + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // 43, PGDN + + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // 44, LShift + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // 45, Z + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // 46, X + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // 47, C + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // 48, V + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // 49, B + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // 50, N + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // 51, M + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // 52, , + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // 53, . + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // 54, / + {0, SW8_CS16, SW8_CS17, SW8_CS18}, // 55, RShift + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // 56, Up + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // 57, END + + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // 58, LCtrl + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // 59, LWin + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // 60, LAlt + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // 61, LED71 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // 62, LED72 + {0, SW4_CS16, SW4_CS17, SW4_CS18}, // 63, Space + {0, SW7_CS16, SW7_CS17, SW7_CS18}, // 64, LED73 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // 65, LED74 + {0, SW5_CS16, SW5_CS17, SW5_CS18}, // 66, RAlt + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // 67, FN + + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // 68, Left + {0, SW11_CS16, SW11_CS17, SW11_CS18}, // 69, Down + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // 70, Right }; diff --git a/keyboards/projectd/75/ansi/ansi.c b/keyboards/projectd/75/ansi/ansi.c index 7dd38569dad..f32bf369a90 100644 --- a/keyboards/projectd/75/ansi/ansi.c +++ b/keyboards/projectd/75/ansi/ansi.c @@ -25,101 +25,101 @@ const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - //{0, CS1_SW4, CS2_SW4, CS3_SW4}, // 0, k00, Esc - - {0, CS1_SW1, CS2_SW1, CS3_SW1}, // Esc - {0, CS1_SW2, CS2_SW2, CS3_SW2}, // F1 - {0, CS1_SW3, CS2_SW3, CS3_SW3}, // F2 - {0, CS1_SW4, CS2_SW4, CS3_SW4}, // F3 - {0, CS1_SW5, CS2_SW5, CS3_SW5}, // F4 - {0, CS1_SW6, CS2_SW6, CS3_SW6}, // F5 - {0, CS1_SW7, CS2_SW7, CS3_SW7}, // F6 - {0, CS1_SW8, CS2_SW8, CS3_SW8}, // F7 - {0, CS1_SW9, CS2_SW9, CS3_SW9}, // F8 - {0, CS1_SW10, CS2_SW10, CS3_SW10}, // F9 - {0, CS1_SW11, CS2_SW11, CS3_SW11}, // F10 - {0, CS1_SW12, CS2_SW12, CS3_SW12}, // F11 - {1, CS1_SW1, CS2_SW1, CS3_SW1}, // F12 - {1, CS4_SW1, CS5_SW1, CS6_SW1}, // Printscreen - {1, CS4_SW3, CS5_SW3, CS6_SW3}, // Delete - - {0, CS4_SW1, CS5_SW1, CS6_SW1}, // ` - {0, CS4_SW2, CS5_SW2, CS6_SW2}, // 1 - {0, CS4_SW3, CS5_SW3, CS6_SW3}, // 2 - {0, CS4_SW4, CS5_SW4, CS6_SW4}, // 3 - {0, CS4_SW5, CS5_SW5, CS6_SW5}, // 4 - {0, CS4_SW6, CS5_SW6, CS6_SW6}, // 5 - {0, CS4_SW7, CS5_SW7, CS6_SW7}, // 6 - {0, CS4_SW8, CS5_SW8, CS6_SW8}, // 7 - {0, CS4_SW9, CS5_SW9, CS6_SW9}, // 8 - {0, CS4_SW10, CS5_SW10, CS6_SW10}, // 9 - {0, CS4_SW11, CS5_SW11, CS6_SW11}, // 0 - {0, CS4_SW12, CS5_SW12, CS6_SW12}, // - - {1, CS1_SW5, CS2_SW5, CS3_SW5}, // = - {1, CS1_SW7, CS2_SW7, CS3_SW7}, // Backspace - {1, CS4_SW5, CS5_SW5, CS6_SW5}, // Home - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, // Tab - {0, CS7_SW2, CS8_SW2, CS9_SW2}, // Q - {0, CS7_SW3, CS8_SW3, CS9_SW3}, // W - {0, CS7_SW4, CS8_SW4, CS9_SW4}, // E - {0, CS7_SW5, CS8_SW5, CS9_SW5}, // R - {0, CS7_SW6, CS8_SW6, CS9_SW6}, // T - {0, CS7_SW7, CS8_SW7, CS9_SW7}, // Y - {0, CS7_SW8, CS8_SW8, CS9_SW8}, // U - {0, CS7_SW9, CS8_SW9, CS9_SW9}, // I - {0, CS7_SW10, CS8_SW10, CS9_SW10}, // O - {0, CS7_SW11, CS8_SW11, CS9_SW11}, // P - {0, CS7_SW12, CS8_SW12, CS9_SW12}, // [ - {1, CS1_SW8, CS2_SW8, CS3_SW8}, // ] - {1, CS1_SW9, CS2_SW9, CS3_SW9}, // "\\" - {1, CS4_SW4, CS5_SW4, CS6_SW4}, // PGUP - - {0, CS10_SW1, CS11_SW1, CS12_SW1}, // Caps Lock - {0, CS10_SW2, CS11_SW2, CS12_SW2}, // A - {0, CS10_SW3, CS11_SW3, CS12_SW3}, // S - {0, CS10_SW4, CS11_SW4, CS12_SW4}, // D - {0, CS10_SW5, CS11_SW5, CS12_SW5}, // F - {0, CS10_SW6, CS11_SW6, CS12_SW6}, // G - {0, CS10_SW7, CS11_SW7, CS12_SW7}, // H - {0, CS10_SW8, CS11_SW8, CS12_SW8}, // J - {0, CS10_SW9, CS11_SW9, CS12_SW9}, // K - {0, CS10_SW10, CS11_SW10, CS12_SW10}, // L - {0, CS10_SW11, CS11_SW11, CS12_SW11}, // ; - {0, CS10_SW12, CS11_SW12, CS12_SW12}, // ' - {1, CS1_SW11, CS2_SW11, CS3_SW11}, // Enter - {1, CS4_SW7, CS5_SW7, CS6_SW7}, // PGDN - - {0, CS13_SW1, CS14_SW1, CS15_SW1}, // L Shift - {0, CS13_SW2, CS14_SW2, CS15_SW2}, // Z - {0, CS13_SW3, CS14_SW3, CS15_SW3}, // X - {0, CS13_SW4, CS14_SW4, CS15_SW4}, // C - {0, CS13_SW5, CS14_SW5, CS15_SW5}, // V - {0, CS13_SW6, CS14_SW6, CS15_SW6}, // B - {0, CS13_SW7, CS14_SW7, CS15_SW7}, // N - {0, CS13_SW8, CS14_SW8, CS15_SW8}, // M - {0, CS13_SW9, CS14_SW9, CS15_SW9}, // , - {0, CS13_SW10, CS14_SW10, CS15_SW10}, // . - {0, CS13_SW11, CS14_SW11, CS15_SW11}, // "/"" - {1, CS4_SW8, CS5_SW8, CS6_SW8}, // R Shift - {1, CS4_SW9, CS5_SW9, CS6_SW9}, // Up - {1, CS4_SW6, CS5_SW6, CS6_SW6}, // END - - {0, CS16_SW1, CS17_SW1, CS18_SW1}, // L Ctrl - {0, CS16_SW2, CS17_SW2, CS18_SW2}, // L Win - {0, CS16_SW3, CS17_SW3, CS18_SW3}, // L Alt - {0, CS16_SW4, CS17_SW4, CS18_SW4}, // LED1 - {0, CS16_SW5, CS17_SW5, CS18_SW5}, // LED2 - {0, CS16_SW6, CS17_SW6, CS18_SW6}, // Space - {0, CS16_SW7, CS17_SW7, CS18_SW7}, // LED3 - {0, CS16_SW8, CS17_SW8, CS18_SW8}, // LED4 - {0, CS16_SW9, CS17_SW9, CS18_SW9}, // R Alt - {0, CS16_SW10, CS17_SW10, CS18_SW10}, // FN - {0, CS16_SW12, CS17_SW12, CS18_SW12}, // R Ctrl - - {1, CS4_SW10, CS5_SW10, CS6_SW10}, // Left - {1, CS4_SW11, CS5_SW11, CS6_SW11}, // Down - {1, CS10_SW5, CS11_SW5, CS12_SW5}, // Right + //{0, SW4_CS1, SW4_CS2, SW4_CS3}, // 0, k00, Esc + + {0, SW1_CS1, SW1_CS2, SW1_CS3}, // Esc + {0, SW2_CS1, SW2_CS2, SW2_CS3}, // F1 + {0, SW3_CS1, SW3_CS2, SW3_CS3}, // F2 + {0, SW4_CS1, SW4_CS2, SW4_CS3}, // F3 + {0, SW5_CS1, SW5_CS2, SW5_CS3}, // F4 + {0, SW6_CS1, SW6_CS2, SW6_CS3}, // F5 + {0, SW7_CS1, SW7_CS2, SW7_CS3}, // F6 + {0, SW8_CS1, SW8_CS2, SW8_CS3}, // F7 + {0, SW9_CS1, SW9_CS2, SW9_CS3}, // F8 + {0, SW10_CS1, SW10_CS2, SW10_CS3}, // F9 + {0, SW11_CS1, SW11_CS2, SW11_CS3}, // F10 + {0, SW12_CS1, SW12_CS2, SW12_CS3}, // F11 + {1, SW1_CS1, SW1_CS2, SW1_CS3}, // F12 + {1, SW1_CS4, SW1_CS5, SW1_CS6}, // Printscreen + {1, SW3_CS4, SW3_CS5, SW3_CS6}, // Delete + + {0, SW1_CS4, SW1_CS5, SW1_CS6}, // ` + {0, SW2_CS4, SW2_CS5, SW2_CS6}, // 1 + {0, SW3_CS4, SW3_CS5, SW3_CS6}, // 2 + {0, SW4_CS4, SW4_CS5, SW4_CS6}, // 3 + {0, SW5_CS4, SW5_CS5, SW5_CS6}, // 4 + {0, SW6_CS4, SW6_CS5, SW6_CS6}, // 5 + {0, SW7_CS4, SW7_CS5, SW7_CS6}, // 6 + {0, SW8_CS4, SW8_CS5, SW8_CS6}, // 7 + {0, SW9_CS4, SW9_CS5, SW9_CS6}, // 8 + {0, SW10_CS4, SW10_CS5, SW10_CS6}, // 9 + {0, SW11_CS4, SW11_CS5, SW11_CS6}, // 0 + {0, SW12_CS4, SW12_CS5, SW12_CS6}, // - + {1, SW5_CS1, SW5_CS2, SW5_CS3}, // = + {1, SW7_CS1, SW7_CS2, SW7_CS3}, // Backspace + {1, SW5_CS4, SW5_CS5, SW5_CS6}, // Home + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, // Tab + {0, SW2_CS7, SW2_CS8, SW2_CS9}, // Q + {0, SW3_CS7, SW3_CS8, SW3_CS9}, // W + {0, SW4_CS7, SW4_CS8, SW4_CS9}, // E + {0, SW5_CS7, SW5_CS8, SW5_CS9}, // R + {0, SW6_CS7, SW6_CS8, SW6_CS9}, // T + {0, SW7_CS7, SW7_CS8, SW7_CS9}, // Y + {0, SW8_CS7, SW8_CS8, SW8_CS9}, // U + {0, SW9_CS7, SW9_CS8, SW9_CS9}, // I + {0, SW10_CS7, SW10_CS8, SW10_CS9}, // O + {0, SW11_CS7, SW11_CS8, SW11_CS9}, // P + {0, SW12_CS7, SW12_CS8, SW12_CS9}, // [ + {1, SW8_CS1, SW8_CS2, SW8_CS3}, // ] + {1, SW9_CS1, SW9_CS2, SW9_CS3}, // "\\" + {1, SW4_CS4, SW4_CS5, SW4_CS6}, // PGUP + + {0, SW1_CS10, SW1_CS11, SW1_CS12}, // Caps Lock + {0, SW2_CS10, SW2_CS11, SW2_CS12}, // A + {0, SW3_CS10, SW3_CS11, SW3_CS12}, // S + {0, SW4_CS10, SW4_CS11, SW4_CS12}, // D + {0, SW5_CS10, SW5_CS11, SW5_CS12}, // F + {0, SW6_CS10, SW6_CS11, SW6_CS12}, // G + {0, SW7_CS10, SW7_CS11, SW7_CS12}, // H + {0, SW8_CS10, SW8_CS11, SW8_CS12}, // J + {0, SW9_CS10, SW9_CS11, SW9_CS12}, // K + {0, SW10_CS10, SW10_CS11, SW10_CS12}, // L + {0, SW11_CS10, SW11_CS11, SW11_CS12}, // ; + {0, SW12_CS10, SW12_CS11, SW12_CS12}, // ' + {1, SW11_CS1, SW11_CS2, SW11_CS3}, // Enter + {1, SW7_CS4, SW7_CS5, SW7_CS6}, // PGDN + + {0, SW1_CS13, SW1_CS14, SW1_CS15}, // L Shift + {0, SW2_CS13, SW2_CS14, SW2_CS15}, // Z + {0, SW3_CS13, SW3_CS14, SW3_CS15}, // X + {0, SW4_CS13, SW4_CS14, SW4_CS15}, // C + {0, SW5_CS13, SW5_CS14, SW5_CS15}, // V + {0, SW6_CS13, SW6_CS14, SW6_CS15}, // B + {0, SW7_CS13, SW7_CS14, SW7_CS15}, // N + {0, SW8_CS13, SW8_CS14, SW8_CS15}, // M + {0, SW9_CS13, SW9_CS14, SW9_CS15}, // , + {0, SW10_CS13, SW10_CS14, SW10_CS15}, // . + {0, SW11_CS13, SW11_CS14, SW11_CS15}, // "/"" + {1, SW8_CS4, SW8_CS5, SW8_CS6}, // R Shift + {1, SW9_CS4, SW9_CS5, SW9_CS6}, // Up + {1, SW6_CS4, SW6_CS5, SW6_CS6}, // END + + {0, SW1_CS16, SW1_CS17, SW1_CS18}, // L Ctrl + {0, SW2_CS16, SW2_CS17, SW2_CS18}, // L Win + {0, SW3_CS16, SW3_CS17, SW3_CS18}, // L Alt + {0, SW4_CS16, SW4_CS17, SW4_CS18}, // LED1 + {0, SW5_CS16, SW5_CS17, SW5_CS18}, // LED2 + {0, SW6_CS16, SW6_CS17, SW6_CS18}, // Space + {0, SW7_CS16, SW7_CS17, SW7_CS18}, // LED3 + {0, SW8_CS16, SW8_CS17, SW8_CS18}, // LED4 + {0, SW9_CS16, SW9_CS17, SW9_CS18}, // R Alt + {0, SW10_CS16, SW10_CS17, SW10_CS18}, // FN + {0, SW12_CS16, SW12_CS17, SW12_CS18}, // R Ctrl + + {1, SW10_CS4, SW10_CS5, SW10_CS6}, // Left + {1, SW11_CS4, SW11_CS5, SW11_CS6}, // Down + {1, SW5_CS10, SW5_CS11, SW5_CS12}, // Right }; #endif diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.c b/keyboards/qwertykeys/qk100/ansi/ansi.c index 06f7c11fb2d..e1102aab516 100644 --- a/keyboards/qwertykeys/qk100/ansi/ansi.c +++ b/keyboards/qwertykeys/qk100/ansi/ansi.c @@ -18,107 +18,107 @@ along with this program. If not, see . #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ - {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ - {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ - {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ - {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ - {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ - {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ - {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ - {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ - {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ - {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ - {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ - {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ - {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB13-Delete */ - {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-End */ - {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB15-Insert */ - {0, CS38_SW7, CS39_SW7, CS37_SW7}, /* RGB16-Home */ - {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ - {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ - {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ - {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ - {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ - {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ - {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ - {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ - {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ - {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ - {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ - {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ - {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ - {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB30-BS */ - {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB31-Num Lock */ - {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB32- / */ - {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB33- * */ - {0, CS38_SW8, CS39_SW8, CS37_SW8}, /* RGB34- - */ - {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB35-TAB ----ROW2*/ - {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB36-Q */ - {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB37-W */ - {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB38-E */ - {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB39-R */ - {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB40-T */ - {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB41-Y */ - {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB42-U */ - {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB43-I */ - {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB44-O */ - {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB45-P */ - {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB46-[ */ - {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB47-] */ - {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB48-\ */ - {0, CS29_SW9, CS30_SW9, CS28_SW9}, /* RGB49-page up */ - {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB50-7 */ - {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB51-8 */ - {0, CS38_SW9, CS39_SW9, CS37_SW9}, /* RGB52-9 */ - {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB53-CAPS---ROW3*/ - {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB54-A-- */ - {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB55-S-- */ - {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB56-D */ - {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB57-F */ - {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB58-G */ - {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB59-H */ - {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB60-J */ - {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB61-K */ - {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB62-L */ - {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB63-;: */ - {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB64-'" */ - {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB65-ENTER */ - {0, CS11_SW7, CS12_SW7, CS10_SW7}, /* RGB66-Page Down */ - {0, CS14_SW7, CS15_SW7, CS13_SW7}, /* RGB67-4 */ - {0, CS17_SW7, CS18_SW7, CS16_SW7}, /* RGB68-5 */ - {0, CS20_SW7, CS21_SW7, CS19_SW7}, /* RGB69-6 */ - {0, CS23_SW7, CS24_SW7, CS22_SW7}, /* RGB70-+ */ - {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB71-LSF --ROW4*/ - {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB72-Z */ - {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB73-X */ - {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB74-C */ - {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB75-V */ - {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB76-B */ - {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB77-N */ - {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB78-M */ - {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB79-,< */ - {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB80->. */ - {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB81-?/ */ - {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB82-RSF */ - {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB83-UP */ - {0, CS14_SW8, CS15_SW8, CS13_SW8}, /* RGB84-1*/ - {0, CS17_SW8, CS18_SW8, CS16_SW8}, /* RGB85-2 */ - {0, CS20_SW8, CS21_SW8, CS19_SW8}, /* RGB86-3 */ - {0, CS23_SW8, CS24_SW8, CS22_SW8}, /* RGB87-Enter */ - {0, CS2_SW6, CS3_SW6, CS1_SW6}, /* RGB88-lct-- ROW5*/ - {0, CS5_SW6, CS6_SW6, CS4_SW6}, /* RGB89-lwin */ - {0, CS8_SW6, CS9_SW6, CS7_SW6}, /* RGB90-lalt */ - {0, CS11_SW6, CS12_SW6, CS10_SW6}, /* RGB91-sp0 */ - {0, CS17_SW6, CS18_SW6, CS16_SW6}, /* RGB92-sp */ - {0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB93-sp2 */ - {0, CS29_SW6, CS30_SW6, CS28_SW6}, /* RGB94-ralt */ - {0, CS32_SW6, CS33_SW6, CS31_SW6}, /* RGB95- fn */ - {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB96-left */ - {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB97-down */ - {0, CS11_SW9, CS12_SW9, CS10_SW9}, /* RGB98-right */ - {0, CS14_SW9, CS15_SW9, CS13_SW9}, /* RGB99- 0 */ - {0, CS20_SW9, CS21_SW9, CS19_SW9} /* RGB100- . */ + {0, SW1_CS2, SW1_CS3, SW1_CS1}, /* RGB0-ESC ROW0*/ + {0, SW1_CS5, SW1_CS6, SW1_CS4}, /* RGB1-F1 */ + {0, SW1_CS8, SW1_CS9, SW1_CS7}, /* RGB2-F2 */ + {0, SW1_CS11, SW1_CS12, SW1_CS10}, /* RGB3-F3 */ + {0, SW1_CS14, SW1_CS15, SW1_CS13}, /* RGB4-F4 */ + {0, SW1_CS17, SW1_CS18, SW1_CS16}, /* RGB5-F5 */ + {0, SW1_CS20, SW1_CS21, SW1_CS19}, /* RGB6-F6 */ + {0, SW1_CS23, SW1_CS24, SW1_CS22}, /* RGB7-F7 */ + {0, SW1_CS26, SW1_CS27, SW1_CS25}, /* RGB8-F8 */ + {0, SW1_CS29, SW1_CS30, SW1_CS28}, /* RGB9-F9 */ + {0, SW1_CS32, SW1_CS33, SW1_CS31}, /* RGB10-F10 */ + {0, SW1_CS35, SW1_CS36, SW1_CS34}, /* RGB11-F11 */ + {0, SW1_CS38, SW1_CS39, SW1_CS37}, /* RGB12-F12 */ + {0, SW7_CS29, SW7_CS30, SW7_CS28}, /* RGB13-Delete */ + {0, SW7_CS32, SW7_CS33, SW7_CS31}, /* RGB14-End */ + {0, SW7_CS35, SW7_CS36, SW7_CS34}, /* RGB15-Insert */ + {0, SW7_CS38, SW7_CS39, SW7_CS37}, /* RGB16-Home */ + {0, SW2_CS2, SW2_CS3, SW2_CS1}, /* RGB17-~ ----ROW1*/ + {0, SW2_CS5, SW2_CS6, SW2_CS4}, /* RGB18-1 */ + {0, SW2_CS8, SW2_CS9, SW2_CS7}, /* RGB19-2 */ + {0, SW2_CS11, SW2_CS12, SW2_CS10}, /* RGB20-3 */ + {0, SW2_CS14, SW2_CS15, SW2_CS13}, /* RGB21-4 */ + {0, SW2_CS17, SW2_CS18, SW2_CS16}, /* RGB22-5 */ + {0, SW2_CS20, SW2_CS21, SW2_CS19}, /* RGB23-6 */ + {0, SW2_CS23, SW2_CS24, SW2_CS22}, /* RGB24-7 */ + {0, SW2_CS26, SW2_CS27, SW2_CS25}, /* RGB25-8 */ + {0, SW2_CS29, SW2_CS30, SW2_CS28}, /* RGB26-9 */ + {0, SW2_CS32, SW2_CS33, SW2_CS31}, /* RGB27-0 */ + {0, SW2_CS35, SW2_CS36, SW2_CS34}, /* RGB28--- */ + {0, SW2_CS38, SW2_CS39, SW2_CS37}, /* RGB29-+= */ + {0, SW7_CS26, SW7_CS27, SW7_CS25}, /* RGB30-BS */ + {0, SW8_CS29, SW8_CS30, SW8_CS28}, /* RGB31-Num Lock */ + {0, SW8_CS32, SW8_CS33, SW8_CS31}, /* RGB32- / */ + {0, SW8_CS35, SW8_CS36, SW8_CS34}, /* RGB33- * */ + {0, SW8_CS38, SW8_CS39, SW8_CS37}, /* RGB34- - */ + {0, SW3_CS2, SW3_CS3, SW3_CS1}, /* RGB35-TAB ----ROW2*/ + {0, SW3_CS5, SW3_CS6, SW3_CS4}, /* RGB36-Q */ + {0, SW3_CS8, SW3_CS9, SW3_CS7}, /* RGB37-W */ + {0, SW3_CS11, SW3_CS12, SW3_CS10}, /* RGB38-E */ + {0, SW3_CS14, SW3_CS15, SW3_CS13}, /* RGB39-R */ + {0, SW3_CS17, SW3_CS18, SW3_CS16}, /* RGB40-T */ + {0, SW3_CS20, SW3_CS21, SW3_CS19}, /* RGB41-Y */ + {0, SW3_CS23, SW3_CS24, SW3_CS22}, /* RGB42-U */ + {0, SW3_CS26, SW3_CS27, SW3_CS25}, /* RGB43-I */ + {0, SW3_CS29, SW3_CS30, SW3_CS28}, /* RGB44-O */ + {0, SW3_CS32, SW3_CS33, SW3_CS31}, /* RGB45-P */ + {0, SW3_CS35, SW3_CS36, SW3_CS34}, /* RGB46-[ */ + {0, SW3_CS38, SW3_CS39, SW3_CS37}, /* RGB47-] */ + {0, SW9_CS26, SW9_CS27, SW9_CS25}, /* RGB48-\ */ + {0, SW9_CS29, SW9_CS30, SW9_CS28}, /* RGB49-page up */ + {0, SW9_CS32, SW9_CS33, SW9_CS31}, /* RGB50-7 */ + {0, SW9_CS35, SW9_CS36, SW9_CS34}, /* RGB51-8 */ + {0, SW9_CS38, SW9_CS39, SW9_CS37}, /* RGB52-9 */ + {0, SW4_CS2, SW4_CS3, SW4_CS1}, /* RGB53-CAPS---ROW3*/ + {0, SW4_CS5, SW4_CS6, SW4_CS4}, /* RGB54-A-- */ + {0, SW4_CS8, SW4_CS9, SW4_CS7}, /* RGB55-S-- */ + {0, SW4_CS11, SW4_CS12, SW4_CS10}, /* RGB56-D */ + {0, SW4_CS14, SW4_CS15, SW4_CS13}, /* RGB57-F */ + {0, SW4_CS17, SW4_CS18, SW4_CS16}, /* RGB58-G */ + {0, SW4_CS20, SW4_CS21, SW4_CS19}, /* RGB59-H */ + {0, SW4_CS23, SW4_CS24, SW4_CS22}, /* RGB60-J */ + {0, SW4_CS26, SW4_CS27, SW4_CS25}, /* RGB61-K */ + {0, SW4_CS29, SW4_CS30, SW4_CS28}, /* RGB62-L */ + {0, SW4_CS32, SW4_CS33, SW4_CS31}, /* RGB63-;: */ + {0, SW4_CS35, SW4_CS36, SW4_CS34}, /* RGB64-'" */ + {0, SW4_CS38, SW4_CS39, SW4_CS37}, /* RGB65-ENTER */ + {0, SW7_CS11, SW7_CS12, SW7_CS10}, /* RGB66-Page Down */ + {0, SW7_CS14, SW7_CS15, SW7_CS13}, /* RGB67-4 */ + {0, SW7_CS17, SW7_CS18, SW7_CS16}, /* RGB68-5 */ + {0, SW7_CS20, SW7_CS21, SW7_CS19}, /* RGB69-6 */ + {0, SW7_CS23, SW7_CS24, SW7_CS22}, /* RGB70-+ */ + {0, SW5_CS2, SW5_CS3, SW5_CS1}, /* RGB71-LSF --ROW4*/ + {0, SW5_CS5, SW5_CS6, SW5_CS4}, /* RGB72-Z */ + {0, SW5_CS8, SW5_CS9, SW5_CS7}, /* RGB73-X */ + {0, SW5_CS11, SW5_CS12, SW5_CS10}, /* RGB74-C */ + {0, SW5_CS14, SW5_CS15, SW5_CS13}, /* RGB75-V */ + {0, SW5_CS17, SW5_CS18, SW5_CS16}, /* RGB76-B */ + {0, SW5_CS20, SW5_CS21, SW5_CS19}, /* RGB77-N */ + {0, SW5_CS23, SW5_CS24, SW5_CS22}, /* RGB78-M */ + {0, SW5_CS26, SW5_CS27, SW5_CS25}, /* RGB79-,< */ + {0, SW5_CS29, SW5_CS30, SW5_CS28}, /* RGB80->. */ + {0, SW5_CS32, SW5_CS33, SW5_CS31}, /* RGB81-?/ */ + {0, SW5_CS35, SW5_CS36, SW5_CS34}, /* RGB82-RSF */ + {0, SW5_CS38, SW5_CS39, SW5_CS37}, /* RGB83-UP */ + {0, SW8_CS14, SW8_CS15, SW8_CS13}, /* RGB84-1*/ + {0, SW8_CS17, SW8_CS18, SW8_CS16}, /* RGB85-2 */ + {0, SW8_CS20, SW8_CS21, SW8_CS19}, /* RGB86-3 */ + {0, SW8_CS23, SW8_CS24, SW8_CS22}, /* RGB87-Enter */ + {0, SW6_CS2, SW6_CS3, SW6_CS1}, /* RGB88-lct-- ROW5*/ + {0, SW6_CS5, SW6_CS6, SW6_CS4}, /* RGB89-lwin */ + {0, SW6_CS8, SW6_CS9, SW6_CS7}, /* RGB90-lalt */ + {0, SW6_CS11, SW6_CS12, SW6_CS10}, /* RGB91-sp0 */ + {0, SW6_CS17, SW6_CS18, SW6_CS16}, /* RGB92-sp */ + {0, SW6_CS26, SW6_CS27, SW6_CS25}, /* RGB93-sp2 */ + {0, SW6_CS29, SW6_CS30, SW6_CS28}, /* RGB94-ralt */ + {0, SW6_CS32, SW6_CS33, SW6_CS31}, /* RGB95- fn */ + {0, SW6_CS35, SW6_CS36, SW6_CS34}, /* RGB96-left */ + {0, SW6_CS38, SW6_CS39, SW6_CS37}, /* RGB97-down */ + {0, SW9_CS11, SW9_CS12, SW9_CS10}, /* RGB98-right */ + {0, SW9_CS14, SW9_CS15, SW9_CS13}, /* RGB99- 0 */ + {0, SW9_CS20, SW9_CS21, SW9_CS19} /* RGB100- . */ }; bool process_record_kb(uint16_t keycode, keyrecord_t* record) { diff --git a/keyboards/redragon/k667/k667.c b/keyboards/redragon/k667/k667.c index a1930f3b85b..b84bfa40c1d 100644 --- a/keyboards/redragon/k667/k667.c +++ b/keyboards/redragon/k667/k667.c @@ -18,95 +18,95 @@ #ifdef RGB_MATRIX_ENABLE const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { - {0, G_1, I_1, H_1}, - {0, G_3, I_3, H_3}, - {0, G_4, I_4, H_4}, - {0, G_5, I_5, H_5}, - {0, G_6, I_6, H_6}, - {0, G_7, I_7, H_7}, - {0, G_8, I_8, H_8}, - {0, G_9, I_9, H_9}, - {0, G_10, I_10, H_10}, - {0, G_11, I_11, H_11}, - {0, G_12, I_12, H_12}, - {0, G_13, I_13, H_13}, - {0, G_14, I_14, H_14}, - {0, G_15, I_15, H_15}, - {0, D_1, F_1, E_1}, - {0, D_2, F_2, E_2}, - {0, D_3, F_3, E_3}, - {0, D_4, F_4, E_4}, - {0, D_5, F_5, E_5}, - {0, D_6, F_6, E_6}, - {0, D_7, F_7, E_7}, - {0, D_8, F_8, E_8}, - {0, D_9, F_9, E_9}, - {0, D_10, F_10, E_10}, - {0, D_11, F_11, E_11}, - {0, D_12, F_12, E_12}, - {0, D_13, F_13, E_13}, - {0, D_14, F_14, E_14}, - {0, D_15, F_15, E_15}, - {0, A_1, C_1, B_1}, - {0, A_2, C_2, B_2}, - {0, A_3, C_3, B_3}, - {0, A_4, C_4, B_4}, - {0, A_5, C_5, B_5}, - {0, A_6, C_6, B_6}, - {0, A_7, C_7, B_7}, - {0, A_8, C_8, B_8}, - {0, A_9, C_9, B_9}, - {0, A_10, C_10, B_10}, - {0, A_11, C_11, B_11}, - {0, A_12, C_12, B_12}, - {0, A_13, C_13, B_13}, - {0, A_14, C_14, B_14}, - {0, A_15, C_15, B_15}, - {1, G_1, I_1, H_1}, - {1, G_2, I_2, H_2}, - {1, G_3, I_3, H_3}, - {1, G_4, I_4, H_4}, - {1, G_5, I_5, H_5}, - {1, G_6, I_6, H_6}, - {1, G_7, I_7, H_7}, - {1, G_8, I_8, H_8}, - {1, G_9, I_9, H_9}, - {1, G_10, I_10, H_10}, - {1, G_11, I_11, H_11}, - {1, G_12, I_12, H_12}, - {1, G_13, I_13, H_13}, - {1, G_14, I_14, H_14}, - {1, G_15, I_15, H_15}, - {1, D_1, F_1, E_1}, - {1, D_2, F_2, E_2}, - {1, D_3, F_3, E_3}, - {1, D_4, F_4, E_4}, - {1, D_5, F_5, E_5}, - {1, D_6, F_6, E_6}, - {1, D_7, F_7, E_7}, - {1, D_8, F_8, E_8}, - {1, D_9, F_9, E_9}, - {1, D_10, F_10, E_10}, - {1, D_11, F_11, E_11}, - {1, D_12, F_12, E_12}, - {1, D_13, F_13, E_13}, - {1, D_14, F_14, E_14}, - {1, D_15, F_15, E_15}, - {1, A_1, C_1, B_1}, - {1, A_2, C_2, B_2}, - {1, A_3, C_3, B_3}, - {1, A_5, C_5, B_5}, - {1, A_6, C_6, B_6}, - {1, A_7, C_7, B_7}, - {1, A_8, C_8, B_8}, - {1, A_9, C_9, B_9}, - {1, A_10, C_10, B_10}, - {1, A_11, C_11, B_11}, - {1, A_12, C_12, B_12}, - {1, A_13, C_13, B_13}, - {1, A_14, C_14, B_14}, - {1, A_15, C_15, B_15}, - {0, G_2, I_2, H_2}, - {1, A_4, C_4, B_4} + {0, SW7_CS1, SW9_CS1, SW8_CS1}, + {0, SW7_CS3, SW9_CS3, SW8_CS3}, + {0, SW7_CS4, SW9_CS4, SW8_CS4}, + {0, SW7_CS5, SW9_CS5, SW8_CS5}, + {0, SW7_CS6, SW9_CS6, SW8_CS6}, + {0, SW7_CS7, SW9_CS7, SW8_CS7}, + {0, SW7_CS8, SW9_CS8, SW8_CS8}, + {0, SW7_CS9, SW9_CS9, SW8_CS9}, + {0, SW7_CS10, SW9_CS10, SW8_CS10}, + {0, SW7_CS11, SW9_CS11, SW8_CS11}, + {0, SW7_CS12, SW9_CS12, SW8_CS12}, + {0, SW7_CS13, SW9_CS13, SW8_CS13}, + {0, SW7_CS14, SW9_CS14, SW8_CS14}, + {0, SW7_CS15, SW9_CS15, SW8_CS15}, + {0, SW4_CS1, SW6_CS1, SW5_CS1}, + {0, SW4_CS2, SW6_CS2, SW5_CS2}, + {0, SW4_CS3, SW6_CS3, SW5_CS3}, + {0, SW4_CS4, SW6_CS4, SW5_CS4}, + {0, SW4_CS5, SW6_CS5, SW5_CS5}, + {0, SW4_CS6, SW6_CS6, SW5_CS6}, + {0, SW4_CS7, SW6_CS7, SW5_CS7}, + {0, SW4_CS8, SW6_CS8, SW5_CS8}, + {0, SW4_CS9, SW6_CS9, SW5_CS9}, + {0, SW4_CS10, SW6_CS10, SW5_CS10}, + {0, SW4_CS11, SW6_CS11, SW5_CS11}, + {0, SW4_CS12, SW6_CS12, SW5_CS12}, + {0, SW4_CS13, SW6_CS13, SW5_CS13}, + {0, SW4_CS14, SW6_CS14, SW5_CS14}, + {0, SW4_CS15, SW6_CS15, SW5_CS15}, + {0, SW1_CS1, SW3_CS1, SW2_CS1}, + {0, SW1_CS2, SW3_CS2, SW2_CS2}, + {0, SW1_CS3, SW3_CS3, SW2_CS3}, + {0, SW1_CS4, SW3_CS4, SW2_CS4}, + {0, SW1_CS5, SW3_CS5, SW2_CS5}, + {0, SW1_CS6, SW3_CS6, SW2_CS6}, + {0, SW1_CS7, SW3_CS7, SW2_CS7}, + {0, SW1_CS8, SW3_CS8, SW2_CS8}, + {0, SW1_CS9, SW3_CS9, SW2_CS9}, + {0, SW1_CS10, SW3_CS10, SW2_CS10}, + {0, SW1_CS11, SW3_CS11, SW2_CS11}, + {0, SW1_CS12, SW3_CS12, SW2_CS12}, + {0, SW1_CS13, SW3_CS13, SW2_CS13}, + {0, SW1_CS14, SW3_CS14, SW2_CS14}, + {0, SW1_CS15, SW3_CS15, SW2_CS15}, + {1, SW7_CS1, SW9_CS1, SW8_CS1}, + {1, SW7_CS2, SW9_CS2, SW8_CS2}, + {1, SW7_CS3, SW9_CS3, SW8_CS3}, + {1, SW7_CS4, SW9_CS4, SW8_CS4}, + {1, SW7_CS5, SW9_CS5, SW8_CS5}, + {1, SW7_CS6, SW9_CS6, SW8_CS6}, + {1, SW7_CS7, SW9_CS7, SW8_CS7}, + {1, SW7_CS8, SW9_CS8, SW8_CS8}, + {1, SW7_CS9, SW9_CS9, SW8_CS9}, + {1, SW7_CS10, SW9_CS10, SW8_CS10}, + {1, SW7_CS11, SW9_CS11, SW8_CS11}, + {1, SW7_CS12, SW9_CS12, SW8_CS12}, + {1, SW7_CS13, SW9_CS13, SW8_CS13}, + {1, SW7_CS14, SW9_CS14, SW8_CS14}, + {1, SW7_CS15, SW9_CS15, SW8_CS15}, + {1, SW4_CS1, SW6_CS1, SW5_CS1}, + {1, SW4_CS2, SW6_CS2, SW5_CS2}, + {1, SW4_CS3, SW6_CS3, SW5_CS3}, + {1, SW4_CS4, SW6_CS4, SW5_CS4}, + {1, SW4_CS5, SW6_CS5, SW5_CS5}, + {1, SW4_CS6, SW6_CS6, SW5_CS6}, + {1, SW4_CS7, SW6_CS7, SW5_CS7}, + {1, SW4_CS8, SW6_CS8, SW5_CS8}, + {1, SW4_CS9, SW6_CS9, SW5_CS9}, + {1, SW4_CS10, SW6_CS10, SW5_CS10}, + {1, SW4_CS11, SW6_CS11, SW5_CS11}, + {1, SW4_CS12, SW6_CS12, SW5_CS12}, + {1, SW4_CS13, SW6_CS13, SW5_CS13}, + {1, SW4_CS14, SW6_CS14, SW5_CS14}, + {1, SW4_CS15, SW6_CS15, SW5_CS15}, + {1, SW1_CS1, SW3_CS1, SW2_CS1}, + {1, SW1_CS2, SW3_CS2, SW2_CS2}, + {1, SW1_CS3, SW3_CS3, SW2_CS3}, + {1, SW1_CS5, SW3_CS5, SW2_CS5}, + {1, SW1_CS6, SW3_CS6, SW2_CS6}, + {1, SW1_CS7, SW3_CS7, SW2_CS7}, + {1, SW1_CS8, SW3_CS8, SW2_CS8}, + {1, SW1_CS9, SW3_CS9, SW2_CS9}, + {1, SW1_CS10, SW3_CS10, SW2_CS10}, + {1, SW1_CS11, SW3_CS11, SW2_CS11}, + {1, SW1_CS12, SW3_CS12, SW2_CS12}, + {1, SW1_CS13, SW3_CS13, SW2_CS13}, + {1, SW1_CS14, SW3_CS14, SW2_CS14}, + {1, SW1_CS15, SW3_CS15, SW2_CS15}, + {0, SW7_CS2, SW9_CS2, SW8_CS2}, + {1, SW1_CS4, SW3_CS4, SW2_CS4} }; #endif diff --git a/keyboards/skyloong/gk61/pro/pro.c b/keyboards/skyloong/gk61/pro/pro.c index 55fcf3b41f5..06d9ce721d8 100644 --- a/keyboards/skyloong/gk61/pro/pro.c +++ b/keyboards/skyloong/gk61/pro/pro.c @@ -13,74 +13,74 @@ const is31fl3743a_led_t PROGMEM g_is31fl3743a_leds[IS31FL3743A_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS1_SW1, CS2_SW1, CS3_SW1}, - {0, CS1_SW2, CS2_SW2, CS3_SW2}, - {0, CS1_SW3, CS2_SW3, CS3_SW3}, - {0, CS1_SW4, CS2_SW4, CS3_SW4}, - {0, CS1_SW5, CS2_SW5, CS3_SW5}, - {0, CS1_SW6, CS2_SW6, CS3_SW6}, - {0, CS1_SW7, CS2_SW7, CS3_SW7}, - {0, CS1_SW8, CS2_SW8, CS3_SW8}, - {0, CS1_SW9, CS2_SW9, CS3_SW9}, - {0, CS1_SW10, CS2_SW10, CS3_SW10}, - {0, CS1_SW11, CS2_SW11, CS3_SW11}, - {0, CS16_SW1, CS17_SW1, CS18_SW1}, - {0, CS16_SW2, CS17_SW2, CS18_SW2}, - {0, CS16_SW3, CS17_SW3, CS18_SW3}, - - {0, CS4_SW1, CS5_SW1, CS6_SW1}, - {0, CS4_SW2, CS5_SW2, CS6_SW2}, - {0, CS4_SW3, CS5_SW3, CS6_SW3}, - {0, CS4_SW4, CS5_SW4, CS6_SW4}, - {0, CS4_SW5, CS5_SW5, CS6_SW5}, - {0, CS4_SW6, CS5_SW6, CS6_SW6}, - {0, CS4_SW7, CS5_SW7, CS6_SW7}, - {0, CS4_SW8, CS5_SW8, CS6_SW8}, - {0, CS4_SW9, CS5_SW9, CS6_SW9}, - {0, CS4_SW10, CS5_SW10, CS6_SW10}, - {0, CS4_SW11, CS5_SW11, CS6_SW11}, - {0, CS16_SW4, CS17_SW4, CS18_SW4}, - {0, CS16_SW5, CS17_SW5, CS18_SW5}, - {0, CS16_SW6, CS17_SW6, CS18_SW6}, - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, - {0, CS7_SW2, CS8_SW2, CS9_SW2}, - {0, CS7_SW3, CS8_SW3, CS9_SW3}, - {0, CS7_SW4, CS8_SW4, CS9_SW4}, - {0, CS7_SW5, CS8_SW5, CS9_SW5}, - {0, CS7_SW6, CS8_SW6, CS9_SW6}, - {0, CS7_SW7, CS8_SW7, CS9_SW7}, - {0, CS7_SW8, CS8_SW8, CS9_SW8}, - {0, CS7_SW9, CS8_SW9, CS9_SW9}, - {0, CS7_SW10, CS8_SW10, CS9_SW10}, - {0, CS7_SW11, CS8_SW11, CS9_SW11}, - {0, CS16_SW7, CS17_SW7, CS18_SW7}, - {0, CS16_SW8, CS17_SW8, CS18_SW8}, - - {0, CS10_SW1, CS11_SW1, CS12_SW1}, - {0, CS10_SW2, CS11_SW2, CS12_SW2}, - {0, CS10_SW3, CS11_SW3, CS12_SW3}, - {0, CS10_SW4, CS11_SW4, CS12_SW4}, - {0, CS10_SW5, CS11_SW5, CS12_SW5}, - {0, CS10_SW6, CS11_SW6, CS12_SW6}, - {0, CS10_SW7, CS11_SW7, CS12_SW7}, - {0, CS10_SW8, CS11_SW8, CS12_SW8}, - {0, CS10_SW9, CS11_SW9, CS12_SW9}, - {0, CS10_SW10, CS11_SW10, CS12_SW10}, - {0, CS10_SW11, CS11_SW11, CS12_SW11}, - {0, CS16_SW9, CS17_SW9, CS18_SW9}, - - {0, CS13_SW1, CS14_SW1, CS15_SW1}, - {0, CS13_SW2, CS14_SW2, CS15_SW2}, - {0, CS13_SW3, CS14_SW3, CS15_SW3}, - {0, CS13_SW4, CS14_SW4, CS15_SW4}, - {0, CS13_SW5, CS14_SW5, CS15_SW5}, - {0, CS13_SW5, CS14_SW5, CS15_SW5}, - {0, CS13_SW6, CS14_SW6, CS15_SW6}, - {0, CS13_SW7, CS14_SW7, CS15_SW7}, - {0, CS13_SW8, CS14_SW8, CS15_SW8}, - {0, CS13_SW9, CS14_SW9, CS15_SW9}, - {0, CS13_SW10, CS14_SW10, CS15_SW10} + {0, SW1_CS1, SW1_CS2, SW1_CS3}, + {0, SW2_CS1, SW2_CS2, SW2_CS3}, + {0, SW3_CS1, SW3_CS2, SW3_CS3}, + {0, SW4_CS1, SW4_CS2, SW4_CS3}, + {0, SW5_CS1, SW5_CS2, SW5_CS3}, + {0, SW6_CS1, SW6_CS2, SW6_CS3}, + {0, SW7_CS1, SW7_CS2, SW7_CS3}, + {0, SW8_CS1, SW8_CS2, SW8_CS3}, + {0, SW9_CS1, SW9_CS2, SW9_CS3}, + {0, SW10_CS1, SW10_CS2, SW10_CS3}, + {0, SW11_CS1, SW11_CS2, SW11_CS3}, + {0, SW1_CS16, SW1_CS17, SW1_CS18}, + {0, SW2_CS16, SW2_CS17, SW2_CS18}, + {0, SW3_CS16, SW3_CS17, SW3_CS18}, + + {0, SW1_CS4, SW1_CS5, SW1_CS6}, + {0, SW2_CS4, SW2_CS5, SW2_CS6}, + {0, SW3_CS4, SW3_CS5, SW3_CS6}, + {0, SW4_CS4, SW4_CS5, SW4_CS6}, + {0, SW5_CS4, SW5_CS5, SW5_CS6}, + {0, SW6_CS4, SW6_CS5, SW6_CS6}, + {0, SW7_CS4, SW7_CS5, SW7_CS6}, + {0, SW8_CS4, SW8_CS5, SW8_CS6}, + {0, SW9_CS4, SW9_CS5, SW9_CS6}, + {0, SW10_CS4, SW10_CS5, SW10_CS6}, + {0, SW11_CS4, SW11_CS5, SW11_CS6}, + {0, SW4_CS16, SW4_CS17, SW4_CS18}, + {0, SW5_CS16, SW5_CS17, SW5_CS18}, + {0, SW6_CS16, SW6_CS17, SW6_CS18}, + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, + {0, SW2_CS7, SW2_CS8, SW2_CS9}, + {0, SW3_CS7, SW3_CS8, SW3_CS9}, + {0, SW4_CS7, SW4_CS8, SW4_CS9}, + {0, SW5_CS7, SW5_CS8, SW5_CS9}, + {0, SW6_CS7, SW6_CS8, SW6_CS9}, + {0, SW7_CS7, SW7_CS8, SW7_CS9}, + {0, SW8_CS7, SW8_CS8, SW8_CS9}, + {0, SW9_CS7, SW9_CS8, SW9_CS9}, + {0, SW10_CS7, SW10_CS8, SW10_CS9}, + {0, SW11_CS7, SW11_CS8, SW11_CS9}, + {0, SW7_CS16, SW7_CS17, SW7_CS18}, + {0, SW8_CS16, SW8_CS17, SW8_CS18}, + + {0, SW1_CS10, SW1_CS11, SW1_CS12}, + {0, SW2_CS10, SW2_CS11, SW2_CS12}, + {0, SW3_CS10, SW3_CS11, SW3_CS12}, + {0, SW4_CS10, SW4_CS11, SW4_CS12}, + {0, SW5_CS10, SW5_CS11, SW5_CS12}, + {0, SW6_CS10, SW6_CS11, SW6_CS12}, + {0, SW7_CS10, SW7_CS11, SW7_CS12}, + {0, SW8_CS10, SW8_CS11, SW8_CS12}, + {0, SW9_CS10, SW9_CS11, SW9_CS12}, + {0, SW10_CS10, SW10_CS11, SW10_CS12}, + {0, SW11_CS10, SW11_CS11, SW11_CS12}, + {0, SW9_CS16, SW9_CS17, SW9_CS18}, + + {0, SW1_CS13, SW1_CS14, SW1_CS15}, + {0, SW2_CS13, SW2_CS14, SW2_CS15}, + {0, SW3_CS13, SW3_CS14, SW3_CS15}, + {0, SW4_CS13, SW4_CS14, SW4_CS15}, + {0, SW5_CS13, SW5_CS14, SW5_CS15}, + {0, SW5_CS13, SW5_CS14, SW5_CS15}, + {0, SW6_CS13, SW6_CS14, SW6_CS15}, + {0, SW7_CS13, SW7_CS14, SW7_CS15}, + {0, SW8_CS13, SW8_CS14, SW8_CS15}, + {0, SW9_CS13, SW9_CS14, SW9_CS15}, + {0, SW10_CS13, SW10_CS14, SW10_CS15} }; #if defined(RGB_MATRIX_ENABLE) /*&& defined(CAPS_LOCK_INDEX)*/ diff --git a/keyboards/skyloong/gk61/pro_48/pro_48.c b/keyboards/skyloong/gk61/pro_48/pro_48.c index ffa04f2c056..c5758ffcf4c 100644 --- a/keyboards/skyloong/gk61/pro_48/pro_48.c +++ b/keyboards/skyloong/gk61/pro_48/pro_48.c @@ -14,74 +14,74 @@ const is31fl3743a_led_t PROGMEM g_is31fl3743a_leds[IS31FL3743A_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS1_SW1, CS2_SW1, CS3_SW1}, - {0, CS1_SW2, CS2_SW2, CS3_SW2}, - {0, CS1_SW3, CS2_SW3, CS3_SW3}, - {0, CS1_SW4, CS2_SW4, CS3_SW4}, - {0, CS1_SW5, CS2_SW5, CS3_SW5}, - {0, CS1_SW6, CS2_SW6, CS3_SW6}, - {0, CS1_SW7, CS2_SW7, CS3_SW7}, - {0, CS1_SW8, CS2_SW8, CS3_SW8}, - {0, CS1_SW9, CS2_SW9, CS3_SW9}, - {0, CS1_SW10, CS2_SW10, CS3_SW10}, - {0, CS1_SW11, CS2_SW11, CS3_SW11}, - {0, CS16_SW1, CS17_SW1, CS18_SW1}, - {0, CS16_SW2, CS17_SW2, CS18_SW2}, - {0, CS16_SW3, CS17_SW3, CS18_SW3}, - - {0, CS4_SW1, CS5_SW1, CS6_SW1}, - {0, CS4_SW2, CS5_SW2, CS6_SW2}, - {0, CS4_SW3, CS5_SW3, CS6_SW3}, - {0, CS4_SW4, CS5_SW4, CS6_SW4}, - {0, CS4_SW5, CS5_SW5, CS6_SW5}, - {0, CS4_SW6, CS5_SW6, CS6_SW6}, - {0, CS4_SW7, CS5_SW7, CS6_SW7}, - {0, CS4_SW8, CS5_SW8, CS6_SW8}, - {0, CS4_SW9, CS5_SW9, CS6_SW9}, - {0, CS4_SW10, CS5_SW10, CS6_SW10}, - {0, CS4_SW11, CS5_SW11, CS6_SW11}, - {0, CS16_SW4, CS17_SW4, CS18_SW4}, - {0, CS16_SW5, CS17_SW5, CS18_SW5}, - {0, CS16_SW6, CS17_SW6, CS18_SW6}, - - {0, CS7_SW1, CS8_SW1, CS9_SW1}, - {0, CS7_SW2, CS8_SW2, CS9_SW2}, - {0, CS7_SW3, CS8_SW3, CS9_SW3}, - {0, CS7_SW4, CS8_SW4, CS9_SW4}, - {0, CS7_SW5, CS8_SW5, CS9_SW5}, - {0, CS7_SW6, CS8_SW6, CS9_SW6}, - {0, CS7_SW7, CS8_SW7, CS9_SW7}, - {0, CS7_SW8, CS8_SW8, CS9_SW8}, - {0, CS7_SW9, CS8_SW9, CS9_SW9}, - {0, CS7_SW10, CS8_SW10, CS9_SW10}, - {0, CS7_SW11, CS8_SW11, CS9_SW11}, - {0, CS16_SW7, CS17_SW7, CS18_SW7}, - {0, CS16_SW8, CS17_SW8, CS18_SW8}, - - {0, CS10_SW1, CS11_SW1, CS12_SW1}, - {0, CS10_SW2, CS11_SW2, CS12_SW2}, - {0, CS10_SW3, CS11_SW3, CS12_SW3}, - {0, CS10_SW4, CS11_SW4, CS12_SW4}, - {0, CS10_SW5, CS11_SW5, CS12_SW5}, - {0, CS10_SW6, CS11_SW6, CS12_SW6}, - {0, CS10_SW7, CS11_SW7, CS12_SW7}, - {0, CS10_SW8, CS11_SW8, CS12_SW8}, - {0, CS10_SW9, CS11_SW9, CS12_SW9}, - {0, CS10_SW10, CS11_SW10, CS12_SW10}, - {0, CS10_SW11, CS11_SW11, CS12_SW11}, - {0, CS16_SW9, CS17_SW9, CS18_SW9}, - - {0, CS13_SW1, CS14_SW1, CS15_SW1}, - {0, CS13_SW2, CS14_SW2, CS15_SW2}, - {0, CS13_SW3, CS14_SW3, CS15_SW3}, - {0, CS13_SW4, CS14_SW4, CS15_SW4}, - {0, CS13_SW5, CS14_SW5, CS15_SW5}, - {0, CS13_SW5, CS14_SW5, CS15_SW5}, - {0, CS13_SW6, CS14_SW6, CS15_SW6}, - {0, CS13_SW7, CS14_SW7, CS15_SW7}, - {0, CS13_SW8, CS14_SW8, CS15_SW8}, - {0, CS13_SW9, CS14_SW9, CS15_SW9}, - {0, CS13_SW10, CS14_SW10, CS15_SW10} + {0, SW1_CS1, SW1_CS2, SW1_CS3}, + {0, SW2_CS1, SW2_CS2, SW2_CS3}, + {0, SW3_CS1, SW3_CS2, SW3_CS3}, + {0, SW4_CS1, SW4_CS2, SW4_CS3}, + {0, SW5_CS1, SW5_CS2, SW5_CS3}, + {0, SW6_CS1, SW6_CS2, SW6_CS3}, + {0, SW7_CS1, SW7_CS2, SW7_CS3}, + {0, SW8_CS1, SW8_CS2, SW8_CS3}, + {0, SW9_CS1, SW9_CS2, SW9_CS3}, + {0, SW10_CS1, SW10_CS2, SW10_CS3}, + {0, SW11_CS1, SW11_CS2, SW11_CS3}, + {0, SW1_CS16, SW1_CS17, SW1_CS18}, + {0, SW2_CS16, SW2_CS17, SW2_CS18}, + {0, SW3_CS16, SW3_CS17, SW3_CS18}, + + {0, SW1_CS4, SW1_CS5, SW1_CS6}, + {0, SW2_CS4, SW2_CS5, SW2_CS6}, + {0, SW3_CS4, SW3_CS5, SW3_CS6}, + {0, SW4_CS4, SW4_CS5, SW4_CS6}, + {0, SW5_CS4, SW5_CS5, SW5_CS6}, + {0, SW6_CS4, SW6_CS5, SW6_CS6}, + {0, SW7_CS4, SW7_CS5, SW7_CS6}, + {0, SW8_CS4, SW8_CS5, SW8_CS6}, + {0, SW9_CS4, SW9_CS5, SW9_CS6}, + {0, SW10_CS4, SW10_CS5, SW10_CS6}, + {0, SW11_CS4, SW11_CS5, SW11_CS6}, + {0, SW4_CS16, SW4_CS17, SW4_CS18}, + {0, SW5_CS16, SW5_CS17, SW5_CS18}, + {0, SW6_CS16, SW6_CS17, SW6_CS18}, + + {0, SW1_CS7, SW1_CS8, SW1_CS9}, + {0, SW2_CS7, SW2_CS8, SW2_CS9}, + {0, SW3_CS7, SW3_CS8, SW3_CS9}, + {0, SW4_CS7, SW4_CS8, SW4_CS9}, + {0, SW5_CS7, SW5_CS8, SW5_CS9}, + {0, SW6_CS7, SW6_CS8, SW6_CS9}, + {0, SW7_CS7, SW7_CS8, SW7_CS9}, + {0, SW8_CS7, SW8_CS8, SW8_CS9}, + {0, SW9_CS7, SW9_CS8, SW9_CS9}, + {0, SW10_CS7, SW10_CS8, SW10_CS9}, + {0, SW11_CS7, SW11_CS8, SW11_CS9}, + {0, SW7_CS16, SW7_CS17, SW7_CS18}, + {0, SW8_CS16, SW8_CS17, SW8_CS18}, + + {0, SW1_CS10, SW1_CS11, SW1_CS12}, + {0, SW2_CS10, SW2_CS11, SW2_CS12}, + {0, SW3_CS10, SW3_CS11, SW3_CS12}, + {0, SW4_CS10, SW4_CS11, SW4_CS12}, + {0, SW5_CS10, SW5_CS11, SW5_CS12}, + {0, SW6_CS10, SW6_CS11, SW6_CS12}, + {0, SW7_CS10, SW7_CS11, SW7_CS12}, + {0, SW8_CS10, SW8_CS11, SW8_CS12}, + {0, SW9_CS10, SW9_CS11, SW9_CS12}, + {0, SW10_CS10, SW10_CS11, SW10_CS12}, + {0, SW11_CS10, SW11_CS11, SW11_CS12}, + {0, SW9_CS16, SW9_CS17, SW9_CS18}, + + {0, SW1_CS13, SW1_CS14, SW1_CS15}, + {0, SW2_CS13, SW2_CS14, SW2_CS15}, + {0, SW3_CS13, SW3_CS14, SW3_CS15}, + {0, SW4_CS13, SW4_CS14, SW4_CS15}, + {0, SW5_CS13, SW5_CS14, SW5_CS15}, + {0, SW5_CS13, SW5_CS14, SW5_CS15}, + {0, SW6_CS13, SW6_CS14, SW6_CS15}, + {0, SW7_CS13, SW7_CS14, SW7_CS15}, + {0, SW8_CS13, SW8_CS14, SW8_CS15}, + {0, SW9_CS13, SW9_CS14, SW9_CS15}, + {0, SW10_CS13, SW10_CS14, SW10_CS15} }; bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) { diff --git a/keyboards/skyloong/gk61/v1/v1.c b/keyboards/skyloong/gk61/v1/v1.c index cb362b53596..01e6b6c6ae6 100644 --- a/keyboards/skyloong/gk61/v1/v1.c +++ b/keyboards/skyloong/gk61/v1/v1.c @@ -24,78 +24,78 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, C_1, B_1, A_1}, - {0, C_2, B_2, A_2}, - {0, C_3, B_3, A_3}, - {0, C_4, B_4, A_4}, - {0, C_5, B_5, A_5}, - {0, C_6, B_6, A_6}, - {0, C_7, B_7, A_7}, - {0, C_8, B_8, A_8}, - {0, C_9, B_9, A_9}, - {0, C_10, B_10, A_10}, - {0, C_11, B_11, A_11}, - {0, C_12, B_12, A_12}, - {0, C_13, B_13, A_13}, - {0, C_14, B_14, A_14}, - - - {0, F_1, E_1, D_1}, - {0, F_2, E_2, D_2}, - {0, F_3, E_3, D_3}, - {0, F_4, E_4, D_4}, - {0, F_5, E_5, D_5}, - {0, F_6, E_6, D_6}, - {0, F_7, E_7, D_7}, - {0, F_8, E_8, D_8}, - {0, F_9, E_9, D_9}, - {0, F_10, E_10, D_10}, - {0, F_11, E_11, D_11}, - {0, F_12, E_12, D_12}, - {0, F_13, E_13, D_13}, - {0, F_14, E_14, D_14}, - - - {0, I_1, H_1, G_1}, - {0, I_2, H_2, G_2}, - {0, I_3, H_3, G_3}, - {0, I_4, H_4, G_4}, - {0, I_5, H_5, G_5}, - {0, I_6, H_6, G_6}, - {0, I_7, H_7, G_7}, - {0, I_8, H_8, G_8}, - {0, I_9, H_9, G_9}, - {0, I_10, H_10, G_10}, - {0, I_11, H_11, G_11}, - {0, I_12, H_12, G_12}, - {0, I_13, H_13, G_13}, - - - - {0, L_1, K_1, J_1}, - {0, L_2, K_2, J_2}, - {0, L_3, K_3, J_3}, - {0, L_4, K_4, J_4}, - {0, L_5, K_5, J_5}, - {0, L_6, K_6, J_6}, - {0, L_7, K_7, J_7}, - {0, L_8, K_8, J_8}, - {0, L_9, K_9, J_9}, - {0, L_10, K_10, J_10}, - {0, L_11, K_11, J_11}, - {0, L_13, K_13, J_13}, - - {0, L_15, K_15, J_15}, - {0, L_16, K_16, J_16}, - {0, I_15, H_15, G_15}, - {0, I_16, H_16, G_16}, - {0, F_15, E_15, D_15}, - {0, F_16, E_16, D_16}, - {0, C_15, B_15, A_15}, - {0, C_16, B_16, A_16}, - {0, I_14, H_14, G_14}, - {0, L_12, K_12, J_12}, - {0, L_14, K_14, J_14}, + {0, CB3_CA1, CB2_CA1, CB1_CA1}, + {0, CB3_CA2, CB2_CA2, CB1_CA2}, + {0, CB3_CA3, CB2_CA3, CB1_CA3}, + {0, CB3_CA4, CB2_CA4, CB1_CA4}, + {0, CB3_CA5, CB2_CA5, CB1_CA5}, + {0, CB3_CA6, CB2_CA6, CB1_CA6}, + {0, CB3_CA7, CB2_CA7, CB1_CA7}, + {0, CB3_CA8, CB2_CA8, CB1_CA8}, + {0, CB3_CA9, CB2_CA9, CB1_CA9}, + {0, CB3_CA10, CB2_CA10, CB1_CA10}, + {0, CB3_CA11, CB2_CA11, CB1_CA11}, + {0, CB3_CA12, CB2_CA12, CB1_CA12}, + {0, CB3_CA13, CB2_CA13, CB1_CA13}, + {0, CB3_CA14, CB2_CA14, CB1_CA14}, + + + {0, CB6_CA1, CB5_CA1, CB4_CA1}, + {0, CB6_CA2, CB5_CA2, CB4_CA2}, + {0, CB6_CA3, CB5_CA3, CB4_CA3}, + {0, CB6_CA4, CB5_CA4, CB4_CA4}, + {0, CB6_CA5, CB5_CA5, CB4_CA5}, + {0, CB6_CA6, CB5_CA6, CB4_CA6}, + {0, CB6_CA7, CB5_CA7, CB4_CA7}, + {0, CB6_CA8, CB5_CA8, CB4_CA8}, + {0, CB6_CA9, CB5_CA9, CB4_CA9}, + {0, CB6_CA10, CB5_CA10, CB4_CA10}, + {0, CB6_CA11, CB5_CA11, CB4_CA11}, + {0, CB6_CA12, CB5_CA12, CB4_CA12}, + {0, CB6_CA13, CB5_CA13, CB4_CA13}, + {0, CB6_CA14, CB5_CA14, CB4_CA14}, + + + {0, CB9_CA1, CB8_CA1, CB7_CA1}, + {0, CB9_CA2, CB8_CA2, CB7_CA2}, + {0, CB9_CA3, CB8_CA3, CB7_CA3}, + {0, CB9_CA4, CB8_CA4, CB7_CA4}, + {0, CB9_CA5, CB8_CA5, CB7_CA5}, + {0, CB9_CA6, CB8_CA6, CB7_CA6}, + {0, CB9_CA7, CB8_CA7, CB7_CA7}, + {0, CB9_CA8, CB8_CA8, CB7_CA8}, + {0, CB9_CA9, CB8_CA9, CB7_CA9}, + {0, CB9_CA10, CB8_CA10, CB7_CA10}, + {0, CB9_CA11, CB8_CA11, CB7_CA11}, + {0, CB9_CA12, CB8_CA12, CB7_CA12}, + {0, CB9_CA13, CB8_CA13, CB7_CA13}, + + + + {0, CB12_CA1, CB11_CA1, CB10_CA1}, + {0, CB12_CA2, CB11_CA2, CB10_CA2}, + {0, CB12_CA3, CB11_CA3, CB10_CA3}, + {0, CB12_CA4, CB11_CA4, CB10_CA4}, + {0, CB12_CA5, CB11_CA5, CB10_CA5}, + {0, CB12_CA6, CB11_CA6, CB10_CA6}, + {0, CB12_CA7, CB11_CA7, CB10_CA7}, + {0, CB12_CA8, CB11_CA8, CB10_CA8}, + {0, CB12_CA9, CB11_CA9, CB10_CA9}, + {0, CB12_CA10, CB11_CA10, CB10_CA10}, + {0, CB12_CA11, CB11_CA11, CB10_CA11}, + {0, CB12_CA13, CB11_CA13, CB10_CA13}, + + {0, CB12_CA15, CB11_CA15, CB10_CA15}, + {0, CB12_CA16, CB11_CA16, CB10_CA16}, + {0, CB9_CA15, CB8_CA15, CB7_CA15}, + {0, CB9_CA16, CB8_CA16, CB7_CA16}, + {0, CB6_CA15, CB5_CA15, CB4_CA15}, + {0, CB6_CA16, CB5_CA16, CB4_CA16}, + {0, CB3_CA15, CB2_CA15, CB1_CA15}, + {0, CB3_CA16, CB2_CA16, CB1_CA16}, + {0, CB9_CA14, CB8_CA14, CB7_CA14}, + {0, CB12_CA12, CB11_CA12, CB10_CA12}, + {0, CB12_CA14, CB11_CA14, CB10_CA14}, }; diff --git a/keyboards/spaceholdings/nebula68/nebula68.c b/keyboards/spaceholdings/nebula68/nebula68.c index af51c4805e1..db8a31b8319 100755 --- a/keyboards/spaceholdings/nebula68/nebula68.c +++ b/keyboards/spaceholdings/nebula68/nebula68.c @@ -29,134 +29,134 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, B_1, A_1, C_1}, //LA1 - {0, E_1, D_1, F_1}, //LA2 - {0, H_1, G_1, I_1}, //LA3 - {0, K_1, J_1, L_1}, //LA4 - {0, B_2, A_2, C_2}, //LA5 - {0, E_2, D_2, F_2}, //LA6 - {0, H_2, G_2, I_2}, //LA7 - {0, K_2, J_2, L_2}, //LA8 - {0, B_3, A_3, C_3}, //LA9 - {0, E_3, D_3, F_3}, //LA10 - {0, H_3, G_3, I_3}, //LA11 - {0, K_3, J_3, L_3}, //LA12 - {0, B_4, A_4, C_4}, //LA13 - {0, E_4, D_4, F_4}, //LA14 - {0, H_4, G_4, I_4}, //LA15 - {0, K_4, J_4, L_4}, //LA16 - {0, B_5, A_5, C_5}, //LA17 - {0, E_5, D_5, F_5}, //LA18 - {0, H_5, G_5, I_5}, //LA19 - {0, K_5, J_5, L_5}, //LA20 - {0, B_6, A_6, C_6}, //LA21 - {0, E_6, D_6, F_6}, //LA22 - {0, H_6, G_6, I_6}, //LA23 - {0, K_6, J_6, L_6}, //LA24 - {0, B_7, A_7, C_7}, //LA25 - {0, E_7, D_7, F_7}, //LA26 - {0, H_7, G_7, I_7}, //LA27 - {0, K_7, J_7, L_7}, //LA28 - {0, B_8, A_8, C_8}, //LA29 - {0, E_8, D_8, F_8}, //LA30 - {0, H_8, G_8, I_8}, //LA31 - {0, K_8, J_8, L_8}, //LA32 - {0, B_9, A_9, C_9}, //LA33 - {0, E_9, D_9, F_9}, //LA34 - {0, H_9, G_9, I_9}, //LA35 - {0, K_9, J_9, L_9}, //LA36 - {0, B_10, A_10, C_10}, //LA37 - {0, E_10, D_10, F_10}, //LA38 - {0, H_10, G_10, I_10}, //LA39 - {0, K_10, J_10, L_10}, //LA40 - {0, B_11, A_11, C_11}, //LA41 - {0, E_11, D_11, F_11}, //LA42 - {0, H_11, G_11, I_11}, //LA43 - {0, K_11, J_11, L_11}, //LA44 - {0, B_12, A_12, C_12}, //LA45 - {0, E_12, D_12, F_12}, //LA46 - {0, H_12, G_12, I_12}, //LA47 - {0, K_12, J_12, L_12}, //LA48 - {0, B_13, A_13, C_13}, //LA49 - {0, E_13, D_13, F_13}, //LA50 - {0, H_13, G_13, I_13}, //LA51 - {0, K_13, J_13, L_13}, //LA52 - {0, B_14, A_14, C_14}, //LA53 - {0, E_14, D_14, F_14}, //LA54 - {0, H_14, G_14, I_14}, //LA55 - {0, K_14, J_14, L_14}, //LA56 - {0, B_15, A_15, C_15}, //LA57 - {0, E_15, D_15, F_15}, //LA58 - {0, H_15, G_15, I_15}, //LA59 - {0, K_15, J_15, L_15}, //LA60 - {0, B_16, A_16, C_16}, //LA61 - {0, E_16, D_16, F_16}, //LA62 - {0, H_16, G_16, I_16}, //LA63 - {0, K_16, J_16, L_16}, //LA64 + {0, SW2_CS1, SW1_CS1, SW3_CS1}, //LA1 + {0, SW5_CS1, SW4_CS1, SW6_CS1}, //LA2 + {0, SW8_CS1, SW7_CS1, SW9_CS1}, //LA3 + {0, SW11_CS1, SW10_CS1, SW12_CS1}, //LA4 + {0, SW2_CS2, SW1_CS2, SW3_CS2}, //LA5 + {0, SW5_CS2, SW4_CS2, SW6_CS2}, //LA6 + {0, SW8_CS2, SW7_CS2, SW9_CS2}, //LA7 + {0, SW11_CS2, SW10_CS2, SW12_CS2}, //LA8 + {0, SW2_CS3, SW1_CS3, SW3_CS3}, //LA9 + {0, SW5_CS3, SW4_CS3, SW6_CS3}, //LA10 + {0, SW8_CS3, SW7_CS3, SW9_CS3}, //LA11 + {0, SW11_CS3, SW10_CS3, SW12_CS3}, //LA12 + {0, SW2_CS4, SW1_CS4, SW3_CS4}, //LA13 + {0, SW5_CS4, SW4_CS4, SW6_CS4}, //LA14 + {0, SW8_CS4, SW7_CS4, SW9_CS4}, //LA15 + {0, SW11_CS4, SW10_CS4, SW12_CS4}, //LA16 + {0, SW2_CS5, SW1_CS5, SW3_CS5}, //LA17 + {0, SW5_CS5, SW4_CS5, SW6_CS5}, //LA18 + {0, SW8_CS5, SW7_CS5, SW9_CS5}, //LA19 + {0, SW11_CS5, SW10_CS5, SW12_CS5}, //LA20 + {0, SW2_CS6, SW1_CS6, SW3_CS6}, //LA21 + {0, SW5_CS6, SW4_CS6, SW6_CS6}, //LA22 + {0, SW8_CS6, SW7_CS6, SW9_CS6}, //LA23 + {0, SW11_CS6, SW10_CS6, SW12_CS6}, //LA24 + {0, SW2_CS7, SW1_CS7, SW3_CS7}, //LA25 + {0, SW5_CS7, SW4_CS7, SW6_CS7}, //LA26 + {0, SW8_CS7, SW7_CS7, SW9_CS7}, //LA27 + {0, SW11_CS7, SW10_CS7, SW12_CS7}, //LA28 + {0, SW2_CS8, SW1_CS8, SW3_CS8}, //LA29 + {0, SW5_CS8, SW4_CS8, SW6_CS8}, //LA30 + {0, SW8_CS8, SW7_CS8, SW9_CS8}, //LA31 + {0, SW11_CS8, SW10_CS8, SW12_CS8}, //LA32 + {0, SW2_CS9, SW1_CS9, SW3_CS9}, //LA33 + {0, SW5_CS9, SW4_CS9, SW6_CS9}, //LA34 + {0, SW8_CS9, SW7_CS9, SW9_CS9}, //LA35 + {0, SW11_CS9, SW10_CS9, SW12_CS9}, //LA36 + {0, SW2_CS10, SW1_CS10, SW3_CS10}, //LA37 + {0, SW5_CS10, SW4_CS10, SW6_CS10}, //LA38 + {0, SW8_CS10, SW7_CS10, SW9_CS10}, //LA39 + {0, SW11_CS10, SW10_CS10, SW12_CS10}, //LA40 + {0, SW2_CS11, SW1_CS11, SW3_CS11}, //LA41 + {0, SW5_CS11, SW4_CS11, SW6_CS11}, //LA42 + {0, SW8_CS11, SW7_CS11, SW9_CS11}, //LA43 + {0, SW11_CS11, SW10_CS11, SW12_CS11}, //LA44 + {0, SW2_CS12, SW1_CS12, SW3_CS12}, //LA45 + {0, SW5_CS12, SW4_CS12, SW6_CS12}, //LA46 + {0, SW8_CS12, SW7_CS12, SW9_CS12}, //LA47 + {0, SW11_CS12, SW10_CS12, SW12_CS12}, //LA48 + {0, SW2_CS13, SW1_CS13, SW3_CS13}, //LA49 + {0, SW5_CS13, SW4_CS13, SW6_CS13}, //LA50 + {0, SW8_CS13, SW7_CS13, SW9_CS13}, //LA51 + {0, SW11_CS13, SW10_CS13, SW12_CS13}, //LA52 + {0, SW2_CS14, SW1_CS14, SW3_CS14}, //LA53 + {0, SW5_CS14, SW4_CS14, SW6_CS14}, //LA54 + {0, SW8_CS14, SW7_CS14, SW9_CS14}, //LA55 + {0, SW11_CS14, SW10_CS14, SW12_CS14}, //LA56 + {0, SW2_CS15, SW1_CS15, SW3_CS15}, //LA57 + {0, SW5_CS15, SW4_CS15, SW6_CS15}, //LA58 + {0, SW8_CS15, SW7_CS15, SW9_CS15}, //LA59 + {0, SW11_CS15, SW10_CS15, SW12_CS15}, //LA60 + {0, SW2_CS16, SW1_CS16, SW3_CS16}, //LA61 + {0, SW5_CS16, SW4_CS16, SW6_CS16}, //LA62 + {0, SW8_CS16, SW7_CS16, SW9_CS16}, //LA63 + {0, SW11_CS16, SW10_CS16, SW12_CS16}, //LA64 - {1, B_1, A_1, C_1}, //LB1 - {1, E_1, D_1, F_1}, //LB2 - {1, H_1, G_1, I_1}, //LB3 - {1, K_1, J_1, L_1}, //LB4 - {1, B_2, A_2, C_2}, //LB5 - {1, E_2, D_2, F_2}, //LB6 - {1, H_2, G_2, I_2}, //LB7 - {1, K_2, J_2, L_2}, //LB8 - {1, B_3, A_3, C_3}, //LB9 - {1, E_3, D_3, F_3}, //LB10 - {1, H_3, G_3, I_3}, //LB11 - {1, K_3, J_3, L_3}, //LB12 - {1, B_4, A_4, C_4}, //LB13 - {1, E_4, D_4, F_4}, //LB14 - {1, H_4, G_4, I_4}, //LB15 - {1, K_4, J_4, L_4}, //LB16 - {1, B_5, A_5, C_5}, //LB17 - {1, E_5, D_5, F_5}, //LB18 - {1, H_5, G_5, I_5}, //LB19 - {1, K_5, J_5, L_5}, //LB20 - {1, B_6, A_6, C_6}, //LB21 - {1, E_6, D_6, F_6}, //LB22 - {1, H_6, G_6, I_6}, //LB23 - {1, K_6, J_6, L_6}, //LB24 - {1, B_7, A_7, C_7}, //LB25 - {1, E_7, D_7, F_7}, //LB26 - {1, H_7, G_7, I_7}, //LB27 - {1, K_7, J_7, L_7}, //LB28 - {1, B_8, A_8, C_8}, //LB29 - {1, E_8, D_8, F_8}, //LB30 - {1, H_8, G_8, I_8}, //LB31 - {1, K_8, J_8, L_8}, //LB32 - {1, B_9, A_9, C_9}, //LB33 - {1, E_9, D_9, F_9}, //LB34 - {1, H_9, G_9, I_9}, //LB35 - {1, K_9, J_9, L_9}, //LB36 - {1, B_10, A_10, C_10}, //LB37 - {1, E_10, D_10, F_10}, //LB38 - {1, H_10, G_10, I_10}, //LB39 - {1, K_10, J_10, L_10}, //LB40 - {1, B_11, A_11, C_11}, //LB41 - {1, E_11, D_11, F_11}, //LB42 - {1, H_11, G_11, I_11}, //LB43 - {1, K_11, J_11, L_11}, //LB44 - {1, B_12, A_12, C_12}, //LB45 - {1, E_12, D_12, F_12}, //LB46 - {1, H_12, G_12, I_12}, //LB47 - {1, K_12, J_12, L_12}, //LB48 - {1, B_13, A_13, C_13}, //LB49 - {1, E_13, D_13, F_13}, //LB50 - {1, H_13, G_13, I_13}, //LB51 - {1, K_13, J_13, L_13}, //LB52 - {1, B_14, A_14, C_14}, //LB53 - {1, E_14, D_14, F_14}, //LB54 - {1, H_14, G_14, I_14}, //LB55 - {1, K_14, J_14, L_14}, //LB56 - {1, B_15, A_15, C_15}, //LB57 - {1, E_15, D_15, F_15}, //LB58 - {1, H_15, G_15, I_15}, //LB59 - {1, K_15, J_15, L_15}, //LB60 - {1, B_16, A_16, C_16}, //LB61 - {1, E_16, D_16, F_16}, //LB62 - {1, H_16, G_16, I_16}, //LB63 - {1, K_16, J_16, L_16}, //LB64 + {1, SW2_CS1, SW1_CS1, SW3_CS1}, //LB1 + {1, SW5_CS1, SW4_CS1, SW6_CS1}, //LB2 + {1, SW8_CS1, SW7_CS1, SW9_CS1}, //LB3 + {1, SW11_CS1, SW10_CS1, SW12_CS1}, //LB4 + {1, SW2_CS2, SW1_CS2, SW3_CS2}, //LB5 + {1, SW5_CS2, SW4_CS2, SW6_CS2}, //LB6 + {1, SW8_CS2, SW7_CS2, SW9_CS2}, //LB7 + {1, SW11_CS2, SW10_CS2, SW12_CS2}, //LB8 + {1, SW2_CS3, SW1_CS3, SW3_CS3}, //LB9 + {1, SW5_CS3, SW4_CS3, SW6_CS3}, //LB10 + {1, SW8_CS3, SW7_CS3, SW9_CS3}, //LB11 + {1, SW11_CS3, SW10_CS3, SW12_CS3}, //LB12 + {1, SW2_CS4, SW1_CS4, SW3_CS4}, //LB13 + {1, SW5_CS4, SW4_CS4, SW6_CS4}, //LB14 + {1, SW8_CS4, SW7_CS4, SW9_CS4}, //LB15 + {1, SW11_CS4, SW10_CS4, SW12_CS4}, //LB16 + {1, SW2_CS5, SW1_CS5, SW3_CS5}, //LB17 + {1, SW5_CS5, SW4_CS5, SW6_CS5}, //LB18 + {1, SW8_CS5, SW7_CS5, SW9_CS5}, //LB19 + {1, SW11_CS5, SW10_CS5, SW12_CS5}, //LB20 + {1, SW2_CS6, SW1_CS6, SW3_CS6}, //LB21 + {1, SW5_CS6, SW4_CS6, SW6_CS6}, //LB22 + {1, SW8_CS6, SW7_CS6, SW9_CS6}, //LB23 + {1, SW11_CS6, SW10_CS6, SW12_CS6}, //LB24 + {1, SW2_CS7, SW1_CS7, SW3_CS7}, //LB25 + {1, SW5_CS7, SW4_CS7, SW6_CS7}, //LB26 + {1, SW8_CS7, SW7_CS7, SW9_CS7}, //LB27 + {1, SW11_CS7, SW10_CS7, SW12_CS7}, //LB28 + {1, SW2_CS8, SW1_CS8, SW3_CS8}, //LB29 + {1, SW5_CS8, SW4_CS8, SW6_CS8}, //LB30 + {1, SW8_CS8, SW7_CS8, SW9_CS8}, //LB31 + {1, SW11_CS8, SW10_CS8, SW12_CS8}, //LB32 + {1, SW2_CS9, SW1_CS9, SW3_CS9}, //LB33 + {1, SW5_CS9, SW4_CS9, SW6_CS9}, //LB34 + {1, SW8_CS9, SW7_CS9, SW9_CS9}, //LB35 + {1, SW11_CS9, SW10_CS9, SW12_CS9}, //LB36 + {1, SW2_CS10, SW1_CS10, SW3_CS10}, //LB37 + {1, SW5_CS10, SW4_CS10, SW6_CS10}, //LB38 + {1, SW8_CS10, SW7_CS10, SW9_CS10}, //LB39 + {1, SW11_CS10, SW10_CS10, SW12_CS10}, //LB40 + {1, SW2_CS11, SW1_CS11, SW3_CS11}, //LB41 + {1, SW5_CS11, SW4_CS11, SW6_CS11}, //LB42 + {1, SW8_CS11, SW7_CS11, SW9_CS11}, //LB43 + {1, SW11_CS11, SW10_CS11, SW12_CS11}, //LB44 + {1, SW2_CS12, SW1_CS12, SW3_CS12}, //LB45 + {1, SW5_CS12, SW4_CS12, SW6_CS12}, //LB46 + {1, SW8_CS12, SW7_CS12, SW9_CS12}, //LB47 + {1, SW11_CS12, SW10_CS12, SW12_CS12}, //LB48 + {1, SW2_CS13, SW1_CS13, SW3_CS13}, //LB49 + {1, SW5_CS13, SW4_CS13, SW6_CS13}, //LB50 + {1, SW8_CS13, SW7_CS13, SW9_CS13}, //LB51 + {1, SW11_CS13, SW10_CS13, SW12_CS13}, //LB52 + {1, SW2_CS14, SW1_CS14, SW3_CS14}, //LB53 + {1, SW5_CS14, SW4_CS14, SW6_CS14}, //LB54 + {1, SW8_CS14, SW7_CS14, SW9_CS14}, //LB55 + {1, SW11_CS14, SW10_CS14, SW12_CS14}, //LB56 + {1, SW2_CS15, SW1_CS15, SW3_CS15}, //LB57 + {1, SW5_CS15, SW4_CS15, SW6_CS15}, //LB58 + {1, SW8_CS15, SW7_CS15, SW9_CS15}, //LB59 + {1, SW11_CS15, SW10_CS15, SW12_CS15}, //LB60 + {1, SW2_CS16, SW1_CS16, SW3_CS16}, //LB61 + {1, SW5_CS16, SW4_CS16, SW6_CS16}, //LB62 + {1, SW8_CS16, SW7_CS16, SW9_CS16}, //LB63 + {1, SW11_CS16, SW10_CS16, SW12_CS16}, //LB64 }; #endif diff --git a/keyboards/teleport/native/native.c b/keyboards/teleport/native/native.c index 5d8ccc64752..b53979e27cc 100644 --- a/keyboards/teleport/native/native.c +++ b/keyboards/teleport/native/native.c @@ -24,95 +24,95 @@ const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, L_1, K_1, J_1}, // Row 1 - {0, L_2, K_2, J_2}, - {0, L_3, K_3, J_3}, - {0, L_4, K_4, J_4}, - {0, L_5, K_5, J_5}, - {0, L_6, K_6, J_6}, - {0, L_7, K_7, J_7}, - {0, L_8, K_8, J_8}, - {0, L_9, K_9, J_9}, - {0, L_10, K_10, J_10}, - {0, L_11, K_11, J_11}, - {0, L_12, K_12, J_12}, - {0, L_13, K_13, J_13}, - {0, L_14, K_14, J_14}, - {0, L_15, K_15, J_15}, - {0, L_16, K_16, J_16}, + {0, SW12_CS1, SW11_CS1, SW10_CS1}, // Row 1 + {0, SW12_CS2, SW11_CS2, SW10_CS2}, + {0, SW12_CS3, SW11_CS3, SW10_CS3}, + {0, SW12_CS4, SW11_CS4, SW10_CS4}, + {0, SW12_CS5, SW11_CS5, SW10_CS5}, + {0, SW12_CS6, SW11_CS6, SW10_CS6}, + {0, SW12_CS7, SW11_CS7, SW10_CS7}, + {0, SW12_CS8, SW11_CS8, SW10_CS8}, + {0, SW12_CS9, SW11_CS9, SW10_CS9}, + {0, SW12_CS10, SW11_CS10, SW10_CS10}, + {0, SW12_CS11, SW11_CS11, SW10_CS11}, + {0, SW12_CS12, SW11_CS12, SW10_CS12}, + {0, SW12_CS13, SW11_CS13, SW10_CS13}, + {0, SW12_CS14, SW11_CS14, SW10_CS14}, + {0, SW12_CS15, SW11_CS15, SW10_CS15}, + {0, SW12_CS16, SW11_CS16, SW10_CS16}, - {0, I_1, H_1, G_1}, // Row 2 - {0, I_2, H_2, G_2}, - {0, I_3, H_3, G_3}, - {0, I_4, H_4, G_4}, - {0, I_5, H_5, G_5}, - {0, I_6, H_6, G_6}, - {0, I_7, H_7, G_7}, - {0, I_8, H_8, G_8}, - {0, I_9, H_9, G_9}, - {0, I_10, H_10, G_10}, - {0, I_11, H_11, G_11}, - {0, I_12, H_12, G_12}, - {0, I_13, H_13, G_13}, - {0, I_15, H_15, G_15}, - {0, I_16, H_16, G_16}, + {0, SW9_CS1, SW8_CS1, SW7_CS1}, // Row 2 + {0, SW9_CS2, SW8_CS2, SW7_CS2}, + {0, SW9_CS3, SW8_CS3, SW7_CS3}, + {0, SW9_CS4, SW8_CS4, SW7_CS4}, + {0, SW9_CS5, SW8_CS5, SW7_CS5}, + {0, SW9_CS6, SW8_CS6, SW7_CS6}, + {0, SW9_CS7, SW8_CS7, SW7_CS7}, + {0, SW9_CS8, SW8_CS8, SW7_CS8}, + {0, SW9_CS9, SW8_CS9, SW7_CS9}, + {0, SW9_CS10, SW8_CS10, SW7_CS10}, + {0, SW9_CS11, SW8_CS11, SW7_CS11}, + {0, SW9_CS12, SW8_CS12, SW7_CS12}, + {0, SW9_CS13, SW8_CS13, SW7_CS13}, + {0, SW9_CS15, SW8_CS15, SW7_CS15}, + {0, SW9_CS16, SW8_CS16, SW7_CS16}, - {0, F_1, E_1, D_1}, // Row 3 - {0, F_3, E_3, D_3}, - {0, F_4, E_4, D_4}, - {0, F_5, E_5, D_5}, - {0, F_6, E_6, D_6}, - {0, F_7, E_7, D_7}, - {0, F_8, E_8, D_8}, - {0, F_9, E_9, D_9}, - {0, F_10, E_10, D_10}, - {0, F_11, E_11, D_11}, - {0, F_12, E_12, D_12}, - {0, F_13, E_13, D_13}, - {0, F_14, E_14, D_14}, - {0, F_15, E_15, D_15}, - {0, F_16, E_16, D_16}, + {0, SW6_CS1, SW5_CS1, SW4_CS1}, // Row 3 + {0, SW6_CS3, SW5_CS3, SW4_CS3}, + {0, SW6_CS4, SW5_CS4, SW4_CS4}, + {0, SW6_CS5, SW5_CS5, SW4_CS5}, + {0, SW6_CS6, SW5_CS6, SW4_CS6}, + {0, SW6_CS7, SW5_CS7, SW4_CS7}, + {0, SW6_CS8, SW5_CS8, SW4_CS8}, + {0, SW6_CS9, SW5_CS9, SW4_CS9}, + {0, SW6_CS10, SW5_CS10, SW4_CS10}, + {0, SW6_CS11, SW5_CS11, SW4_CS11}, + {0, SW6_CS12, SW5_CS12, SW4_CS12}, + {0, SW6_CS13, SW5_CS13, SW4_CS13}, + {0, SW6_CS14, SW5_CS14, SW4_CS14}, + {0, SW6_CS15, SW5_CS15, SW4_CS15}, + {0, SW6_CS16, SW5_CS16, SW4_CS16}, - {1, L_1, K_1, J_1}, // Row 4 - {1, L_3, K_3, J_3}, - {1, L_4, K_4, J_4}, - {1, L_5, K_5, J_5}, - {1, L_6, K_6, J_6}, - {1, L_7, K_7, J_7}, - {1, L_8, K_8, J_8}, - {1, L_9, K_9, J_9}, - {1, L_10, K_10, J_10}, - {1, L_11, K_11, J_11}, - {1, L_12, K_12, J_12}, - {1, L_13, K_13, J_13}, - {1, L_14, K_14, J_14}, - {1, L_16, K_16, J_16}, + {1, SW12_CS1, SW11_CS1, SW10_CS1}, // Row 4 + {1, SW12_CS3, SW11_CS3, SW10_CS3}, + {1, SW12_CS4, SW11_CS4, SW10_CS4}, + {1, SW12_CS5, SW11_CS5, SW10_CS5}, + {1, SW12_CS6, SW11_CS6, SW10_CS6}, + {1, SW12_CS7, SW11_CS7, SW10_CS7}, + {1, SW12_CS8, SW11_CS8, SW10_CS8}, + {1, SW12_CS9, SW11_CS9, SW10_CS9}, + {1, SW12_CS10, SW11_CS10, SW10_CS10}, + {1, SW12_CS11, SW11_CS11, SW10_CS11}, + {1, SW12_CS12, SW11_CS12, SW10_CS12}, + {1, SW12_CS13, SW11_CS13, SW10_CS13}, + {1, SW12_CS14, SW11_CS14, SW10_CS14}, + {1, SW12_CS16, SW11_CS16, SW10_CS16}, - {1, I_1, H_1, G_1}, // Row 5 - {1, I_2, H_2, G_2}, - {1, I_3, H_3, G_3}, - {1, I_4, H_4, G_4}, - {1, I_5, H_5, G_5}, - {1, I_6, H_6, G_6}, - {1, I_7, H_7, G_7}, - {1, I_8, H_8, G_8}, - {1, I_9, H_9, G_9}, - {1, I_10, H_10, G_10}, - {1, I_11, H_11, G_11}, - {1, I_12, H_12, G_12}, - {1, I_14, H_14, G_14}, - {1, I_15, H_15, G_15}, - {1, I_16, H_16, G_16}, + {1, SW9_CS1, SW8_CS1, SW7_CS1}, // Row 5 + {1, SW9_CS2, SW8_CS2, SW7_CS2}, + {1, SW9_CS3, SW8_CS3, SW7_CS3}, + {1, SW9_CS4, SW8_CS4, SW7_CS4}, + {1, SW9_CS5, SW8_CS5, SW7_CS5}, + {1, SW9_CS6, SW8_CS6, SW7_CS6}, + {1, SW9_CS7, SW8_CS7, SW7_CS7}, + {1, SW9_CS8, SW8_CS8, SW7_CS8}, + {1, SW9_CS9, SW8_CS9, SW7_CS9}, + {1, SW9_CS10, SW8_CS10, SW7_CS10}, + {1, SW9_CS11, SW8_CS11, SW7_CS11}, + {1, SW9_CS12, SW8_CS12, SW7_CS12}, + {1, SW9_CS14, SW8_CS14, SW7_CS14}, + {1, SW9_CS15, SW8_CS15, SW7_CS15}, + {1, SW9_CS16, SW8_CS16, SW7_CS16}, - {1, F_1, E_1, D_1}, // Row 6 - {1, F_2, E_2, D_2}, - {1, F_3, E_3, D_3}, - {1, F_7, E_7, D_7}, - {1, F_11, E_11, D_11}, - {1, F_12, E_12, D_12}, - {1, F_13, E_13, D_13}, - {1, F_14, E_14, D_14}, - {1, F_15, E_15, D_15}, - {1, F_16, E_16, D_16} + {1, SW6_CS1, SW5_CS1, SW4_CS1}, // Row 6 + {1, SW6_CS2, SW5_CS2, SW4_CS2}, + {1, SW6_CS3, SW5_CS3, SW4_CS3}, + {1, SW6_CS7, SW5_CS7, SW4_CS7}, + {1, SW6_CS11, SW5_CS11, SW4_CS11}, + {1, SW6_CS12, SW5_CS12, SW4_CS12}, + {1, SW6_CS13, SW5_CS13, SW4_CS13}, + {1, SW6_CS14, SW5_CS14, SW4_CS14}, + {1, SW6_CS15, SW5_CS15, SW4_CS15}, + {1, SW6_CS16, SW5_CS16, SW4_CS16} }; #endif \ No newline at end of file diff --git a/keyboards/tkc/portico68v2/portico68v2.c b/keyboards/tkc/portico68v2/portico68v2.c index 5c5f65f10d0..0f3c557b2ca 100644 --- a/keyboards/tkc/portico68v2/portico68v2.c +++ b/keyboards/tkc/portico68v2/portico68v2.c @@ -19,89 +19,89 @@ along with this program. If not, see . #ifdef RGB_MATRIX_ENABLE const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB1 */ - {0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB2 */ - {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB3 */ - {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB4 */ - {0, CS18_SW5, CS17_SW5, CS16_SW5}, /* RGB5 */ - {0, CS18_SW6, CS17_SW6, CS16_SW6}, /* RGB6 */ - {0, CS18_SW7, CS17_SW7, CS16_SW7}, /* RGB7 */ - {0, CS18_SW8, CS17_SW8, CS16_SW8}, /* RGB8 */ - {0, CS18_SW9, CS17_SW9, CS16_SW9}, /* RGB9 */ - {0, CS21_SW1, CS20_SW1, CS19_SW1}, /* RGB10 */ - {0, CS21_SW2, CS20_SW2, CS19_SW2}, /* RGB11 */ - {0, CS21_SW3, CS20_SW3, CS19_SW3}, /* RGB12 */ - {0, CS21_SW4, CS20_SW4, CS19_SW4}, /* RGB13 */ - {0, CS21_SW5, CS20_SW5, CS19_SW5}, /* RGB14 */ - {0, CS21_SW6, CS20_SW6, CS19_SW6}, /* RGB15 */ - {0, CS15_SW1, CS14_SW1, CS13_SW1}, /* RGB16 */ - {0, CS15_SW2, CS14_SW2, CS13_SW2}, /* RGB17 */ - {0, CS15_SW3, CS14_SW3, CS13_SW3}, /* RGB18 */ - {0, CS15_SW4, CS14_SW4, CS13_SW4}, /* RGB19 */ - {0, CS15_SW5, CS14_SW5, CS13_SW5}, /* RGB20 */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB21 */ - {0, CS15_SW7, CS14_SW7, CS13_SW7}, /* RGB22 */ - {0, CS15_SW8, CS14_SW8, CS13_SW8}, /* RGB23 */ - {0, CS15_SW9, CS14_SW9, CS13_SW9}, /* RGB24 */ - {0, CS24_SW1, CS23_SW1, CS22_SW1}, /* RGB25 */ - {0, CS24_SW2, CS23_SW2, CS22_SW2}, /* RGB26 */ - {0, CS24_SW3, CS23_SW3, CS22_SW3}, /* RGB27 */ - {0, CS24_SW4, CS23_SW4, CS22_SW4}, /* RGB28 */ - {0, CS24_SW5, CS23_SW5, CS22_SW5}, /* RGB29 */ - {0, CS24_SW6, CS23_SW6, CS22_SW6}, /* RGB30 */ - {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB31 */ - {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB32 */ - {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB33 */ - {0, CS12_SW4, CS11_SW4, CS10_SW4}, /* RGB34 */ - {0, CS12_SW5, CS11_SW5, CS10_SW5}, /* RGB35 */ - {0, CS12_SW6, CS11_SW6, CS10_SW6}, /* RGB36 */ - {0, CS12_SW7, CS11_SW7, CS10_SW7}, /* RGB37 */ - {0, CS12_SW8, CS11_SW8, CS10_SW8}, /* RGB38 */ - {0, CS12_SW9, CS11_SW9, CS10_SW9}, /* RGB39 */ - {0, CS27_SW1, CS26_SW1, CS25_SW1}, /* RGB40 */ - {0, CS27_SW2, CS26_SW2, CS25_SW2}, /* RGB41 */ - {0, CS27_SW3, CS26_SW3, CS25_SW3}, /* RGB42 */ - {0, CS27_SW4, CS26_SW4, CS25_SW4}, /* RGB43 */ - {0, CS27_SW6, CS26_SW6, CS25_SW6}, /* RGB44 */ - {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB45 */ - {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB46 */ - {0, CS9_SW4, CS8_SW4, CS7_SW4}, /* RGB47 */ - {0, CS9_SW5, CS8_SW5, CS7_SW5}, /* RGB48 */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB49 */ - {0, CS9_SW7, CS8_SW7, CS7_SW7}, /* RGB50 */ - {0, CS9_SW8, CS8_SW8, CS7_SW8}, /* RGB51 */ - {0, CS9_SW9, CS8_SW9, CS7_SW9}, /* RGB52 */ - {0, CS30_SW1, CS29_SW1, CS28_SW1}, /* RGB53 */ - {0, CS30_SW2, CS29_SW2, CS28_SW2}, /* RGB54 */ - {0, CS30_SW3, CS29_SW3, CS28_SW3}, /* RGB55 */ - {0, CS30_SW4, CS29_SW4, CS28_SW4}, /* RGB56 */ - {0, CS30_SW5, CS29_SW5, CS28_SW5}, /* RGB57 */ - {0, CS30_SW6, CS29_SW6, CS28_SW6}, /* RGB58 */ - {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB59 */ - {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB60 */ - {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB61 */ - {0, CS6_SW7, CS5_SW7, CS4_SW7}, /* RGB62 */ - {0, CS33_SW2, CS32_SW2, CS31_SW2}, /* RGB63 */ - {0, CS33_SW3, CS32_SW3, CS31_SW3}, /* RGB64 */ - {0, CS33_SW4, CS32_SW4, CS31_SW4}, /* RGB65 */ - {0, CS33_SW5, CS32_SW5, CS31_SW5}, /* RGB66 */ - {0, CS33_SW6, CS32_SW6, CS31_SW6}, /* RGB67 */ + {0, SW1_CS18, SW1_CS17, SW1_CS16}, /* RGB1 */ + {0, SW2_CS18, SW2_CS17, SW2_CS16}, /* RGB2 */ + {0, SW3_CS18, SW3_CS17, SW3_CS16}, /* RGB3 */ + {0, SW4_CS18, SW4_CS17, SW4_CS16}, /* RGB4 */ + {0, SW5_CS18, SW5_CS17, SW5_CS16}, /* RGB5 */ + {0, SW6_CS18, SW6_CS17, SW6_CS16}, /* RGB6 */ + {0, SW7_CS18, SW7_CS17, SW7_CS16}, /* RGB7 */ + {0, SW8_CS18, SW8_CS17, SW8_CS16}, /* RGB8 */ + {0, SW9_CS18, SW9_CS17, SW9_CS16}, /* RGB9 */ + {0, SW1_CS21, SW1_CS20, SW1_CS19}, /* RGB10 */ + {0, SW2_CS21, SW2_CS20, SW2_CS19}, /* RGB11 */ + {0, SW3_CS21, SW3_CS20, SW3_CS19}, /* RGB12 */ + {0, SW4_CS21, SW4_CS20, SW4_CS19}, /* RGB13 */ + {0, SW5_CS21, SW5_CS20, SW5_CS19}, /* RGB14 */ + {0, SW6_CS21, SW6_CS20, SW6_CS19}, /* RGB15 */ + {0, SW1_CS15, SW1_CS14, SW1_CS13}, /* RGB16 */ + {0, SW2_CS15, SW2_CS14, SW2_CS13}, /* RGB17 */ + {0, SW3_CS15, SW3_CS14, SW3_CS13}, /* RGB18 */ + {0, SW4_CS15, SW4_CS14, SW4_CS13}, /* RGB19 */ + {0, SW5_CS15, SW5_CS14, SW5_CS13}, /* RGB20 */ + {0, SW6_CS15, SW6_CS14, SW6_CS13}, /* RGB21 */ + {0, SW7_CS15, SW7_CS14, SW7_CS13}, /* RGB22 */ + {0, SW8_CS15, SW8_CS14, SW8_CS13}, /* RGB23 */ + {0, SW9_CS15, SW9_CS14, SW9_CS13}, /* RGB24 */ + {0, SW1_CS24, SW1_CS23, SW1_CS22}, /* RGB25 */ + {0, SW2_CS24, SW2_CS23, SW2_CS22}, /* RGB26 */ + {0, SW3_CS24, SW3_CS23, SW3_CS22}, /* RGB27 */ + {0, SW4_CS24, SW4_CS23, SW4_CS22}, /* RGB28 */ + {0, SW5_CS24, SW5_CS23, SW5_CS22}, /* RGB29 */ + {0, SW6_CS24, SW6_CS23, SW6_CS22}, /* RGB30 */ + {0, SW1_CS12, SW1_CS11, SW1_CS10}, /* RGB31 */ + {0, SW2_CS12, SW2_CS11, SW2_CS10}, /* RGB32 */ + {0, SW3_CS12, SW3_CS11, SW3_CS10}, /* RGB33 */ + {0, SW4_CS12, SW4_CS11, SW4_CS10}, /* RGB34 */ + {0, SW5_CS12, SW5_CS11, SW5_CS10}, /* RGB35 */ + {0, SW6_CS12, SW6_CS11, SW6_CS10}, /* RGB36 */ + {0, SW7_CS12, SW7_CS11, SW7_CS10}, /* RGB37 */ + {0, SW8_CS12, SW8_CS11, SW8_CS10}, /* RGB38 */ + {0, SW9_CS12, SW9_CS11, SW9_CS10}, /* RGB39 */ + {0, SW1_CS27, SW1_CS26, SW1_CS25}, /* RGB40 */ + {0, SW2_CS27, SW2_CS26, SW2_CS25}, /* RGB41 */ + {0, SW3_CS27, SW3_CS26, SW3_CS25}, /* RGB42 */ + {0, SW4_CS27, SW4_CS26, SW4_CS25}, /* RGB43 */ + {0, SW6_CS27, SW6_CS26, SW6_CS25}, /* RGB44 */ + {0, SW1_CS9, SW1_CS8, SW1_CS7}, /* RGB45 */ + {0, SW3_CS9, SW3_CS8, SW3_CS7}, /* RGB46 */ + {0, SW4_CS9, SW4_CS8, SW4_CS7}, /* RGB47 */ + {0, SW5_CS9, SW5_CS8, SW5_CS7}, /* RGB48 */ + {0, SW6_CS9, SW6_CS8, SW6_CS7}, /* RGB49 */ + {0, SW7_CS9, SW7_CS8, SW7_CS7}, /* RGB50 */ + {0, SW8_CS9, SW8_CS8, SW8_CS7}, /* RGB51 */ + {0, SW9_CS9, SW9_CS8, SW9_CS7}, /* RGB52 */ + {0, SW1_CS30, SW1_CS29, SW1_CS28}, /* RGB53 */ + {0, SW2_CS30, SW2_CS29, SW2_CS28}, /* RGB54 */ + {0, SW3_CS30, SW3_CS29, SW3_CS28}, /* RGB55 */ + {0, SW4_CS30, SW4_CS29, SW4_CS28}, /* RGB56 */ + {0, SW5_CS30, SW5_CS29, SW5_CS28}, /* RGB57 */ + {0, SW6_CS30, SW6_CS29, SW6_CS28}, /* RGB58 */ + {0, SW1_CS6, SW1_CS5, SW1_CS4}, /* RGB59 */ + {0, SW2_CS6, SW2_CS5, SW2_CS4}, /* RGB60 */ + {0, SW3_CS6, SW3_CS5, SW3_CS4}, /* RGB61 */ + {0, SW7_CS6, SW7_CS5, SW7_CS4}, /* RGB62 */ + {0, SW2_CS33, SW2_CS32, SW2_CS31}, /* RGB63 */ + {0, SW3_CS33, SW3_CS32, SW3_CS31}, /* RGB64 */ + {0, SW4_CS33, SW4_CS32, SW4_CS31}, /* RGB65 */ + {0, SW5_CS33, SW5_CS32, SW5_CS31}, /* RGB66 */ + {0, SW6_CS33, SW6_CS32, SW6_CS31}, /* RGB67 */ - {0,CS36_SW1,CS35_SW1,CS34_SW1}, /* RGB68 */ - {0,CS36_SW2,CS35_SW2,CS34_SW2}, /* RGB69 */ - {0,CS36_SW3,CS35_SW3,CS34_SW3}, /* RGB70 */ - {0,CS36_SW4,CS35_SW4,CS34_SW4}, /* RGB71 */ - {0,CS36_SW5,CS35_SW5,CS34_SW5}, /* RGB72 */ - {0,CS36_SW6,CS35_SW6,CS34_SW6}, /* RGB73 */ - {0,CS36_SW7,CS35_SW7,CS34_SW7}, /* RGB74 */ - {0,CS36_SW8,CS35_SW8,CS34_SW8}, /* RGB75 */ - {0,CS36_SW9,CS35_SW9,CS34_SW9}, /* RGB76 */ - {0,CS39_SW1,CS38_SW1,CS37_SW1}, /* RGB77 */ - {0,CS39_SW2,CS38_SW2,CS37_SW2}, /* RGB78 */ - {0,CS39_SW3,CS38_SW3,CS37_SW3}, /* RGB79 */ - {0,CS39_SW4,CS38_SW4,CS37_SW4}, /* RGB80 */ - {0,CS39_SW5,CS38_SW5,CS37_SW5}, /* RGB81 */ - {0,CS39_SW6,CS38_SW6,CS37_SW6}, /* RGB82 */ + {0,SW1_CS36,SW1_CS35,SW1_CS34}, /* RGB68 */ + {0,SW2_CS36,SW2_CS35,SW2_CS34}, /* RGB69 */ + {0,SW3_CS36,SW3_CS35,SW3_CS34}, /* RGB70 */ + {0,SW4_CS36,SW4_CS35,SW4_CS34}, /* RGB71 */ + {0,SW5_CS36,SW5_CS35,SW5_CS34}, /* RGB72 */ + {0,SW6_CS36,SW6_CS35,SW6_CS34}, /* RGB73 */ + {0,SW7_CS36,SW7_CS35,SW7_CS34}, /* RGB74 */ + {0,SW8_CS36,SW8_CS35,SW8_CS34}, /* RGB75 */ + {0,SW9_CS36,SW9_CS35,SW9_CS34}, /* RGB76 */ + {0,SW1_CS39,SW1_CS38,SW1_CS37}, /* RGB77 */ + {0,SW2_CS39,SW2_CS38,SW2_CS37}, /* RGB78 */ + {0,SW3_CS39,SW3_CS38,SW3_CS37}, /* RGB79 */ + {0,SW4_CS39,SW4_CS38,SW4_CS37}, /* RGB80 */ + {0,SW5_CS39,SW5_CS38,SW5_CS37}, /* RGB81 */ + {0,SW6_CS39,SW6_CS38,SW6_CS37}, /* RGB82 */ }; led_config_t g_led_config = { diff --git a/keyboards/tkc/portico75/portico75.c b/keyboards/tkc/portico75/portico75.c index 0a22a37d4e3..cd6dafe31aa 100644 --- a/keyboards/tkc/portico75/portico75.c +++ b/keyboards/tkc/portico75/portico75.c @@ -25,119 +25,119 @@ along with this program. If not, see . #if defined(RGB_MATRIX_ENABLE) || defined(RGB_BACKLIGHT_PORTICO75) const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { - {0, CS18_SW1, CS17_SW1, CS16_SW1}, - {0, CS18_SW2, CS17_SW2, CS16_SW2}, - {0, CS18_SW3, CS17_SW3, CS16_SW3}, - {0, CS18_SW4, CS17_SW4, CS16_SW4}, - {0, CS18_SW5, CS17_SW5, CS16_SW5}, - {0, CS18_SW6, CS17_SW6, CS16_SW6}, - {0, CS18_SW7, CS17_SW7, CS16_SW7}, - {0, CS18_SW8, CS17_SW8, CS16_SW8}, - {0, CS18_SW9, CS17_SW9, CS16_SW9}, - - {0, CS21_SW1, CS20_SW1, CS19_SW1}, - {0, CS21_SW2, CS20_SW2, CS19_SW2}, - {0, CS21_SW3, CS20_SW3, CS19_SW3}, - {0, CS21_SW4, CS20_SW4, CS19_SW4}, - {0, CS21_SW5, CS20_SW5, CS19_SW5}, - {0, CS21_SW6, CS20_SW6, CS19_SW6}, //Encoder, NO_LED - - {0, CS15_SW1, CS14_SW1, CS13_SW1}, - {0, CS15_SW2, CS14_SW2, CS13_SW2}, - {0, CS15_SW3, CS14_SW3, CS13_SW3}, - {0, CS15_SW4, CS14_SW4, CS13_SW4}, - {0, CS15_SW5, CS14_SW5, CS13_SW5}, - {0, CS15_SW6, CS14_SW6, CS13_SW6}, - {0, CS15_SW7, CS14_SW7, CS13_SW7}, - {0, CS15_SW8, CS14_SW8, CS13_SW8}, - {0, CS15_SW9, CS14_SW9, CS13_SW9}, - - {0, CS24_SW1, CS23_SW1, CS22_SW1}, - {0, CS24_SW2, CS23_SW2, CS22_SW2}, - {0, CS24_SW3, CS23_SW3, CS22_SW3}, - {0, CS24_SW4, CS23_SW4, CS22_SW4}, - {0, CS24_SW5, CS23_SW5, CS22_SW5}, - {0, CS24_SW6, CS23_SW6, CS22_SW6}, - - {0, CS12_SW1, CS11_SW1, CS10_SW1}, - {0, CS12_SW2, CS11_SW2, CS10_SW2}, - {0, CS12_SW3, CS11_SW3, CS10_SW3}, - {0, CS12_SW4, CS11_SW4, CS10_SW4}, - {0, CS12_SW5, CS11_SW5, CS10_SW5}, - {0, CS12_SW6, CS11_SW6, CS10_SW6}, - {0, CS12_SW7, CS11_SW7, CS10_SW7}, - {0, CS12_SW8, CS11_SW8, CS10_SW8}, - {0, CS12_SW9, CS11_SW9, CS10_SW9}, - - {0, CS27_SW1, CS26_SW1, CS25_SW1}, - {0, CS27_SW2, CS26_SW2, CS25_SW2}, - {0, CS27_SW3, CS26_SW3, CS25_SW3}, - {0, CS27_SW4, CS26_SW4, CS25_SW4}, - {0, CS27_SW5, CS26_SW5, CS25_SW5}, - {0, CS27_SW6, CS26_SW6, CS25_SW6}, - - {0, CS9_SW1, CS8_SW1, CS7_SW1}, - {0, CS9_SW2, CS8_SW2, CS7_SW2}, - {0, CS9_SW3, CS8_SW3, CS7_SW3}, - {0, CS9_SW4, CS8_SW4, CS7_SW4}, - {0, CS9_SW5, CS8_SW5, CS7_SW5}, - {0, CS9_SW6, CS8_SW6, CS7_SW6}, - {0, CS9_SW7, CS8_SW7, CS7_SW7}, - {0, CS9_SW8, CS8_SW8, CS7_SW8}, - {0, CS9_SW9, CS8_SW9, CS7_SW9}, - - {0, CS30_SW1, CS29_SW1, CS28_SW1}, - {0, CS30_SW2, CS29_SW2, CS28_SW2}, - {0, CS30_SW3, CS29_SW3, CS28_SW3}, - {0, CS30_SW4, CS29_SW4, CS28_SW4}, - - {0, CS6_SW1, CS5_SW1, CS4_SW1}, - {0, CS6_SW2, CS5_SW2, CS4_SW2}, - {0, CS6_SW3, CS5_SW3, CS4_SW3}, - {0, CS6_SW4, CS5_SW4, CS4_SW4}, - {0, CS6_SW5, CS5_SW5, CS4_SW5}, - {0, CS6_SW6, CS5_SW6, CS4_SW6}, - {0, CS6_SW7, CS5_SW7, CS4_SW7}, - {0, CS6_SW8, CS5_SW8, CS4_SW8}, - {0, CS6_SW9, CS5_SW9, CS4_SW9}, - - {0, CS33_SW1, CS32_SW1, CS31_SW1}, - {0, CS33_SW2, CS32_SW2, CS31_SW2}, - {0, CS33_SW3, CS32_SW3, CS31_SW3}, - {0, CS33_SW4, CS32_SW4, CS31_SW4}, - - {0, CS3_SW1, CS2_SW1, CS1_SW1}, - {0, CS3_SW2, CS2_SW2, CS1_SW2}, - {0, CS3_SW3, CS2_SW3, CS1_SW3}, - {0, CS3_SW6, CS2_SW6, CS1_SW6}, - {0, CS3_SW8, CS2_SW8, CS1_SW8}, - {0, CS3_SW9, CS2_SW9, CS1_SW9}, - - {0, CS36_SW1, CS35_SW1, CS34_SW1}, - {0, CS36_SW2, CS35_SW2, CS34_SW2}, - {0, CS36_SW3, CS35_SW3, CS34_SW3}, + {0, SW1_CS18, SW1_CS17, SW1_CS16}, + {0, SW2_CS18, SW2_CS17, SW2_CS16}, + {0, SW3_CS18, SW3_CS17, SW3_CS16}, + {0, SW4_CS18, SW4_CS17, SW4_CS16}, + {0, SW5_CS18, SW5_CS17, SW5_CS16}, + {0, SW6_CS18, SW6_CS17, SW6_CS16}, + {0, SW7_CS18, SW7_CS17, SW7_CS16}, + {0, SW8_CS18, SW8_CS17, SW8_CS16}, + {0, SW9_CS18, SW9_CS17, SW9_CS16}, + + {0, SW1_CS21, SW1_CS20, SW1_CS19}, + {0, SW2_CS21, SW2_CS20, SW2_CS19}, + {0, SW3_CS21, SW3_CS20, SW3_CS19}, + {0, SW4_CS21, SW4_CS20, SW4_CS19}, + {0, SW5_CS21, SW5_CS20, SW5_CS19}, + {0, SW6_CS21, SW6_CS20, SW6_CS19}, //Encoder, NO_LED + + {0, SW1_CS15, SW1_CS14, SW1_CS13}, + {0, SW2_CS15, SW2_CS14, SW2_CS13}, + {0, SW3_CS15, SW3_CS14, SW3_CS13}, + {0, SW4_CS15, SW4_CS14, SW4_CS13}, + {0, SW5_CS15, SW5_CS14, SW5_CS13}, + {0, SW6_CS15, SW6_CS14, SW6_CS13}, + {0, SW7_CS15, SW7_CS14, SW7_CS13}, + {0, SW8_CS15, SW8_CS14, SW8_CS13}, + {0, SW9_CS15, SW9_CS14, SW9_CS13}, + + {0, SW1_CS24, SW1_CS23, SW1_CS22}, + {0, SW2_CS24, SW2_CS23, SW2_CS22}, + {0, SW3_CS24, SW3_CS23, SW3_CS22}, + {0, SW4_CS24, SW4_CS23, SW4_CS22}, + {0, SW5_CS24, SW5_CS23, SW5_CS22}, + {0, SW6_CS24, SW6_CS23, SW6_CS22}, + + {0, SW1_CS12, SW1_CS11, SW1_CS10}, + {0, SW2_CS12, SW2_CS11, SW2_CS10}, + {0, SW3_CS12, SW3_CS11, SW3_CS10}, + {0, SW4_CS12, SW4_CS11, SW4_CS10}, + {0, SW5_CS12, SW5_CS11, SW5_CS10}, + {0, SW6_CS12, SW6_CS11, SW6_CS10}, + {0, SW7_CS12, SW7_CS11, SW7_CS10}, + {0, SW8_CS12, SW8_CS11, SW8_CS10}, + {0, SW9_CS12, SW9_CS11, SW9_CS10}, + + {0, SW1_CS27, SW1_CS26, SW1_CS25}, + {0, SW2_CS27, SW2_CS26, SW2_CS25}, + {0, SW3_CS27, SW3_CS26, SW3_CS25}, + {0, SW4_CS27, SW4_CS26, SW4_CS25}, + {0, SW5_CS27, SW5_CS26, SW5_CS25}, + {0, SW6_CS27, SW6_CS26, SW6_CS25}, + + {0, SW1_CS9, SW1_CS8, SW1_CS7}, + {0, SW2_CS9, SW2_CS8, SW2_CS7}, + {0, SW3_CS9, SW3_CS8, SW3_CS7}, + {0, SW4_CS9, SW4_CS8, SW4_CS7}, + {0, SW5_CS9, SW5_CS8, SW5_CS7}, + {0, SW6_CS9, SW6_CS8, SW6_CS7}, + {0, SW7_CS9, SW7_CS8, SW7_CS7}, + {0, SW8_CS9, SW8_CS8, SW8_CS7}, + {0, SW9_CS9, SW9_CS8, SW9_CS7}, + + {0, SW1_CS30, SW1_CS29, SW1_CS28}, + {0, SW2_CS30, SW2_CS29, SW2_CS28}, + {0, SW3_CS30, SW3_CS29, SW3_CS28}, + {0, SW4_CS30, SW4_CS29, SW4_CS28}, + + {0, SW1_CS6, SW1_CS5, SW1_CS4}, + {0, SW2_CS6, SW2_CS5, SW2_CS4}, + {0, SW3_CS6, SW3_CS5, SW3_CS4}, + {0, SW4_CS6, SW4_CS5, SW4_CS4}, + {0, SW5_CS6, SW5_CS5, SW5_CS4}, + {0, SW6_CS6, SW6_CS5, SW6_CS4}, + {0, SW7_CS6, SW7_CS5, SW7_CS4}, + {0, SW8_CS6, SW8_CS5, SW8_CS4}, + {0, SW9_CS6, SW9_CS5, SW9_CS4}, + + {0, SW1_CS33, SW1_CS32, SW1_CS31}, + {0, SW2_CS33, SW2_CS32, SW2_CS31}, + {0, SW3_CS33, SW3_CS32, SW3_CS31}, + {0, SW4_CS33, SW4_CS32, SW4_CS31}, + + {0, SW1_CS3, SW1_CS2, SW1_CS1}, + {0, SW2_CS3, SW2_CS2, SW2_CS1}, + {0, SW3_CS3, SW3_CS2, SW3_CS1}, + {0, SW6_CS3, SW6_CS2, SW6_CS1}, + {0, SW8_CS3, SW8_CS2, SW8_CS1}, + {0, SW9_CS3, SW9_CS2, SW9_CS1}, + + {0, SW1_CS36, SW1_CS35, SW1_CS34}, + {0, SW2_CS36, SW2_CS35, SW2_CS34}, + {0, SW3_CS36, SW3_CS35, SW3_CS34}, /*UNDERGLOW*/ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, - {0, CS39_SW2, CS38_SW2, CS37_SW2}, - {0, CS39_SW3, CS38_SW3, CS37_SW3}, - {0, CS39_SW4, CS38_SW4, CS37_SW4}, - {0, CS39_SW5, CS38_SW5, CS37_SW5}, - {0, CS39_SW6, CS38_SW6, CS37_SW6}, - {0, CS39_SW7, CS38_SW7, CS37_SW7}, - {0, CS39_SW8, CS38_SW8, CS37_SW8}, - {0, CS39_SW9, CS38_SW9, CS37_SW9}, - - {0, CS36_SW4, CS35_SW4, CS34_SW4}, - {0, CS36_SW5, CS35_SW5, CS34_SW5}, - {0, CS36_SW6, CS35_SW6, CS34_SW6}, - {0, CS36_SW7, CS35_SW7, CS34_SW7}, - {0, CS36_SW8, CS35_SW8, CS34_SW8}, - {0, CS36_SW9, CS35_SW9, CS34_SW9}, - - {0, CS33_SW5, CS32_SW5, CS31_SW5}, - {0, CS33_SW6, CS32_SW6, CS31_SW6}, - {0, CS33_SW7, CS32_SW7, CS31_SW7}, + {0, SW1_CS39, SW1_CS38, SW1_CS37}, + {0, SW2_CS39, SW2_CS38, SW2_CS37}, + {0, SW3_CS39, SW3_CS38, SW3_CS37}, + {0, SW4_CS39, SW4_CS38, SW4_CS37}, + {0, SW5_CS39, SW5_CS38, SW5_CS37}, + {0, SW6_CS39, SW6_CS38, SW6_CS37}, + {0, SW7_CS39, SW7_CS38, SW7_CS37}, + {0, SW8_CS39, SW8_CS38, SW8_CS37}, + {0, SW9_CS39, SW9_CS38, SW9_CS37}, + + {0, SW4_CS36, SW4_CS35, SW4_CS34}, + {0, SW5_CS36, SW5_CS35, SW5_CS34}, + {0, SW6_CS36, SW6_CS35, SW6_CS34}, + {0, SW7_CS36, SW7_CS35, SW7_CS34}, + {0, SW8_CS36, SW8_CS35, SW8_CS34}, + {0, SW9_CS36, SW9_CS35, SW9_CS34}, + + {0, SW5_CS33, SW5_CS32, SW5_CS31}, + {0, SW6_CS33, SW6_CS32, SW6_CS31}, + {0, SW7_CS33, SW7_CS32, SW7_CS31}, }; #endif diff --git a/keyboards/wilba_tech/wt60_a/wt60_a.c b/keyboards/wilba_tech/wt60_a/wt60_a.c index fe566ce3fc4..04657835c9d 100644 --- a/keyboards/wilba_tech/wt60_a/wt60_a.c +++ b/keyboards/wilba_tech/wt60_a/wt60_a.c @@ -9,112 +9,112 @@ #if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT60_A) const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = { - {0, A_1}, - {0, A_2}, - {0, A_3}, - {0, A_4}, - {0, A_5}, - {0, A_6}, - {0, A_7}, - {0, A_8}, + {0, SW1_CS1}, + {0, SW1_CS2}, + {0, SW1_CS3}, + {0, SW1_CS4}, + {0, SW1_CS5}, + {0, SW1_CS6}, + {0, SW1_CS7}, + {0, SW1_CS8}, - {0, B_1}, - {0, B_2}, - {0, B_3}, - {0, B_4}, - {0, B_5}, - {0, B_6}, - {0, B_7}, - {0, B_8}, + {0, SW2_CS1}, + {0, SW2_CS2}, + {0, SW2_CS3}, + {0, SW2_CS4}, + {0, SW2_CS5}, + {0, SW2_CS6}, + {0, SW2_CS7}, + {0, SW2_CS8}, - {0, C_1}, - {0, C_2}, - {0, C_3}, - {0, C_4}, - {0, C_5}, - {0, C_6}, - {0, C_7}, - {0, C_8}, + {0, SW3_CS1}, + {0, SW3_CS2}, + {0, SW3_CS3}, + {0, SW3_CS4}, + {0, SW3_CS5}, + {0, SW3_CS6}, + {0, SW3_CS7}, + {0, SW3_CS8}, - {0, D_1}, - {0, D_2}, - {0, D_3}, - {0, D_4}, - {0, D_5}, - {0, D_6}, - {0, D_7}, - {0, D_8}, + {0, SW4_CS1}, + {0, SW4_CS2}, + {0, SW4_CS3}, + {0, SW4_CS4}, + {0, SW4_CS5}, + {0, SW4_CS6}, + {0, SW4_CS7}, + {0, SW4_CS8}, - {0, E_1}, - {0, E_2}, - {0, E_3}, - {0, E_4}, - {0, E_5}, - {0, E_6}, - {0, E_7}, - {0, E_8}, + {0, SW5_CS1}, + {0, SW5_CS2}, + {0, SW5_CS3}, + {0, SW5_CS4}, + {0, SW5_CS5}, + {0, SW5_CS6}, + {0, SW5_CS7}, + {0, SW5_CS8}, - {0, F_1}, - {0, F_2}, - {0, F_3}, - {0, F_4}, - {0, F_5}, - {0, F_6}, - {0, F_7}, - {0, F_8}, + {0, SW6_CS1}, + {0, SW6_CS2}, + {0, SW6_CS3}, + {0, SW6_CS4}, + {0, SW6_CS5}, + {0, SW6_CS6}, + {0, SW6_CS7}, + {0, SW6_CS8}, - {0, G_1}, - {0, G_2}, - {0, G_3}, - {0, G_4}, - {0, G_5}, - {0, G_6}, - {0, G_7}, - {0, G_8}, + {0, SW7_CS1}, + {0, SW7_CS2}, + {0, SW7_CS3}, + {0, SW7_CS4}, + {0, SW7_CS5}, + {0, SW7_CS6}, + {0, SW7_CS7}, + {0, SW7_CS8}, - {0, H_1}, - {0, H_2}, - {0, H_3}, - {0, H_4}, - {0, H_5}, - {0, H_6}, - {0, H_7}, - {0, H_8}, + {0, SW8_CS1}, + {0, SW8_CS2}, + {0, SW8_CS3}, + {0, SW8_CS4}, + {0, SW8_CS5}, + {0, SW8_CS6}, + {0, SW8_CS7}, + {0, SW8_CS8}, - {0, I_1}, - {0, I_2}, - {0, I_3}, - {0, I_4}, - {0, I_5}, - {0, I_6}, - {0, I_7}, - {0, I_8}, + {0, SW9_CS1}, + {0, SW9_CS2}, + {0, SW9_CS3}, + {0, SW9_CS4}, + {0, SW9_CS5}, + {0, SW9_CS6}, + {0, SW9_CS7}, + {0, SW9_CS8}, - {0, J_1}, - {0, J_2}, - {0, J_3}, - {0, J_4}, - {0, J_5}, - {0, J_6}, - {0, J_7}, - {0, J_8}, + {0, SW10_CS1}, + {0, SW10_CS2}, + {0, SW10_CS3}, + {0, SW10_CS4}, + {0, SW10_CS5}, + {0, SW10_CS6}, + {0, SW10_CS7}, + {0, SW10_CS8}, - {0, K_1}, - {0, K_2}, - {0, K_3}, - {0, K_4}, - {0, K_5}, - {0, K_6}, - {0, K_7}, - {0, K_8}, + {0, SW11_CS1}, + {0, SW11_CS2}, + {0, SW11_CS3}, + {0, SW11_CS4}, + {0, SW11_CS5}, + {0, SW11_CS6}, + {0, SW11_CS7}, + {0, SW11_CS8}, - {0, L_1}, - {0, L_2}, - {0, L_3}, - {0, L_4}, - {0, L_5}, - {0, L_6}, - {0, L_7}, - {0, L_8} + {0, SW12_CS1}, + {0, SW12_CS2}, + {0, SW12_CS3}, + {0, SW12_CS4}, + {0, SW12_CS5}, + {0, SW12_CS6}, + {0, SW12_CS7}, + {0, SW12_CS8} }; #endif diff --git a/keyboards/wilba_tech/wt65_a/wt65_a.c b/keyboards/wilba_tech/wt65_a/wt65_a.c index 4ac6e622dbd..398525c2391 100644 --- a/keyboards/wilba_tech/wt65_a/wt65_a.c +++ b/keyboards/wilba_tech/wt65_a/wt65_a.c @@ -9,112 +9,112 @@ #if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT65_A) const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = { - {0, A_1}, - {0, A_2}, - {0, A_3}, - {0, A_4}, - {0, A_5}, - {0, A_6}, - {0, A_7}, - {0, A_8}, + {0, SW1_CS1}, + {0, SW1_CS2}, + {0, SW1_CS3}, + {0, SW1_CS4}, + {0, SW1_CS5}, + {0, SW1_CS6}, + {0, SW1_CS7}, + {0, SW1_CS8}, - {0, B_1}, - {0, B_2}, - {0, B_3}, - {0, B_4}, - {0, B_5}, - {0, B_6}, - {0, B_7}, - {0, B_8}, + {0, SW2_CS1}, + {0, SW2_CS2}, + {0, SW2_CS3}, + {0, SW2_CS4}, + {0, SW2_CS5}, + {0, SW2_CS6}, + {0, SW2_CS7}, + {0, SW2_CS8}, - {0, C_1}, - {0, C_2}, - {0, C_3}, - {0, C_4}, - {0, C_5}, - {0, C_6}, - {0, C_7}, - {0, C_8}, + {0, SW3_CS1}, + {0, SW3_CS2}, + {0, SW3_CS3}, + {0, SW3_CS4}, + {0, SW3_CS5}, + {0, SW3_CS6}, + {0, SW3_CS7}, + {0, SW3_CS8}, - {0, D_1}, - {0, D_2}, - {0, D_3}, - {0, D_4}, - {0, D_5}, - {0, D_6}, - {0, D_7}, - {0, D_8}, + {0, SW4_CS1}, + {0, SW4_CS2}, + {0, SW4_CS3}, + {0, SW4_CS4}, + {0, SW4_CS5}, + {0, SW4_CS6}, + {0, SW4_CS7}, + {0, SW4_CS8}, - {0, E_1}, - {0, E_2}, - {0, E_3}, - {0, E_4}, - {0, E_5}, - {0, E_6}, - {0, E_7}, - {0, E_8}, + {0, SW5_CS1}, + {0, SW5_CS2}, + {0, SW5_CS3}, + {0, SW5_CS4}, + {0, SW5_CS5}, + {0, SW5_CS6}, + {0, SW5_CS7}, + {0, SW5_CS8}, - {0, F_1}, - {0, F_2}, - {0, F_3}, - {0, F_4}, - {0, F_5}, - {0, F_6}, - {0, F_7}, - {0, F_8}, + {0, SW6_CS1}, + {0, SW6_CS2}, + {0, SW6_CS3}, + {0, SW6_CS4}, + {0, SW6_CS5}, + {0, SW6_CS6}, + {0, SW6_CS7}, + {0, SW6_CS8}, - {0, G_1}, - {0, G_2}, - {0, G_3}, - {0, G_4}, - {0, G_5}, - {0, G_6}, - {0, G_7}, - {0, G_8}, + {0, SW7_CS1}, + {0, SW7_CS2}, + {0, SW7_CS3}, + {0, SW7_CS4}, + {0, SW7_CS5}, + {0, SW7_CS6}, + {0, SW7_CS7}, + {0, SW7_CS8}, - {0, H_1}, - {0, H_2}, - {0, H_3}, - {0, H_4}, - {0, H_5}, - {0, H_6}, - {0, H_7}, - {0, H_8}, + {0, SW8_CS1}, + {0, SW8_CS2}, + {0, SW8_CS3}, + {0, SW8_CS4}, + {0, SW8_CS5}, + {0, SW8_CS6}, + {0, SW8_CS7}, + {0, SW8_CS8}, - {0, I_1}, - {0, I_2}, - {0, I_3}, - {0, I_4}, - {0, I_5}, - {0, I_6}, - {0, I_7}, - {0, I_8}, + {0, SW9_CS1}, + {0, SW9_CS2}, + {0, SW9_CS3}, + {0, SW9_CS4}, + {0, SW9_CS5}, + {0, SW9_CS6}, + {0, SW9_CS7}, + {0, SW9_CS8}, - {0, J_1}, - {0, J_2}, - {0, J_3}, - {0, J_4}, - {0, J_5}, - {0, J_6}, - {0, J_7}, - {0, J_8}, + {0, SW10_CS1}, + {0, SW10_CS2}, + {0, SW10_CS3}, + {0, SW10_CS4}, + {0, SW10_CS5}, + {0, SW10_CS6}, + {0, SW10_CS7}, + {0, SW10_CS8}, - {0, K_1}, - {0, K_2}, - {0, K_3}, - {0, K_4}, - {0, K_5}, - {0, K_6}, - {0, K_7}, - {0, K_8}, + {0, SW11_CS1}, + {0, SW11_CS2}, + {0, SW11_CS3}, + {0, SW11_CS4}, + {0, SW11_CS5}, + {0, SW11_CS6}, + {0, SW11_CS7}, + {0, SW11_CS8}, - {0, L_1}, - {0, L_2}, - {0, L_3}, - {0, L_4}, - {0, L_5}, - {0, L_6}, - {0, L_7}, - {0, L_8} + {0, SW12_CS1}, + {0, SW12_CS2}, + {0, SW12_CS3}, + {0, SW12_CS4}, + {0, SW12_CS5}, + {0, SW12_CS6}, + {0, SW12_CS7}, + {0, SW12_CS8} }; #endif diff --git a/keyboards/wilba_tech/wt65_b/wt65_b.c b/keyboards/wilba_tech/wt65_b/wt65_b.c index 139ddca921b..2e2385ace29 100644 --- a/keyboards/wilba_tech/wt65_b/wt65_b.c +++ b/keyboards/wilba_tech/wt65_b/wt65_b.c @@ -9,112 +9,112 @@ #if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT65_B) const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = { - {0, A_1}, - {0, A_2}, - {0, A_3}, - {0, A_4}, - {0, A_5}, - {0, A_6}, - {0, A_7}, - {0, A_8}, + {0, SW1_CS1}, + {0, SW1_CS2}, + {0, SW1_CS3}, + {0, SW1_CS4}, + {0, SW1_CS5}, + {0, SW1_CS6}, + {0, SW1_CS7}, + {0, SW1_CS8}, - {0, B_1}, - {0, B_2}, - {0, B_3}, - {0, B_4}, - {0, B_5}, - {0, B_6}, - {0, B_7}, - {0, B_8}, + {0, SW2_CS1}, + {0, SW2_CS2}, + {0, SW2_CS3}, + {0, SW2_CS4}, + {0, SW2_CS5}, + {0, SW2_CS6}, + {0, SW2_CS7}, + {0, SW2_CS8}, - {0, C_1}, - {0, C_2}, - {0, C_3}, - {0, C_4}, - {0, C_5}, - {0, C_6}, - {0, C_7}, - {0, C_8}, + {0, SW3_CS1}, + {0, SW3_CS2}, + {0, SW3_CS3}, + {0, SW3_CS4}, + {0, SW3_CS5}, + {0, SW3_CS6}, + {0, SW3_CS7}, + {0, SW3_CS8}, - {0, D_1}, - {0, D_2}, - {0, D_3}, - {0, D_4}, - {0, D_5}, - {0, D_6}, - {0, D_7}, - {0, D_8}, + {0, SW4_CS1}, + {0, SW4_CS2}, + {0, SW4_CS3}, + {0, SW4_CS4}, + {0, SW4_CS5}, + {0, SW4_CS6}, + {0, SW4_CS7}, + {0, SW4_CS8}, - {0, E_1}, - {0, E_2}, - {0, E_3}, - {0, E_4}, - {0, E_5}, - {0, E_6}, - {0, E_7}, - {0, E_8}, + {0, SW5_CS1}, + {0, SW5_CS2}, + {0, SW5_CS3}, + {0, SW5_CS4}, + {0, SW5_CS5}, + {0, SW5_CS6}, + {0, SW5_CS7}, + {0, SW5_CS8}, - {0, F_1}, - {0, F_2}, - {0, F_3}, - {0, F_4}, - {0, F_5}, - {0, F_6}, - {0, F_7}, - {0, F_8}, + {0, SW6_CS1}, + {0, SW6_CS2}, + {0, SW6_CS3}, + {0, SW6_CS4}, + {0, SW6_CS5}, + {0, SW6_CS6}, + {0, SW6_CS7}, + {0, SW6_CS8}, - {0, G_1}, - {0, G_2}, - {0, G_3}, - {0, G_4}, - {0, G_5}, - {0, G_6}, - {0, G_7}, - {0, G_8}, + {0, SW7_CS1}, + {0, SW7_CS2}, + {0, SW7_CS3}, + {0, SW7_CS4}, + {0, SW7_CS5}, + {0, SW7_CS6}, + {0, SW7_CS7}, + {0, SW7_CS8}, - {0, H_1}, - {0, H_2}, - {0, H_3}, - {0, H_4}, - {0, H_5}, - {0, H_6}, - {0, H_7}, - {0, H_8}, + {0, SW8_CS1}, + {0, SW8_CS2}, + {0, SW8_CS3}, + {0, SW8_CS4}, + {0, SW8_CS5}, + {0, SW8_CS6}, + {0, SW8_CS7}, + {0, SW8_CS8}, - {0, I_1}, - {0, I_2}, - {0, I_3}, - {0, I_4}, - {0, I_5}, - {0, I_6}, - {0, I_7}, - {0, I_8}, + {0, SW9_CS1}, + {0, SW9_CS2}, + {0, SW9_CS3}, + {0, SW9_CS4}, + {0, SW9_CS5}, + {0, SW9_CS6}, + {0, SW9_CS7}, + {0, SW9_CS8}, - {0, J_1}, - {0, J_2}, - {0, J_3}, - {0, J_4}, - {0, J_5}, - {0, J_6}, - {0, J_7}, - {0, J_8}, + {0, SW10_CS1}, + {0, SW10_CS2}, + {0, SW10_CS3}, + {0, SW10_CS4}, + {0, SW10_CS5}, + {0, SW10_CS6}, + {0, SW10_CS7}, + {0, SW10_CS8}, - {0, K_1}, - {0, K_2}, - {0, K_3}, - {0, K_4}, - {0, K_5}, - {0, K_6}, - {0, K_7}, - {0, K_8}, + {0, SW11_CS1}, + {0, SW11_CS2}, + {0, SW11_CS3}, + {0, SW11_CS4}, + {0, SW11_CS5}, + {0, SW11_CS6}, + {0, SW11_CS7}, + {0, SW11_CS8}, - {0, L_1}, - {0, L_2}, - {0, L_3}, - {0, L_4}, - {0, L_5}, - {0, L_6}, - {0, L_7}, - {0, L_8} + {0, SW12_CS1}, + {0, SW12_CS2}, + {0, SW12_CS3}, + {0, SW12_CS4}, + {0, SW12_CS5}, + {0, SW12_CS6}, + {0, SW12_CS7}, + {0, SW12_CS8} }; #endif diff --git a/keyboards/wilba_tech/wt75_a/wt75_a.c b/keyboards/wilba_tech/wt75_a/wt75_a.c index 8b64397b958..111e6c3a2c1 100644 --- a/keyboards/wilba_tech/wt75_a/wt75_a.c +++ b/keyboards/wilba_tech/wt75_a/wt75_a.c @@ -9,112 +9,112 @@ #if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT75_A) const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = { - {0, A_1}, - {0, A_2}, - {0, A_3}, - {0, A_4}, - {0, A_5}, - {0, A_6}, - {0, A_7}, - {0, A_8}, + {0, SW1_CS1}, + {0, SW1_CS2}, + {0, SW1_CS3}, + {0, SW1_CS4}, + {0, SW1_CS5}, + {0, SW1_CS6}, + {0, SW1_CS7}, + {0, SW1_CS8}, - {0, B_1}, - {0, B_2}, - {0, B_3}, - {0, B_4}, - {0, B_5}, - {0, B_6}, - {0, B_7}, - {0, B_8}, + {0, SW2_CS1}, + {0, SW2_CS2}, + {0, SW2_CS3}, + {0, SW2_CS4}, + {0, SW2_CS5}, + {0, SW2_CS6}, + {0, SW2_CS7}, + {0, SW2_CS8}, - {0, C_1}, - {0, C_2}, - {0, C_3}, - {0, C_4}, - {0, C_5}, - {0, C_6}, - {0, C_7}, - {0, C_8}, + {0, SW3_CS1}, + {0, SW3_CS2}, + {0, SW3_CS3}, + {0, SW3_CS4}, + {0, SW3_CS5}, + {0, SW3_CS6}, + {0, SW3_CS7}, + {0, SW3_CS8}, - {0, D_1}, - {0, D_2}, - {0, D_3}, - {0, D_4}, - {0, D_5}, - {0, D_6}, - {0, D_7}, - {0, D_8}, + {0, SW4_CS1}, + {0, SW4_CS2}, + {0, SW4_CS3}, + {0, SW4_CS4}, + {0, SW4_CS5}, + {0, SW4_CS6}, + {0, SW4_CS7}, + {0, SW4_CS8}, - {0, E_1}, - {0, E_2}, - {0, E_3}, - {0, E_4}, - {0, E_5}, - {0, E_6}, - {0, E_7}, - {0, E_8}, + {0, SW5_CS1}, + {0, SW5_CS2}, + {0, SW5_CS3}, + {0, SW5_CS4}, + {0, SW5_CS5}, + {0, SW5_CS6}, + {0, SW5_CS7}, + {0, SW5_CS8}, - {0, F_1}, - {0, F_2}, - {0, F_3}, - {0, F_4}, - {0, F_5}, - {0, F_6}, - {0, F_7}, - {0, F_8}, + {0, SW6_CS1}, + {0, SW6_CS2}, + {0, SW6_CS3}, + {0, SW6_CS4}, + {0, SW6_CS5}, + {0, SW6_CS6}, + {0, SW6_CS7}, + {0, SW6_CS8}, - {0, G_1}, - {0, G_2}, - {0, G_3}, - {0, G_4}, - {0, G_5}, - {0, G_6}, - {0, G_7}, - {0, G_8}, + {0, SW7_CS1}, + {0, SW7_CS2}, + {0, SW7_CS3}, + {0, SW7_CS4}, + {0, SW7_CS5}, + {0, SW7_CS6}, + {0, SW7_CS7}, + {0, SW7_CS8}, - {0, H_1}, - {0, H_2}, - {0, H_3}, - {0, H_4}, - {0, H_5}, - {0, H_6}, - {0, H_7}, - {0, H_8}, + {0, SW8_CS1}, + {0, SW8_CS2}, + {0, SW8_CS3}, + {0, SW8_CS4}, + {0, SW8_CS5}, + {0, SW8_CS6}, + {0, SW8_CS7}, + {0, SW8_CS8}, - {0, I_1}, - {0, I_2}, - {0, I_3}, - {0, I_4}, - {0, I_5}, - {0, I_6}, - {0, I_7}, - {0, I_8}, + {0, SW9_CS1}, + {0, SW9_CS2}, + {0, SW9_CS3}, + {0, SW9_CS4}, + {0, SW9_CS5}, + {0, SW9_CS6}, + {0, SW9_CS7}, + {0, SW9_CS8}, - {0, J_1}, - {0, J_2}, - {0, J_3}, - {0, J_4}, - {0, J_5}, - {0, J_6}, - {0, J_7}, - {0, J_8}, + {0, SW10_CS1}, + {0, SW10_CS2}, + {0, SW10_CS3}, + {0, SW10_CS4}, + {0, SW10_CS5}, + {0, SW10_CS6}, + {0, SW10_CS7}, + {0, SW10_CS8}, - {0, K_1}, - {0, K_2}, - {0, K_3}, - {0, K_4}, - {0, K_5}, - {0, K_6}, - {0, K_7}, - {0, K_8}, + {0, SW11_CS1}, + {0, SW11_CS2}, + {0, SW11_CS3}, + {0, SW11_CS4}, + {0, SW11_CS5}, + {0, SW11_CS6}, + {0, SW11_CS7}, + {0, SW11_CS8}, - {0, L_1}, - {0, L_2}, - {0, L_3}, - {0, L_4}, - {0, L_5}, - {0, L_6}, - {0, L_7}, - {0, L_8} + {0, SW12_CS1}, + {0, SW12_CS2}, + {0, SW12_CS3}, + {0, SW12_CS4}, + {0, SW12_CS5}, + {0, SW12_CS6}, + {0, SW12_CS7}, + {0, SW12_CS8} }; #endif diff --git a/keyboards/wilba_tech/wt75_b/wt75_b.c b/keyboards/wilba_tech/wt75_b/wt75_b.c index 9095bf5d6f0..5a4b7de39f0 100644 --- a/keyboards/wilba_tech/wt75_b/wt75_b.c +++ b/keyboards/wilba_tech/wt75_b/wt75_b.c @@ -9,112 +9,112 @@ #if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT75_B) const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = { - {0, A_1}, - {0, A_2}, - {0, A_3}, - {0, A_4}, - {0, A_5}, - {0, A_6}, - {0, A_7}, - {0, A_8}, + {0, SW1_CS1}, + {0, SW1_CS2}, + {0, SW1_CS3}, + {0, SW1_CS4}, + {0, SW1_CS5}, + {0, SW1_CS6}, + {0, SW1_CS7}, + {0, SW1_CS8}, - {0, B_1}, - {0, B_2}, - {0, B_3}, - {0, B_4}, - {0, B_5}, - {0, B_6}, - {0, B_7}, - {0, B_8}, + {0, SW2_CS1}, + {0, SW2_CS2}, + {0, SW2_CS3}, + {0, SW2_CS4}, + {0, SW2_CS5}, + {0, SW2_CS6}, + {0, SW2_CS7}, + {0, SW2_CS8}, - {0, C_1}, - {0, C_2}, - {0, C_3}, - {0, C_4}, - {0, C_5}, - {0, C_6}, - {0, C_7}, - {0, C_8}, + {0, SW3_CS1}, + {0, SW3_CS2}, + {0, SW3_CS3}, + {0, SW3_CS4}, + {0, SW3_CS5}, + {0, SW3_CS6}, + {0, SW3_CS7}, + {0, SW3_CS8}, - {0, D_1}, - {0, D_2}, - {0, D_3}, - {0, D_4}, - {0, D_5}, - {0, D_6}, - {0, D_7}, - {0, D_8}, + {0, SW4_CS1}, + {0, SW4_CS2}, + {0, SW4_CS3}, + {0, SW4_CS4}, + {0, SW4_CS5}, + {0, SW4_CS6}, + {0, SW4_CS7}, + {0, SW4_CS8}, - {0, E_1}, - {0, E_2}, - {0, E_3}, - {0, E_4}, - {0, E_5}, - {0, E_6}, - {0, E_7}, - {0, E_8}, + {0, SW5_CS1}, + {0, SW5_CS2}, + {0, SW5_CS3}, + {0, SW5_CS4}, + {0, SW5_CS5}, + {0, SW5_CS6}, + {0, SW5_CS7}, + {0, SW5_CS8}, - {0, F_1}, - {0, F_2}, - {0, F_3}, - {0, F_4}, - {0, F_5}, - {0, F_6}, - {0, F_7}, - {0, F_8}, + {0, SW6_CS1}, + {0, SW6_CS2}, + {0, SW6_CS3}, + {0, SW6_CS4}, + {0, SW6_CS5}, + {0, SW6_CS6}, + {0, SW6_CS7}, + {0, SW6_CS8}, - {0, G_1}, - {0, G_2}, - {0, G_3}, - {0, G_4}, - {0, G_5}, - {0, G_6}, - {0, G_7}, - {0, G_8}, + {0, SW7_CS1}, + {0, SW7_CS2}, + {0, SW7_CS3}, + {0, SW7_CS4}, + {0, SW7_CS5}, + {0, SW7_CS6}, + {0, SW7_CS7}, + {0, SW7_CS8}, - {0, H_1}, - {0, H_2}, - {0, H_3}, - {0, H_4}, - {0, H_5}, - {0, H_6}, - {0, H_7}, - {0, H_8}, + {0, SW8_CS1}, + {0, SW8_CS2}, + {0, SW8_CS3}, + {0, SW8_CS4}, + {0, SW8_CS5}, + {0, SW8_CS6}, + {0, SW8_CS7}, + {0, SW8_CS8}, - {0, I_1}, - {0, I_2}, - {0, I_3}, - {0, I_4}, - {0, I_5}, - {0, I_6}, - {0, I_7}, - {0, I_8}, + {0, SW9_CS1}, + {0, SW9_CS2}, + {0, SW9_CS3}, + {0, SW9_CS4}, + {0, SW9_CS5}, + {0, SW9_CS6}, + {0, SW9_CS7}, + {0, SW9_CS8}, - {0, J_1}, - {0, J_2}, - {0, J_3}, - {0, J_4}, - {0, J_5}, - {0, J_6}, - {0, J_7}, - {0, J_8}, + {0, SW10_CS1}, + {0, SW10_CS2}, + {0, SW10_CS3}, + {0, SW10_CS4}, + {0, SW10_CS5}, + {0, SW10_CS6}, + {0, SW10_CS7}, + {0, SW10_CS8}, - {0, K_1}, - {0, K_2}, - {0, K_3}, - {0, K_4}, - {0, K_5}, - {0, K_6}, - {0, K_7}, - {0, K_8}, + {0, SW11_CS1}, + {0, SW11_CS2}, + {0, SW11_CS3}, + {0, SW11_CS4}, + {0, SW11_CS5}, + {0, SW11_CS6}, + {0, SW11_CS7}, + {0, SW11_CS8}, - {0, L_1}, - {0, L_2}, - {0, L_3}, - {0, L_4}, - {0, L_5}, - {0, L_6}, - {0, L_7}, - {0, L_8} + {0, SW12_CS1}, + {0, SW12_CS2}, + {0, SW12_CS3}, + {0, SW12_CS4}, + {0, SW12_CS5}, + {0, SW12_CS6}, + {0, SW12_CS7}, + {0, SW12_CS8} }; #endif diff --git a/keyboards/wilba_tech/wt75_c/wt75_c.c b/keyboards/wilba_tech/wt75_c/wt75_c.c index c3446b2af67..741bfb95948 100644 --- a/keyboards/wilba_tech/wt75_c/wt75_c.c +++ b/keyboards/wilba_tech/wt75_c/wt75_c.c @@ -9,112 +9,112 @@ #if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT75_C) const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = { - {0, A_1}, - {0, A_2}, - {0, A_3}, - {0, A_4}, - {0, A_5}, - {0, A_6}, - {0, A_7}, - {0, A_8}, + {0, SW1_CS1}, + {0, SW1_CS2}, + {0, SW1_CS3}, + {0, SW1_CS4}, + {0, SW1_CS5}, + {0, SW1_CS6}, + {0, SW1_CS7}, + {0, SW1_CS8}, - {0, B_1}, - {0, B_2}, - {0, B_3}, - {0, B_4}, - {0, B_5}, - {0, B_6}, - {0, B_7}, - {0, B_8}, + {0, SW2_CS1}, + {0, SW2_CS2}, + {0, SW2_CS3}, + {0, SW2_CS4}, + {0, SW2_CS5}, + {0, SW2_CS6}, + {0, SW2_CS7}, + {0, SW2_CS8}, - {0, C_1}, - {0, C_2}, - {0, C_3}, - {0, C_4}, - {0, C_5}, - {0, C_6}, - {0, C_7}, - {0, C_8}, + {0, SW3_CS1}, + {0, SW3_CS2}, + {0, SW3_CS3}, + {0, SW3_CS4}, + {0, SW3_CS5}, + {0, SW3_CS6}, + {0, SW3_CS7}, + {0, SW3_CS8}, - {0, D_1}, - {0, D_2}, - {0, D_3}, - {0, D_4}, - {0, D_5}, - {0, D_6}, - {0, D_7}, - {0, D_8}, + {0, SW4_CS1}, + {0, SW4_CS2}, + {0, SW4_CS3}, + {0, SW4_CS4}, + {0, SW4_CS5}, + {0, SW4_CS6}, + {0, SW4_CS7}, + {0, SW4_CS8}, - {0, E_1}, - {0, E_2}, - {0, E_3}, - {0, E_4}, - {0, E_5}, - {0, E_6}, - {0, E_7}, - {0, E_8}, + {0, SW5_CS1}, + {0, SW5_CS2}, + {0, SW5_CS3}, + {0, SW5_CS4}, + {0, SW5_CS5}, + {0, SW5_CS6}, + {0, SW5_CS7}, + {0, SW5_CS8}, - {0, F_1}, - {0, F_2}, - {0, F_3}, - {0, F_4}, - {0, F_5}, - {0, F_6}, - {0, F_7}, - {0, F_8}, + {0, SW6_CS1}, + {0, SW6_CS2}, + {0, SW6_CS3}, + {0, SW6_CS4}, + {0, SW6_CS5}, + {0, SW6_CS6}, + {0, SW6_CS7}, + {0, SW6_CS8}, - {0, G_1}, - {0, G_2}, - {0, G_3}, - {0, G_4}, - {0, G_5}, - {0, G_6}, - {0, G_7}, - {0, G_8}, + {0, SW7_CS1}, + {0, SW7_CS2}, + {0, SW7_CS3}, + {0, SW7_CS4}, + {0, SW7_CS5}, + {0, SW7_CS6}, + {0, SW7_CS7}, + {0, SW7_CS8}, - {0, H_1}, - {0, H_2}, - {0, H_3}, - {0, H_4}, - {0, H_5}, - {0, H_6}, - {0, H_7}, - {0, H_8}, + {0, SW8_CS1}, + {0, SW8_CS2}, + {0, SW8_CS3}, + {0, SW8_CS4}, + {0, SW8_CS5}, + {0, SW8_CS6}, + {0, SW8_CS7}, + {0, SW8_CS8}, - {0, I_1}, - {0, I_2}, - {0, I_3}, - {0, I_4}, - {0, I_5}, - {0, I_6}, - {0, I_7}, - {0, I_8}, + {0, SW9_CS1}, + {0, SW9_CS2}, + {0, SW9_CS3}, + {0, SW9_CS4}, + {0, SW9_CS5}, + {0, SW9_CS6}, + {0, SW9_CS7}, + {0, SW9_CS8}, - {0, J_1}, - {0, J_2}, - {0, J_3}, - {0, J_4}, - {0, J_5}, - {0, J_6}, - {0, J_7}, - {0, J_8}, + {0, SW10_CS1}, + {0, SW10_CS2}, + {0, SW10_CS3}, + {0, SW10_CS4}, + {0, SW10_CS5}, + {0, SW10_CS6}, + {0, SW10_CS7}, + {0, SW10_CS8}, - {0, K_1}, - {0, K_2}, - {0, K_3}, - {0, K_4}, - {0, K_5}, - {0, K_6}, - {0, K_7}, - {0, K_8}, + {0, SW11_CS1}, + {0, SW11_CS2}, + {0, SW11_CS3}, + {0, SW11_CS4}, + {0, SW11_CS5}, + {0, SW11_CS6}, + {0, SW11_CS7}, + {0, SW11_CS8}, - {0, L_1}, - {0, L_2}, - {0, L_3}, - {0, L_4}, - {0, L_5}, - {0, L_6}, - {0, L_7}, - {0, L_8} + {0, SW12_CS1}, + {0, SW12_CS2}, + {0, SW12_CS3}, + {0, SW12_CS4}, + {0, SW12_CS5}, + {0, SW12_CS6}, + {0, SW12_CS7}, + {0, SW12_CS8} }; #endif diff --git a/keyboards/wilba_tech/wt80_a/wt80_a.c b/keyboards/wilba_tech/wt80_a/wt80_a.c index cf29760b62a..4acf56994df 100644 --- a/keyboards/wilba_tech/wt80_a/wt80_a.c +++ b/keyboards/wilba_tech/wt80_a/wt80_a.c @@ -9,112 +9,112 @@ #if defined(LED_MATRIX_ENABLE) || defined(MONO_BACKLIGHT_WT80_A) const is31fl3736_led_t PROGMEM g_is31fl3736_leds[IS31FL3736_LED_COUNT] = { - {0, A_1}, - {0, A_2}, - {0, A_3}, - {0, A_4}, - {0, A_5}, - {0, A_6}, - {0, A_7}, - {0, A_8}, + {0, SW1_CS1}, + {0, SW1_CS2}, + {0, SW1_CS3}, + {0, SW1_CS4}, + {0, SW1_CS5}, + {0, SW1_CS6}, + {0, SW1_CS7}, + {0, SW1_CS8}, - {0, B_1}, - {0, B_2}, - {0, B_3}, - {0, B_4}, - {0, B_5}, - {0, B_6}, - {0, B_7}, - {0, B_8}, + {0, SW2_CS1}, + {0, SW2_CS2}, + {0, SW2_CS3}, + {0, SW2_CS4}, + {0, SW2_CS5}, + {0, SW2_CS6}, + {0, SW2_CS7}, + {0, SW2_CS8}, - {0, C_1}, - {0, C_2}, - {0, C_3}, - {0, C_4}, - {0, C_5}, - {0, C_6}, - {0, C_7}, - {0, C_8}, + {0, SW3_CS1}, + {0, SW3_CS2}, + {0, SW3_CS3}, + {0, SW3_CS4}, + {0, SW3_CS5}, + {0, SW3_CS6}, + {0, SW3_CS7}, + {0, SW3_CS8}, - {0, D_1}, - {0, D_2}, - {0, D_3}, - {0, D_4}, - {0, D_5}, - {0, D_6}, - {0, D_7}, - {0, D_8}, + {0, SW4_CS1}, + {0, SW4_CS2}, + {0, SW4_CS3}, + {0, SW4_CS4}, + {0, SW4_CS5}, + {0, SW4_CS6}, + {0, SW4_CS7}, + {0, SW4_CS8}, - {0, E_1}, - {0, E_2}, - {0, E_3}, - {0, E_4}, - {0, E_5}, - {0, E_6}, - {0, E_7}, - {0, E_8}, + {0, SW5_CS1}, + {0, SW5_CS2}, + {0, SW5_CS3}, + {0, SW5_CS4}, + {0, SW5_CS5}, + {0, SW5_CS6}, + {0, SW5_CS7}, + {0, SW5_CS8}, - {0, F_1}, - {0, F_2}, - {0, F_3}, - {0, F_4}, - {0, F_5}, - {0, F_6}, - {0, F_7}, - {0, F_8}, + {0, SW6_CS1}, + {0, SW6_CS2}, + {0, SW6_CS3}, + {0, SW6_CS4}, + {0, SW6_CS5}, + {0, SW6_CS6}, + {0, SW6_CS7}, + {0, SW6_CS8}, - {0, G_1}, - {0, G_2}, - {0, G_3}, - {0, G_4}, - {0, G_5}, - {0, G_6}, - {0, G_7}, - {0, G_8}, + {0, SW7_CS1}, + {0, SW7_CS2}, + {0, SW7_CS3}, + {0, SW7_CS4}, + {0, SW7_CS5}, + {0, SW7_CS6}, + {0, SW7_CS7}, + {0, SW7_CS8}, - {0, H_1}, - {0, H_2}, - {0, H_3}, - {0, H_4}, - {0, H_5}, - {0, H_6}, - {0, H_7}, - {0, H_8}, + {0, SW8_CS1}, + {0, SW8_CS2}, + {0, SW8_CS3}, + {0, SW8_CS4}, + {0, SW8_CS5}, + {0, SW8_CS6}, + {0, SW8_CS7}, + {0, SW8_CS8}, - {0, I_1}, - {0, I_2}, - {0, I_3}, - {0, I_4}, - {0, I_5}, - {0, I_6}, - {0, I_7}, - {0, I_8}, + {0, SW9_CS1}, + {0, SW9_CS2}, + {0, SW9_CS3}, + {0, SW9_CS4}, + {0, SW9_CS5}, + {0, SW9_CS6}, + {0, SW9_CS7}, + {0, SW9_CS8}, - {0, J_1}, - {0, J_2}, - {0, J_3}, - {0, J_4}, - {0, J_5}, - {0, J_6}, - {0, J_7}, - {0, J_8}, + {0, SW10_CS1}, + {0, SW10_CS2}, + {0, SW10_CS3}, + {0, SW10_CS4}, + {0, SW10_CS5}, + {0, SW10_CS6}, + {0, SW10_CS7}, + {0, SW10_CS8}, - {0, K_1}, - {0, K_2}, - {0, K_3}, - {0, K_4}, - {0, K_5}, - {0, K_6}, - {0, K_7}, - {0, K_8}, + {0, SW11_CS1}, + {0, SW11_CS2}, + {0, SW11_CS3}, + {0, SW11_CS4}, + {0, SW11_CS5}, + {0, SW11_CS6}, + {0, SW11_CS7}, + {0, SW11_CS8}, - {0, L_1}, - {0, L_2}, - {0, L_3}, - {0, L_4}, - {0, L_5}, - {0, L_6}, - {0, L_7}, - {0, L_8} + {0, SW12_CS1}, + {0, SW12_CS2}, + {0, SW12_CS3}, + {0, SW12_CS4}, + {0, SW12_CS5}, + {0, SW12_CS6}, + {0, SW12_CS7}, + {0, SW12_CS8} }; #endif diff --git a/keyboards/xelus/pachi/rgb/rev1/rev1.c b/keyboards/xelus/pachi/rgb/rev1/rev1.c index b5786f9c3c3..b45dded891e 100644 --- a/keyboards/xelus/pachi/rgb/rev1/rev1.c +++ b/keyboards/xelus/pachi/rgb/rev1/rev1.c @@ -29,131 +29,131 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, //A1 - {0, CS36_SW1, CS35_SW1, CS34_SW1}, //A2 - {0, CS33_SW1, CS32_SW1, CS31_SW1}, //A3 - {0, CS30_SW1, CS29_SW1, CS28_SW1}, //A4 - {0, CS27_SW1, CS26_SW1, CS25_SW1}, //A5 - {0, CS24_SW1, CS23_SW1, CS22_SW1}, //A6 - {0, CS21_SW1, CS20_SW1, CS19_SW1}, //A7 - {0, CS18_SW1, CS17_SW1, CS16_SW1}, //A8 - {0, CS15_SW1, CS14_SW1, CS13_SW1}, //A9 - {0, CS12_SW1, CS11_SW1, CS10_SW1}, //A10 - {0, CS9_SW1 , CS8_SW1 , CS7_SW1 }, //A11 - {0, CS6_SW1 , CS5_SW1 , CS4_SW1 }, //A12 - {0, CS3_SW1 , CS2_SW1 , CS1_SW1 }, //A13 + {0, SW1_CS39, SW1_CS38, SW1_CS37}, //A1 + {0, SW1_CS36, SW1_CS35, SW1_CS34}, //A2 + {0, SW1_CS33, SW1_CS32, SW1_CS31}, //A3 + {0, SW1_CS30, SW1_CS29, SW1_CS28}, //A4 + {0, SW1_CS27, SW1_CS26, SW1_CS25}, //A5 + {0, SW1_CS24, SW1_CS23, SW1_CS22}, //A6 + {0, SW1_CS21, SW1_CS20, SW1_CS19}, //A7 + {0, SW1_CS18, SW1_CS17, SW1_CS16}, //A8 + {0, SW1_CS15, SW1_CS14, SW1_CS13}, //A9 + {0, SW1_CS12, SW1_CS11, SW1_CS10}, //A10 + {0, SW1_CS9 , SW1_CS8 , SW1_CS7 }, //A11 + {0, SW1_CS6 , SW1_CS5 , SW1_CS4 }, //A12 + {0, SW1_CS3 , SW1_CS2 , SW1_CS1 }, //A13 - {0, CS39_SW2, CS38_SW2, CS37_SW2}, //B1 - {0, CS36_SW2, CS35_SW2, CS34_SW2}, //B2 - {0, CS33_SW2, CS32_SW2, CS31_SW2}, //B3 - {0, CS30_SW2, CS29_SW2, CS28_SW2}, //B4 - {0, CS27_SW2, CS26_SW2, CS25_SW2}, //B5 - {0, CS24_SW2, CS23_SW2, CS22_SW2}, //B6 - {0, CS21_SW2, CS20_SW2, CS19_SW2}, //B7 - {0, CS18_SW2, CS17_SW2, CS16_SW2}, //B8 - {0, CS15_SW2, CS14_SW2, CS13_SW2}, //B9 - {0, CS12_SW2, CS11_SW2, CS10_SW2}, //B10 - {0, CS9_SW2 , CS8_SW2 , CS7_SW2 }, //B11 - {0, CS6_SW2 , CS5_SW2 , CS4_SW2 }, //B12 - {0, CS3_SW2 , CS2_SW2 , CS1_SW2 }, //B13 + {0, SW2_CS39, SW2_CS38, SW2_CS37}, //B1 + {0, SW2_CS36, SW2_CS35, SW2_CS34}, //B2 + {0, SW2_CS33, SW2_CS32, SW2_CS31}, //B3 + {0, SW2_CS30, SW2_CS29, SW2_CS28}, //B4 + {0, SW2_CS27, SW2_CS26, SW2_CS25}, //B5 + {0, SW2_CS24, SW2_CS23, SW2_CS22}, //B6 + {0, SW2_CS21, SW2_CS20, SW2_CS19}, //B7 + {0, SW2_CS18, SW2_CS17, SW2_CS16}, //B8 + {0, SW2_CS15, SW2_CS14, SW2_CS13}, //B9 + {0, SW2_CS12, SW2_CS11, SW2_CS10}, //B10 + {0, SW2_CS9 , SW2_CS8 , SW2_CS7 }, //B11 + {0, SW2_CS6 , SW2_CS5 , SW2_CS4 }, //B12 + {0, SW2_CS3 , SW2_CS2 , SW2_CS1 }, //B13 - {0, CS39_SW3, CS38_SW3, CS37_SW3}, //C1 - {0, CS36_SW3, CS35_SW3, CS34_SW3}, //C2 - {0, CS33_SW3, CS32_SW3, CS31_SW3}, //C3 - {0, CS30_SW3, CS29_SW3, CS28_SW3}, //C4 - {0, CS27_SW3, CS26_SW3, CS25_SW3}, //C5 - {0, CS24_SW3, CS23_SW3, CS22_SW3}, //C6 - {0, CS21_SW3, CS20_SW3, CS19_SW3}, //C7 - {0, CS18_SW3, CS17_SW3, CS16_SW3}, //C8 - {0, CS15_SW3, CS14_SW3, CS13_SW3}, //C9 - {0, CS12_SW3, CS11_SW3, CS10_SW3}, //C10 - {0, CS9_SW3 , CS8_SW3 , CS7_SW3 }, //C11 - {0, CS6_SW3 , CS5_SW3 , CS4_SW3 }, //C12 - {0, CS3_SW3 , CS2_SW3 , CS1_SW3 }, //C13 + {0, SW3_CS39, SW3_CS38, SW3_CS37}, //C1 + {0, SW3_CS36, SW3_CS35, SW3_CS34}, //C2 + {0, SW3_CS33, SW3_CS32, SW3_CS31}, //C3 + {0, SW3_CS30, SW3_CS29, SW3_CS28}, //C4 + {0, SW3_CS27, SW3_CS26, SW3_CS25}, //C5 + {0, SW3_CS24, SW3_CS23, SW3_CS22}, //C6 + {0, SW3_CS21, SW3_CS20, SW3_CS19}, //C7 + {0, SW3_CS18, SW3_CS17, SW3_CS16}, //C8 + {0, SW3_CS15, SW3_CS14, SW3_CS13}, //C9 + {0, SW3_CS12, SW3_CS11, SW3_CS10}, //C10 + {0, SW3_CS9 , SW3_CS8 , SW3_CS7 }, //C11 + {0, SW3_CS6 , SW3_CS5 , SW3_CS4 }, //C12 + {0, SW3_CS3 , SW3_CS2 , SW3_CS1 }, //C13 - {0, CS39_SW4, CS38_SW4, CS37_SW4}, //D1 - {0, CS36_SW4, CS35_SW4, CS34_SW4}, //D2 - {0, CS33_SW4, CS32_SW4, CS31_SW4}, //D3 - {0, CS30_SW4, CS29_SW4, CS28_SW4}, //D4 - {0, CS27_SW4, CS26_SW4, CS25_SW4}, //D5 - {0, CS24_SW4, CS23_SW4, CS22_SW4}, //D6 - {0, CS21_SW4, CS20_SW4, CS19_SW4}, //D7 - {0, CS18_SW4, CS17_SW4, CS16_SW4}, //D8 - {0, CS15_SW4, CS14_SW4, CS13_SW4}, //D9 - {0, CS12_SW4, CS11_SW4, CS10_SW4}, //D10 - {0, CS9_SW4 , CS8_SW4 , CS7_SW4 }, //D11 - {0, CS6_SW4 , CS5_SW4 , CS4_SW4 }, //D12 - {0, CS3_SW4 , CS2_SW4 , CS1_SW4 }, //D13 + {0, SW4_CS39, SW4_CS38, SW4_CS37}, //D1 + {0, SW4_CS36, SW4_CS35, SW4_CS34}, //D2 + {0, SW4_CS33, SW4_CS32, SW4_CS31}, //D3 + {0, SW4_CS30, SW4_CS29, SW4_CS28}, //D4 + {0, SW4_CS27, SW4_CS26, SW4_CS25}, //D5 + {0, SW4_CS24, SW4_CS23, SW4_CS22}, //D6 + {0, SW4_CS21, SW4_CS20, SW4_CS19}, //D7 + {0, SW4_CS18, SW4_CS17, SW4_CS16}, //D8 + {0, SW4_CS15, SW4_CS14, SW4_CS13}, //D9 + {0, SW4_CS12, SW4_CS11, SW4_CS10}, //D10 + {0, SW4_CS9 , SW4_CS8 , SW4_CS7 }, //D11 + {0, SW4_CS6 , SW4_CS5 , SW4_CS4 }, //D12 + {0, SW4_CS3 , SW4_CS2 , SW4_CS1 }, //D13 - {0, CS39_SW5, CS38_SW5, CS37_SW5}, //E1 - {0, CS36_SW5, CS35_SW5, CS34_SW5}, //E2 - {0, CS33_SW5, CS32_SW5, CS31_SW5}, //E3 - {0, CS30_SW5, CS29_SW5, CS28_SW5}, //E4 - {0, CS27_SW5, CS26_SW5, CS25_SW5}, //E5 - {0, CS24_SW5, CS23_SW5, CS22_SW5}, //E6 - {0, CS21_SW5, CS20_SW5, CS19_SW5}, //E7 - {0, CS18_SW5, CS17_SW5, CS16_SW5}, //E8 - {0, CS15_SW5, CS14_SW5, CS13_SW5}, //E9 - {0, CS12_SW5, CS11_SW5, CS10_SW5}, //E10 - {0, CS9_SW5 , CS8_SW5 , CS7_SW5 }, //E11 - {0, CS6_SW5 , CS5_SW5 , CS4_SW5 }, //E12 - {0, CS3_SW5 , CS2_SW5 , CS1_SW5 }, //E13 + {0, SW5_CS39, SW5_CS38, SW5_CS37}, //E1 + {0, SW5_CS36, SW5_CS35, SW5_CS34}, //E2 + {0, SW5_CS33, SW5_CS32, SW5_CS31}, //E3 + {0, SW5_CS30, SW5_CS29, SW5_CS28}, //E4 + {0, SW5_CS27, SW5_CS26, SW5_CS25}, //E5 + {0, SW5_CS24, SW5_CS23, SW5_CS22}, //E6 + {0, SW5_CS21, SW5_CS20, SW5_CS19}, //E7 + {0, SW5_CS18, SW5_CS17, SW5_CS16}, //E8 + {0, SW5_CS15, SW5_CS14, SW5_CS13}, //E9 + {0, SW5_CS12, SW5_CS11, SW5_CS10}, //E10 + {0, SW5_CS9 , SW5_CS8 , SW5_CS7 }, //E11 + {0, SW5_CS6 , SW5_CS5 , SW5_CS4 }, //E12 + {0, SW5_CS3 , SW5_CS2 , SW5_CS1 }, //E13 - {0, CS39_SW6, CS38_SW6, CS37_SW6}, //F1 - {0, CS36_SW6, CS35_SW6, CS34_SW6}, //F2 - {0, CS33_SW6, CS32_SW6, CS31_SW6}, //F3 - {0, CS30_SW6, CS29_SW6, CS28_SW6}, //F4 - {0, CS27_SW6, CS26_SW6, CS25_SW6}, //F5 - {0, CS24_SW6, CS23_SW6, CS22_SW6}, //F6 - {0, CS21_SW6, CS20_SW6, CS19_SW6}, //F7 - {0, CS18_SW6, CS17_SW6, CS16_SW6}, //F8 - {0, CS15_SW6, CS14_SW6, CS13_SW6}, //F9 - {0, CS12_SW6, CS11_SW6, CS10_SW6}, //F10 - {0, CS9_SW6 , CS8_SW6 , CS7_SW6 }, //F11 - {0, CS6_SW6 , CS5_SW6 , CS4_SW6 }, //F12 - {0, CS3_SW6 , CS2_SW6 , CS1_SW6 }, //F13 + {0, SW6_CS39, SW6_CS38, SW6_CS37}, //F1 + {0, SW6_CS36, SW6_CS35, SW6_CS34}, //F2 + {0, SW6_CS33, SW6_CS32, SW6_CS31}, //F3 + {0, SW6_CS30, SW6_CS29, SW6_CS28}, //F4 + {0, SW6_CS27, SW6_CS26, SW6_CS25}, //F5 + {0, SW6_CS24, SW6_CS23, SW6_CS22}, //F6 + {0, SW6_CS21, SW6_CS20, SW6_CS19}, //F7 + {0, SW6_CS18, SW6_CS17, SW6_CS16}, //F8 + {0, SW6_CS15, SW6_CS14, SW6_CS13}, //F9 + {0, SW6_CS12, SW6_CS11, SW6_CS10}, //F10 + {0, SW6_CS9 , SW6_CS8 , SW6_CS7 }, //F11 + {0, SW6_CS6 , SW6_CS5 , SW6_CS4 }, //F12 + {0, SW6_CS3 , SW6_CS2 , SW6_CS1 }, //F13 - {0, CS39_SW7, CS38_SW7, CS37_SW7}, //G1 - {0, CS36_SW7, CS35_SW7, CS34_SW7}, //G2 - {0, CS33_SW7, CS32_SW7, CS31_SW7}, //G3 - {0, CS30_SW7, CS29_SW7, CS28_SW7}, //G4 - {0, CS27_SW7, CS26_SW7, CS25_SW7}, //G5 - {0, CS24_SW7, CS23_SW7, CS22_SW7}, //G6 - {0, CS21_SW7, CS20_SW7, CS19_SW7}, //G7 - {0, CS18_SW7, CS17_SW7, CS16_SW7}, //G8 - {0, CS15_SW7, CS14_SW7, CS13_SW7}, //G9 - {0, CS12_SW7, CS11_SW7, CS10_SW7}, //G10 - {0, CS9_SW7 , CS8_SW7 , CS7_SW7 }, //G11 - {0, CS6_SW7 , CS5_SW7 , CS4_SW7 }, //G12 - {0, CS3_SW7 , CS2_SW7 , CS1_SW7 }, //G13 + {0, SW7_CS39, SW7_CS38, SW7_CS37}, //G1 + {0, SW7_CS36, SW7_CS35, SW7_CS34}, //G2 + {0, SW7_CS33, SW7_CS32, SW7_CS31}, //G3 + {0, SW7_CS30, SW7_CS29, SW7_CS28}, //G4 + {0, SW7_CS27, SW7_CS26, SW7_CS25}, //G5 + {0, SW7_CS24, SW7_CS23, SW7_CS22}, //G6 + {0, SW7_CS21, SW7_CS20, SW7_CS19}, //G7 + {0, SW7_CS18, SW7_CS17, SW7_CS16}, //G8 + {0, SW7_CS15, SW7_CS14, SW7_CS13}, //G9 + {0, SW7_CS12, SW7_CS11, SW7_CS10}, //G10 + {0, SW7_CS9 , SW7_CS8 , SW7_CS7 }, //G11 + {0, SW7_CS6 , SW7_CS5 , SW7_CS4 }, //G12 + {0, SW7_CS3 , SW7_CS2 , SW7_CS1 }, //G13 - {0, CS39_SW8, CS38_SW8, CS37_SW8}, //H1 - {0, CS36_SW8, CS35_SW8, CS34_SW8}, //H2 - {0, CS33_SW8, CS32_SW8, CS31_SW8}, //H3 - {0, CS30_SW8, CS29_SW8, CS28_SW8}, //H4 - {0, CS27_SW8, CS26_SW8, CS25_SW8}, //H5 - {0, CS24_SW8, CS23_SW8, CS22_SW8}, //H6 - {0, CS21_SW8, CS20_SW8, CS19_SW8}, //H7 - {0, CS18_SW8, CS17_SW8, CS16_SW8}, //H8 - {0, CS15_SW8, CS14_SW8, CS13_SW8}, //H9 - {0, CS12_SW8, CS11_SW8, CS10_SW8}, //H10 - {0, CS9_SW8 , CS8_SW8 , CS7_SW8 }, //H11 - {0, CS6_SW8 , CS5_SW8 , CS4_SW8 }, //H12 - {0, CS3_SW8 , CS2_SW8 , CS1_SW8 }, //H13 + {0, SW8_CS39, SW8_CS38, SW8_CS37}, //H1 + {0, SW8_CS36, SW8_CS35, SW8_CS34}, //H2 + {0, SW8_CS33, SW8_CS32, SW8_CS31}, //H3 + {0, SW8_CS30, SW8_CS29, SW8_CS28}, //H4 + {0, SW8_CS27, SW8_CS26, SW8_CS25}, //H5 + {0, SW8_CS24, SW8_CS23, SW8_CS22}, //H6 + {0, SW8_CS21, SW8_CS20, SW8_CS19}, //H7 + {0, SW8_CS18, SW8_CS17, SW8_CS16}, //H8 + {0, SW8_CS15, SW8_CS14, SW8_CS13}, //H9 + {0, SW8_CS12, SW8_CS11, SW8_CS10}, //H10 + {0, SW8_CS9 , SW8_CS8 , SW8_CS7 }, //H11 + {0, SW8_CS6 , SW8_CS5 , SW8_CS4 }, //H12 + {0, SW8_CS3 , SW8_CS2 , SW8_CS1 }, //H13 - {0, CS39_SW9, CS38_SW9, CS37_SW9}, //I1 - {0, CS36_SW9, CS35_SW9, CS34_SW9}, //I2 - {0, CS33_SW9, CS32_SW9, CS31_SW9}, //I3 - {0, CS30_SW9, CS29_SW9, CS28_SW9}, //I4 - {0, CS27_SW9, CS26_SW9, CS25_SW9}, //I5 - {0, CS24_SW9, CS23_SW9, CS22_SW9}, //I6 - {0, CS21_SW9, CS20_SW9, CS19_SW9}, //I7 - {0, CS18_SW9, CS17_SW9, CS16_SW9}, //I8 - {0, CS15_SW9, CS14_SW9, CS13_SW9}, //I9 - {0, CS12_SW9, CS11_SW9, CS10_SW9}, //I10 - {0, CS9_SW9 , CS8_SW9 , CS7_SW9 }, //I11 - {0, CS6_SW9 , CS5_SW9 , CS4_SW9 }, //I12 - {0, CS3_SW9 , CS2_SW9 , CS1_SW9 } //I13 + {0, SW9_CS39, SW9_CS38, SW9_CS37}, //I1 + {0, SW9_CS36, SW9_CS35, SW9_CS34}, //I2 + {0, SW9_CS33, SW9_CS32, SW9_CS31}, //I3 + {0, SW9_CS30, SW9_CS29, SW9_CS28}, //I4 + {0, SW9_CS27, SW9_CS26, SW9_CS25}, //I5 + {0, SW9_CS24, SW9_CS23, SW9_CS22}, //I6 + {0, SW9_CS21, SW9_CS20, SW9_CS19}, //I7 + {0, SW9_CS18, SW9_CS17, SW9_CS16}, //I8 + {0, SW9_CS15, SW9_CS14, SW9_CS13}, //I9 + {0, SW9_CS12, SW9_CS11, SW9_CS10}, //I10 + {0, SW9_CS9 , SW9_CS8 , SW9_CS7 }, //I11 + {0, SW9_CS6 , SW9_CS5 , SW9_CS4 }, //I12 + {0, SW9_CS3 , SW9_CS2 , SW9_CS1 } //I13 }; __attribute__ ((weak)) diff --git a/keyboards/xelus/pachi/rgb/rev2/rev2.c b/keyboards/xelus/pachi/rgb/rev2/rev2.c index f38d2c67b51..f595e889c3b 100644 --- a/keyboards/xelus/pachi/rgb/rev2/rev2.c +++ b/keyboards/xelus/pachi/rgb/rev2/rev2.c @@ -29,131 +29,131 @@ const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { * | | G location * | | | B location * | | | | */ - {0, CS39_SW1, CS38_SW1, CS37_SW1}, //A1 - {0, CS36_SW1, CS35_SW1, CS34_SW1}, //A2 - {0, CS33_SW1, CS32_SW1, CS31_SW1}, //A3 - {0, CS30_SW1, CS29_SW1, CS28_SW1}, //A4 - {0, CS27_SW1, CS26_SW1, CS25_SW1}, //A5 - {0, CS24_SW1, CS23_SW1, CS22_SW1}, //A6 - {0, CS21_SW1, CS20_SW1, CS19_SW1}, //A7 - {0, CS18_SW1, CS17_SW1, CS16_SW1}, //A8 - {0, CS15_SW1, CS14_SW1, CS13_SW1}, //A9 - {0, CS12_SW1, CS11_SW1, CS10_SW1}, //A10 - {0, CS9_SW1 , CS8_SW1 , CS7_SW1 }, //A11 - {0, CS6_SW1 , CS5_SW1 , CS4_SW1 }, //A12 - {0, CS3_SW1 , CS2_SW1 , CS1_SW1 }, //A13 - - {0, CS39_SW2, CS38_SW2, CS37_SW2}, //B1 - {0, CS36_SW2, CS35_SW2, CS34_SW2}, //B2 - {0, CS33_SW2, CS32_SW2, CS31_SW2}, //B3 - {0, CS30_SW2, CS29_SW2, CS28_SW2}, //B4 - {0, CS27_SW2, CS26_SW2, CS25_SW2}, //B5 - {0, CS24_SW2, CS23_SW2, CS22_SW2}, //B6 - {0, CS21_SW2, CS20_SW2, CS19_SW2}, //B7 - {0, CS18_SW2, CS17_SW2, CS16_SW2}, //B8 - {0, CS15_SW2, CS14_SW2, CS13_SW2}, //B9 - {0, CS12_SW2, CS11_SW2, CS10_SW2}, //B10 - {0, CS9_SW2 , CS8_SW2 , CS7_SW2 }, //B11 - {0, CS6_SW2 , CS5_SW2 , CS4_SW2 }, //B12 - {0, CS3_SW2 , CS2_SW2 , CS1_SW2 }, //B13 - - {0, CS39_SW3, CS38_SW3, CS37_SW3}, //C1 - {0, CS36_SW3, CS35_SW3, CS34_SW3}, //C2 - {0, CS33_SW3, CS32_SW3, CS31_SW3}, //C3 - {0, CS30_SW3, CS29_SW3, CS28_SW3}, //C4 - {0, CS27_SW3, CS26_SW3, CS25_SW3}, //C5 - {0, CS24_SW3, CS23_SW3, CS22_SW3}, //C6 - {0, CS21_SW3, CS20_SW3, CS19_SW3}, //C7 - {0, CS18_SW3, CS17_SW3, CS16_SW3}, //C8 - {0, CS15_SW3, CS14_SW3, CS13_SW3}, //C9 - {0, CS12_SW3, CS11_SW3, CS10_SW3}, //C10 - {0, CS9_SW3 , CS8_SW3 , CS7_SW3 }, //C11 - {0, CS6_SW3 , CS5_SW3 , CS4_SW3 }, //C12 - {0, CS3_SW3 , CS2_SW3 , CS1_SW3 }, //C13 - - {0, CS39_SW4, CS38_SW4, CS37_SW4}, //D1 - {0, CS36_SW4, CS35_SW4, CS34_SW4}, //D2 - {0, CS33_SW4, CS32_SW4, CS31_SW4}, //D3 - {0, CS30_SW4, CS29_SW4, CS28_SW4}, //D4 - {0, CS27_SW4, CS26_SW4, CS25_SW4}, //D5 - {0, CS24_SW4, CS23_SW4, CS22_SW4}, //D6 - {0, CS21_SW4, CS20_SW4, CS19_SW4}, //D7 - {0, CS18_SW4, CS17_SW4, CS16_SW4}, //D8 - {0, CS15_SW4, CS14_SW4, CS13_SW4}, //D9 - {0, CS12_SW4, CS11_SW4, CS10_SW4}, //D10 - {0, CS9_SW4 , CS8_SW4 , CS7_SW4 }, //D11 - {0, CS6_SW4 , CS5_SW4 , CS4_SW4 }, //D12 - {0, CS3_SW4 , CS2_SW4 , CS1_SW4 }, //D13 - - {0, CS39_SW5, CS38_SW5, CS37_SW5}, //E1 - {0, CS36_SW5, CS35_SW5, CS34_SW5}, //E2 - {0, CS33_SW5, CS32_SW5, CS31_SW5}, //E3 - {0, CS30_SW5, CS29_SW5, CS28_SW5}, //E4 - {0, CS27_SW5, CS26_SW5, CS25_SW5}, //E5 - {0, CS24_SW5, CS23_SW5, CS22_SW5}, //E6 - {0, CS21_SW5, CS20_SW5, CS19_SW5}, //E7 - {0, CS18_SW5, CS17_SW5, CS16_SW5}, //E8 - {0, CS15_SW5, CS14_SW5, CS13_SW5}, //E9 - {0, CS12_SW5, CS11_SW5, CS10_SW5}, //E10 - {0, CS9_SW5 , CS8_SW5 , CS7_SW5 }, //E11 - {0, CS6_SW5 , CS5_SW5 , CS4_SW5 }, //E12 - {0, CS3_SW5 , CS2_SW5 , CS1_SW5 }, //E13 - - {0, CS39_SW6, CS38_SW6, CS37_SW6}, //F1 - {0, CS36_SW6, CS35_SW6, CS34_SW6}, //F2 - {0, CS33_SW6, CS32_SW6, CS31_SW6}, //F3 - {0, CS30_SW6, CS29_SW6, CS28_SW6}, //F4 - {0, CS27_SW6, CS26_SW6, CS25_SW6}, //F5 - {0, CS24_SW6, CS23_SW6, CS22_SW6}, //F6 - {0, CS21_SW6, CS20_SW6, CS19_SW6}, //F7 - {0, CS18_SW6, CS17_SW6, CS16_SW6}, //F8 - {0, CS15_SW6, CS14_SW6, CS13_SW6}, //F9 - {0, CS12_SW6, CS11_SW6, CS10_SW6}, //F10 - {0, CS9_SW6 , CS8_SW6 , CS7_SW6 }, //F11 - {0, CS6_SW6 , CS5_SW6 , CS4_SW6 }, //F12 - {0, CS3_SW6 , CS2_SW6 , CS1_SW6 }, //F13 - - {0, CS39_SW7, CS38_SW7, CS37_SW7}, //G1 - {0, CS36_SW7, CS35_SW7, CS34_SW7}, //G2 - {0, CS33_SW7, CS32_SW7, CS31_SW7}, //G3 - {0, CS30_SW7, CS29_SW7, CS28_SW7}, //G4 - {0, CS27_SW7, CS26_SW7, CS25_SW7}, //G5 - {0, CS24_SW7, CS23_SW7, CS22_SW7}, //G6 - {0, CS21_SW7, CS20_SW7, CS19_SW7}, //G7 - {0, CS18_SW7, CS17_SW7, CS16_SW7}, //G8 - {0, CS15_SW7, CS14_SW7, CS13_SW7}, //G9 - {0, CS12_SW7, CS11_SW7, CS10_SW7}, //G10 - {0, CS9_SW7 , CS8_SW7 , CS7_SW7 }, //G11 - {0, CS6_SW7 , CS5_SW7 , CS4_SW7 }, //G12 - {0, CS3_SW7 , CS2_SW7 , CS1_SW7 }, //G13 - - {0, CS39_SW8, CS38_SW8, CS37_SW8}, //H1 - {0, CS36_SW8, CS35_SW8, CS34_SW8}, //H2 - {0, CS33_SW8, CS32_SW8, CS31_SW8}, //H3 - {0, CS30_SW8, CS29_SW8, CS28_SW8}, //H4 - {0, CS27_SW8, CS26_SW8, CS25_SW8}, //H5 - {0, CS24_SW8, CS23_SW8, CS22_SW8}, //H6 - {0, CS21_SW8, CS20_SW8, CS19_SW8}, //H7 - {0, CS18_SW8, CS17_SW8, CS16_SW8}, //H8 - {0, CS15_SW8, CS14_SW8, CS13_SW8}, //H9 - {0, CS12_SW8, CS11_SW8, CS10_SW8}, //H10 - {0, CS9_SW8 , CS8_SW8 , CS7_SW8 }, //H11 - {0, CS6_SW8 , CS5_SW8 , CS4_SW8 }, //H12 - {0, CS3_SW8 , CS2_SW8 , CS1_SW8 }, //H13 - - {0, CS39_SW9, CS38_SW9, CS37_SW9}, //I1 - {0, CS36_SW9, CS35_SW9, CS34_SW9}, //I2 - {0, CS33_SW9, CS32_SW9, CS31_SW9}, //I3 - {0, CS30_SW9, CS29_SW9, CS28_SW9}, //I4 - {0, CS27_SW9, CS26_SW9, CS25_SW9}, //I5 - {0, CS24_SW9, CS23_SW9, CS22_SW9}, //I6 - {0, CS21_SW9, CS20_SW9, CS19_SW9}, //I7 - {0, CS18_SW9, CS17_SW9, CS16_SW9}, //I8 - {0, CS15_SW9, CS14_SW9, CS13_SW9}, //I9 - {0, CS12_SW9, CS11_SW9, CS10_SW9}, //I10 - {0, CS9_SW9 , CS8_SW9 , CS7_SW9 }, //I11 - {0, CS6_SW9 , CS5_SW9 , CS4_SW9 }, //I12 - {0, CS3_SW9 , CS2_SW9 , CS1_SW9 } //I13 + {0, SW1_CS39, SW1_CS38, SW1_CS37}, //A1 + {0, SW1_CS36, SW1_CS35, SW1_CS34}, //A2 + {0, SW1_CS33, SW1_CS32, SW1_CS31}, //A3 + {0, SW1_CS30, SW1_CS29, SW1_CS28}, //A4 + {0, SW1_CS27, SW1_CS26, SW1_CS25}, //A5 + {0, SW1_CS24, SW1_CS23, SW1_CS22}, //A6 + {0, SW1_CS21, SW1_CS20, SW1_CS19}, //A7 + {0, SW1_CS18, SW1_CS17, SW1_CS16}, //A8 + {0, SW1_CS15, SW1_CS14, SW1_CS13}, //A9 + {0, SW1_CS12, SW1_CS11, SW1_CS10}, //A10 + {0, SW1_CS9 , SW1_CS8 , SW1_CS7 }, //A11 + {0, SW1_CS6 , SW1_CS5 , SW1_CS4 }, //A12 + {0, SW1_CS3 , SW1_CS2 , SW1_CS1 }, //A13 + + {0, SW2_CS39, SW2_CS38, SW2_CS37}, //B1 + {0, SW2_CS36, SW2_CS35, SW2_CS34}, //B2 + {0, SW2_CS33, SW2_CS32, SW2_CS31}, //B3 + {0, SW2_CS30, SW2_CS29, SW2_CS28}, //B4 + {0, SW2_CS27, SW2_CS26, SW2_CS25}, //B5 + {0, SW2_CS24, SW2_CS23, SW2_CS22}, //B6 + {0, SW2_CS21, SW2_CS20, SW2_CS19}, //B7 + {0, SW2_CS18, SW2_CS17, SW2_CS16}, //B8 + {0, SW2_CS15, SW2_CS14, SW2_CS13}, //B9 + {0, SW2_CS12, SW2_CS11, SW2_CS10}, //B10 + {0, SW2_CS9 , SW2_CS8 , SW2_CS7 }, //B11 + {0, SW2_CS6 , SW2_CS5 , SW2_CS4 }, //B12 + {0, SW2_CS3 , SW2_CS2 , SW2_CS1 }, //B13 + + {0, SW3_CS39, SW3_CS38, SW3_CS37}, //C1 + {0, SW3_CS36, SW3_CS35, SW3_CS34}, //C2 + {0, SW3_CS33, SW3_CS32, SW3_CS31}, //C3 + {0, SW3_CS30, SW3_CS29, SW3_CS28}, //C4 + {0, SW3_CS27, SW3_CS26, SW3_CS25}, //C5 + {0, SW3_CS24, SW3_CS23, SW3_CS22}, //C6 + {0, SW3_CS21, SW3_CS20, SW3_CS19}, //C7 + {0, SW3_CS18, SW3_CS17, SW3_CS16}, //C8 + {0, SW3_CS15, SW3_CS14, SW3_CS13}, //C9 + {0, SW3_CS12, SW3_CS11, SW3_CS10}, //C10 + {0, SW3_CS9 , SW3_CS8 , SW3_CS7 }, //C11 + {0, SW3_CS6 , SW3_CS5 , SW3_CS4 }, //C12 + {0, SW3_CS3 , SW3_CS2 , SW3_CS1 }, //C13 + + {0, SW4_CS39, SW4_CS38, SW4_CS37}, //D1 + {0, SW4_CS36, SW4_CS35, SW4_CS34}, //D2 + {0, SW4_CS33, SW4_CS32, SW4_CS31}, //D3 + {0, SW4_CS30, SW4_CS29, SW4_CS28}, //D4 + {0, SW4_CS27, SW4_CS26, SW4_CS25}, //D5 + {0, SW4_CS24, SW4_CS23, SW4_CS22}, //D6 + {0, SW4_CS21, SW4_CS20, SW4_CS19}, //D7 + {0, SW4_CS18, SW4_CS17, SW4_CS16}, //D8 + {0, SW4_CS15, SW4_CS14, SW4_CS13}, //D9 + {0, SW4_CS12, SW4_CS11, SW4_CS10}, //D10 + {0, SW4_CS9 , SW4_CS8 , SW4_CS7 }, //D11 + {0, SW4_CS6 , SW4_CS5 , SW4_CS4 }, //D12 + {0, SW4_CS3 , SW4_CS2 , SW4_CS1 }, //D13 + + {0, SW5_CS39, SW5_CS38, SW5_CS37}, //E1 + {0, SW5_CS36, SW5_CS35, SW5_CS34}, //E2 + {0, SW5_CS33, SW5_CS32, SW5_CS31}, //E3 + {0, SW5_CS30, SW5_CS29, SW5_CS28}, //E4 + {0, SW5_CS27, SW5_CS26, SW5_CS25}, //E5 + {0, SW5_CS24, SW5_CS23, SW5_CS22}, //E6 + {0, SW5_CS21, SW5_CS20, SW5_CS19}, //E7 + {0, SW5_CS18, SW5_CS17, SW5_CS16}, //E8 + {0, SW5_CS15, SW5_CS14, SW5_CS13}, //E9 + {0, SW5_CS12, SW5_CS11, SW5_CS10}, //E10 + {0, SW5_CS9 , SW5_CS8 , SW5_CS7 }, //E11 + {0, SW5_CS6 , SW5_CS5 , SW5_CS4 }, //E12 + {0, SW5_CS3 , SW5_CS2 , SW5_CS1 }, //E13 + + {0, SW6_CS39, SW6_CS38, SW6_CS37}, //F1 + {0, SW6_CS36, SW6_CS35, SW6_CS34}, //F2 + {0, SW6_CS33, SW6_CS32, SW6_CS31}, //F3 + {0, SW6_CS30, SW6_CS29, SW6_CS28}, //F4 + {0, SW6_CS27, SW6_CS26, SW6_CS25}, //F5 + {0, SW6_CS24, SW6_CS23, SW6_CS22}, //F6 + {0, SW6_CS21, SW6_CS20, SW6_CS19}, //F7 + {0, SW6_CS18, SW6_CS17, SW6_CS16}, //F8 + {0, SW6_CS15, SW6_CS14, SW6_CS13}, //F9 + {0, SW6_CS12, SW6_CS11, SW6_CS10}, //F10 + {0, SW6_CS9 , SW6_CS8 , SW6_CS7 }, //F11 + {0, SW6_CS6 , SW6_CS5 , SW6_CS4 }, //F12 + {0, SW6_CS3 , SW6_CS2 , SW6_CS1 }, //F13 + + {0, SW7_CS39, SW7_CS38, SW7_CS37}, //G1 + {0, SW7_CS36, SW7_CS35, SW7_CS34}, //G2 + {0, SW7_CS33, SW7_CS32, SW7_CS31}, //G3 + {0, SW7_CS30, SW7_CS29, SW7_CS28}, //G4 + {0, SW7_CS27, SW7_CS26, SW7_CS25}, //G5 + {0, SW7_CS24, SW7_CS23, SW7_CS22}, //G6 + {0, SW7_CS21, SW7_CS20, SW7_CS19}, //G7 + {0, SW7_CS18, SW7_CS17, SW7_CS16}, //G8 + {0, SW7_CS15, SW7_CS14, SW7_CS13}, //G9 + {0, SW7_CS12, SW7_CS11, SW7_CS10}, //G10 + {0, SW7_CS9 , SW7_CS8 , SW7_CS7 }, //G11 + {0, SW7_CS6 , SW7_CS5 , SW7_CS4 }, //G12 + {0, SW7_CS3 , SW7_CS2 , SW7_CS1 }, //G13 + + {0, SW8_CS39, SW8_CS38, SW8_CS37}, //H1 + {0, SW8_CS36, SW8_CS35, SW8_CS34}, //H2 + {0, SW8_CS33, SW8_CS32, SW8_CS31}, //H3 + {0, SW8_CS30, SW8_CS29, SW8_CS28}, //H4 + {0, SW8_CS27, SW8_CS26, SW8_CS25}, //H5 + {0, SW8_CS24, SW8_CS23, SW8_CS22}, //H6 + {0, SW8_CS21, SW8_CS20, SW8_CS19}, //H7 + {0, SW8_CS18, SW8_CS17, SW8_CS16}, //H8 + {0, SW8_CS15, SW8_CS14, SW8_CS13}, //H9 + {0, SW8_CS12, SW8_CS11, SW8_CS10}, //H10 + {0, SW8_CS9 , SW8_CS8 , SW8_CS7 }, //H11 + {0, SW8_CS6 , SW8_CS5 , SW8_CS4 }, //H12 + {0, SW8_CS3 , SW8_CS2 , SW8_CS1 }, //H13 + + {0, SW9_CS39, SW9_CS38, SW9_CS37}, //I1 + {0, SW9_CS36, SW9_CS35, SW9_CS34}, //I2 + {0, SW9_CS33, SW9_CS32, SW9_CS31}, //I3 + {0, SW9_CS30, SW9_CS29, SW9_CS28}, //I4 + {0, SW9_CS27, SW9_CS26, SW9_CS25}, //I5 + {0, SW9_CS24, SW9_CS23, SW9_CS22}, //I6 + {0, SW9_CS21, SW9_CS20, SW9_CS19}, //I7 + {0, SW9_CS18, SW9_CS17, SW9_CS16}, //I8 + {0, SW9_CS15, SW9_CS14, SW9_CS13}, //I9 + {0, SW9_CS12, SW9_CS11, SW9_CS10}, //I10 + {0, SW9_CS9 , SW9_CS8 , SW9_CS7 }, //I11 + {0, SW9_CS6 , SW9_CS5 , SW9_CS4 }, //I12 + {0, SW9_CS3 , SW9_CS2 , SW9_CS1 } //I13 }; __attribute__ ((weak)) From 34a113c97b192fbe28d963178a4d672fb780e27f Mon Sep 17 00:00:00 2001 From: Sergey Vlasov Date: Mon, 26 Feb 2024 05:04:27 +0300 Subject: [PATCH 013/107] Nix shell updates (Nixpkgs 2024-02-23, QMK CLI 1.1.5) (#23143) --- shell.nix | 44 +- util/nix/poetry.lock | 970 ++++++++++++++++++---------------------- util/nix/pyproject.toml | 24 +- util/nix/sources.json | 12 +- util/nix/sources.nix | 118 +++-- 5 files changed, 524 insertions(+), 644 deletions(-) diff --git a/shell.nix b/shell.nix index 63e5af0525d..88822b0b17e 100644 --- a/shell.nix +++ b/shell.nix @@ -1,29 +1,9 @@ let # We specify sources via Niv: use "niv update nixpkgs" to update nixpkgs, for example. sources = import ./util/nix/sources.nix { }; - - # `tomlkit` >= 0.8.0 is required to build `jsonschema` >= 4.11.0 (older - # version do not support some valid TOML syntax: sdispater/tomlkit#148). The - # updated `tomlkit` must be used by `makeRemoveSpecialDependenciesHook` - # inside `poetry2nix`, therefore just providing the updated version through - # our `nix/pyproject.toml` does not work, and using an overlay is required. - pythonOverlay = final: prev: { - python3 = prev.python3.override { - packageOverrides = self: super: { - tomlkit = super.tomlkit.overridePythonAttrs(old: rec { - version = "0.11.4"; - src = super.fetchPypi { - inherit (old) pname; - inherit version; - sha256 = "sha256-MjWpAQ+uVDI+cnw6wG+3IHUv5mNbNCbjedrsYPvUSoM="; - }; - }); - }; - }; - }; in # However, if you want to override Niv's inputs, this will let you do that. -{ pkgs ? import sources.nixpkgs { overlays = [ pythonOverlay ]; } +{ pkgs ? import sources.nixpkgs { } , poetry2nix ? pkgs.callPackage (import sources.poetry2nix) { } , avr ? true , arm ? true @@ -49,18 +29,22 @@ let pythonEnv = poetry2nix.mkPoetryEnv { projectDir = ./util/nix; overrides = poetry2nix.overrides.withDefaults (self: super: { - pillow = super.pillow.overridePythonAttrs(old: { - # Use preConfigure from nixpkgs to fix library detection issues and - # impurities which can break the build process; this also requires - # adding propagatedBuildInputs and buildInputs from the same source. - propagatedBuildInputs = (old.buildInputs or []) ++ pkgs.python3.pkgs.pillow.propagatedBuildInputs; - buildInputs = (old.buildInputs or []) ++ pkgs.python3.pkgs.pillow.buildInputs; - preConfigure = (old.preConfigure or "") + pkgs.python3.pkgs.pillow.preConfigure; - }); qmk = super.qmk.overridePythonAttrs(old: { # Allow QMK CLI to run "qmk" as a subprocess (the wrapper changes # $PATH and breaks these invocations). dontWrapPythonPrograms = true; + + # Fix "qmk setup" to use the Python interpreter from the environment + # when invoking "qmk doctor" (sys.executable gets its value from + # $NIX_PYTHONEXECUTABLE, which is set by the "qmk" wrapper from the + # Python environment, so "qmk doctor" then runs with the proper + # $NIX_PYTHONPATH too, because sys.executable actually points to + # another wrapper from the same Python environment). + postPatch = '' + substituteInPlace qmk_cli/subcommands/setup.py \ + --replace "[Path(sys.argv[0]).as_posix()" \ + "[Path(sys.executable).as_posix(), Path(sys.argv[0]).as_posix()" + ''; }); }); }; @@ -68,7 +52,7 @@ in mkShell { name = "qmk-firmware"; - buildInputs = [ clang-tools dfu-programmer dfu-util diffutils git pythonEnv niv ] + buildInputs = [ clang-tools_11 dfu-programmer dfu-util diffutils git pythonEnv niv ] ++ lib.optional avr [ pkgsCross.avr.buildPackages.binutils pkgsCross.avr.buildPackages.gcc8 diff --git a/util/nix/poetry.lock b/util/nix/poetry.lock index dc1b38be843..e9ac9147022 100644 --- a/util/nix/poetry.lock +++ b/util/nix/poetry.lock @@ -1,96 +1,97 @@ +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. + [[package]] name = "appdirs" version = "1.4.4" description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "main" optional = false python-versions = "*" +files = [ + {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, + {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, +] [[package]] name = "argcomplete" -version = "2.0.0" +version = "3.2.2" description = "Bash tab completion for argparse" -category = "main" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +files = [ + {file = "argcomplete-3.2.2-py3-none-any.whl", hash = "sha256:e44f4e7985883ab3e73a103ef0acd27299dbfe2dfed00142c35d4ddd3005901d"}, + {file = "argcomplete-3.2.2.tar.gz", hash = "sha256:f3e49e8ea59b4026ee29548e24488af46e30c9de57d48638e24f54a1ea1000a2"}, +] [package.extras] -test = ["wheel", "pexpect", "flake8", "coverage"] - -[[package]] -name = "atomicwrites" -version = "1.4.1" -description = "Atomic file writes." -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +test = ["coverage", "mypy", "pexpect", "ruff", "wheel"] [[package]] name = "attrs" -version = "22.1.0" +version = "23.2.0" description = "Classes Without Boilerplate" -category = "main" optional = false -python-versions = ">=3.5" +python-versions = ">=3.7" +files = [ + {file = "attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"}, + {file = "attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"}, +] [package.extras] -tests_no_zope = ["cloudpickle", "pytest-mypy-plugins", "mypy (>=0.900,!=0.940)", "pytest (>=4.3.0)", "pympler", "hypothesis", "coverage[toml] (>=5.0.2)"] -tests = ["cloudpickle", "zope.interface", "pytest-mypy-plugins", "mypy (>=0.900,!=0.940)", "pytest (>=4.3.0)", "pympler", "hypothesis", "coverage[toml] (>=5.0.2)"] -docs = ["sphinx-notfound-page", "zope.interface", "sphinx", "furo"] -dev = ["cloudpickle", "pre-commit", "sphinx-notfound-page", "sphinx", "furo", "zope.interface", "pytest-mypy-plugins", "mypy (>=0.900,!=0.940)", "pytest (>=4.3.0)", "pympler", "hypothesis", "coverage[toml] (>=5.0.2)"] +cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] +dev = ["attrs[tests]", "pre-commit"] +docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] +tests = ["attrs[tests-no-zope]", "zope-interface"] +tests-mypy = ["mypy (>=1.6)", "pytest-mypy-plugins"] +tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] [[package]] name = "colorama" -version = "0.4.5" +version = "0.4.6" description = "Cross-platform colored terminal text." -category = "main" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +files = [ + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, +] [[package]] name = "dotty-dict" version = "1.3.1" description = "Dictionary wrapper for quick access to deeply nested keys." -category = "main" optional = false python-versions = ">=3.5,<4.0" - -[[package]] -name = "editables" -version = "0.3" -description = "Editable installations" -category = "dev" -optional = false -python-versions = ">=3.7" +files = [ + {file = "dotty_dict-1.3.1-py3-none-any.whl", hash = "sha256:5022d234d9922f13aa711b4950372a06a6d64cb6d6db9ba43d0ba133ebfce31f"}, + {file = "dotty_dict-1.3.1.tar.gz", hash = "sha256:4b016e03b8ae265539757a53eba24b9bfda506fb94fbce0bee843c6f05541a15"}, +] [[package]] name = "flake8" -version = "5.0.4" +version = "7.0.0" description = "the modular source code checker: pep8 pyflakes and co" -category = "dev" optional = false -python-versions = ">=3.6.1" +python-versions = ">=3.8.1" +files = [ + {file = "flake8-7.0.0-py2.py3-none-any.whl", hash = "sha256:a6dfbb75e03252917f2473ea9653f7cd799c3064e54d4c8140044c5c065f53c3"}, + {file = "flake8-7.0.0.tar.gz", hash = "sha256:33f96621059e65eec474169085dc92bf26e7b2d47366b70be2f67ab80dc25132"}, +] [package.dependencies] mccabe = ">=0.7.0,<0.8.0" -pycodestyle = ">=2.9.0,<2.10.0" -pyflakes = ">=2.5.0,<2.6.0" - -[[package]] -name = "flit-core" -version = "3.7.1" -description = "Distribution-building parts of Flit. See flit package for more information" -category = "dev" -optional = false -python-versions = ">=3.6" +pycodestyle = ">=2.11.0,<2.12.0" +pyflakes = ">=3.2.0,<3.3.0" [[package]] name = "halo" version = "0.0.31" description = "Beautiful terminal spinners in Python" -category = "main" optional = false python-versions = ">=3.4" +files = [ + {file = "halo-0.0.31-py2-none-any.whl", hash = "sha256:5350488fb7d2aa7c31a1344120cee67a872901ce8858f60da7946cef96c208ab"}, + {file = "halo-0.0.31.tar.gz", hash = "sha256:7b67a3521ee91d53b7152d4ee3452811e1d2a6321975137762eb3d70063cc9d6"}, +] [package.dependencies] colorama = ">=0.3.9" @@ -100,115 +101,94 @@ spinners = ">=0.0.24" termcolor = ">=1.1.0" [package.extras] -ipython = ["ipywidgets (==7.1.0)", "IPython (==5.7.0)"] - -[[package]] -name = "hatch-fancy-pypi-readme" -version = "22.3.0" -description = "Fancy PyPI READMEs with Hatch" -category = "dev" -optional = false -python-versions = ">=3.7" - -[package.dependencies] -hatchling = "*" -tomli = {version = "*", markers = "python_version < \"3.11\""} - -[package.extras] -tests = ["wheel", "pytest-icdiff", "pytest", "coverage", "build"] -dev = ["mypy", "hatch-fancy-pypi-readme"] - -[[package]] -name = "hatch-vcs" -version = "0.2.0" -description = "Hatch plugin for versioning with your preferred VCS" -category = "dev" -optional = false -python-versions = "*" - -[package.dependencies] -hatchling = ">=0.21.0" -setuptools-scm = {version = ">=6.4.0", markers = "python_version > \"3\""} - -[[package]] -name = "hatchling" -version = "1.8.0" -description = "Modern, extensible Python build backend" -category = "dev" -optional = false -python-versions = ">=3.7" - -[package.dependencies] -editables = ">=0.3" -packaging = ">=21.3" -pathspec = ">=0.9" -pluggy = ">=1.0.0" -tomli = {version = ">=1.2.2", markers = "python_version < \"3.11\""} +ipython = ["IPython (==5.7.0)", "ipywidgets (==7.1.0)"] [[package]] name = "hid" -version = "1.0.5" +version = "1.0.6" description = "ctypes bindings for hidapi" -category = "main" optional = false python-versions = "*" +files = [ + {file = "hid-1.0.6-py3-none-any.whl", hash = "sha256:60446054aec54a767d9a4e97920761f41809a055c6d51c54879e37a706dcb588"}, + {file = "hid-1.0.6.tar.gz", hash = "sha256:48d764d7ae9746ba123b96dbf457893ca80268b7791c4b1d2e051310eeb83860"}, +] [[package]] name = "hjson" version = "3.1.0" description = "Hjson, a user interface for JSON." -category = "main" optional = false python-versions = "*" +files = [ + {file = "hjson-3.1.0-py3-none-any.whl", hash = "sha256:65713cdcf13214fb554eb8b4ef803419733f4f5e551047c9b711098ab7186b89"}, + {file = "hjson-3.1.0.tar.gz", hash = "sha256:55af475a27cf83a7969c808399d7bccdec8fb836a07ddbd574587593b9cdcf75"}, +] [[package]] -name = "importlib-resources" -version = "5.9.0" -description = "Read resources from Python packages" -category = "main" +name = "importlib-metadata" +version = "7.0.1" +description = "Read metadata from Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +files = [ + {file = "importlib_metadata-7.0.1-py3-none-any.whl", hash = "sha256:4805911c3a4ec7c3966410053e9ec6a1fecd629117df5adee56dfc9432a1081e"}, + {file = "importlib_metadata-7.0.1.tar.gz", hash = "sha256:f238736bb06590ae52ac1fab06a3a9ef1d8dce2b7a35b5ab329371d6c8f5d2cc"}, +] [package.dependencies] -zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} +zipp = ">=0.5" [package.extras] -testing = ["pytest-mypy (>=0.9.1)", "pytest-black (>=0.3.7)", "pytest-enabler (>=1.3)", "pytest-cov", "pytest-flake8", "pytest-checkdocs (>=2.4)", "pytest (>=6)"] -docs = ["jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "jaraco.packaging (>=9)", "sphinx"] - -[[package]] -name = "iniconfig" -version = "1.1.1" -description = "iniconfig: brain-dead simple config-ini parsing" -category = "dev" -optional = false -python-versions = "*" +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] +perf = ["ipython"] +testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] [[package]] name = "jsonschema" -version = "4.14.0" +version = "4.21.1" description = "An implementation of JSON Schema validation for Python" -category = "main" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +files = [ + {file = "jsonschema-4.21.1-py3-none-any.whl", hash = "sha256:7996507afae316306f9e2290407761157c6f78002dcf7419acb99822143d1c6f"}, + {file = "jsonschema-4.21.1.tar.gz", hash = "sha256:85727c00279f5fa6bedbe6238d2aa6403bedd8b4864ab11207d07df3cc1b2ee5"}, +] [package.dependencies] -attrs = ">=17.4.0" -importlib-resources = {version = ">=1.4.0", markers = "python_version < \"3.9\""} -pkgutil-resolve-name = {version = ">=1.3.10", markers = "python_version < \"3.9\""} -pyrsistent = ">=0.14.0,<0.17.0 || >0.17.0,<0.17.1 || >0.17.1,<0.17.2 || >0.17.2" +attrs = ">=22.2.0" +jsonschema-specifications = ">=2023.03.6" +referencing = ">=0.28.4" +rpds-py = ">=0.7.1" [package.extras] -format-nongpl = ["webcolors (>=1.11)", "uri-template", "rfc3986-validator (>0.1.0)", "rfc3339-validator", "jsonpointer (>1.13)", "isoduration", "idna", "fqdn"] -format = ["webcolors (>=1.11)", "uri-template", "rfc3987", "rfc3339-validator", "jsonpointer (>1.13)", "isoduration", "idna", "fqdn"] +format = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3987", "uri-template", "webcolors (>=1.11)"] +format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "uri-template", "webcolors (>=1.11)"] + +[[package]] +name = "jsonschema-specifications" +version = "2023.12.1" +description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" +optional = false +python-versions = ">=3.8" +files = [ + {file = "jsonschema_specifications-2023.12.1-py3-none-any.whl", hash = "sha256:87e4fdf3a94858b8a2ba2778d9ba57d8a9cafca7c7489c46ba0d30a8bc6a9c3c"}, + {file = "jsonschema_specifications-2023.12.1.tar.gz", hash = "sha256:48a76787b3e70f5ed53f1160d2b81f586e4ca6d1548c5de7085d1682674764cc"}, +] + +[package.dependencies] +referencing = ">=0.31.0" [[package]] name = "log-symbols" version = "0.0.14" description = "Colored symbols for various log levels for Python" -category = "main" optional = false python-versions = "*" +files = [ + {file = "log_symbols-0.0.14-py3-none-any.whl", hash = "sha256:4952106ff8b605ab7d5081dd2c7e6ca7374584eff7086f499c06edd1ce56dcca"}, + {file = "log_symbols-0.0.14.tar.gz", hash = "sha256:cf0bbc6fe1a8e53f0d174a716bc625c4f87043cc21eb55dd8a740cfe22680556"}, +] [package.dependencies] colorama = ">=0.3.9" @@ -217,17 +197,23 @@ colorama = ">=0.3.9" name = "mccabe" version = "0.7.0" description = "McCabe checker, plugin for flake8" -category = "dev" optional = false python-versions = ">=3.6" +files = [ + {file = "mccabe-0.7.0-py2.py3-none-any.whl", hash = "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"}, + {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"}, +] [[package]] name = "milc" -version = "1.6.6" +version = "1.8.0" description = "Opinionated Batteries-Included Python 3 CLI Framework." -category = "main" optional = false -python-versions = "*" +python-versions = ">=3.7" +files = [ + {file = "milc-1.8.0-py2.py3-none-any.whl", hash = "sha256:faee16fe92ce13eb1b0b4e24ac5b5003d7234880a8d21e4210016d70512bc921"}, + {file = "milc-1.8.0.tar.gz", hash = "sha256:cabe658de07ab97f937c7672b8a604cc825174c28d66d3afd047a9b4b2770bbe"}, +] [package.dependencies] appdirs = "*" @@ -235,543 +221,451 @@ argcomplete = "*" colorama = "*" halo = "*" spinners = "*" +types-colorama = "*" [[package]] name = "nose2" -version = "0.12.0" -description = "unittest2 with plugins, the successor to nose" -category = "dev" +version = "0.14.1" +description = "unittest with plugins" optional = false -python-versions = "*" +python-versions = ">=3.8" +files = [ + {file = "nose2-0.14.1-py3-none-any.whl", hash = "sha256:dfbf0d90c98b8d7bbf47d7721c7554ffcca86828ec074c985bb6ecc83c445a4e"}, + {file = "nose2-0.14.1.tar.gz", hash = "sha256:7f8f03a21c9de2c33015933afcef72bf8e4a2d5dfec3b40092287de6e41b093a"}, +] [package.extras] -dev = ["sphinx-issues", "mock", "sphinx-rtd-theme", "sphinx"] -coverage_plugin = ["coverage"] - -[[package]] -name = "packaging" -version = "21.3" -description = "Core utilities for Python packages" -category = "dev" -optional = false -python-versions = ">=3.6" - -[package.dependencies] -pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" - -[[package]] -name = "pathspec" -version = "0.9.0" -description = "Utility library for gitignore style pattern matching of file paths." -category = "dev" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" +coverage-plugin = ["coverage"] +dev = ["Sphinx", "sphinx-issues", "sphinx-rtd-theme"] [[package]] name = "pep8-naming" -version = "0.13.2" +version = "0.13.3" description = "Check PEP-8 naming conventions, plugin for flake8" -category = "dev" optional = false python-versions = ">=3.7" +files = [ + {file = "pep8-naming-0.13.3.tar.gz", hash = "sha256:1705f046dfcd851378aac3be1cd1551c7c1e5ff363bacad707d43007877fa971"}, + {file = "pep8_naming-0.13.3-py3-none-any.whl", hash = "sha256:1a86b8c71a03337c97181917e2b472f0f5e4ccb06844a0d6f0a33522549e7a80"}, +] [package.dependencies] -flake8 = ">=3.9.1" +flake8 = ">=5.0.0" [[package]] name = "pillow" -version = "9.2.0" +version = "10.2.0" description = "Python Imaging Library (Fork)" -category = "main" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +files = [ + {file = "pillow-10.2.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:7823bdd049099efa16e4246bdf15e5a13dbb18a51b68fa06d6c1d4d8b99a796e"}, + {file = "pillow-10.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:83b2021f2ade7d1ed556bc50a399127d7fb245e725aa0113ebd05cfe88aaf588"}, + {file = "pillow-10.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6fad5ff2f13d69b7e74ce5b4ecd12cc0ec530fcee76356cac6742785ff71c452"}, + {file = "pillow-10.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:da2b52b37dad6d9ec64e653637a096905b258d2fc2b984c41ae7d08b938a67e4"}, + {file = "pillow-10.2.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:47c0995fc4e7f79b5cfcab1fc437ff2890b770440f7696a3ba065ee0fd496563"}, + {file = "pillow-10.2.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:322bdf3c9b556e9ffb18f93462e5f749d3444ce081290352c6070d014c93feb2"}, + {file = "pillow-10.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:51f1a1bffc50e2e9492e87d8e09a17c5eea8409cda8d3f277eb6edc82813c17c"}, + {file = "pillow-10.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:69ffdd6120a4737710a9eee73e1d2e37db89b620f702754b8f6e62594471dee0"}, + {file = "pillow-10.2.0-cp310-cp310-win32.whl", hash = "sha256:c6dafac9e0f2b3c78df97e79af707cdc5ef8e88208d686a4847bab8266870023"}, + {file = "pillow-10.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:aebb6044806f2e16ecc07b2a2637ee1ef67a11840a66752751714a0d924adf72"}, + {file = "pillow-10.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:7049e301399273a0136ff39b84c3678e314f2158f50f517bc50285fb5ec847ad"}, + {file = "pillow-10.2.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:35bb52c37f256f662abdfa49d2dfa6ce5d93281d323a9af377a120e89a9eafb5"}, + {file = "pillow-10.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9c23f307202661071d94b5e384e1e1dc7dfb972a28a2310e4ee16103e66ddb67"}, + {file = "pillow-10.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:773efe0603db30c281521a7c0214cad7836c03b8ccff897beae9b47c0b657d61"}, + {file = "pillow-10.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11fa2e5984b949b0dd6d7a94d967743d87c577ff0b83392f17cb3990d0d2fd6e"}, + {file = "pillow-10.2.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:716d30ed977be8b37d3ef185fecb9e5a1d62d110dfbdcd1e2a122ab46fddb03f"}, + {file = "pillow-10.2.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:a086c2af425c5f62a65e12fbf385f7c9fcb8f107d0849dba5839461a129cf311"}, + {file = "pillow-10.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c8de2789052ed501dd829e9cae8d3dcce7acb4777ea4a479c14521c942d395b1"}, + {file = "pillow-10.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:609448742444d9290fd687940ac0b57fb35e6fd92bdb65386e08e99af60bf757"}, + {file = "pillow-10.2.0-cp311-cp311-win32.whl", hash = "sha256:823ef7a27cf86df6597fa0671066c1b596f69eba53efa3d1e1cb8b30f3533068"}, + {file = "pillow-10.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:1da3b2703afd040cf65ec97efea81cfba59cdbed9c11d8efc5ab09df9509fc56"}, + {file = "pillow-10.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:edca80cbfb2b68d7b56930b84a0e45ae1694aeba0541f798e908a49d66b837f1"}, + {file = "pillow-10.2.0-cp312-cp312-macosx_10_10_x86_64.whl", hash = "sha256:1b5e1b74d1bd1b78bc3477528919414874748dd363e6272efd5abf7654e68bef"}, + {file = "pillow-10.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0eae2073305f451d8ecacb5474997c08569fb4eb4ac231ffa4ad7d342fdc25ac"}, + {file = "pillow-10.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b7c2286c23cd350b80d2fc9d424fc797575fb16f854b831d16fd47ceec078f2c"}, + {file = "pillow-10.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1e23412b5c41e58cec602f1135c57dfcf15482013ce6e5f093a86db69646a5aa"}, + {file = "pillow-10.2.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:52a50aa3fb3acb9cf7213573ef55d31d6eca37f5709c69e6858fe3bc04a5c2a2"}, + {file = "pillow-10.2.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:127cee571038f252a552760076407f9cff79761c3d436a12af6000cd182a9d04"}, + {file = "pillow-10.2.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:8d12251f02d69d8310b046e82572ed486685c38f02176bd08baf216746eb947f"}, + {file = "pillow-10.2.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:54f1852cd531aa981bc0965b7d609f5f6cc8ce8c41b1139f6ed6b3c54ab82bfb"}, + {file = "pillow-10.2.0-cp312-cp312-win32.whl", hash = "sha256:257d8788df5ca62c980314053197f4d46eefedf4e6175bc9412f14412ec4ea2f"}, + {file = "pillow-10.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:154e939c5f0053a383de4fd3d3da48d9427a7e985f58af8e94d0b3c9fcfcf4f9"}, + {file = "pillow-10.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:f379abd2f1e3dddb2b61bc67977a6b5a0a3f7485538bcc6f39ec76163891ee48"}, + {file = "pillow-10.2.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:8373c6c251f7ef8bda6675dd6d2b3a0fcc31edf1201266b5cf608b62a37407f9"}, + {file = "pillow-10.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:870ea1ada0899fd0b79643990809323b389d4d1d46c192f97342eeb6ee0b8483"}, + {file = "pillow-10.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4b6b1e20608493548b1f32bce8cca185bf0480983890403d3b8753e44077129"}, + {file = "pillow-10.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3031709084b6e7852d00479fd1d310b07d0ba82765f973b543c8af5061cf990e"}, + {file = "pillow-10.2.0-cp38-cp38-manylinux_2_28_aarch64.whl", hash = "sha256:3ff074fc97dd4e80543a3e91f69d58889baf2002b6be64347ea8cf5533188213"}, + {file = "pillow-10.2.0-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:cb4c38abeef13c61d6916f264d4845fab99d7b711be96c326b84df9e3e0ff62d"}, + {file = "pillow-10.2.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b1b3020d90c2d8e1dae29cf3ce54f8094f7938460fb5ce8bc5c01450b01fbaf6"}, + {file = "pillow-10.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:170aeb00224ab3dc54230c797f8404507240dd868cf52066f66a41b33169bdbe"}, + {file = "pillow-10.2.0-cp38-cp38-win32.whl", hash = "sha256:c4225f5220f46b2fde568c74fca27ae9771536c2e29d7c04f4fb62c83275ac4e"}, + {file = "pillow-10.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:0689b5a8c5288bc0504d9fcee48f61a6a586b9b98514d7d29b840143d6734f39"}, + {file = "pillow-10.2.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:b792a349405fbc0163190fde0dc7b3fef3c9268292586cf5645598b48e63dc67"}, + {file = "pillow-10.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c570f24be1e468e3f0ce7ef56a89a60f0e05b30a3669a459e419c6eac2c35364"}, + {file = "pillow-10.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8ecd059fdaf60c1963c58ceb8997b32e9dc1b911f5da5307aab614f1ce5c2fb"}, + {file = "pillow-10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c365fd1703040de1ec284b176d6af5abe21b427cb3a5ff68e0759e1e313a5e7e"}, + {file = "pillow-10.2.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:70c61d4c475835a19b3a5aa42492409878bbca7438554a1f89d20d58a7c75c01"}, + {file = "pillow-10.2.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:b6f491cdf80ae540738859d9766783e3b3c8e5bd37f5dfa0b76abdecc5081f13"}, + {file = "pillow-10.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:9d189550615b4948f45252d7f005e53c2040cea1af5b60d6f79491a6e147eef7"}, + {file = "pillow-10.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:49d9ba1ed0ef3e061088cd1e7538a0759aab559e2e0a80a36f9fd9d8c0c21591"}, + {file = "pillow-10.2.0-cp39-cp39-win32.whl", hash = "sha256:babf5acfede515f176833ed6028754cbcd0d206f7f614ea3447d67c33be12516"}, + {file = "pillow-10.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:0304004f8067386b477d20a518b50f3fa658a28d44e4116970abfcd94fac34a8"}, + {file = "pillow-10.2.0-cp39-cp39-win_arm64.whl", hash = "sha256:0fb3e7fc88a14eacd303e90481ad983fd5b69c761e9e6ef94c983f91025da869"}, + {file = "pillow-10.2.0-pp310-pypy310_pp73-macosx_10_10_x86_64.whl", hash = "sha256:322209c642aabdd6207517e9739c704dc9f9db943015535783239022002f054a"}, + {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3eedd52442c0a5ff4f887fab0c1c0bb164d8635b32c894bc1faf4c618dd89df2"}, + {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb28c753fd5eb3dd859b4ee95de66cc62af91bcff5db5f2571d32a520baf1f04"}, + {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:33870dc4653c5017bf4c8873e5488d8f8d5f8935e2f1fb9a2208c47cdd66efd2"}, + {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:3c31822339516fb3c82d03f30e22b1d038da87ef27b6a78c9549888f8ceda39a"}, + {file = "pillow-10.2.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:a2b56ba36e05f973d450582fb015594aaa78834fefe8dfb8fcd79b93e64ba4c6"}, + {file = "pillow-10.2.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:d8e6aeb9201e655354b3ad049cb77d19813ad4ece0df1249d3c793de3774f8c7"}, + {file = "pillow-10.2.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl", hash = "sha256:2247178effb34a77c11c0e8ac355c7a741ceca0a732b27bf11e747bbc950722f"}, + {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:15587643b9e5eb26c48e49a7b33659790d28f190fc514a322d55da2fb5c2950e"}, + {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753cd8f2086b2b80180d9b3010dd4ed147efc167c90d3bf593fe2af21265e5a5"}, + {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:7c8f97e8e7a9009bcacbe3766a36175056c12f9a44e6e6f2d5caad06dcfbf03b"}, + {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:d1b35bcd6c5543b9cb547dee3150c93008f8dd0f1fef78fc0cd2b141c5baf58a"}, + {file = "pillow-10.2.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:fe4c15f6c9285dc54ce6553a3ce908ed37c8f3825b5a51a15c91442bb955b868"}, + {file = "pillow-10.2.0.tar.gz", hash = "sha256:e87f0b2c78157e12d7686b27d63c070fd65d994e8ddae6f328e0dcf4a0cd007e"}, +] [package.extras] -tests = ["pytest-timeout", "pytest-cov", "pytest", "pyroma", "packaging", "olefile", "markdown2", "defusedxml", "coverage", "check-manifest"] -docs = ["sphinxext-opengraph", "sphinx-removed-in", "sphinx-issues (>=3.0.1)", "sphinx-copybutton", "sphinx (>=2.4)", "olefile", "furo"] - -[[package]] -name = "pkgutil-resolve-name" -version = "1.3.10" -description = "Resolve a name to an object." -category = "main" -optional = false -python-versions = ">=3.6" +docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in", "sphinxext-opengraph"] +fpx = ["olefile"] +mic = ["olefile"] +tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"] +typing = ["typing-extensions"] +xmp = ["defusedxml"] [[package]] -name = "pluggy" -version = "1.0.0" -description = "plugin and hook calling mechanisms for python" -category = "dev" +name = "platformdirs" +version = "4.2.0" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +files = [ + {file = "platformdirs-4.2.0-py3-none-any.whl", hash = "sha256:0614df2a2f37e1a662acbd8e2b25b92ccf8632929bc6d43467e17fe89c75e068"}, + {file = "platformdirs-4.2.0.tar.gz", hash = "sha256:ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768"}, +] [package.extras] -testing = ["pytest-benchmark", "pytest"] -dev = ["tox", "pre-commit"] - -[[package]] -name = "poetry-core" -version = "1.0.8" -description = "Poetry PEP 517 Build Backend" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - -[[package]] -name = "py" -version = "1.11.0" -description = "library with cross-python path, ini-parsing, io, code, log facilities" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +docs = ["furo (>=2023.9.10)", "proselint (>=0.13)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)"] [[package]] name = "pycodestyle" -version = "2.9.1" +version = "2.11.1" description = "Python style guide checker" -category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +files = [ + {file = "pycodestyle-2.11.1-py2.py3-none-any.whl", hash = "sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67"}, + {file = "pycodestyle-2.11.1.tar.gz", hash = "sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f"}, +] [[package]] name = "pyflakes" -version = "2.5.0" +version = "3.2.0" description = "passive checker of Python programs" -category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +files = [ + {file = "pyflakes-3.2.0-py2.py3-none-any.whl", hash = "sha256:84b5be138a2dfbb40689ca07e2152deb896a65c3a3e24c251c5c62489568074a"}, + {file = "pyflakes-3.2.0.tar.gz", hash = "sha256:1c61603ff154621fb2a9172037d84dca3500def8c8b630657d1701f026f8af3f"}, +] [[package]] name = "pygments" -version = "2.13.0" +version = "2.17.2" description = "Pygments is a syntax highlighting package written in Python." -category = "main" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" +files = [ + {file = "pygments-2.17.2-py3-none-any.whl", hash = "sha256:b27c2826c47d0f3219f29554824c30c5e8945175d888647acd804ddd04af846c"}, + {file = "pygments-2.17.2.tar.gz", hash = "sha256:da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367"}, +] [package.extras] plugins = ["importlib-metadata"] - -[[package]] -name = "pyparsing" -version = "3.0.9" -description = "pyparsing module - Classes and methods to define and execute parsing grammars" -category = "dev" -optional = false -python-versions = ">=3.6.8" - -[package.extras] -diagrams = ["jinja2", "railroad-diagrams"] - -[[package]] -name = "pyrsistent" -version = "0.18.1" -description = "Persistent/Functional/Immutable data structures" -category = "main" -optional = false -python-versions = ">=3.7" +windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pyserial" version = "3.5" description = "Python Serial Port Extension" -category = "main" optional = false python-versions = "*" +files = [ + {file = "pyserial-3.5-py2.py3-none-any.whl", hash = "sha256:c4451db6ba391ca6ca299fb3ec7bae67a5c55dde170964c7a14ceefec02f2cf0"}, + {file = "pyserial-3.5.tar.gz", hash = "sha256:3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb"}, +] [package.extras] cp2110 = ["hidapi"] -[[package]] -name = "pytest" -version = "7.1.2" -description = "pytest: simple powerful testing with Python" -category = "dev" -optional = false -python-versions = ">=3.7" - -[package.dependencies] -atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} -attrs = ">=19.2.0" -colorama = {version = "*", markers = "sys_platform == \"win32\""} -iniconfig = "*" -packaging = "*" -pluggy = ">=0.12,<2.0" -py = ">=1.8.2" -tomli = ">=1.0.0" - -[package.extras] -testing = ["xmlschema", "requests", "pygments (>=2.7.2)", "nose", "mock", "hypothesis (>=3.56)", "argcomplete"] - [[package]] name = "pyusb" version = "1.2.1" description = "Python USB access module" -category = "main" optional = false python-versions = ">=3.6.0" +files = [ + {file = "pyusb-1.2.1-py3-none-any.whl", hash = "sha256:2b4c7cb86dbadf044dfb9d3a4ff69fd217013dbe78a792177a3feb172449ea36"}, + {file = "pyusb-1.2.1.tar.gz", hash = "sha256:a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9"}, +] [[package]] name = "qmk" -version = "1.1.1" +version = "1.1.5" description = "A program to help users work with QMK Firmware." -category = "main" optional = false python-versions = ">=3.7" +files = [ + {file = "qmk-1.1.5-py2.py3-none-any.whl", hash = "sha256:9c16fa2ad9b279ce9cc121a5462f02637611c6f54c49f9f2cac8ba2898f35b94"}, + {file = "qmk-1.1.5.tar.gz", hash = "sha256:2efe3c752230c6ba24b8719c3b6e85a5644bf8f7d0dd237757eda9b7b7e60b11"}, +] [package.dependencies] dotty-dict = "*" hid = "*" hjson = "*" jsonschema = ">=4" -milc = ">=1.4.2" +milc = ">=1.6.8" pillow = "*" pygments = "*" pyserial = "*" pyusb = "*" +setuptools = ">=45" [[package]] -name = "setuptools-scm" -version = "7.0.5" -description = "the blessed package to manage your versions by scm tags" -category = "dev" +name = "referencing" +version = "0.33.0" +description = "JSON Referencing + Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +files = [ + {file = "referencing-0.33.0-py3-none-any.whl", hash = "sha256:39240f2ecc770258f28b642dd47fd74bc8b02484de54e1882b74b35ebd779bd5"}, + {file = "referencing-0.33.0.tar.gz", hash = "sha256:c775fedf74bc0f9189c2a3be1c12fd03e8c23f4d371dce795df44e06c5b412f7"}, +] [package.dependencies] -packaging = ">=20.0" -tomli = ">=1.0.0" -typing-extensions = "*" +attrs = ">=22.2.0" +rpds-py = ">=0.7.0" + +[[package]] +name = "rpds-py" +version = "0.18.0" +description = "Python bindings to Rust's persistent data structures (rpds)" +optional = false +python-versions = ">=3.8" +files = [ + {file = "rpds_py-0.18.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:5b4e7d8d6c9b2e8ee2d55c90b59c707ca59bc30058269b3db7b1f8df5763557e"}, + {file = "rpds_py-0.18.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c463ed05f9dfb9baebef68048aed8dcdc94411e4bf3d33a39ba97e271624f8f7"}, + {file = "rpds_py-0.18.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01e36a39af54a30f28b73096dd39b6802eddd04c90dbe161c1b8dbe22353189f"}, + {file = "rpds_py-0.18.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d62dec4976954a23d7f91f2f4530852b0c7608116c257833922a896101336c51"}, + {file = "rpds_py-0.18.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dd18772815d5f008fa03d2b9a681ae38d5ae9f0e599f7dda233c439fcaa00d40"}, + {file = "rpds_py-0.18.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:923d39efa3cfb7279a0327e337a7958bff00cc447fd07a25cddb0a1cc9a6d2da"}, + {file = "rpds_py-0.18.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39514da80f971362f9267c600b6d459bfbbc549cffc2cef8e47474fddc9b45b1"}, + {file = "rpds_py-0.18.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a34d557a42aa28bd5c48a023c570219ba2593bcbbb8dc1b98d8cf5d529ab1434"}, + {file = "rpds_py-0.18.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:93df1de2f7f7239dc9cc5a4a12408ee1598725036bd2dedadc14d94525192fc3"}, + {file = "rpds_py-0.18.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:34b18ba135c687f4dac449aa5157d36e2cbb7c03cbea4ddbd88604e076aa836e"}, + {file = "rpds_py-0.18.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c0b5dcf9193625afd8ecc92312d6ed78781c46ecbf39af9ad4681fc9f464af88"}, + {file = "rpds_py-0.18.0-cp310-none-win32.whl", hash = "sha256:c4325ff0442a12113a6379af66978c3fe562f846763287ef66bdc1d57925d337"}, + {file = "rpds_py-0.18.0-cp310-none-win_amd64.whl", hash = "sha256:7223a2a5fe0d217e60a60cdae28d6949140dde9c3bcc714063c5b463065e3d66"}, + {file = "rpds_py-0.18.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:3a96e0c6a41dcdba3a0a581bbf6c44bb863f27c541547fb4b9711fd8cf0ffad4"}, + {file = "rpds_py-0.18.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:30f43887bbae0d49113cbaab729a112251a940e9b274536613097ab8b4899cf6"}, + {file = "rpds_py-0.18.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fcb25daa9219b4cf3a0ab24b0eb9a5cc8949ed4dc72acb8fa16b7e1681aa3c58"}, + {file = "rpds_py-0.18.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d68c93e381010662ab873fea609bf6c0f428b6d0bb00f2c6939782e0818d37bf"}, + {file = "rpds_py-0.18.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b34b7aa8b261c1dbf7720b5d6f01f38243e9b9daf7e6b8bc1fd4657000062f2c"}, + {file = "rpds_py-0.18.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2e6d75ab12b0bbab7215e5d40f1e5b738aa539598db27ef83b2ec46747df90e1"}, + {file = "rpds_py-0.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0b8612cd233543a3781bc659c731b9d607de65890085098986dfd573fc2befe5"}, + {file = "rpds_py-0.18.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:aec493917dd45e3c69d00a8874e7cbed844efd935595ef78a0f25f14312e33c6"}, + {file = "rpds_py-0.18.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:661d25cbffaf8cc42e971dd570d87cb29a665f49f4abe1f9e76be9a5182c4688"}, + {file = "rpds_py-0.18.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1df3659d26f539ac74fb3b0c481cdf9d725386e3552c6fa2974f4d33d78e544b"}, + {file = "rpds_py-0.18.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a1ce3ba137ed54f83e56fb983a5859a27d43a40188ba798993812fed73c70836"}, + {file = "rpds_py-0.18.0-cp311-none-win32.whl", hash = "sha256:69e64831e22a6b377772e7fb337533c365085b31619005802a79242fee620bc1"}, + {file = "rpds_py-0.18.0-cp311-none-win_amd64.whl", hash = "sha256:998e33ad22dc7ec7e030b3df701c43630b5bc0d8fbc2267653577e3fec279afa"}, + {file = "rpds_py-0.18.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:7f2facbd386dd60cbbf1a794181e6aa0bd429bd78bfdf775436020172e2a23f0"}, + {file = "rpds_py-0.18.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1d9a5be316c15ffb2b3c405c4ff14448c36b4435be062a7f578ccd8b01f0c4d8"}, + {file = "rpds_py-0.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cd5bf1af8efe569654bbef5a3e0a56eca45f87cfcffab31dd8dde70da5982475"}, + {file = "rpds_py-0.18.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5417558f6887e9b6b65b4527232553c139b57ec42c64570569b155262ac0754f"}, + {file = "rpds_py-0.18.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:56a737287efecafc16f6d067c2ea0117abadcd078d58721f967952db329a3e5c"}, + {file = "rpds_py-0.18.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8f03bccbd8586e9dd37219bce4d4e0d3ab492e6b3b533e973fa08a112cb2ffc9"}, + {file = "rpds_py-0.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4457a94da0d5c53dc4b3e4de1158bdab077db23c53232f37a3cb7afdb053a4e3"}, + {file = "rpds_py-0.18.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0ab39c1ba9023914297dd88ec3b3b3c3f33671baeb6acf82ad7ce883f6e8e157"}, + {file = "rpds_py-0.18.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9d54553c1136b50fd12cc17e5b11ad07374c316df307e4cfd6441bea5fb68496"}, + {file = "rpds_py-0.18.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:0af039631b6de0397ab2ba16eaf2872e9f8fca391b44d3d8cac317860a700a3f"}, + {file = "rpds_py-0.18.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:84ffab12db93b5f6bad84c712c92060a2d321b35c3c9960b43d08d0f639d60d7"}, + {file = "rpds_py-0.18.0-cp312-none-win32.whl", hash = "sha256:685537e07897f173abcf67258bee3c05c374fa6fff89d4c7e42fb391b0605e98"}, + {file = "rpds_py-0.18.0-cp312-none-win_amd64.whl", hash = "sha256:e003b002ec72c8d5a3e3da2989c7d6065b47d9eaa70cd8808b5384fbb970f4ec"}, + {file = "rpds_py-0.18.0-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:08f9ad53c3f31dfb4baa00da22f1e862900f45908383c062c27628754af2e88e"}, + {file = "rpds_py-0.18.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c0013fe6b46aa496a6749c77e00a3eb07952832ad6166bd481c74bda0dcb6d58"}, + {file = "rpds_py-0.18.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e32a92116d4f2a80b629778280103d2a510a5b3f6314ceccd6e38006b5e92dcb"}, + {file = "rpds_py-0.18.0-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e541ec6f2ec456934fd279a3120f856cd0aedd209fc3852eca563f81738f6861"}, + {file = "rpds_py-0.18.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bed88b9a458e354014d662d47e7a5baafd7ff81c780fd91584a10d6ec842cb73"}, + {file = "rpds_py-0.18.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2644e47de560eb7bd55c20fc59f6daa04682655c58d08185a9b95c1970fa1e07"}, + {file = "rpds_py-0.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8e8916ae4c720529e18afa0b879473049e95949bf97042e938530e072fde061d"}, + {file = "rpds_py-0.18.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:465a3eb5659338cf2a9243e50ad9b2296fa15061736d6e26240e713522b6235c"}, + {file = "rpds_py-0.18.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:ea7d4a99f3b38c37eac212dbd6ec42b7a5ec51e2c74b5d3223e43c811609e65f"}, + {file = "rpds_py-0.18.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:67071a6171e92b6da534b8ae326505f7c18022c6f19072a81dcf40db2638767c"}, + {file = "rpds_py-0.18.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:41ef53e7c58aa4ef281da975f62c258950f54b76ec8e45941e93a3d1d8580594"}, + {file = "rpds_py-0.18.0-cp38-none-win32.whl", hash = "sha256:fdea4952db2793c4ad0bdccd27c1d8fdd1423a92f04598bc39425bcc2b8ee46e"}, + {file = "rpds_py-0.18.0-cp38-none-win_amd64.whl", hash = "sha256:7cd863afe7336c62ec78d7d1349a2f34c007a3cc6c2369d667c65aeec412a5b1"}, + {file = "rpds_py-0.18.0-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:5307def11a35f5ae4581a0b658b0af8178c65c530e94893345bebf41cc139d33"}, + {file = "rpds_py-0.18.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:77f195baa60a54ef9d2de16fbbfd3ff8b04edc0c0140a761b56c267ac11aa467"}, + {file = "rpds_py-0.18.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:39f5441553f1c2aed4de4377178ad8ff8f9d733723d6c66d983d75341de265ab"}, + {file = "rpds_py-0.18.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9a00312dea9310d4cb7dbd7787e722d2e86a95c2db92fbd7d0155f97127bcb40"}, + {file = "rpds_py-0.18.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8f2fc11e8fe034ee3c34d316d0ad8808f45bc3b9ce5857ff29d513f3ff2923a1"}, + {file = "rpds_py-0.18.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:586f8204935b9ec884500498ccc91aa869fc652c40c093bd9e1471fbcc25c022"}, + {file = "rpds_py-0.18.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ddc2f4dfd396c7bfa18e6ce371cba60e4cf9d2e5cdb71376aa2da264605b60b9"}, + {file = "rpds_py-0.18.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5ddcba87675b6d509139d1b521e0c8250e967e63b5909a7e8f8944d0f90ff36f"}, + {file = "rpds_py-0.18.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:7bd339195d84439cbe5771546fe8a4e8a7a045417d8f9de9a368c434e42a721e"}, + {file = "rpds_py-0.18.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:d7c36232a90d4755b720fbd76739d8891732b18cf240a9c645d75f00639a9024"}, + {file = "rpds_py-0.18.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:6b0817e34942b2ca527b0e9298373e7cc75f429e8da2055607f4931fded23e20"}, + {file = "rpds_py-0.18.0-cp39-none-win32.whl", hash = "sha256:99f70b740dc04d09e6b2699b675874367885217a2e9f782bdf5395632ac663b7"}, + {file = "rpds_py-0.18.0-cp39-none-win_amd64.whl", hash = "sha256:6ef687afab047554a2d366e112dd187b62d261d49eb79b77e386f94644363294"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:ad36cfb355e24f1bd37cac88c112cd7730873f20fb0bdaf8ba59eedf8216079f"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:36b3ee798c58ace201289024b52788161e1ea133e4ac93fba7d49da5fec0ef9e"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f8a2f084546cc59ea99fda8e070be2fd140c3092dc11524a71aa8f0f3d5a55ca"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e4461d0f003a0aa9be2bdd1b798a041f177189c1a0f7619fe8c95ad08d9a45d7"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8db715ebe3bb7d86d77ac1826f7d67ec11a70dbd2376b7cc214199360517b641"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:793968759cd0d96cac1e367afd70c235867831983f876a53389ad869b043c948"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:66e6a3af5a75363d2c9a48b07cb27c4ea542938b1a2e93b15a503cdfa8490795"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6ef0befbb5d79cf32d0266f5cff01545602344eda89480e1dd88aca964260b18"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:1d4acf42190d449d5e89654d5c1ed3a4f17925eec71f05e2a41414689cda02d1"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:a5f446dd5055667aabaee78487f2b5ab72e244f9bc0b2ffebfeec79051679984"}, + {file = "rpds_py-0.18.0-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:9dbbeb27f4e70bfd9eec1be5477517365afe05a9b2c441a0b21929ee61048124"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:22806714311a69fd0af9b35b7be97c18a0fc2826e6827dbb3a8c94eac6cf7eeb"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:b34ae4636dfc4e76a438ab826a0d1eed2589ca7d9a1b2d5bb546978ac6485461"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c8370641f1a7f0e0669ddccca22f1da893cef7628396431eb445d46d893e5cd"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c8362467a0fdeccd47935f22c256bec5e6abe543bf0d66e3d3d57a8fb5731863"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:11a8c85ef4a07a7638180bf04fe189d12757c696eb41f310d2426895356dcf05"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b316144e85316da2723f9d8dc75bada12fa58489a527091fa1d5a612643d1a0e"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cf1ea2e34868f6fbf070e1af291c8180480310173de0b0c43fc38a02929fc0e3"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e546e768d08ad55b20b11dbb78a745151acbd938f8f00d0cfbabe8b0199b9880"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:4901165d170a5fde6f589acb90a6b33629ad1ec976d4529e769c6f3d885e3e80"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-musllinux_1_2_i686.whl", hash = "sha256:618a3d6cae6ef8ec88bb76dd80b83cfe415ad4f1d942ca2a903bf6b6ff97a2da"}, + {file = "rpds_py-0.18.0-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:ed4eb745efbff0a8e9587d22a84be94a5eb7d2d99c02dacf7bd0911713ed14dd"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:6c81e5f372cd0dc5dc4809553d34f832f60a46034a5f187756d9b90586c2c307"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:43fbac5f22e25bee1d482c97474f930a353542855f05c1161fd804c9dc74a09d"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6d7faa6f14017c0b1e69f5e2c357b998731ea75a442ab3841c0dbbbfe902d2c4"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:08231ac30a842bd04daabc4d71fddd7e6d26189406d5a69535638e4dcb88fe76"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:044a3e61a7c2dafacae99d1e722cc2d4c05280790ec5a05031b3876809d89a5c"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3f26b5bd1079acdb0c7a5645e350fe54d16b17bfc5e71f371c449383d3342e17"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:482103aed1dfe2f3b71a58eff35ba105289b8d862551ea576bd15479aba01f66"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1374f4129f9bcca53a1bba0bb86bf78325a0374577cf7e9e4cd046b1e6f20e24"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:635dc434ff724b178cb192c70016cc0ad25a275228f749ee0daf0eddbc8183b1"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:bc362ee4e314870a70f4ae88772d72d877246537d9f8cb8f7eacf10884862432"}, + {file = "rpds_py-0.18.0-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:4832d7d380477521a8c1644bbab6588dfedea5e30a7d967b5fb75977c45fd77f"}, + {file = "rpds_py-0.18.0.tar.gz", hash = "sha256:42821446ee7a76f5d9f71f9e33a4fb2ffd724bb3e7f93386150b61a43115788d"}, +] + +[[package]] +name = "setuptools" +version = "69.1.1" +description = "Easily download, build, install, upgrade, and uninstall Python packages" +optional = false +python-versions = ">=3.8" +files = [ + {file = "setuptools-69.1.1-py3-none-any.whl", hash = "sha256:02fa291a0471b3a18b2b2481ed902af520c69e8ae0919c13da936542754b4c56"}, + {file = "setuptools-69.1.1.tar.gz", hash = "sha256:5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8"}, +] [package.extras] -toml = ["setuptools (>=42)"] -test = ["virtualenv (>20)", "pytest (>=6.2)"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] [[package]] name = "six" version = "1.16.0" description = "Python 2 and 3 compatibility utilities" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +files = [ + {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, + {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, +] [[package]] name = "spinners" version = "0.0.24" description = "Spinners for terminals" -category = "main" optional = false python-versions = "*" +files = [ + {file = "spinners-0.0.24-py3-none-any.whl", hash = "sha256:2fa30d0b72c9650ad12bbe031c9943b8d441e41b4f5602b0ec977a19f3290e98"}, + {file = "spinners-0.0.24.tar.gz", hash = "sha256:1eb6aeb4781d72ab42ed8a01dcf20f3002bf50740d7154d12fb8c9769bf9e27f"}, +] [[package]] name = "termcolor" -version = "1.1.0" -description = "ANSII Color formatting for output in terminal." -category = "main" +version = "2.4.0" +description = "ANSI color formatting for output in terminal" optional = false -python-versions = "*" +python-versions = ">=3.8" +files = [ + {file = "termcolor-2.4.0-py3-none-any.whl", hash = "sha256:9297c0df9c99445c2412e832e882a7884038a25617c60cea2ad69488d4040d63"}, + {file = "termcolor-2.4.0.tar.gz", hash = "sha256:aab9e56047c8ac41ed798fa36d892a37aca6b3e9159f3e0c24bc64a9b3ac7b7a"}, +] + +[package.extras] +tests = ["pytest", "pytest-cov"] [[package]] name = "tomli" version = "2.0.1" description = "A lil' TOML parser" -category = "dev" optional = false python-versions = ">=3.7" +files = [ + {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, + {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, +] [[package]] -name = "typing-extensions" -version = "4.3.0" -description = "Backported and Experimental Type Hints for Python 3.7+" -category = "dev" +name = "types-colorama" +version = "0.4.15.20240205" +description = "Typing stubs for colorama" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +files = [ + {file = "types-colorama-0.4.15.20240205.tar.gz", hash = "sha256:7ae4f58d407d387f4f98b24d81e1b7657ec754ea1dc4619ae5bd27f0c367637e"}, + {file = "types_colorama-0.4.15.20240205-py3-none-any.whl", hash = "sha256:3ab26dcd76d2f13b1b795ed5c87a1a1a29331ea64cf614bb6ae958a3cebc3a53"}, +] [[package]] name = "yapf" -version = "0.32.0" -description = "A formatter for Python code." -category = "dev" +version = "0.40.2" +description = "A formatter for Python code" optional = false -python-versions = "*" +python-versions = ">=3.7" +files = [ + {file = "yapf-0.40.2-py3-none-any.whl", hash = "sha256:adc8b5dd02c0143108878c499284205adb258aad6db6634e5b869e7ee2bd548b"}, + {file = "yapf-0.40.2.tar.gz", hash = "sha256:4dab8a5ed7134e26d57c1647c7483afb3f136878b579062b786c9ba16b94637b"}, +] + +[package.dependencies] +importlib-metadata = ">=6.6.0" +platformdirs = ">=3.5.1" +tomli = ">=2.0.1" [[package]] name = "zipp" -version = "3.8.1" +version = "3.17.0" description = "Backport of pathlib-compatible object wrapper for zip files" -category = "main" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +files = [ + {file = "zipp-3.17.0-py3-none-any.whl", hash = "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31"}, + {file = "zipp-3.17.0.tar.gz", hash = "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"}, +] [package.extras] -testing = ["pytest-mypy (>=0.9.1)", "pytest-black (>=0.3.7)", "func-timeout", "jaraco.itertools", "pytest-enabler (>=1.3)", "pytest-cov", "pytest-flake8", "pytest-checkdocs (>=2.4)", "pytest (>=6)"] -docs = ["jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "jaraco.packaging (>=9)", "sphinx"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] +testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] [metadata] -lock-version = "1.1" -python-versions = "^3.8" -content-hash = "71855d16c0f315ff383322272ddfca2b4917dbba9fa5ca1863b3bd537e35fee1" - -[metadata.files] -appdirs = [ - {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, - {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, -] -argcomplete = [ - {file = "argcomplete-2.0.0-py2.py3-none-any.whl", hash = "sha256:cffa11ea77999bb0dd27bb25ff6dc142a6796142f68d45b1a26b11f58724561e"}, - {file = "argcomplete-2.0.0.tar.gz", hash = "sha256:6372ad78c89d662035101418ae253668445b391755cfe94ea52f1b9d22425b20"}, -] -atomicwrites = [ - {file = "atomicwrites-1.4.1.tar.gz", hash = "sha256:81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11"}, -] -attrs = [ - {file = "attrs-22.1.0-py2.py3-none-any.whl", hash = "sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c"}, - {file = "attrs-22.1.0.tar.gz", hash = "sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6"}, -] -colorama = [ - {file = "colorama-0.4.5-py2.py3-none-any.whl", hash = "sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da"}, - {file = "colorama-0.4.5.tar.gz", hash = "sha256:e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4"}, -] -dotty-dict = [ - {file = "dotty_dict-1.3.1-py3-none-any.whl", hash = "sha256:5022d234d9922f13aa711b4950372a06a6d64cb6d6db9ba43d0ba133ebfce31f"}, - {file = "dotty_dict-1.3.1.tar.gz", hash = "sha256:4b016e03b8ae265539757a53eba24b9bfda506fb94fbce0bee843c6f05541a15"}, -] -editables = [ - {file = "editables-0.3-py3-none-any.whl", hash = "sha256:ee686a8db9f5d91da39849f175ffeef094dd0e9c36d6a59a2e8c7f92a3b80020"}, - {file = "editables-0.3.tar.gz", hash = "sha256:167524e377358ed1f1374e61c268f0d7a4bf7dbd046c656f7b410cde16161b1a"}, -] -flake8 = [ - {file = "flake8-5.0.4-py2.py3-none-any.whl", hash = "sha256:7a1cf6b73744f5806ab95e526f6f0d8c01c66d7bbe349562d22dfca20610b248"}, - {file = "flake8-5.0.4.tar.gz", hash = "sha256:6fbe320aad8d6b95cec8b8e47bc933004678dc63095be98528b7bdd2a9f510db"}, -] -flit-core = [ - {file = "flit_core-3.7.1-py3-none-any.whl", hash = "sha256:e454fdbf68c7036e1c7435ec7479383f9d9a1650ca5b304feb184eba1efcdcef"}, - {file = "flit_core-3.7.1.tar.gz", hash = "sha256:14955af340c43035dbfa96b5ee47407e377ee337f69e70f73064940d27d0a44f"}, -] -halo = [ - {file = "halo-0.0.31-py2-none-any.whl", hash = "sha256:5350488fb7d2aa7c31a1344120cee67a872901ce8858f60da7946cef96c208ab"}, - {file = "halo-0.0.31.tar.gz", hash = "sha256:7b67a3521ee91d53b7152d4ee3452811e1d2a6321975137762eb3d70063cc9d6"}, -] -hatch-fancy-pypi-readme = [ - {file = "hatch_fancy_pypi_readme-22.3.0-py3-none-any.whl", hash = "sha256:97c7ea026fe0d305163f5380c5df1dde51051e63d0dd4a47811214a5cd4e39b4"}, - {file = "hatch_fancy_pypi_readme-22.3.0.tar.gz", hash = "sha256:7d4651f8f07825931c92873cb51137214a938badb7a759b85c1d95bf74f86efa"}, -] -hatch-vcs = [ - {file = "hatch_vcs-0.2.0-py2.py3-none-any.whl", hash = "sha256:86432a0dd49acae0e69e14f285667693fcd31d9869ca21634520acc30d482f07"}, - {file = "hatch_vcs-0.2.0.tar.gz", hash = "sha256:9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff"}, -] -hatchling = [ - {file = "hatchling-1.8.0-py3-none-any.whl", hash = "sha256:1f7d920b1478221c8709841eb2aa6069856038463816d3a27b84ca5e99000e06"}, - {file = "hatchling-1.8.0.tar.gz", hash = "sha256:a4f982fdca0717d8c46bfe7b501302f90aaf2a5302845d550b49c8739681feb2"}, -] -hid = [ - {file = "hid-1.0.5-py2-none-any.whl", hash = "sha256:11836b877e81ab68cdd3abc44f2e230f0e6146c7e17ac45c185b72e0159fc9c7"}, - {file = "hid-1.0.5.tar.gz", hash = "sha256:1e954e7f7ab9b7c9dfc78db59504692c17db3b71249492b976b1525b97dbb0e8"}, -] -hjson = [ - {file = "hjson-3.1.0-py3-none-any.whl", hash = "sha256:65713cdcf13214fb554eb8b4ef803419733f4f5e551047c9b711098ab7186b89"}, - {file = "hjson-3.1.0.tar.gz", hash = "sha256:55af475a27cf83a7969c808399d7bccdec8fb836a07ddbd574587593b9cdcf75"}, -] -importlib-resources = [ - {file = "importlib_resources-5.9.0-py3-none-any.whl", hash = "sha256:f78a8df21a79bcc30cfd400bdc38f314333de7c0fb619763f6b9dabab8268bb7"}, - {file = "importlib_resources-5.9.0.tar.gz", hash = "sha256:5481e97fb45af8dcf2f798952625591c58fe599d0735d86b10f54de086a61681"}, -] -iniconfig = [ - {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, - {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, -] -jsonschema = [ - {file = "jsonschema-4.14.0-py3-none-any.whl", hash = "sha256:9892b8d630a82990521a9ca630d3446bd316b5ad54dbe981338802787f3e0d2d"}, - {file = "jsonschema-4.14.0.tar.gz", hash = "sha256:15062f4cc6f591400cd528d2c355f2cfa6a57e44c820dc783aee5e23d36a831f"}, -] -log-symbols = [ - {file = "log_symbols-0.0.14-py3-none-any.whl", hash = "sha256:4952106ff8b605ab7d5081dd2c7e6ca7374584eff7086f499c06edd1ce56dcca"}, - {file = "log_symbols-0.0.14.tar.gz", hash = "sha256:cf0bbc6fe1a8e53f0d174a716bc625c4f87043cc21eb55dd8a740cfe22680556"}, -] -mccabe = [ - {file = "mccabe-0.7.0-py2.py3-none-any.whl", hash = "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"}, - {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"}, -] -milc = [ - {file = "milc-1.6.6-py2.py3-none-any.whl", hash = "sha256:5735022d25bc7aa259139ae680efa2867ce91bab769aa3b2482c63a3158120a5"}, - {file = "milc-1.6.6.tar.gz", hash = "sha256:a4a1673718aaceefeb62c1799e48825bc6f4e56bfd8ad4a8e341a7622e6ff000"}, -] -nose2 = [ - {file = "nose2-0.12.0-py2.py3-none-any.whl", hash = "sha256:da7eb5e3cbe2abb693a053e17b4fbefca98ea9ea79fc729b0b0f41e8b4196304"}, - {file = "nose2-0.12.0.tar.gz", hash = "sha256:956e79b9bd558ee08b6200c05ad2c76465b7e3860c0c0537686089285c320113"}, -] -packaging = [ - {file = "packaging-21.3-py3-none-any.whl", hash = "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"}, - {file = "packaging-21.3.tar.gz", hash = "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"}, -] -pathspec = [ - {file = "pathspec-0.9.0-py2.py3-none-any.whl", hash = "sha256:7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a"}, - {file = "pathspec-0.9.0.tar.gz", hash = "sha256:e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1"}, -] -pep8-naming = [ - {file = "pep8-naming-0.13.2.tar.gz", hash = "sha256:93eef62f525fd12a6f8c98f4dcc17fa70baae2f37fa1f73bec00e3e44392fa48"}, - {file = "pep8_naming-0.13.2-py3-none-any.whl", hash = "sha256:59e29e55c478db69cffbe14ab24b5bd2cd615c0413edf790d47d3fb7ba9a4e23"}, -] -pillow = [ - {file = "Pillow-9.2.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:a9c9bc489f8ab30906d7a85afac4b4944a572a7432e00698a7239f44a44e6efb"}, - {file = "Pillow-9.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:510cef4a3f401c246cfd8227b300828715dd055463cdca6176c2e4036df8bd4f"}, - {file = "Pillow-9.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7888310f6214f19ab2b6df90f3f06afa3df7ef7355fc025e78a3044737fab1f5"}, - {file = "Pillow-9.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:831e648102c82f152e14c1a0938689dbb22480c548c8d4b8b248b3e50967b88c"}, - {file = "Pillow-9.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1cc1d2451e8a3b4bfdb9caf745b58e6c7a77d2e469159b0d527a4554d73694d1"}, - {file = "Pillow-9.2.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:136659638f61a251e8ed3b331fc6ccd124590eeff539de57c5f80ef3a9594e58"}, - {file = "Pillow-9.2.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:6e8c66f70fb539301e064f6478d7453e820d8a2c631da948a23384865cd95544"}, - {file = "Pillow-9.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:37ff6b522a26d0538b753f0b4e8e164fdada12db6c6f00f62145d732d8a3152e"}, - {file = "Pillow-9.2.0-cp310-cp310-win32.whl", hash = "sha256:c79698d4cd9318d9481d89a77e2d3fcaeff5486be641e60a4b49f3d2ecca4e28"}, - {file = "Pillow-9.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:254164c57bab4b459f14c64e93df11eff5ded575192c294a0c49270f22c5d93d"}, - {file = "Pillow-9.2.0-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:408673ed75594933714482501fe97e055a42996087eeca7e5d06e33218d05aa8"}, - {file = "Pillow-9.2.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:727dd1389bc5cb9827cbd1f9d40d2c2a1a0c9b32dd2261db522d22a604a6eec9"}, - {file = "Pillow-9.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50dff9cc21826d2977ef2d2a205504034e3a4563ca6f5db739b0d1026658e004"}, - {file = "Pillow-9.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cb6259196a589123d755380b65127ddc60f4c64b21fc3bb46ce3a6ea663659b0"}, - {file = "Pillow-9.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b0554af24df2bf96618dac71ddada02420f946be943b181108cac55a7a2dcd4"}, - {file = "Pillow-9.2.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:15928f824870535c85dbf949c09d6ae7d3d6ac2d6efec80f3227f73eefba741c"}, - {file = "Pillow-9.2.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:bdd0de2d64688ecae88dd8935012c4a72681e5df632af903a1dca8c5e7aa871a"}, - {file = "Pillow-9.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d5b87da55a08acb586bad5c3aa3b86505f559b84f39035b233d5bf844b0834b1"}, - {file = "Pillow-9.2.0-cp311-cp311-win32.whl", hash = "sha256:b6d5e92df2b77665e07ddb2e4dbd6d644b78e4c0d2e9272a852627cdba0d75cf"}, - {file = "Pillow-9.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:6bf088c1ce160f50ea40764f825ec9b72ed9da25346216b91361eef8ad1b8f8c"}, - {file = "Pillow-9.2.0-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:2c58b24e3a63efd22554c676d81b0e57f80e0a7d3a5874a7e14ce90ec40d3069"}, - {file = "Pillow-9.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eef7592281f7c174d3d6cbfbb7ee5984a671fcd77e3fc78e973d492e9bf0eb3f"}, - {file = "Pillow-9.2.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dcd7b9c7139dc8258d164b55696ecd16c04607f1cc33ba7af86613881ffe4ac8"}, - {file = "Pillow-9.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a138441e95562b3c078746a22f8fca8ff1c22c014f856278bdbdd89ca36cff1b"}, - {file = "Pillow-9.2.0-cp37-cp37m-manylinux_2_28_aarch64.whl", hash = "sha256:93689632949aff41199090eff5474f3990b6823404e45d66a5d44304e9cdc467"}, - {file = "Pillow-9.2.0-cp37-cp37m-manylinux_2_28_x86_64.whl", hash = "sha256:f3fac744f9b540148fa7715a435d2283b71f68bfb6d4aae24482a890aed18b59"}, - {file = "Pillow-9.2.0-cp37-cp37m-win32.whl", hash = "sha256:fa768eff5f9f958270b081bb33581b4b569faabf8774726b283edb06617101dc"}, - {file = "Pillow-9.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:69bd1a15d7ba3694631e00df8de65a8cb031911ca11f44929c97fe05eb9b6c1d"}, - {file = "Pillow-9.2.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:030e3460861488e249731c3e7ab59b07c7853838ff3b8e16aac9561bb345da14"}, - {file = "Pillow-9.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:74a04183e6e64930b667d321524e3c5361094bb4af9083db5c301db64cd341f3"}, - {file = "Pillow-9.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d33a11f601213dcd5718109c09a52c2a1c893e7461f0be2d6febc2879ec2402"}, - {file = "Pillow-9.2.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1fd6f5e3c0e4697fa7eb45b6e93996299f3feee73a3175fa451f49a74d092b9f"}, - {file = "Pillow-9.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a647c0d4478b995c5e54615a2e5360ccedd2f85e70ab57fbe817ca613d5e63b8"}, - {file = "Pillow-9.2.0-cp38-cp38-manylinux_2_28_aarch64.whl", hash = "sha256:4134d3f1ba5f15027ff5c04296f13328fecd46921424084516bdb1b2548e66ff"}, - {file = "Pillow-9.2.0-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:bc431b065722a5ad1dfb4df354fb9333b7a582a5ee39a90e6ffff688d72f27a1"}, - {file = "Pillow-9.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:1536ad017a9f789430fb6b8be8bf99d2f214c76502becc196c6f2d9a75b01b76"}, - {file = "Pillow-9.2.0-cp38-cp38-win32.whl", hash = "sha256:2ad0d4df0f5ef2247e27fc790d5c9b5a0af8ade9ba340db4a73bb1a4a3e5fb4f"}, - {file = "Pillow-9.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:ec52c351b35ca269cb1f8069d610fc45c5bd38c3e91f9ab4cbbf0aebc136d9c8"}, - {file = "Pillow-9.2.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:0ed2c4ef2451de908c90436d6e8092e13a43992f1860275b4d8082667fbb2ffc"}, - {file = "Pillow-9.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ad2f835e0ad81d1689f1b7e3fbac7b01bb8777d5a985c8962bedee0cc6d43da"}, - {file = "Pillow-9.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea98f633d45f7e815db648fd7ff0f19e328302ac36427343e4432c84432e7ff4"}, - {file = "Pillow-9.2.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7761afe0126d046974a01e030ae7529ed0ca6a196de3ec6937c11df0df1bc91c"}, - {file = "Pillow-9.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9a54614049a18a2d6fe156e68e188da02a046a4a93cf24f373bffd977e943421"}, - {file = "Pillow-9.2.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:5aed7dde98403cd91d86a1115c78d8145c83078e864c1de1064f52e6feb61b20"}, - {file = "Pillow-9.2.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:13b725463f32df1bfeacbf3dd197fb358ae8ebcd8c5548faa75126ea425ccb60"}, - {file = "Pillow-9.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:808add66ea764ed97d44dda1ac4f2cfec4c1867d9efb16a33d158be79f32b8a4"}, - {file = "Pillow-9.2.0-cp39-cp39-win32.whl", hash = "sha256:337a74fd2f291c607d220c793a8135273c4c2ab001b03e601c36766005f36885"}, - {file = "Pillow-9.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:fac2d65901fb0fdf20363fbd345c01958a742f2dc62a8dd4495af66e3ff502a4"}, - {file = "Pillow-9.2.0-pp37-pypy37_pp73-macosx_10_10_x86_64.whl", hash = "sha256:ad2277b185ebce47a63f4dc6302e30f05762b688f8dc3de55dbae4651872cdf3"}, - {file = "Pillow-9.2.0-pp37-pypy37_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7c7b502bc34f6e32ba022b4a209638f9e097d7a9098104ae420eb8186217ebbb"}, - {file = "Pillow-9.2.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d1f14f5f691f55e1b47f824ca4fdcb4b19b4323fe43cc7bb105988cad7496be"}, - {file = "Pillow-9.2.0-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:dfe4c1fedfde4e2fbc009d5ad420647f7730d719786388b7de0999bf32c0d9fd"}, - {file = "Pillow-9.2.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl", hash = "sha256:f07f1f00e22b231dd3d9b9208692042e29792d6bd4f6639415d2f23158a80013"}, - {file = "Pillow-9.2.0-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1802f34298f5ba11d55e5bb09c31997dc0c6aed919658dfdf0198a2fe75d5490"}, - {file = "Pillow-9.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17d4cafe22f050b46d983b71c707162d63d796a1235cdf8b9d7a112e97b15bac"}, - {file = "Pillow-9.2.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:96b5e6874431df16aee0c1ba237574cb6dff1dcb173798faa6a9d8b399a05d0e"}, - {file = "Pillow-9.2.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:0030fdbd926fb85844b8b92e2f9449ba89607231d3dd597a21ae72dc7fe26927"}, - {file = "Pillow-9.2.0.tar.gz", hash = "sha256:75e636fd3e0fb872693f23ccb8a5ff2cd578801251f3a4f6854c6a5d437d3c04"}, -] -pkgutil-resolve-name = [ - {file = "pkgutil_resolve_name-1.3.10-py3-none-any.whl", hash = "sha256:ca27cc078d25c5ad71a9de0a7a330146c4e014c2462d9af19c6b828280649c5e"}, - {file = "pkgutil_resolve_name-1.3.10.tar.gz", hash = "sha256:357d6c9e6a755653cfd78893817c0853af365dd51ec97f3d358a819373bbd174"}, -] -pluggy = [ - {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"}, - {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, -] -poetry-core = [ - {file = "poetry-core-1.0.8.tar.gz", hash = "sha256:951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118"}, - {file = "poetry_core-1.0.8-py2.py3-none-any.whl", hash = "sha256:54b0fab6f7b313886e547a52f8bf52b8cf43e65b2633c65117f8755289061924"}, -] -py = [ - {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, - {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, -] -pycodestyle = [ - {file = "pycodestyle-2.9.1-py2.py3-none-any.whl", hash = "sha256:d1735fc58b418fd7c5f658d28d943854f8a849b01a5d0a1e6f3f3fdd0166804b"}, - {file = "pycodestyle-2.9.1.tar.gz", hash = "sha256:2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785"}, -] -pyflakes = [ - {file = "pyflakes-2.5.0-py2.py3-none-any.whl", hash = "sha256:4579f67d887f804e67edb544428f264b7b24f435b263c4614f384135cea553d2"}, - {file = "pyflakes-2.5.0.tar.gz", hash = "sha256:491feb020dca48ccc562a8c0cbe8df07ee13078df59813b83959cbdada312ea3"}, -] -pygments = [ - {file = "Pygments-2.13.0-py3-none-any.whl", hash = "sha256:f643f331ab57ba3c9d89212ee4a2dabc6e94f117cf4eefde99a0574720d14c42"}, - {file = "Pygments-2.13.0.tar.gz", hash = "sha256:56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1"}, -] -pyparsing = [ - {file = "pyparsing-3.0.9-py3-none-any.whl", hash = "sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"}, - {file = "pyparsing-3.0.9.tar.gz", hash = "sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb"}, -] -pyrsistent = [ - {file = "pyrsistent-0.18.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:df46c854f490f81210870e509818b729db4488e1f30f2a1ce1698b2295a878d1"}, - {file = "pyrsistent-0.18.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d45866ececf4a5fff8742c25722da6d4c9e180daa7b405dc0a2a2790d668c26"}, - {file = "pyrsistent-0.18.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4ed6784ceac462a7d6fcb7e9b663e93b9a6fb373b7f43594f9ff68875788e01e"}, - {file = "pyrsistent-0.18.1-cp310-cp310-win32.whl", hash = "sha256:e4f3149fd5eb9b285d6bfb54d2e5173f6a116fe19172686797c056672689daf6"}, - {file = "pyrsistent-0.18.1-cp310-cp310-win_amd64.whl", hash = "sha256:636ce2dc235046ccd3d8c56a7ad54e99d5c1cd0ef07d9ae847306c91d11b5fec"}, - {file = "pyrsistent-0.18.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e92a52c166426efbe0d1ec1332ee9119b6d32fc1f0bbfd55d5c1088070e7fc1b"}, - {file = "pyrsistent-0.18.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7a096646eab884bf8bed965bad63ea327e0d0c38989fc83c5ea7b8a87037bfc"}, - {file = "pyrsistent-0.18.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cdfd2c361b8a8e5d9499b9082b501c452ade8bbf42aef97ea04854f4a3f43b22"}, - {file = "pyrsistent-0.18.1-cp37-cp37m-win32.whl", hash = "sha256:7ec335fc998faa4febe75cc5268a9eac0478b3f681602c1f27befaf2a1abe1d8"}, - {file = "pyrsistent-0.18.1-cp37-cp37m-win_amd64.whl", hash = "sha256:6455fc599df93d1f60e1c5c4fe471499f08d190d57eca040c0ea182301321286"}, - {file = "pyrsistent-0.18.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fd8da6d0124efa2f67d86fa70c851022f87c98e205f0594e1fae044e7119a5a6"}, - {file = "pyrsistent-0.18.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bfe2388663fd18bd8ce7db2c91c7400bf3e1a9e8bd7d63bf7e77d39051b85ec"}, - {file = "pyrsistent-0.18.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0e3e1fcc45199df76053026a51cc59ab2ea3fc7c094c6627e93b7b44cdae2c8c"}, - {file = "pyrsistent-0.18.1-cp38-cp38-win32.whl", hash = "sha256:b568f35ad53a7b07ed9b1b2bae09eb15cdd671a5ba5d2c66caee40dbf91c68ca"}, - {file = "pyrsistent-0.18.1-cp38-cp38-win_amd64.whl", hash = "sha256:d1b96547410f76078eaf66d282ddca2e4baae8964364abb4f4dcdde855cd123a"}, - {file = "pyrsistent-0.18.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:f87cc2863ef33c709e237d4b5f4502a62a00fab450c9e020892e8e2ede5847f5"}, - {file = "pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6bc66318fb7ee012071b2792024564973ecc80e9522842eb4e17743604b5e045"}, - {file = "pyrsistent-0.18.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:914474c9f1d93080338ace89cb2acee74f4f666fb0424896fcfb8d86058bf17c"}, - {file = "pyrsistent-0.18.1-cp39-cp39-win32.whl", hash = "sha256:1b34eedd6812bf4d33814fca1b66005805d3640ce53140ab8bbb1e2651b0d9bc"}, - {file = "pyrsistent-0.18.1-cp39-cp39-win_amd64.whl", hash = "sha256:e24a828f57e0c337c8d8bb9f6b12f09dfdf0273da25fda9e314f0b684b415a07"}, - {file = "pyrsistent-0.18.1.tar.gz", hash = "sha256:d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96"}, -] -pyserial = [ - {file = "pyserial-3.5-py2.py3-none-any.whl", hash = "sha256:c4451db6ba391ca6ca299fb3ec7bae67a5c55dde170964c7a14ceefec02f2cf0"}, - {file = "pyserial-3.5.tar.gz", hash = "sha256:3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb"}, -] -pytest = [ - {file = "pytest-7.1.2-py3-none-any.whl", hash = "sha256:13d0e3ccfc2b6e26be000cb6568c832ba67ba32e719443bfe725814d3c42433c"}, - {file = "pytest-7.1.2.tar.gz", hash = "sha256:a06a0425453864a270bc45e71f783330a7428defb4230fb5e6a731fde06ecd45"}, -] -pyusb = [ - {file = "pyusb-1.2.1-py3-none-any.whl", hash = "sha256:2b4c7cb86dbadf044dfb9d3a4ff69fd217013dbe78a792177a3feb172449ea36"}, - {file = "pyusb-1.2.1.tar.gz", hash = "sha256:a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9"}, -] -qmk = [ - {file = "qmk-1.1.1-py2.py3-none-any.whl", hash = "sha256:8694300678d9be1e594a500e82bfc9fb08a8ac0983b25fcb663ddd72b4861d97"}, - {file = "qmk-1.1.1.tar.gz", hash = "sha256:dd028e09ebcd61f8bdf8cb82929dfafc0e007d97a5a3803b45819b4641773269"}, -] -setuptools-scm = [ - {file = "setuptools_scm-7.0.5-py3-none-any.whl", hash = "sha256:7930f720905e03ccd1e1d821db521bff7ec2ac9cf0ceb6552dd73d24a45d3b02"}, - {file = "setuptools_scm-7.0.5.tar.gz", hash = "sha256:031e13af771d6f892b941adb6ea04545bbf91ebc5ce68c78aaf3fff6e1fb4844"}, -] -six = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, -] -spinners = [ - {file = "spinners-0.0.24-py3-none-any.whl", hash = "sha256:2fa30d0b72c9650ad12bbe031c9943b8d441e41b4f5602b0ec977a19f3290e98"}, - {file = "spinners-0.0.24.tar.gz", hash = "sha256:1eb6aeb4781d72ab42ed8a01dcf20f3002bf50740d7154d12fb8c9769bf9e27f"}, -] -termcolor = [ - {file = "termcolor-1.1.0.tar.gz", hash = "sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"}, -] -tomli = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] -typing-extensions = [ - {file = "typing_extensions-4.3.0-py3-none-any.whl", hash = "sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02"}, - {file = "typing_extensions-4.3.0.tar.gz", hash = "sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6"}, -] -yapf = [ - {file = "yapf-0.32.0-py2.py3-none-any.whl", hash = "sha256:8fea849025584e486fd06d6ba2bed717f396080fd3cc236ba10cb97c4c51cf32"}, - {file = "yapf-0.32.0.tar.gz", hash = "sha256:a3f5085d37ef7e3e004c4ba9f9b3e40c54ff1901cd111f05145ae313a7c67d1b"}, -] -zipp = [ - {file = "zipp-3.8.1-py3-none-any.whl", hash = "sha256:47c40d7fe183a6f21403a199b3e4192cca5774656965b0a4988ad2f8feb5f009"}, - {file = "zipp-3.8.1.tar.gz", hash = "sha256:05b45f1ee8f807d0cc928485ca40a07cb491cf092ff587c0df9cb1fd154848d2"}, -] +lock-version = "2.0" +python-versions = "^3.11" +content-hash = "6146ea1571def62c4f7ff33173e0144bcfd206c178936365bff8b4e1669b90ff" diff --git a/util/nix/pyproject.toml b/util/nix/pyproject.toml index ff484dbe799..fa62eb96c01 100644 --- a/util/nix/pyproject.toml +++ b/util/nix/pyproject.toml @@ -8,7 +8,7 @@ description = "" authors = [] [tool.poetry.dependencies] -python = "^3.8" +python = "^3.11" appdirs = "*" argcomplete = "*" colorama = "*" @@ -34,28 +34,6 @@ pep8-naming = "*" pyflakes = "*" yapf = "*" -# These dependencies are required by the jsonschema >= 4.11.0 build system, but -# are not detected automatically; they are also not present in the used Nixpkgs -# snapshot, so need to be obtained through Poetry. -hatchling = "*" -hatch-vcs = "*" -hatch-fancy-pypi-readme = "*" - -# The `pytest` module in the used Nixpkgs snapshot has an upper bound on the -# `pluggy` dependency, which conflicts with the dependency of the `hatchling` -# module; upgrading the `pytest` module fixes the conflict. -pytest = "*" - -# Building the `tomli` module, which is in the dependency tree of `hatchling`, -# requires a newer `flit-core` module than found in the used Nixpkgs snapshot. -flit-core = "*" - -# Building `dotty-dict` >= 1.3.1 requires the `poetry-core` module, and the -# version of that module provided by the used Nixpkgs snapshot cannot be built -# on Darwin due to the regex compatibility issue in the old Nixpkgs code -# (https://github.com/NixOS/nix/issues/4758). -poetry-core = "*" - [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/util/nix/sources.json b/util/nix/sources.json index 8cdb9e49968..3985f75e033 100644 --- a/util/nix/sources.json +++ b/util/nix/sources.json @@ -17,10 +17,10 @@ "homepage": "", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c0e881852006b132236cbf0301bd1939bb50867e", - "sha256": "0fy7z7yxk5n7yslsvx5cyc6h21qwi4bhxf3awhirniszlbvaazy2", + "rev": "98b00b6947a9214381112bdb6f89c25498db4959", + "sha256": "1m6dm144mbm56n9293m26f46bjrklknyr4q4kzvxkiv036ijma98", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/c0e881852006b132236cbf0301bd1939bb50867e.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/98b00b6947a9214381112bdb6f89c25498db4959.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "poetry2nix": { @@ -29,10 +29,10 @@ "homepage": "", "owner": "nix-community", "repo": "poetry2nix", - "rev": "11c0df8e348c0f169cd73a2e3d63f65c92baf666", - "sha256": "0i3wbp2p0x6bpj07sqpvkbx4lvjm0irvpmv2bjqx8k02mpjm7dg2", + "rev": "3c92540611f42d3fb2d0d084a6c694cd6544b609", + "sha256": "1jfrangw0xb5b8sdkimc550p3m98zhpb1fayahnr7crg74as4qyq", "type": "tarball", - "url": "https://github.com/nix-community/poetry2nix/archive/11c0df8e348c0f169cd73a2e3d63f65c92baf666.tar.gz", + "url": "https://github.com/nix-community/poetry2nix/archive/3c92540611f42d3fb2d0d084a6c694cd6544b609.tar.gz", "url_template": "https://github.com///archive/.tar.gz" } } diff --git a/util/nix/sources.nix b/util/nix/sources.nix index 1938409dddb..fe3dadf7ebb 100644 --- a/util/nix/sources.nix +++ b/util/nix/sources.nix @@ -10,29 +10,50 @@ let let name' = sanitizeName name + "-src"; in - if spec.builtin or true then - builtins_fetchurl { inherit (spec) url sha256; name = name'; } - else - pkgs.fetchurl { inherit (spec) url sha256; name = name'; }; + if spec.builtin or true then + builtins_fetchurl { inherit (spec) url sha256; name = name'; } + else + pkgs.fetchurl { inherit (spec) url sha256; name = name'; }; fetch_tarball = pkgs: name: spec: let name' = sanitizeName name + "-src"; in - if spec.builtin or true then - builtins_fetchTarball { name = name'; inherit (spec) url sha256; } - else - pkgs.fetchzip { name = name'; inherit (spec) url sha256; }; + if spec.builtin or true then + builtins_fetchTarball { name = name'; inherit (spec) url sha256; } + else + pkgs.fetchzip { name = name'; inherit (spec) url sha256; }; fetch_git = name: spec: let ref = - if spec ? ref then spec.ref else + spec.ref or ( if spec ? branch then "refs/heads/${spec.branch}" else - if spec ? tag then "refs/tags/${spec.tag}" else - abort "In git source '${name}': Please specify `ref`, `tag` or `branch`!"; + if spec ? tag then "refs/tags/${spec.tag}" else + abort "In git source '${name}': Please specify `ref`, `tag` or `branch`!" + ); + submodules = spec.submodules or false; + submoduleArg = + let + nixSupportsSubmodules = builtins.compareVersions builtins.nixVersion "2.4" >= 0; + emptyArgWithWarning = + if submodules + then + builtins.trace + ( + "The niv input \"${name}\" uses submodules " + + "but your nix's (${builtins.nixVersion}) builtins.fetchGit " + + "does not support them" + ) + { } + else { }; + in + if nixSupportsSubmodules + then { inherit submodules; } + else emptyArgWithWarning; in - builtins.fetchGit { url = spec.repo; inherit (spec) rev; inherit ref; }; + builtins.fetchGit + ({ url = spec.repo; inherit (spec) rev; inherit ref; } // submoduleArg); fetch_local = spec: spec.path; @@ -66,16 +87,16 @@ let hasNixpkgsPath = builtins.any (x: x.prefix == "nixpkgs") builtins.nixPath; hasThisAsNixpkgsPath = == ./.; in - if builtins.hasAttr "nixpkgs" sources - then sourcesNixpkgs - else if hasNixpkgsPath && ! hasThisAsNixpkgsPath then - import {} - else - abort - '' - Please specify either (through -I or NIX_PATH=nixpkgs=...) or - add a package called "nixpkgs" to your sources.json. - ''; + if builtins.hasAttr "nixpkgs" sources + then sourcesNixpkgs + else if hasNixpkgsPath && ! hasThisAsNixpkgsPath then + import { } + else + abort + '' + Please specify either (through -I or NIX_PATH=nixpkgs=...) or + add a package called "nixpkgs" to your sources.json. + ''; # The actual fetching function. fetch = pkgs: name: spec: @@ -95,13 +116,13 @@ let # the path directly as opposed to the fetched source. replace = name: drv: let - saneName = stringAsChars (c: if isNull (builtins.match "[a-zA-Z0-9]" c) then "_" else c) name; + saneName = stringAsChars (c: if (builtins.match "[a-zA-Z0-9]" c) == null then "_" else c) name; ersatz = builtins.getEnv "NIV_OVERRIDE_${saneName}"; in - if ersatz == "" then drv else - # this turns the string into an actual Nix path (for both absolute and - # relative paths) - if builtins.substring 0 1 ersatz == "/" then /. + ersatz else /. + builtins.getEnv "PWD" + "/${ersatz}"; + if ersatz == "" then drv else + # this turns the string into an actual Nix path (for both absolute and + # relative paths) + if builtins.substring 0 1 ersatz == "/" then /. + ersatz else /. + builtins.getEnv "PWD" + "/${ersatz}"; # Ports of functions for older nix versions @@ -112,7 +133,7 @@ let ); # https://github.com/NixOS/nixpkgs/blob/0258808f5744ca980b9a1f24fe0b1e6f0fecee9c/lib/lists.nix#L295 - range = first: last: if first > last then [] else builtins.genList (n: first + n) (last - first + 1); + range = first: last: if first > last then [ ] else builtins.genList (n: first + n) (last - first + 1); # https://github.com/NixOS/nixpkgs/blob/0258808f5744ca980b9a1f24fe0b1e6f0fecee9c/lib/strings.nix#L257 stringToCharacters = s: map (p: builtins.substring p 1 s) (range 0 (builtins.stringLength s - 1)); @@ -123,43 +144,46 @@ let concatStrings = builtins.concatStringsSep ""; # https://github.com/NixOS/nixpkgs/blob/8a9f58a375c401b96da862d969f66429def1d118/lib/attrsets.nix#L331 - optionalAttrs = cond: as: if cond then as else {}; + optionalAttrs = cond: as: if cond then as else { }; # fetchTarball version that is compatible between all the versions of Nix builtins_fetchTarball = { url, name ? null, sha256 }@attrs: let inherit (builtins) lessThan nixVersion fetchTarball; in - if lessThan nixVersion "1.12" then - fetchTarball ({ inherit url; } // (optionalAttrs (!isNull name) { inherit name; })) - else - fetchTarball attrs; + if lessThan nixVersion "1.12" then + fetchTarball ({ inherit url; } // (optionalAttrs (name != null) { inherit name; })) + else + fetchTarball attrs; # fetchurl version that is compatible between all the versions of Nix builtins_fetchurl = { url, name ? null, sha256 }@attrs: let inherit (builtins) lessThan nixVersion fetchurl; in - if lessThan nixVersion "1.12" then - fetchurl ({ inherit url; } // (optionalAttrs (!isNull name) { inherit name; })) - else - fetchurl attrs; + if lessThan nixVersion "1.12" then + fetchurl ({ inherit url; } // (optionalAttrs (name != null) { inherit name; })) + else + fetchurl attrs; # Create the final "sources" from the config mkSources = config: - mapAttrs ( - name: spec: - if builtins.hasAttr "outPath" spec - then abort - "The values in sources.json should not have an 'outPath' attribute" - else - spec // { outPath = replace name (fetch config.pkgs name spec); } - ) config.sources; + mapAttrs + ( + name: spec: + if builtins.hasAttr "outPath" spec + then + abort + "The values in sources.json should not have an 'outPath' attribute" + else + spec // { outPath = replace name (fetch config.pkgs name spec); } + ) + config.sources; # The "config" used by the fetchers mkConfig = { sourcesFile ? if builtins.pathExists ./sources.json then ./sources.json else null - , sources ? if isNull sourcesFile then {} else builtins.fromJSON (builtins.readFile sourcesFile) + , sources ? if sourcesFile == null then { } else builtins.fromJSON (builtins.readFile sourcesFile) , system ? builtins.currentSystem , pkgs ? mkPkgs sources system }: rec { @@ -171,4 +195,4 @@ let }; in -mkSources (mkConfig {}) // { __functor = _: settings: mkSources (mkConfig settings); } +mkSources (mkConfig { }) // { __functor = _: settings: mkSources (mkConfig settings); } From ed791972e1bf812c432655de31e3cf92f3bcf397 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Mon, 26 Feb 2024 03:05:10 +0100 Subject: [PATCH 014/107] Cipulot refactoring (#22368) Co-authored-by: Drashna Jaelre Co-authored-by: Joel Challis --- keyboards/cipulot/common/ec_board.c | 64 +++ keyboards/cipulot/common/ec_switch_matrix.c | 312 +++++++++++++++ keyboards/cipulot/common/ec_switch_matrix.h | 72 ++++ keyboards/cipulot/common/eeprom_tools.h | 26 ++ keyboards/cipulot/{ec_23u => common}/matrix.c | 28 +- keyboards/cipulot/common/via_apc.c | 158 -------- keyboards/cipulot/common/via_ec.c | 363 ++++++++++++++++++ keyboards/cipulot/ec_23u/config.h | 50 ++- keyboards/cipulot/ec_23u/ec_switch_matrix.c | 165 -------- keyboards/cipulot/ec_23u/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_23u/halconf.h | 2 +- keyboards/cipulot/ec_23u/info.json | 8 +- .../cipulot/ec_23u/keymaps/default/keymap.c | 23 +- keyboards/cipulot/ec_23u/keymaps/via/config.h | 4 +- keyboards/cipulot/ec_23u/keymaps/via/keymap.c | 23 +- keyboards/cipulot/ec_23u/keymaps/via/rules.mk | 2 - .../cipulot/ec_23u/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/ec_23u/mcuconf.h | 2 +- keyboards/cipulot/ec_23u/post_rules.mk | 3 + keyboards/cipulot/ec_23u/readme.md | 7 +- keyboards/cipulot/ec_23u/rules.mk | 4 +- keyboards/cipulot/ec_60/config.h | 53 ++- keyboards/cipulot/ec_60/ec_switch_matrix.c | 183 --------- keyboards/cipulot/ec_60/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_60/halconf.h | 2 +- keyboards/cipulot/ec_60/info.json | 11 +- .../ec_60/keymaps/60_ansi_tsangan/keymap.c | 11 +- .../ec_60/keymaps/60_iso_tsangan/keymap.c | 11 +- .../cipulot/ec_60/keymaps/60_jis/keymap.c | 11 +- .../cipulot/ec_60/keymaps/default/keymap.c | 11 +- keyboards/cipulot/ec_60/keymaps/via/config.h | 6 +- keyboards/cipulot/ec_60/keymaps/via/keymap.c | 11 +- keyboards/cipulot/ec_60/keymaps/via/rules.mk | 2 - keyboards/cipulot/ec_60/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/ec_60/matrix.c | 44 --- keyboards/cipulot/ec_60/mcuconf.h | 2 +- keyboards/cipulot/ec_60/post_rules.mk | 3 + keyboards/cipulot/ec_60/readme.md | 3 +- keyboards/cipulot/ec_60/rules.mk | 4 +- keyboards/cipulot/ec_alveus/1_0_0/config.h | 52 ++- .../ec_alveus/1_0_0/ec_switch_matrix.c | 183 --------- .../ec_alveus/1_0_0/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_alveus/1_0_0/halconf.h | 2 +- keyboards/cipulot/ec_alveus/1_0_0/info.json | 11 +- .../ec_alveus/1_0_0/keymaps/default/keymap.c | 11 +- .../ec_alveus/1_0_0/keymaps/via/config.h | 6 +- .../ec_alveus/1_0_0/keymaps/via/keymap.c | 11 +- .../ec_alveus/1_0_0/keymaps/via/rules.mk | 2 - .../ec_alveus/1_0_0/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/ec_alveus/1_0_0/matrix.c | 44 --- keyboards/cipulot/ec_alveus/1_0_0/mcuconf.h | 2 +- .../cipulot/ec_alveus/1_0_0/post_rules.mk | 3 + keyboards/cipulot/ec_alveus/1_0_0/readme.md | 3 +- keyboards/cipulot/ec_alveus/1_0_0/rules.mk | 4 +- keyboards/cipulot/ec_alveus/1_2_0/config.h | 52 ++- .../ec_alveus/1_2_0/ec_switch_matrix.c | 183 --------- .../ec_alveus/1_2_0/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_alveus/1_2_0/halconf.h | 2 +- keyboards/cipulot/ec_alveus/1_2_0/info.json | 11 +- .../ec_alveus/1_2_0/keymaps/default/keymap.c | 11 +- .../keymap.c | 11 +- .../ec_alveus/1_2_0/keymaps/via/config.h | 6 +- .../ec_alveus/1_2_0/keymaps/via/keymap.c | 11 +- .../ec_alveus/1_2_0/keymaps/via/rules.mk | 2 - .../ec_alveus/1_2_0/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/ec_alveus/1_2_0/matrix.c | 44 --- keyboards/cipulot/ec_alveus/1_2_0/mcuconf.h | 2 +- .../cipulot/ec_alveus/1_2_0/post_rules.mk | 3 + keyboards/cipulot/ec_alveus/1_2_0/readme.md | 3 +- keyboards/cipulot/ec_alveus/1_2_0/rules.mk | 4 +- keyboards/cipulot/ec_pro2/config.h | 53 ++- keyboards/cipulot/ec_pro2/ec_switch_matrix.c | 183 --------- keyboards/cipulot/ec_pro2/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_pro2/halconf.h | 2 +- keyboards/cipulot/ec_pro2/info.json | 11 +- .../cipulot/ec_pro2/keymaps/60_hhkb/keymap.c | 14 +- .../cipulot/ec_pro2/keymaps/default/keymap.c | 12 +- .../cipulot/ec_pro2/keymaps/via/config.h | 6 +- .../cipulot/ec_pro2/keymaps/via/keymap.c | 12 +- .../cipulot/ec_pro2/keymaps/via/rules.mk | 2 - .../cipulot/ec_pro2/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/ec_pro2/matrix.c | 44 --- keyboards/cipulot/ec_pro2/mcuconf.h | 2 +- keyboards/cipulot/ec_pro2/post_rules.mk | 3 + keyboards/cipulot/ec_pro2/readme.md | 3 +- keyboards/cipulot/ec_pro2/rules.mk | 4 +- keyboards/cipulot/ec_prox/ansi_iso/config.h | 53 ++- .../ec_prox/ansi_iso/ec_switch_matrix.c | 183 --------- .../ec_prox/ansi_iso/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_prox/ansi_iso/halconf.h | 2 +- keyboards/cipulot/ec_prox/ansi_iso/info.json | 8 +- .../ec_prox/ansi_iso/keymaps/60_hhkb/keymap.c | 12 +- .../ec_prox/ansi_iso/keymaps/default/keymap.c | 15 +- .../ec_prox/ansi_iso/keymaps/via/config.h | 6 +- .../ec_prox/ansi_iso/keymaps/via/keymap.c | 15 +- .../ec_prox/ansi_iso/keymaps/via/rules.mk | 2 - .../ec_prox/ansi_iso/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/ec_prox/ansi_iso/matrix.c | 44 --- keyboards/cipulot/ec_prox/ansi_iso/mcuconf.h | 2 +- .../cipulot/ec_prox/ansi_iso/post_rules.mk | 3 + keyboards/cipulot/ec_prox/ansi_iso/readme.md | 3 +- keyboards/cipulot/ec_prox/ansi_iso/rules.mk | 4 +- keyboards/cipulot/ec_prox/jis/config.h | 53 ++- .../cipulot/ec_prox/jis/ec_switch_matrix.c | 183 --------- .../cipulot/ec_prox/jis/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_prox/jis/halconf.h | 2 +- keyboards/cipulot/ec_prox/jis/info.json | 150 ++++---- .../ec_prox/jis/keymaps/default/keymap.c | 23 +- .../cipulot/ec_prox/jis/keymaps/via/config.h | 6 +- .../cipulot/ec_prox/jis/keymaps/via/keymap.c | 27 +- .../cipulot/ec_prox/jis/keymaps/via/rules.mk | 2 - .../cipulot/ec_prox/jis/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/ec_prox/jis/matrix.c | 44 --- keyboards/cipulot/ec_prox/jis/mcuconf.h | 2 +- keyboards/cipulot/ec_prox/jis/post_rules.mk | 3 + keyboards/cipulot/ec_prox/jis/readme.md | 3 +- keyboards/cipulot/ec_prox/jis/rules.mk | 4 +- keyboards/cipulot/ec_theca/config.h | 52 ++- keyboards/cipulot/ec_theca/ec_switch_matrix.c | 191 --------- keyboards/cipulot/ec_theca/ec_switch_matrix.h | 36 -- keyboards/cipulot/ec_theca/halconf.h | 2 +- keyboards/cipulot/ec_theca/info.json | 2 +- .../cipulot/ec_theca/keymaps/default/keymap.c | 4 +- .../keymaps/tkl_ansi_tsangan/keymap.c | 4 +- .../keymaps/tkl_ansi_tsangan_wkl/keymap.c | 4 +- .../cipulot/ec_theca/keymaps/via/config.h | 6 +- .../cipulot/ec_theca/keymaps/via/keymap.c | 4 +- .../cipulot/ec_theca/keymaps/via/rules.mk | 2 - keyboards/cipulot/ec_theca/matrix.c | 44 --- keyboards/cipulot/ec_theca/mcuconf.h | 2 +- keyboards/cipulot/ec_theca/post_rules.mk | 3 + keyboards/cipulot/ec_theca/readme.md | 3 +- keyboards/cipulot/ec_theca/rules.mk | 4 +- keyboards/cipulot/kawayo/config.h | 2 +- .../cipulot/kawayo/keymaps/default/keymap.c | 2 +- .../default_65_ansi_cb_blocker/keymap.c | 2 +- .../keymap.c | 2 +- .../keymap.c | 2 +- keyboards/cipulot/kawayo/keymaps/via/keymap.c | 2 +- keyboards/cipulot/rf_r1_8_9xu/config.h | 52 ++- .../cipulot/rf_r1_8_9xu/ec_switch_matrix.c | 183 --------- .../cipulot/rf_r1_8_9xu/ec_switch_matrix.h | 36 -- keyboards/cipulot/rf_r1_8_9xu/halconf.h | 2 +- keyboards/cipulot/rf_r1_8_9xu/info.json | 8 +- .../rf_r1_8_9xu/keymaps/default/keymap.c | 20 +- .../keymaps/tkl_ansi_tsangan/keymap.c | 20 +- .../keymaps/tkl_iso_tsangan/keymap.c | 20 +- .../rf_r1_8_9xu/keymaps/tkl_jis/keymap.c | 20 +- .../cipulot/rf_r1_8_9xu/keymaps/via/config.h | 6 +- .../cipulot/rf_r1_8_9xu/keymaps/via/keymap.c | 20 +- .../cipulot/rf_r1_8_9xu/keymaps/via/rules.mk | 2 - .../cipulot/rf_r1_8_9xu/keymaps/via/via_apc.c | 156 -------- keyboards/cipulot/rf_r1_8_9xu/matrix.c | 44 --- keyboards/cipulot/rf_r1_8_9xu/mcuconf.h | 2 +- keyboards/cipulot/rf_r1_8_9xu/post_rules.mk | 3 + keyboards/cipulot/rf_r1_8_9xu/readme.md | 3 +- keyboards/cipulot/rf_r1_8_9xu/rules.mk | 4 +- 157 files changed, 1474 insertions(+), 4414 deletions(-) create mode 100644 keyboards/cipulot/common/ec_board.c create mode 100644 keyboards/cipulot/common/ec_switch_matrix.c create mode 100644 keyboards/cipulot/common/ec_switch_matrix.h create mode 100644 keyboards/cipulot/common/eeprom_tools.h rename keyboards/cipulot/{ec_23u => common}/matrix.c (63%) delete mode 100644 keyboards/cipulot/common/via_apc.c create mode 100644 keyboards/cipulot/common/via_ec.c delete mode 100644 keyboards/cipulot/ec_23u/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_23u/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_23u/keymaps/via/via_apc.c create mode 100644 keyboards/cipulot/ec_23u/post_rules.mk delete mode 100644 keyboards/cipulot/ec_60/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_60/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_60/keymaps/via/via_apc.c delete mode 100644 keyboards/cipulot/ec_60/matrix.c create mode 100644 keyboards/cipulot/ec_60/post_rules.mk delete mode 100644 keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/via_apc.c delete mode 100644 keyboards/cipulot/ec_alveus/1_0_0/matrix.c create mode 100644 keyboards/cipulot/ec_alveus/1_0_0/post_rules.mk delete mode 100644 keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/via_apc.c delete mode 100644 keyboards/cipulot/ec_alveus/1_2_0/matrix.c create mode 100644 keyboards/cipulot/ec_alveus/1_2_0/post_rules.mk delete mode 100644 keyboards/cipulot/ec_pro2/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_pro2/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_pro2/keymaps/via/via_apc.c delete mode 100644 keyboards/cipulot/ec_pro2/matrix.c create mode 100644 keyboards/cipulot/ec_pro2/post_rules.mk delete mode 100644 keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/via_apc.c delete mode 100644 keyboards/cipulot/ec_prox/ansi_iso/matrix.c create mode 100644 keyboards/cipulot/ec_prox/ansi_iso/post_rules.mk delete mode 100644 keyboards/cipulot/ec_prox/jis/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_prox/jis/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_prox/jis/keymaps/via/via_apc.c delete mode 100644 keyboards/cipulot/ec_prox/jis/matrix.c create mode 100644 keyboards/cipulot/ec_prox/jis/post_rules.mk delete mode 100644 keyboards/cipulot/ec_theca/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/ec_theca/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/ec_theca/matrix.c create mode 100644 keyboards/cipulot/ec_theca/post_rules.mk delete mode 100644 keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.c delete mode 100644 keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.h delete mode 100644 keyboards/cipulot/rf_r1_8_9xu/keymaps/via/via_apc.c delete mode 100644 keyboards/cipulot/rf_r1_8_9xu/matrix.c create mode 100644 keyboards/cipulot/rf_r1_8_9xu/post_rules.mk diff --git a/keyboards/cipulot/common/ec_board.c b/keyboards/cipulot/common/ec_board.c new file mode 100644 index 00000000000..2225d6da63d --- /dev/null +++ b/keyboards/cipulot/common/ec_board.c @@ -0,0 +1,64 @@ +/* Copyright 2023 Cipulot + * + * 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 3 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 . + */ + +#include "ec_switch_matrix.h" +#include "quantum.h" + +void eeconfig_init_kb(void) { + // Default values + eeprom_ec_config.actuation_mode = DEFAULT_ACTUATION_MODE; + eeprom_ec_config.mode_0_actuation_threshold = DEFAULT_MODE_0_ACTUATION_LEVEL; + eeprom_ec_config.mode_0_release_threshold = DEFAULT_MODE_0_RELEASE_LEVEL; + eeprom_ec_config.mode_1_initial_deadzone_offset = DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET; + eeprom_ec_config.mode_1_actuation_offset = DEFAULT_MODE_1_ACTUATION_OFFSET; + eeprom_ec_config.mode_1_release_offset = DEFAULT_MODE_1_RELEASE_OFFSET; + + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + eeprom_ec_config.bottoming_reading[row][col] = DEFAULT_BOTTOMING_READING; + } + } + // Write default value to EEPROM now + eeconfig_update_kb_datablock(&eeprom_ec_config); + + eeconfig_init_user(); +} + +// On Keyboard startup +void keyboard_post_init_kb(void) { + // Read custom menu variables from memory + eeconfig_read_kb_datablock(&eeprom_ec_config); + + // Set runtime values to EEPROM values + ec_config.actuation_mode = eeprom_ec_config.actuation_mode; + ec_config.mode_0_actuation_threshold = eeprom_ec_config.mode_0_actuation_threshold; + ec_config.mode_0_release_threshold = eeprom_ec_config.mode_0_release_threshold; + ec_config.mode_1_initial_deadzone_offset = eeprom_ec_config.mode_1_initial_deadzone_offset; + ec_config.mode_1_actuation_offset = eeprom_ec_config.mode_1_actuation_offset; + ec_config.mode_1_release_offset = eeprom_ec_config.mode_1_release_offset; + ec_config.bottoming_calibration = false; + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + ec_config.bottoming_calibration_starter[row][col] = true; + ec_config.bottoming_reading[row][col] = eeprom_ec_config.bottoming_reading[row][col]; + ec_config.rescaled_mode_0_actuation_threshold[row][col] = rescale(ec_config.mode_0_actuation_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + ec_config.rescaled_mode_0_release_threshold[row][col] = rescale(ec_config.mode_0_release_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + ec_config.rescaled_mode_1_initial_deadzone_offset[row][col] = rescale(ec_config.mode_1_initial_deadzone_offset, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + } + } + + keyboard_post_init_user(); +} diff --git a/keyboards/cipulot/common/ec_switch_matrix.c b/keyboards/cipulot/common/ec_switch_matrix.c new file mode 100644 index 00000000000..945e435e155 --- /dev/null +++ b/keyboards/cipulot/common/ec_switch_matrix.c @@ -0,0 +1,312 @@ +/* Copyright 2023 Cipulot + * + * 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 3 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 . + */ + +#include "ec_switch_matrix.h" +#include "analog.h" +#include "atomic_util.h" +#include "math.h" +#include "print.h" +#include "wait.h" + +#if defined(__AVR__) +# error "AVR platforms not supported due to a variety of reasons. Among them there are limited memory, limited number of pins and ADC not being able to give satisfactory results." +#endif + +#define OPEN_DRAIN_SUPPORT defined(PAL_MODE_OUTPUT_OPENDRAIN) + +eeprom_ec_config_t eeprom_ec_config; +ec_config_t ec_config; + +// Pin and port array +const pin_t row_pins[] = MATRIX_ROW_PINS; +const pin_t amux_sel_pins[] = AMUX_SEL_PINS; +const pin_t amux_en_pins[] = AMUX_EN_PINS; +const pin_t amux_n_col_sizes[] = AMUX_COL_CHANNELS_SIZES; +const pin_t amux_n_col_channels[][AMUX_MAX_COLS_COUNT] = {AMUX_COL_CHANNELS}; + +#define AMUX_SEL_PINS_COUNT ARRAY_SIZE(amux_sel_pins) +#define EXPECTED_AMUX_SEL_PINS_COUNT ceil(log2(AMUX_MAX_COLS_COUNT) +// Checks for the correctness of the configuration +_Static_assert(ARRAY_SIZE(amux_en_pins) == AMUX_COUNT, "AMUX_EN_PINS doesn't have the minimum number of bits required to enable all the multiplexers available"); +// Check that number of select pins is enough to select all the channels +_Static_assert(AMUX_SEL_PINS_COUNT == EXPECTED_AMUX_SEL_PINS_COUNT), "AMUX_SEL_PINS doesn't have the minimum number of bits required address all the channels"); +// Check that number of elements in AMUX_COL_CHANNELS_SIZES is enough to specify the number of channels for all the multiplexers available +_Static_assert(ARRAY_SIZE(amux_n_col_sizes) == AMUX_COUNT, "AMUX_COL_CHANNELS_SIZES doesn't have the minimum number of elements required to specify the number of channels for all the multiplexers available"); + +static uint16_t sw_value[MATRIX_ROWS][MATRIX_COLS]; + +static adc_mux adcMux; + +// Initialize the row pins +void init_row(void) { + // Set all row pins as output and low + for (uint8_t idx = 0; idx < MATRIX_ROWS; idx++) { + setPinOutput(row_pins[idx]); + writePinLow(row_pins[idx]); + } +} + +// Initialize the multiplexers +void init_amux(void) { + for (uint8_t idx = 0; idx < AMUX_COUNT; idx++) { + setPinOutput(amux_en_pins[idx]); + writePinLow(amux_en_pins[idx]); + } + for (uint8_t idx = 0; idx < AMUX_SEL_PINS_COUNT; idx++) { + setPinOutput(amux_sel_pins[idx]); + } +} + +// Select the multiplexer channel of the specified multiplexer +void select_amux_channel(uint8_t channel, uint8_t col) { + // Get the channel for the specified multiplexer + uint8_t ch = amux_n_col_channels[channel][col]; + // momentarily disable specified multiplexer + writePinHigh(amux_en_pins[channel]); + // Select the multiplexer channel + for (uint8_t i = 0; i < AMUX_SEL_PINS_COUNT; i++) { + writePin(amux_sel_pins[i], ch & (1 << i)); + } + // re enable specified multiplexer + writePinLow(amux_en_pins[channel]); +} + +// Disable all the unused multiplexers +void disable_unused_amux(uint8_t channel) { + // disable all the other multiplexers apart from the current selected one + for (uint8_t idx = 0; idx < AMUX_COUNT; idx++) { + if (idx != channel) { + writePinHigh(amux_en_pins[idx]); + } + } +} +// Discharge the peak hold capacitor +void discharge_capacitor(void) { +#ifdef OPEN_DRAIN_SUPPORT + writePinLow(DISCHARGE_PIN); +#else + writePinLow(DISCHARGE_PIN); + setPinOutput(DISCHARGE_PIN); +#endif +} + +// Charge the peak hold capacitor +void charge_capacitor(uint8_t row) { +#ifdef OPEN_DRAIN_SUPPORT + writePinHigh(DISCHARGE_PIN); +#else + setPinInput(DISCHARGE_PIN); +#endif + writePinHigh(row_pins[row]); +} + +// Initialize the peripherals pins +int ec_init(void) { + // Initialize ADC + palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); + adcMux = pinToMux(ANALOG_PORT); + + // Dummy call to make sure that adcStart() has been called in the appropriate state + adc_read(adcMux); + + // Initialize discharge pin as discharge mode + writePinLow(DISCHARGE_PIN); +#ifdef OPEN_DRAIN_SUPPORT + setPinOutputOpenDrain(DISCHARGE_PIN); +#else + setPinOutput(DISCHARGE_PIN); +#endif + + // Initialize drive lines + init_row(); + + // Initialize AMUXs + init_amux(); + + return 0; +} + +// Get the noise floor +void ec_noise_floor(void) { + // Initialize the noise floor + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + ec_config.noise_floor[row][col] = 0; + } + } + + // Sample the noise floor + for (uint8_t i = 0; i < DEFAULT_NOISE_FLOOR_SAMPLING_COUNT; i++) { + for (uint8_t amux = 0; amux < AMUX_COUNT; amux++) { + disable_unused_amux(amux); + for (uint8_t col = 0; col < amux_n_col_sizes[amux]; col++) { + uint8_t adjusted_col = amux == 0 ? col : col + amux_n_col_sizes[amux - 1]; + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + ec_config.noise_floor[row][adjusted_col] += ec_readkey_raw(amux, row, col); + } + } + } + wait_ms(5); + } + + // Average the noise floor + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + ec_config.noise_floor[row][col] /= DEFAULT_NOISE_FLOOR_SAMPLING_COUNT; + } + } +} + +// Scan key values and update matrix state +bool ec_matrix_scan(matrix_row_t current_matrix[]) { + bool updated = false; + + for (uint8_t amux = 0; amux < AMUX_COUNT; amux++) { + disable_unused_amux(amux); + for (uint8_t col = 0; col < amux_n_col_sizes[amux]; col++) { + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + uint8_t adjusted_col = amux == 0 ? col : col + amux_n_col_sizes[amux - 1]; + sw_value[row][adjusted_col] = ec_readkey_raw(amux, row, col); + + if (ec_config.bottoming_calibration) { + if (ec_config.bottoming_calibration_starter[row][adjusted_col]) { + ec_config.bottoming_reading[row][adjusted_col] = sw_value[row][adjusted_col]; + ec_config.bottoming_calibration_starter[row][adjusted_col] = false; + } else if (sw_value[row][adjusted_col] > ec_config.bottoming_reading[row][adjusted_col]) { + ec_config.bottoming_reading[row][adjusted_col] = sw_value[row][adjusted_col]; + } + } else { + updated |= ec_update_key(¤t_matrix[row], row, adjusted_col, sw_value[row][adjusted_col]); + } + } + } + } + + return ec_config.bottoming_calibration ? false : updated; +} + +// Read the capacitive sensor value +uint16_t ec_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { + uint16_t sw_value = 0; + + // Select the multiplexer + select_amux_channel(channel, col); + + // Set the row pin to low state to avoid ghosting + writePinLow(row_pins[row]); + + ATOMIC_BLOCK_FORCEON { + // Set the row pin to high state and have capacitor charge + charge_capacitor(row); + // Read the ADC value + sw_value = adc_read(adcMux); + } + // Discharge peak hold capacitor + discharge_capacitor(); + // Waiting for the ghost capacitor to discharge fully + wait_us(DISCHARGE_TIME); + + return sw_value; +} + +// Update press/release state of key +bool ec_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { + bool current_state = (*current_row >> col) & 1; + + // Real Time Noise Floor Calibration + if (sw_value < (ec_config.noise_floor[row][col] - NOISE_FLOOR_THRESHOLD)) { + uprintf("Noise Floor Change: %d, %d, %d\n", row, col, sw_value); + ec_config.noise_floor[row][col] = sw_value; + ec_config.rescaled_mode_0_actuation_threshold[row][col] = rescale(ec_config.mode_0_actuation_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + ec_config.rescaled_mode_0_release_threshold[row][col] = rescale(ec_config.mode_0_release_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + ec_config.rescaled_mode_1_initial_deadzone_offset[row][col] = rescale(ec_config.mode_1_initial_deadzone_offset, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + } + + // Normal board-wide APC + if (ec_config.actuation_mode == 0) { + if (current_state && sw_value < ec_config.rescaled_mode_0_release_threshold[row][col]) { + *current_row &= ~(1 << col); + uprintf("Key released: %d, %d, %d\n", row, col, sw_value); + return true; + } + if ((!current_state) && sw_value > ec_config.rescaled_mode_0_actuation_threshold[row][col]) { + *current_row |= (1 << col); + uprintf("Key pressed: %d, %d, %d\n", row, col, sw_value); + return true; + } + } + // Rapid Trigger + else if (ec_config.actuation_mode == 1) { + // Is key in active zone? + if (sw_value > ec_config.rescaled_mode_1_initial_deadzone_offset[row][col]) { + // Is key pressed while in active zone? + if (current_state) { + // Is the key still moving down? + if (sw_value > ec_config.extremum[row][col]) { + ec_config.extremum[row][col] = sw_value; + uprintf("Key pressed: %d, %d, %d\n", row, col, sw_value); + } + // Has key moved up enough to be released? + else if (sw_value < ec_config.extremum[row][col] - ec_config.mode_1_release_offset) { + ec_config.extremum[row][col] = sw_value; + *current_row &= ~(1 << col); + uprintf("Key released: %d, %d, %d\n", row, col, sw_value); + return true; + } + } + // Key is not pressed while in active zone + else { + // Is the key still moving up? + if (sw_value < ec_config.extremum[row][col]) { + ec_config.extremum[row][col] = sw_value; + } + // Has key moved down enough to be pressed? + else if (sw_value > ec_config.extremum[row][col] + ec_config.mode_1_actuation_offset) { + ec_config.extremum[row][col] = sw_value; + *current_row |= (1 << col); + uprintf("Key pressed: %d, %d, %d\n", row, col, sw_value); + return true; + } + } + } + // Key is not in active zone + else { + // Check to avoid key being stuck in pressed state near the active zone threshold + if (sw_value < ec_config.extremum[row][col]) { + ec_config.extremum[row][col] = sw_value; + *current_row &= ~(1 << col); + return true; + } + } + } + return false; +} + +// Print the matrix values +void ec_print_matrix(void) { + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { + uprintf("%4d,", sw_value[row][col]); + } + uprintf("%4d\n", sw_value[row][MATRIX_COLS - 1]); + } + print("\n"); +} + +// Rescale the value to a different range +uint16_t rescale(uint16_t x, uint16_t in_min, uint16_t in_max, uint16_t out_min, uint16_t out_max) { + return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; +} diff --git a/keyboards/cipulot/common/ec_switch_matrix.h b/keyboards/cipulot/common/ec_switch_matrix.h new file mode 100644 index 00000000000..ad03f093de7 --- /dev/null +++ b/keyboards/cipulot/common/ec_switch_matrix.h @@ -0,0 +1,72 @@ +/* Copyright 2023 Cipulot + * + * 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 3 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 . + */ + +#pragma once + +#include +#include +#include "matrix.h" +#include "eeconfig.h" + +typedef struct PACKED { + uint8_t actuation_mode; // 0: normal board-wide APC, 1: Rapid trigger from specific board-wide actuation point, 2: Rapid trigger from resting point + uint16_t mode_0_actuation_threshold; // threshold for key press in mode 0 + uint16_t mode_0_release_threshold; // threshold for key release in mode 0 + uint16_t mode_1_initial_deadzone_offset; // threshold for key press in mode 1 + uint8_t mode_1_actuation_offset; // offset for key press in mode 1 and 2 (1-255) + uint8_t mode_1_release_offset; // offset for key release in mode 1 and 2 (1-255) + uint16_t bottoming_reading[MATRIX_ROWS][MATRIX_COLS]; // bottoming reading +} eeprom_ec_config_t; + +typedef struct { + uint8_t actuation_mode; // 0: normal board-wide APC, 1: Rapid trigger from specific board-wide actuation point (it can be very near that baseline noise and be "full travel") + uint16_t mode_0_actuation_threshold; // threshold for key press in mode 0 + uint16_t mode_0_release_threshold; // threshold for key release in mode 0 + uint16_t mode_1_initial_deadzone_offset; // threshold for key press in mode 1 (initial deadzone) + uint16_t rescaled_mode_0_actuation_threshold[MATRIX_ROWS][MATRIX_COLS]; // threshold for key press in mode 0 rescaled to actual scale + uint16_t rescaled_mode_0_release_threshold[MATRIX_ROWS][MATRIX_COLS]; // threshold for key release in mode 0 rescaled to actual scale + uint16_t rescaled_mode_1_initial_deadzone_offset[MATRIX_ROWS][MATRIX_COLS]; // threshold for key press in mode 1 (initial deadzone) rescaled to actual scale + uint8_t mode_1_actuation_offset; // offset for key press in mode 1 (1-255) + uint8_t mode_1_release_offset; // offset for key release in mode 1 (1-255) + uint16_t extremum[MATRIX_ROWS][MATRIX_COLS]; // extremum values for mode 1 + uint16_t noise_floor[MATRIX_ROWS][MATRIX_COLS]; // noise floor detected during startup + bool bottoming_calibration; // calibration mode for bottoming out values (true: calibration mode, false: normal mode) + bool bottoming_calibration_starter[MATRIX_ROWS][MATRIX_COLS]; // calibration mode for bottoming out values (true: calibration mode, false: normal mode) + uint16_t bottoming_reading[MATRIX_ROWS][MATRIX_COLS]; // bottoming reading +} ec_config_t; + +// Check if the size of the reserved persistent memory is the same as the size of struct eeprom_ec_config_t +_Static_assert(sizeof(eeprom_ec_config_t) == EECONFIG_KB_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); + +extern eeprom_ec_config_t eeprom_ec_config; + +extern ec_config_t ec_config; + +void init_row(void); +void init_amux(void); +void select_amux_channel(uint8_t channel, uint8_t col); +void disable_unused_amux(uint8_t channel); +void discharge_capacitor(void); +void charge_capacitor(uint8_t row); + +int ec_init(void); +void ec_noise_floor(void); +bool ec_matrix_scan(matrix_row_t current_matrix[]); +uint16_t ec_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); +bool ec_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); +void ec_print_matrix(void); + +uint16_t rescale(uint16_t x, uint16_t in_min, uint16_t in_max, uint16_t out_min, uint16_t out_max); diff --git a/keyboards/cipulot/common/eeprom_tools.h b/keyboards/cipulot/common/eeprom_tools.h new file mode 100644 index 00000000000..b3c90d87592 --- /dev/null +++ b/keyboards/cipulot/common/eeprom_tools.h @@ -0,0 +1,26 @@ +/* Copyright 2023 Cipulot + * + * 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 3 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 . + */ +#pragma once + +#include "eeprom.h" + +#if (EECONFIG_KB_DATA_SIZE) > 0 +# define EEPROM_KB_PARTIAL_UPDATE(__struct, __field) eeprom_update_block(&(__struct.__field), (void *)((void *)(EECONFIG_KB_DATABLOCK) + offsetof(typeof(__struct), __field)), sizeof(__struct.__field)) +#endif + +#if (EECONFIG_USER_DATA_SIZE) > 0 +# define EEPROM_USER_PARTIAL_UPDATE(__struct, __field) eeprom_update_block(&(__struct.__field), (void *)((void *)(EECONFIG_USER_DATABLOCK) + offsetof(typeof(__struct), __field)), sizeof(__struct.__field)) +#endif diff --git a/keyboards/cipulot/ec_23u/matrix.c b/keyboards/cipulot/common/matrix.c similarity index 63% rename from keyboards/cipulot/ec_23u/matrix.c rename to keyboards/cipulot/common/matrix.c index 1850acf2641..cfa2efe0506 100644 --- a/keyboards/cipulot/ec_23u/matrix.c +++ b/keyboards/cipulot/common/matrix.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -17,28 +17,26 @@ #include "ec_switch_matrix.h" #include "matrix.h" -/* matrix state(1:on, 0:off) */ extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values +// Custom matrix init function void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; + // Initialize EC + ec_init(); - ecsm_init(&ecsm_config); + // Get the noise floor at boot + ec_noise_floor(); } +// Custom matrix scan function bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); + bool updated = ec_matrix_scan(current_matrix); -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif return updated; } + +// Bootmagic overriden to avoid conflicts with EC +void bootmagic_scan(void) { + ; +} diff --git a/keyboards/cipulot/common/via_apc.c b/keyboards/cipulot/common/via_apc.c deleted file mode 100644 index 2a92052d883..00000000000 --- a/keyboards/cipulot/common/via_apc.c +++ /dev/null @@ -1,158 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -#ifdef VIA_ENABLE - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} -#endif // VIA_ENABLE diff --git a/keyboards/cipulot/common/via_ec.c b/keyboards/cipulot/common/via_ec.c new file mode 100644 index 00000000000..ce4e813f759 --- /dev/null +++ b/keyboards/cipulot/common/via_ec.c @@ -0,0 +1,363 @@ +/* Copyright 2023 Cipulot + * + * 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 3 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 . + */ +#include "eeprom_tools.h" +#include "ec_switch_matrix.h" +#include "action.h" +#include "print.h" +#include "via.h" + +#ifdef VIA_ENABLE + +void ec_rescale_values(uint8_t item); +void ec_save_threshold_data(uint8_t option); +void ec_save_bottoming_reading(void); +void ec_show_calibration_data(void); +void ec_clear_bottoming_calibration_data(void); + +// Declaring enums for VIA config menu +enum via_enums { + // clang-format off + id_actuation_mode = 1, + id_mode_0_actuation_threshold = 2, + id_mode_0_release_threshold = 3, + id_save_threshold_data = 4, + id_mode_1_initial_deadzone_offset = 5, + id_mode_1_actuation_offset = 6, + id_mode_1_release_offset = 7, + id_bottoming_calibration = 8, + id_noise_floor_calibration = 9, + id_show_calibration_data = 10, + id_clear_bottoming_calibration_data = 11 + // clang-format on +}; + +// Handle the data received by the keyboard from the VIA menus +void via_config_set_value(uint8_t *data) { + // data = [ value_id, value_data ] + uint8_t *value_id = &(data[0]); + uint8_t *value_data = &(data[1]); + + switch (*value_id) { + case id_actuation_mode: { + eeprom_ec_config.actuation_mode = value_data[0]; + ec_config.actuation_mode = eeprom_ec_config.actuation_mode; + if (ec_config.actuation_mode == 0) { + uprintf("#########################\n"); + uprintf("# Actuation Mode: APC #\n"); + uprintf("#########################\n"); + } else if (ec_config.actuation_mode == 1) { + uprintf("#################################\n"); + uprintf("# Actuation Mode: Rapid Trigger #\n"); + uprintf("#################################\n"); + } + EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, actuation_mode); + break; + } + case id_mode_0_actuation_threshold: { + ec_config.mode_0_actuation_threshold = value_data[1] | (value_data[0] << 8); + uprintf("APC Mode Actuation Threshold: %d\n", ec_config.mode_0_actuation_threshold); + break; + } + case id_mode_0_release_threshold: { + ec_config.mode_0_release_threshold = value_data[1] | (value_data[0] << 8); + uprintf("APC Mode Release Threshold: %d\n", ec_config.mode_0_release_threshold); + break; + } + case id_mode_1_initial_deadzone_offset: { + ec_config.mode_1_initial_deadzone_offset = value_data[1] | (value_data[0] << 8); + uprintf("Rapid Trigger Mode Initial Deadzone Offset: %d\n", ec_config.mode_1_initial_deadzone_offset); + break; + } + case id_mode_1_actuation_offset: { + ec_config.mode_1_actuation_offset = value_data[0]; + uprintf("Rapid Trigger Mode Actuation Offset: %d\n", ec_config.mode_1_actuation_offset); + break; + } + case id_mode_1_release_offset: { + ec_config.mode_1_release_offset = value_data[0]; + uprintf("Rapid Trigger Mode Release Offset: %d\n", ec_config.mode_1_release_offset); + break; + } + case id_bottoming_calibration: { + if (value_data[0] == 1) { + ec_config.bottoming_calibration = true; + uprintf("##############################\n"); + uprintf("# Bottoming calibration mode #\n"); + uprintf("##############################\n"); + } else { + ec_config.bottoming_calibration = false; + ec_save_bottoming_reading(); + uprintf("## Bottoming calibration done ##\n"); + ec_show_calibration_data(); + } + break; + } + case id_save_threshold_data: { + ec_save_threshold_data(value_data[0]); + break; + } + case id_noise_floor_calibration: { + if (value_data[0] == 0) { + ec_noise_floor(); + ec_rescale_values(0); + ec_rescale_values(1); + ec_rescale_values(2); + uprintf("#############################\n"); + uprintf("# Noise floor data acquired #\n"); + uprintf("#############################\n"); + break; + } + } + case id_show_calibration_data: { + if (value_data[0] == 0) { + ec_show_calibration_data(); + break; + } + } + case id_clear_bottoming_calibration_data: { + if (value_data[0] == 0) { + ec_clear_bottoming_calibration_data(); + } + } + default: { + // Unhandled value. + break; + } + } +} + +// Handle the data sent by the keyboard to the VIA menus +void via_config_get_value(uint8_t *data) { + // data = [ value_id, value_data ] + uint8_t *value_id = &(data[0]); + uint8_t *value_data = &(data[1]); + + switch (*value_id) { + case id_actuation_mode: { + value_data[0] = eeprom_ec_config.actuation_mode; + break; + } + case id_mode_0_actuation_threshold: { + value_data[0] = eeprom_ec_config.mode_0_actuation_threshold >> 8; + value_data[1] = eeprom_ec_config.mode_0_actuation_threshold & 0xFF; + break; + } + case id_mode_0_release_threshold: { + value_data[0] = eeprom_ec_config.mode_0_release_threshold >> 8; + value_data[1] = eeprom_ec_config.mode_0_release_threshold & 0xFF; + break; + } + case id_mode_1_initial_deadzone_offset: { + value_data[0] = eeprom_ec_config.mode_1_initial_deadzone_offset >> 8; + value_data[1] = eeprom_ec_config.mode_1_initial_deadzone_offset & 0xFF; + break; + } + case id_mode_1_actuation_offset: { + value_data[0] = eeprom_ec_config.mode_1_actuation_offset; + break; + } + case id_mode_1_release_offset: { + value_data[0] = eeprom_ec_config.mode_1_release_offset; + break; + } + default: { + // Unhandled value. + break; + } + } +} + +// Handle the commands sent and received by the keyboard with VIA +void via_custom_value_command_kb(uint8_t *data, uint8_t length) { + // data = [ command_id, channel_id, value_id, value_data ] + uint8_t *command_id = &(data[0]); + uint8_t *channel_id = &(data[1]); + uint8_t *value_id_and_data = &(data[2]); + + if (*channel_id == id_custom_channel) { + switch (*command_id) { + case id_custom_set_value: { + via_config_set_value(value_id_and_data); + break; + } + case id_custom_get_value: { + via_config_get_value(value_id_and_data); + break; + } + case id_custom_save: { + // Bypass the save function in favor of pinpointed saves + break; + } + default: { + // Unhandled message. + *command_id = id_unhandled; + break; + } + } + return; + } + + *command_id = id_unhandled; +} + +// Rescale the values received by VIA to fit the new range +void ec_rescale_values(uint8_t item) { + switch (item) { + // Rescale the APC mode actuation thresholds + case 0: + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + ec_config.rescaled_mode_0_actuation_threshold[row][col] = rescale(ec_config.mode_0_actuation_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + } + } + break; + // Rescale the APC mode release thresholds + case 1: + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + ec_config.rescaled_mode_0_release_threshold[row][col] = rescale(ec_config.mode_0_release_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + } + } + break; + // Rescale the Rapid Trigger mode initial deadzone offsets + case 2: + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + ec_config.rescaled_mode_1_initial_deadzone_offset[row][col] = rescale(ec_config.mode_1_initial_deadzone_offset, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); + } + } + break; + + default: + // Unhandled item. + break; + } +} + +void ec_save_threshold_data(uint8_t option) { + // Save APC mode thresholds and rescale them for runtime usage + if (option == 0) { + eeprom_ec_config.mode_0_actuation_threshold = ec_config.mode_0_actuation_threshold; + eeprom_ec_config.mode_0_release_threshold = ec_config.mode_0_release_threshold; + ec_rescale_values(0); + ec_rescale_values(1); + } + // Save Rapid Trigger mode thresholds and rescale them for runtime usage + else if (option == 1) { + eeprom_ec_config.mode_1_initial_deadzone_offset = ec_config.mode_1_initial_deadzone_offset; + eeprom_ec_config.mode_1_actuation_offset = ec_config.mode_1_actuation_offset; + eeprom_ec_config.mode_1_release_offset = ec_config.mode_1_release_offset; + ec_rescale_values(2); + } + eeconfig_update_kb_datablock(&eeprom_ec_config); + uprintf("####################################\n"); + uprintf("# New thresholds applied and saved #\n"); + uprintf("####################################\n"); +} + +// Save the bottoming reading +void ec_save_bottoming_reading(void) { + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS; col++) { + // If the bottom reading doesn't go over the noise floor by BOTTOMING_CALIBRATION_THRESHOLD, it is likely that: + // 1. The key is not actually in the matrix + // 2. The key is on an alternative layout, therefore not being pressed + // 3. The key in in the current layout but not being pressed + if (ec_config.bottoming_reading[row][col] < (ec_config.noise_floor[row][col] + BOTTOMING_CALIBRATION_THRESHOLD)) { + eeprom_ec_config.bottoming_reading[row][col] = 1023; + } else { + eeprom_ec_config.bottoming_reading[row][col] = ec_config.bottoming_reading[row][col]; + } + } + } + // Rescale the values to fit the new range for runtime usage + ec_rescale_values(0); + ec_rescale_values(1); + ec_rescale_values(2); + eeconfig_update_kb_datablock(&eeprom_ec_config); +} + +// Show the calibration data +void ec_show_calibration_data(void) { + uprintf("\n###############\n"); + uprintf("# Noise Floor #\n"); + uprintf("###############\n"); + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { + uprintf("%4d,", ec_config.noise_floor[row][col]); + } + uprintf("%4d\n", ec_config.noise_floor[row][MATRIX_COLS - 1]); + } + + uprintf("\n######################\n"); + uprintf("# Bottoming Readings #\n"); + uprintf("######################\n"); + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { + uprintf("%4d,", eeprom_ec_config.bottoming_reading[row][col]); + } + uprintf("%4d\n", eeprom_ec_config.bottoming_reading[row][MATRIX_COLS - 1]); + } + + uprintf("\n######################################\n"); + uprintf("# Rescaled APC Mode Actuation Points #\n"); + uprintf("######################################\n"); + uprintf("Original APC Mode Actuation Point: %4d\n", ec_config.mode_0_actuation_threshold); + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { + uprintf("%4d,", ec_config.rescaled_mode_0_actuation_threshold[row][col]); + } + uprintf("%4d\n", ec_config.rescaled_mode_0_actuation_threshold[row][MATRIX_COLS - 1]); + } + + uprintf("\n######################################\n"); + uprintf("# Rescaled APC Mode Release Points #\n"); + uprintf("######################################\n"); + uprintf("Original APC Mode Release Point: %4d\n", ec_config.mode_0_release_threshold); + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { + uprintf("%4d,", ec_config.rescaled_mode_0_release_threshold[row][col]); + } + uprintf("%4d\n", ec_config.rescaled_mode_0_release_threshold[row][MATRIX_COLS - 1]); + } + + uprintf("\n#######################################################\n"); + uprintf("# Rescaled Rapid Trigger Mode Initial Deadzone Offset #\n"); + uprintf("#######################################################\n"); + uprintf("Original Rapid Trigger Mode Initial Deadzone Offset: %4d\n", ec_config.mode_1_initial_deadzone_offset); + for (uint8_t row = 0; row < MATRIX_ROWS; row++) { + for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { + uprintf("%4d,", ec_config.rescaled_mode_1_initial_deadzone_offset[row][col]); + } + uprintf("%4d\n", ec_config.rescaled_mode_1_initial_deadzone_offset[row][MATRIX_COLS - 1]); + } + print("\n"); +} + +// Clear the calibration data +void ec_clear_bottoming_calibration_data(void) { + // Clear the EEPROM data + eeconfig_init_kb(); + + // Reset the runtime values to the EEPROM values + keyboard_post_init_kb(); + + uprintf("######################################\n"); + uprintf("# Bottoming calibration data cleared #\n"); + uprintf("######################################\n"); +} + +#endif // VIA_ENABLE diff --git a/keyboards/cipulot/ec_23u/config.h b/keyboards/cipulot/ec_23u/config.h index 8bb39367b94..da210fe0c63 100644 --- a/keyboards/cipulot/ec_23u/config.h +++ b/keyboards/cipulot/ec_23u/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,29 +19,51 @@ #define MATRIX_ROWS 4 #define MATRIX_COLS 6 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { B13, B12, A7, B0 } -#define MATRIX_COL_CHANNELS \ - { 4, 6, 3, 2, 0, 1 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 1 +#define AMUX_MAX_COLS_COUNT 6 + +#define AMUX_EN_PINS \ + { C15 } + +#define AMUX_SEL_PINS \ { C14, C13, B6 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN C15 +#define AMUX_COL_CHANNELS_SIZES \ + { 6 } + +#define AMUX_0_COL_CHANNELS \ + { 4, 6, 3, 2, 0, 1 } + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS + #define DISCHARGE_PIN A3 #define ANALOG_PORT A2 -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -//#define DEBOUNCE 5 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE + +#define EECONFIG_KB_DATA_SIZE 58 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_23u/ec_switch_matrix.c b/keyboards/cipulot/ec_23u/ec_switch_matrix.c deleted file mode 100644 index 4059a80e5db..00000000000 --- a/keyboards/cipulot/ec_23u/ec_switch_matrix.c +++ /dev/null @@ -1,165 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - //Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN); - writePinLow(APLEX_EN_PIN); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - writePinHigh(APLEX_EN_PIN); - select_mux(col); - writePinLow(APLEX_EN_PIN); - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_23u/ec_switch_matrix.h b/keyboards/cipulot/ec_23u/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_23u/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_23u/halconf.h b/keyboards/cipulot/ec_23u/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_23u/halconf.h +++ b/keyboards/cipulot/ec_23u/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_23u/info.json b/keyboards/cipulot/ec_23u/info.json index 7358099759b..0f656f8e8ca 100644 --- a/keyboards/cipulot/ec_23u/info.json +++ b/keyboards/cipulot/ec_23u/info.json @@ -8,19 +8,13 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, "nkro": true, "rgblight": true }, - "mouse_key": { - "enabled": true - }, "indicators": { "num_lock": "B14" }, diff --git a/keyboards/cipulot/ec_23u/keymaps/default/keymap.c b/keyboards/cipulot/ec_23u/keymaps/default/keymap.c index 93ceadb842c..1f54d78a62b 100644 --- a/keyboards/cipulot/ec_23u/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_23u/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -28,27 +28,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [1] = LAYOUT_all( RGB_TOG, RGB_VAD, RGB_VAI, _______, + _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, QK_BOOT, _______), - - - [2] = LAYOUT_all( - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______) + _______, _______, QK_BOOT, _______) // clang-format on }; diff --git a/keyboards/cipulot/ec_23u/keymaps/via/config.h b/keyboards/cipulot/ec_23u/keymaps/via/config.h index ebf954d07ac..036188669d1 100644 --- a/keyboards/cipulot/ec_23u/keymaps/via/config.h +++ b/keyboards/cipulot/ec_23u/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,7 @@ #pragma once +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 // This is the size of the EEPROM for the custom VIA-specific data #define EECONFIG_USER_DATA_SIZE 4 diff --git a/keyboards/cipulot/ec_23u/keymaps/via/keymap.c b/keyboards/cipulot/ec_23u/keymaps/via/keymap.c index 93ceadb842c..1f54d78a62b 100644 --- a/keyboards/cipulot/ec_23u/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_23u/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -28,27 +28,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [1] = LAYOUT_all( RGB_TOG, RGB_VAD, RGB_VAI, _______, + _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, QK_BOOT, _______), - - - [2] = LAYOUT_all( - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______) + _______, _______, QK_BOOT, _______) // clang-format on }; diff --git a/keyboards/cipulot/ec_23u/keymaps/via/rules.mk b/keyboards/cipulot/ec_23u/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_23u/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_23u/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/ec_23u/keymaps/via/via_apc.c b/keyboards/cipulot/ec_23u/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/ec_23u/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/ec_23u/mcuconf.h b/keyboards/cipulot/ec_23u/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_23u/mcuconf.h +++ b/keyboards/cipulot/ec_23u/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_23u/post_rules.mk b/keyboards/cipulot/ec_23u/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_23u/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_23u/readme.md b/keyboards/cipulot/ec_23u/readme.md index d4832edff5d..28535c37873 100644 --- a/keyboards/cipulot/ec_23u/readme.md +++ b/keyboards/cipulot/ec_23u/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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 Boot0 pins**: Short the Boot0 pins on the back of the PCB while plugging in the keyboard -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available +* **Physical reset**: Long short the exposed pads on the top of the PCB +* **Keycode in layout**: Press the key mapped to QK_BOOT if it is available diff --git a/keyboards/cipulot/ec_23u/rules.mk b/keyboards/cipulot/ec_23u/rules.mk index fc2dcf32ab1..ab6c37cad43 100644 --- a/keyboards/cipulot/ec_23u/rules.mk +++ b/keyboards/cipulot/ec_23u/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 2 diff --git a/keyboards/cipulot/ec_60/config.h b/keyboards/cipulot/ec_60/config.h index 083b71cc136..d4dc8cf68ac 100644 --- a/keyboards/cipulot/ec_60/config.h +++ b/keyboards/cipulot/ec_60/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,54 @@ #define MATRIX_ROWS 5 #define MATRIX_COLS 15 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { B15, A8, B0, A7, B1 } -#define MATRIX_COL_CHANNELS \ - { 0, 3, 1, 2, 5, 7, 6, 4 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { B7, B3 } + +#define AMUX_SEL_PINS \ { B6, B5, B4 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 B7 -#define APLEX_EN_PIN_1 B3 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 7 } + +#define AMUX_0_COL_CHANNELS \ + { 0, 3, 1, 2, 5, 7, 6, 4 } + +#define AMUX_1_COL_CHANNELS \ + { 0, 3, 1, 2, 5, 7, 6 } + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN A6 #define ANALOG_PORT A3 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE + +#define EECONFIG_KB_DATA_SIZE 160 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_60/ec_switch_matrix.c b/keyboards/cipulot/ec_60/ec_switch_matrix.c deleted file mode 100644 index 72220b87336..00000000000 --- a/keyboards/cipulot/ec_60/ec_switch_matrix.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - //Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < (sizeof(col_channels) - 1); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_60/ec_switch_matrix.h b/keyboards/cipulot/ec_60/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_60/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_60/halconf.h b/keyboards/cipulot/ec_60/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_60/halconf.h +++ b/keyboards/cipulot/ec_60/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_60/info.json b/keyboards/cipulot/ec_60/info.json index e162eb8db86..a86b20bfd63 100644 --- a/keyboards/cipulot/ec_60/info.json +++ b/keyboards/cipulot/ec_60/info.json @@ -8,18 +8,11 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, - "nkro": true, - "rgblight": false - }, - "mouse_key": { - "enabled": true + "nkro": true }, "processor": "STM32F401", "url": "https://www.github.com/Cipulot/EC60", diff --git a/keyboards/cipulot/ec_60/keymaps/60_ansi_tsangan/keymap.c b/keyboards/cipulot/ec_60/keymaps/60_ansi_tsangan/keymap.c index 82c1e711c95..cc33a90f3df 100644 --- a/keyboards/cipulot/ec_60/keymaps/60_ansi_tsangan/keymap.c +++ b/keyboards/cipulot/ec_60/keymaps/60_ansi_tsangan/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -32,14 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_60_ansi_tsangan( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_60_ansi_tsangan( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_60/keymaps/60_iso_tsangan/keymap.c b/keyboards/cipulot/ec_60/keymaps/60_iso_tsangan/keymap.c index 530832885b9..8abe5c13bbd 100644 --- a/keyboards/cipulot/ec_60/keymaps/60_iso_tsangan/keymap.c +++ b/keyboards/cipulot/ec_60/keymaps/60_iso_tsangan/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -32,14 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_60_iso_tsangan( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_60_iso_tsangan( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_60/keymaps/60_jis/keymap.c b/keyboards/cipulot/ec_60/keymaps/60_jis/keymap.c index 76ecd082594..985a587f3ca 100644 --- a/keyboards/cipulot/ec_60/keymaps/60_jis/keymap.c +++ b/keyboards/cipulot/ec_60/keymaps/60_jis/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -34,14 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_60_jis( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_60_jis( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_60/keymaps/default/keymap.c b/keyboards/cipulot/ec_60/keymaps/default/keymap.c index d76f9166b45..d41d43c8850 100644 --- a/keyboards/cipulot/ec_60/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_60/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -34,14 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_60/keymaps/via/config.h b/keyboards/cipulot/ec_60/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/ec_60/keymaps/via/config.h +++ b/keyboards/cipulot/ec_60/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_60/keymaps/via/keymap.c b/keyboards/cipulot/ec_60/keymaps/via/keymap.c index d76f9166b45..d41d43c8850 100644 --- a/keyboards/cipulot/ec_60/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_60/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -34,14 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_60/keymaps/via/rules.mk b/keyboards/cipulot/ec_60/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_60/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_60/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/ec_60/keymaps/via/via_apc.c b/keyboards/cipulot/ec_60/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/ec_60/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/ec_60/matrix.c b/keyboards/cipulot/ec_60/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/ec_60/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/ec_60/mcuconf.h b/keyboards/cipulot/ec_60/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_60/mcuconf.h +++ b/keyboards/cipulot/ec_60/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_60/post_rules.mk b/keyboards/cipulot/ec_60/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_60/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_60/readme.md b/keyboards/cipulot/ec_60/readme.md index a171bdfd4e6..be6a8ec6bab 100644 --- a/keyboards/cipulot/ec_60/readme.md +++ b/keyboards/cipulot/ec_60/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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 Boot0 pins**: Short the Boot0 pins on the back of the PCB while plugging in the keyboard * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/ec_60/rules.mk b/keyboards/cipulot/ec_60/rules.mk index fc2dcf32ab1..70494b635f6 100644 --- a/keyboards/cipulot/ec_60/rules.mk +++ b/keyboards/cipulot/ec_60/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 3 diff --git a/keyboards/cipulot/ec_alveus/1_0_0/config.h b/keyboards/cipulot/ec_alveus/1_0_0/config.h index 1947c308026..775c7906adb 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/config.h +++ b/keyboards/cipulot/ec_alveus/1_0_0/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,53 @@ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { A14, B3, A15, B5, B4 } -#define MATRIX_COL_CHANNELS \ - { 3, 0, 1, 2, 6, 5, 7, 4 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { C13, C14 } + +#define AMUX_SEL_PINS \ { B7, B8, B9 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 C13 -#define APLEX_EN_PIN_1 C14 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 8 } + +#define AMUX_0_COL_CHANNELS \ + { 3, 0, 1, 2, 6, 5, 7, 4 } + +#define AMUX_1_COL_CHANNELS AMUX_0_COL_CHANNELS + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN B1 #define ANALOG_PORT A3 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE + +#define EECONFIG_KB_DATA_SIZE 170 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.c b/keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.c deleted file mode 100644 index 783c00457c7..00000000000 --- a/keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - // Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.h b/keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_alveus/1_0_0/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_alveus/1_0_0/halconf.h b/keyboards/cipulot/ec_alveus/1_0_0/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/halconf.h +++ b/keyboards/cipulot/ec_alveus/1_0_0/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_alveus/1_0_0/info.json b/keyboards/cipulot/ec_alveus/1_0_0/info.json index 3e195460891..4652166cc5e 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/info.json +++ b/keyboards/cipulot/ec_alveus/1_0_0/info.json @@ -8,18 +8,11 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, - "nkro": true, - "rgblight": false - }, - "mouse_key": { - "enabled": true + "nkro": true }, "processor": "STM32F401", "usb": { diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/default/keymap.c b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/default/keymap.c index d111c6a6853..bff38f1fa81 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -33,14 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_tkl_nofrow_ansi_tsangan_wkl( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_tkl_nofrow_ansi_tsangan_wkl( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h +++ b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c index 5fc6c4d94e0..692a631ea82 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -33,14 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/via_apc.c b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/ec_alveus/1_0_0/matrix.c b/keyboards/cipulot/ec_alveus/1_0_0/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/ec_alveus/1_0_0/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/ec_alveus/1_0_0/mcuconf.h b/keyboards/cipulot/ec_alveus/1_0_0/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/mcuconf.h +++ b/keyboards/cipulot/ec_alveus/1_0_0/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_alveus/1_0_0/post_rules.mk b/keyboards/cipulot/ec_alveus/1_0_0/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_alveus/1_0_0/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_alveus/1_0_0/readme.md b/keyboards/cipulot/ec_alveus/1_0_0/readme.md index 01e82a88055..01594cbc4d5 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/readme.md +++ b/keyboards/cipulot/ec_alveus/1_0_0/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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**: Long short the exposed pads on the top of the PCB * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/ec_alveus/1_0_0/rules.mk b/keyboards/cipulot/ec_alveus/1_0_0/rules.mk index fc2dcf32ab1..70494b635f6 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/rules.mk +++ b/keyboards/cipulot/ec_alveus/1_0_0/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 3 diff --git a/keyboards/cipulot/ec_alveus/1_2_0/config.h b/keyboards/cipulot/ec_alveus/1_2_0/config.h index 1947c308026..775c7906adb 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/config.h +++ b/keyboards/cipulot/ec_alveus/1_2_0/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,53 @@ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { A14, B3, A15, B5, B4 } -#define MATRIX_COL_CHANNELS \ - { 3, 0, 1, 2, 6, 5, 7, 4 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { C13, C14 } + +#define AMUX_SEL_PINS \ { B7, B8, B9 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 C13 -#define APLEX_EN_PIN_1 C14 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 8 } + +#define AMUX_0_COL_CHANNELS \ + { 3, 0, 1, 2, 6, 5, 7, 4 } + +#define AMUX_1_COL_CHANNELS AMUX_0_COL_CHANNELS + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN B1 #define ANALOG_PORT A3 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE + +#define EECONFIG_KB_DATA_SIZE 170 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.c b/keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.c deleted file mode 100644 index 783c00457c7..00000000000 --- a/keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - // Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.h b/keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_alveus/1_2_0/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_alveus/1_2_0/halconf.h b/keyboards/cipulot/ec_alveus/1_2_0/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/halconf.h +++ b/keyboards/cipulot/ec_alveus/1_2_0/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_alveus/1_2_0/info.json b/keyboards/cipulot/ec_alveus/1_2_0/info.json index 65af74e99ba..8b63d02f770 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/info.json +++ b/keyboards/cipulot/ec_alveus/1_2_0/info.json @@ -8,18 +8,11 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, - "nkro": true, - "rgblight": false - }, - "mouse_key": { - "enabled": true + "nkro": true }, "processor": "STM32F401", "usb": { diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/default/keymap.c b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/default/keymap.c index d111c6a6853..bff38f1fa81 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -33,14 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_tkl_nofrow_ansi_tsangan_wkl( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_tkl_nofrow_ansi_tsangan_wkl( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/tkl_nofrow_ansi_tsangan_wkl_split_bs/keymap.c b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/tkl_nofrow_ansi_tsangan_wkl_split_bs/keymap.c index 4552cd64575..163f05202ef 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/tkl_nofrow_ansi_tsangan_wkl_split_bs/keymap.c +++ b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/tkl_nofrow_ansi_tsangan_wkl_split_bs/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -33,14 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_tkl_nofrow_ansi_tsangan_wkl_split_bs( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_tkl_nofrow_ansi_tsangan_wkl_split_bs( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h +++ b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c index 54a8f3b4f00..2134def61ae 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -33,14 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), [2] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/via_apc.c b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/ec_alveus/1_2_0/matrix.c b/keyboards/cipulot/ec_alveus/1_2_0/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/ec_alveus/1_2_0/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/ec_alveus/1_2_0/mcuconf.h b/keyboards/cipulot/ec_alveus/1_2_0/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/mcuconf.h +++ b/keyboards/cipulot/ec_alveus/1_2_0/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_alveus/1_2_0/post_rules.mk b/keyboards/cipulot/ec_alveus/1_2_0/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_alveus/1_2_0/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_alveus/1_2_0/readme.md b/keyboards/cipulot/ec_alveus/1_2_0/readme.md index e4c3ef86c3f..43a39b06d80 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/readme.md +++ b/keyboards/cipulot/ec_alveus/1_2_0/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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**: Long short the exposed pads on the top of the PCB * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/ec_alveus/1_2_0/rules.mk b/keyboards/cipulot/ec_alveus/1_2_0/rules.mk index fc2dcf32ab1..70494b635f6 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/rules.mk +++ b/keyboards/cipulot/ec_alveus/1_2_0/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 3 diff --git a/keyboards/cipulot/ec_pro2/config.h b/keyboards/cipulot/ec_pro2/config.h index 083b71cc136..d4dc8cf68ac 100644 --- a/keyboards/cipulot/ec_pro2/config.h +++ b/keyboards/cipulot/ec_pro2/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,54 @@ #define MATRIX_ROWS 5 #define MATRIX_COLS 15 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { B15, A8, B0, A7, B1 } -#define MATRIX_COL_CHANNELS \ - { 0, 3, 1, 2, 5, 7, 6, 4 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { B7, B3 } + +#define AMUX_SEL_PINS \ { B6, B5, B4 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 B7 -#define APLEX_EN_PIN_1 B3 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 7 } + +#define AMUX_0_COL_CHANNELS \ + { 0, 3, 1, 2, 5, 7, 6, 4 } + +#define AMUX_1_COL_CHANNELS \ + { 0, 3, 1, 2, 5, 7, 6 } + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN A6 #define ANALOG_PORT A3 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE + +#define EECONFIG_KB_DATA_SIZE 160 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_pro2/ec_switch_matrix.c b/keyboards/cipulot/ec_pro2/ec_switch_matrix.c deleted file mode 100644 index d45e8c32812..00000000000 --- a/keyboards/cipulot/ec_pro2/ec_switch_matrix.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - // Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < (sizeof(col_channels) - 1); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_pro2/ec_switch_matrix.h b/keyboards/cipulot/ec_pro2/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_pro2/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_pro2/halconf.h b/keyboards/cipulot/ec_pro2/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_pro2/halconf.h +++ b/keyboards/cipulot/ec_pro2/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_pro2/info.json b/keyboards/cipulot/ec_pro2/info.json index cb107d3da3c..2929edfb19c 100644 --- a/keyboards/cipulot/ec_pro2/info.json +++ b/keyboards/cipulot/ec_pro2/info.json @@ -1,6 +1,6 @@ { "manufacturer": "Cipulot", - "keyboard_name": "EC Pro2", + "keyboard_name": "EC Pro 2", "maintainer": "Cipulot", "bootloader": "stm32-dfu", "build": { @@ -8,19 +8,13 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, "nkro": true, "rgblight": true }, - "mouse_key": { - "enabled": true - }, "processor": "STM32F401", "rgblight": { "led_count": 22, @@ -40,7 +34,6 @@ "ws2812": { "pin": "B14" }, - "url": "https://www.github.com/Cipulot/EC-Pro-2", "usb": { "device_version": "0.0.1", "pid": "0x6B8E", diff --git a/keyboards/cipulot/ec_pro2/keymaps/60_hhkb/keymap.c b/keyboards/cipulot/ec_pro2/keymaps/60_hhkb/keymap.c index 10c7ffb65fd..71f8cd0368d 100644 --- a/keyboards/cipulot/ec_pro2/keymaps/60_hhkb/keymap.c +++ b/keyboards/cipulot/ec_pro2/keymaps/60_hhkb/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -22,8 +22,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI), + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), + KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), [1] = LAYOUT_60_hhkb( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, @@ -33,13 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, MO(2)), [2] = LAYOUT_60_hhkb( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______), - [3] = LAYOUT_60_hhkb( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_pro2/keymaps/default/keymap.c b/keyboards/cipulot/ec_pro2/keymaps/default/keymap.c index 767b76ea3e7..45e25068e53 100644 --- a/keyboards/cipulot/ec_pro2/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_pro2/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -23,7 +23,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI), + KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), [1] = LAYOUT_all( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, @@ -33,13 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, MO(2)), [2] = LAYOUT_all( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______), - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_pro2/keymaps/via/config.h b/keyboards/cipulot/ec_pro2/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/ec_pro2/keymaps/via/config.h +++ b/keyboards/cipulot/ec_pro2/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_pro2/keymaps/via/keymap.c b/keyboards/cipulot/ec_pro2/keymaps/via/keymap.c index 767b76ea3e7..45e25068e53 100644 --- a/keyboards/cipulot/ec_pro2/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_pro2/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -23,7 +23,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI), + KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), [1] = LAYOUT_all( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, @@ -33,13 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, MO(2)), [2] = LAYOUT_all( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______), - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_pro2/keymaps/via/rules.mk b/keyboards/cipulot/ec_pro2/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_pro2/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_pro2/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/ec_pro2/keymaps/via/via_apc.c b/keyboards/cipulot/ec_pro2/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/ec_pro2/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/ec_pro2/matrix.c b/keyboards/cipulot/ec_pro2/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/ec_pro2/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/ec_pro2/mcuconf.h b/keyboards/cipulot/ec_pro2/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_pro2/mcuconf.h +++ b/keyboards/cipulot/ec_pro2/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_pro2/post_rules.mk b/keyboards/cipulot/ec_pro2/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_pro2/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_pro2/readme.md b/keyboards/cipulot/ec_pro2/readme.md index 0ada16ec193..6e18a2d0d83 100644 --- a/keyboards/cipulot/ec_pro2/readme.md +++ b/keyboards/cipulot/ec_pro2/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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 Boot0 pins**: Short the Boot0 pins on the back of the PCB while plugging in the keyboard * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/ec_pro2/rules.mk b/keyboards/cipulot/ec_pro2/rules.mk index fc2dcf32ab1..ab6c37cad43 100644 --- a/keyboards/cipulot/ec_pro2/rules.mk +++ b/keyboards/cipulot/ec_pro2/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 2 diff --git a/keyboards/cipulot/ec_prox/ansi_iso/config.h b/keyboards/cipulot/ec_prox/ansi_iso/config.h index b659097656b..ec15808274c 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/config.h +++ b/keyboards/cipulot/ec_prox/ansi_iso/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,54 @@ #define MATRIX_ROWS 5 #define MATRIX_COLS 15 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { A7, B0, A4, A5, A6 } -#define MATRIX_COL_CHANNELS \ - { 0, 3, 1, 2, 5, 7, 6, 4 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { B7, B3 } + +#define AMUX_SEL_PINS \ { B4, B5, B6 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 B7 -#define APLEX_EN_PIN_1 B3 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 7 } + +#define AMUX_0_COL_CHANNELS \ + { 0, 3, 1, 2, 5, 7, 6, 4 } + +#define AMUX_1_COL_CHANNELS \ + { 0, 3, 1, 2, 5, 7, 6 } + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN A2 #define ANALOG_PORT A1 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE + +#define EECONFIG_KB_DATA_SIZE 160 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.c b/keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.c deleted file mode 100644 index d45e8c32812..00000000000 --- a/keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - // Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < (sizeof(col_channels) - 1); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.h b/keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_prox/ansi_iso/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_prox/ansi_iso/halconf.h b/keyboards/cipulot/ec_prox/ansi_iso/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/halconf.h +++ b/keyboards/cipulot/ec_prox/ansi_iso/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_prox/ansi_iso/info.json b/keyboards/cipulot/ec_prox/ansi_iso/info.json index b1221bfdd73..3f390d0bc61 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/info.json +++ b/keyboards/cipulot/ec_prox/ansi_iso/info.json @@ -8,19 +8,13 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, "nkro": true, "rgblight": true }, - "mouse_key": { - "enabled": true - }, "processor": "STM32F401", "rgblight": { "led_count": 22, diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/60_hhkb/keymap.c b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/60_hhkb/keymap.c index 10c7ffb65fd..bd4df694af9 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/60_hhkb/keymap.c +++ b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/60_hhkb/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -23,7 +23,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI), + KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), [1] = LAYOUT_60_hhkb( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, @@ -33,13 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, MO(2)), [2] = LAYOUT_60_hhkb( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______), - [3] = LAYOUT_60_hhkb( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/default/keymap.c b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/default/keymap.c index 430ed0bafa2..9a0f1dfcbd1 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -23,24 +23,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI), + KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), [1] = LAYOUT_all( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, KC_UP, _______, KC_BSPC, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, S(KC_8), KC_SLSH, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, S(KC_EQL), KC_MINS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, _______), + _______, _______, _______, _______, MO(2)), [2] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h +++ b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c index 430ed0bafa2..9a0f1dfcbd1 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -23,24 +23,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI), + KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), [1] = LAYOUT_all( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, KC_UP, _______, KC_BSPC, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, S(KC_8), KC_SLSH, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, S(KC_EQL), KC_MINS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, _______), + _______, _______, _______, _______, MO(2)), [2] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/via_apc.c b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/ec_prox/ansi_iso/matrix.c b/keyboards/cipulot/ec_prox/ansi_iso/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/ec_prox/ansi_iso/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/ec_prox/ansi_iso/mcuconf.h b/keyboards/cipulot/ec_prox/ansi_iso/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/mcuconf.h +++ b/keyboards/cipulot/ec_prox/ansi_iso/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_prox/ansi_iso/post_rules.mk b/keyboards/cipulot/ec_prox/ansi_iso/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_prox/ansi_iso/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_prox/ansi_iso/readme.md b/keyboards/cipulot/ec_prox/ansi_iso/readme.md index 2afa33514ac..fe9d78537fa 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/readme.md +++ b/keyboards/cipulot/ec_prox/ansi_iso/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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 Boot0 pins**: Short the Boot0 pins on the back of the PCB while plugging in the keyboard * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/ec_prox/ansi_iso/rules.mk b/keyboards/cipulot/ec_prox/ansi_iso/rules.mk index fc2dcf32ab1..ab6c37cad43 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/rules.mk +++ b/keyboards/cipulot/ec_prox/ansi_iso/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 2 diff --git a/keyboards/cipulot/ec_prox/jis/config.h b/keyboards/cipulot/ec_prox/jis/config.h index 1c6a836867d..8761b692aad 100644 --- a/keyboards/cipulot/ec_prox/jis/config.h +++ b/keyboards/cipulot/ec_prox/jis/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,54 @@ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { A7, B0, A4, A5, A6 } -#define MATRIX_COL_CHANNELS \ - { 2, 1, 0, 3, 5, 7, 4, 6 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { B7, B3 } + +#define AMUX_SEL_PINS \ { B4, B5, B6 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 B7 -#define APLEX_EN_PIN_1 B3 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 6 } + +#define AMUX_0_COL_CHANNELS \ + { 2, 1, 0, 3, 5, 7, 4, 6 } + +#define AMUX_1_COL_CHANNELS \ + { 2, 1, 0, 3, 5, 7 } + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN A2 #define ANALOG_PORT A1 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE + +#define EECONFIG_KB_DATA_SIZE 150 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_prox/jis/ec_switch_matrix.c b/keyboards/cipulot/ec_prox/jis/ec_switch_matrix.c deleted file mode 100644 index 81003dd36a4..00000000000 --- a/keyboards/cipulot/ec_prox/jis/ec_switch_matrix.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - //Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < (sizeof(col_channels) - 2); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_prox/jis/ec_switch_matrix.h b/keyboards/cipulot/ec_prox/jis/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_prox/jis/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_prox/jis/halconf.h b/keyboards/cipulot/ec_prox/jis/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_prox/jis/halconf.h +++ b/keyboards/cipulot/ec_prox/jis/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_prox/jis/info.json b/keyboards/cipulot/ec_prox/jis/info.json index 6016004b1ba..88067f9305e 100644 --- a/keyboards/cipulot/ec_prox/jis/info.json +++ b/keyboards/cipulot/ec_prox/jis/info.json @@ -8,19 +8,13 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, "nkro": true, "rgblight": true }, - "mouse_key": { - "enabled": true - }, "processor": "STM32F401", "rgblight": { "led_count": 22, @@ -52,79 +46,75 @@ "layouts": { "LAYOUT_jp": { "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - {"matrix": [0, 4], "x": 4, "y": 0}, - {"matrix": [0, 5], "x": 5, "y": 0}, - {"matrix": [0, 6], "x": 6, "y": 0}, - {"matrix": [0, 7], "x": 7, "y": 0}, - {"matrix": [0, 8], "x": 8, "y": 0}, - {"matrix": [0, 9], "x": 9, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, - {"matrix": [0, 11], "x": 11, "y": 0}, - {"matrix": [0, 12], "x": 12, "y": 0}, - {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [1, 13], "x": 14, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, - {"matrix": [1, 1], "x": 1.5, "y": 1}, - {"matrix": [1, 2], "x": 2.5, "y": 1}, - {"matrix": [1, 3], "x": 3.5, "y": 1}, - {"matrix": [1, 4], "x": 4.5, "y": 1}, - {"matrix": [1, 5], "x": 5.5, "y": 1}, - {"matrix": [1, 6], "x": 6.5, "y": 1}, - {"matrix": [1, 7], "x": 7.5, "y": 1}, - {"matrix": [1, 8], "x": 8.5, "y": 1}, - {"matrix": [1, 9], "x": 9.5, "y": 1}, - {"matrix": [1, 10], "x": 10.5, "y": 1}, - {"matrix": [1, 11], "x": 11.5, "y": 1}, - {"matrix": [1, 12], "x": 12.5, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, - {"matrix": [2, 1], "x": 1.75, "y": 2}, - {"matrix": [2, 2], "x": 2.75, "y": 2}, - {"matrix": [2, 3], "x": 3.75, "y": 2}, - {"matrix": [2, 4], "x": 4.75, "y": 2}, - {"matrix": [2, 5], "x": 5.75, "y": 2}, - {"matrix": [2, 6], "x": 6.75, "y": 2}, - {"matrix": [2, 7], "x": 7.75, "y": 2}, - {"matrix": [2, 8], "x": 8.75, "y": 2}, - {"matrix": [2, 9], "x": 9.75, "y": 2}, - {"matrix": [2, 10], "x": 10.75, "y": 2}, - {"matrix": [2, 11], "x": 11.75, "y": 2}, - {"matrix": [2, 12], "x": 12.75, "y": 2}, - {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3, "w": 2}, - {"matrix": [3, 1], "x": 2, "y": 3}, - {"matrix": [3, 2], "x": 3, "y": 3}, - {"matrix": [3, 3], "x": 4, "y": 3}, - {"matrix": [3, 4], "x": 5, "y": 3}, - {"matrix": [3, 5], "x": 6, "y": 3}, - {"matrix": [3, 6], "x": 7, "y": 3}, - {"matrix": [3, 7], "x": 8, "y": 3}, - {"matrix": [3, 8], "x": 9, "y": 3}, - {"matrix": [3, 9], "x": 10, "y": 3}, - {"matrix": [3, 10], "x": 11, "y": 3}, - {"matrix": [3, 11], "x": 12, "y": 3}, - {"matrix": [3, 12], "x": 13, "y": 3}, - {"matrix": [3, 13], "x": 14, "y": 3}, - - {"matrix": [4, 0], "x": 0, "y": 4}, - {"matrix": [4, 1], "x": 1.25, "y": 4}, - {"matrix": [4, 2], "x": 2.25, "y": 4}, - {"matrix": [4, 3], "x": 3.25, "y": 4}, - {"matrix": [4, 4], "x": 4.25, "y": 4}, - {"matrix": [4, 5], "x": 5.25, "y": 4, "w": 2.5}, - {"matrix": [4, 7], "x": 7.75, "y": 4}, - {"matrix": [4, 8], "x": 8.75, "y": 4}, - {"matrix": [4, 9], "x": 9.75, "y": 4}, - {"matrix": [4, 10], "x": 10.75, "y": 4}, - {"matrix": [4, 11], "x": 12, "y": 4}, - {"matrix": [4, 12], "x": 13, "y": 4}, - {"matrix": [4, 13], "x": 14, "y": 4} + {"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "0,1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "0,2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "0,3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "0,4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "0,5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "0,6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "0,7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "0,8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "0,9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0,10", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "0,11", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "0,12", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "0,13", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "1,13", "matrix": [1, 13], "x": 14, "y": 0}, + {"label": "1,0", "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1}, + {"label": "1,1", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "1,2", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "1,3", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "1,4", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "1,5", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "1,6", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "1,7", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "1,8", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "1,9", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "1,10", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "1,11", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "1,12", "matrix": [1, 12], "x": 12.5, "y": 1}, + {"label": "2,13", "matrix": [2, 13], "w": 1.25, "h": 2, "x": 13.75, "y": 1}, + {"label": "2,0", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2}, + {"label": "2,1", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "2,2", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "2,3", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "2,4", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "2,5", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "2,6", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "2,7", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "2,8", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "2,9", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": "2,10", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "2,11", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "2,12", "matrix": [2, 12], "x": 12.75, "y": 2}, + {"label": "3,0", "matrix": [3, 0], "w": 2, "x": 0, "y": 3}, + {"label": "3,1", "matrix": [3, 1], "x": 2, "y": 3}, + {"label": "3,2", "matrix": [3, 2], "x": 3, "y": 3}, + {"label": "3,3", "matrix": [3, 3], "x": 4, "y": 3}, + {"label": "3,4", "matrix": [3, 4], "x": 5, "y": 3}, + {"label": "3,5", "matrix": [3, 5], "x": 6, "y": 3}, + {"label": "3,6", "matrix": [3, 6], "x": 7, "y": 3}, + {"label": "3,7", "matrix": [3, 7], "x": 8, "y": 3}, + {"label": "3,8", "matrix": [3, 8], "x": 9, "y": 3}, + {"label": "3,9", "matrix": [3, 9], "x": 10, "y": 3}, + {"label": "3,10", "matrix": [3, 10], "x": 11, "y": 3}, + {"label": "3,11", "matrix": [3, 11], "x": 12, "y": 3}, + {"label": "3,12", "matrix": [3, 12], "x": 13, "y": 3}, + {"label": "3,13", "matrix": [3, 13], "x": 14, "y": 3}, + {"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4}, + {"label": "4,1", "matrix": [4, 1], "x": 1.25, "y": 4}, + {"label": "4,2", "matrix": [4, 2], "x": 2.25, "y": 4}, + {"label": "4,3", "matrix": [4, 3], "x": 3.25, "y": 4}, + {"label": "4,4", "matrix": [4, 4], "x": 4.25, "y": 4}, + {"label": "4,5", "matrix": [4, 5], "w": 2.5, "x": 5.25, "y": 4}, + {"label": "4,7", "matrix": [4, 7], "x": 7.75, "y": 4}, + {"label": "4,8", "matrix": [4, 8], "x": 8.75, "y": 4}, + {"label": "4,9", "matrix": [4, 9], "x": 9.75, "y": 4}, + {"label": "4,10", "matrix": [4, 10], "x": 10.75, "y": 4}, + {"label": "4,11", "matrix": [4, 11], "x": 12, "y": 4}, + {"label": "4,12", "matrix": [4, 12], "x": 13, "y": 4}, + {"label": "4,13", "matrix": [4, 13], "x": 14, "y": 4} ] } } diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/default/keymap.c b/keyboards/cipulot/ec_prox/jis/keymaps/default/keymap.c index 2a64063a0bc..88836af7804 100644 --- a/keyboards/cipulot/ec_prox/jis/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_prox/jis/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -21,28 +21,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // clang-format off [0] = LAYOUT_jp( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_UNDS, KC_UP, KC_RSFT, - MO(1), JP_ZKHK, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_HENK, JP_KANA, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_UNDS, KC_UP, KC_RSFT, + MO(1), JP_ZKHK, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_HENK, JP_KANA, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), [1] = LAYOUT_jp( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, + _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, KC_PENT, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, MO(2), _______, _______, _______, _______), [2] = LAYOUT_jp( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_jp( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/via/config.h b/keyboards/cipulot/ec_prox/jis/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/ec_prox/jis/keymaps/via/config.h +++ b/keyboards/cipulot/ec_prox/jis/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c b/keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c index 2a64063a0bc..f793b355b23 100644 --- a/keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -21,31 +21,24 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // clang-format off [0] = LAYOUT_jp( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_UNDS, KC_UP, KC_RSFT, - MO(1), JP_ZKHK, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_HENK, JP_KANA, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_UNDS, KC_UP, KC_RSFT, + MO(1), JP_ZKHK, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_HENK, JP_KANA, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), [1] = LAYOUT_jp( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, KC_PENT, + _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, + KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, KC_PENT, + _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, MO(2), _______, _______, _______, _______), [2] = LAYOUT_jp( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_jp( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) // clang-format on }; diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk b/keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/via/via_apc.c b/keyboards/cipulot/ec_prox/jis/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/ec_prox/jis/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/ec_prox/jis/matrix.c b/keyboards/cipulot/ec_prox/jis/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/ec_prox/jis/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/ec_prox/jis/mcuconf.h b/keyboards/cipulot/ec_prox/jis/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_prox/jis/mcuconf.h +++ b/keyboards/cipulot/ec_prox/jis/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_prox/jis/post_rules.mk b/keyboards/cipulot/ec_prox/jis/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_prox/jis/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_prox/jis/readme.md b/keyboards/cipulot/ec_prox/jis/readme.md index f1fa471cc99..2f9c791f256 100644 --- a/keyboards/cipulot/ec_prox/jis/readme.md +++ b/keyboards/cipulot/ec_prox/jis/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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 Boot0 pins**: Short the Boot0 pins on the back of the PCB while plugging in the keyboard * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/ec_prox/jis/rules.mk b/keyboards/cipulot/ec_prox/jis/rules.mk index fc2dcf32ab1..ab6c37cad43 100644 --- a/keyboards/cipulot/ec_prox/jis/rules.mk +++ b/keyboards/cipulot/ec_prox/jis/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 2 diff --git a/keyboards/cipulot/ec_theca/config.h b/keyboards/cipulot/ec_theca/config.h index 481183b80c1..23a0bb4eb40 100644 --- a/keyboards/cipulot/ec_theca/config.h +++ b/keyboards/cipulot/ec_theca/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,53 @@ #define MATRIX_ROWS 6 #define MATRIX_COLS 16 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { B4, A14, B3, A15, B6, B5 } -#define MATRIX_COL_CHANNELS \ - { 3, 0, 1, 2, 6, 5, 7, 4 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { C13, C14 } + +#define AMUX_SEL_PINS \ { B7, B8, B9 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 C13 -#define APLEX_EN_PIN_1 C14 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 8 } + +#define AMUX_0_COL_CHANNELS \ + { 3, 0, 1, 2, 6, 5, 7, 4 } + +#define AMUX_1_COL_CHANNELS AMUX_0_COL_CHANNELS + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN B1 #define ANALOG_PORT A3 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 50 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 +#define EECONFIG_KB_DATA_SIZE 202 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 550 -#define DEFAULT_RELEASE_LEVEL 500 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/ec_theca/ec_switch_matrix.c b/keyboards/cipulot/ec_theca/ec_switch_matrix.c deleted file mode 100644 index fdf4479423f..00000000000 --- a/keyboards/cipulot/ec_theca/ec_switch_matrix.c +++ /dev/null @@ -1,191 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -static inline void clear_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - // Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - //writePinLow(row_pins[row]); - clear_row(); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/ec_theca/ec_switch_matrix.h b/keyboards/cipulot/ec_theca/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/ec_theca/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/ec_theca/halconf.h b/keyboards/cipulot/ec_theca/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/ec_theca/halconf.h +++ b/keyboards/cipulot/ec_theca/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_theca/info.json b/keyboards/cipulot/ec_theca/info.json index a80a92a7f5d..fbd7d7ec471 100644 --- a/keyboards/cipulot/ec_theca/info.json +++ b/keyboards/cipulot/ec_theca/info.json @@ -8,7 +8,7 @@ }, "diode_direction": "COL2ROW", "features": { - "bootmagic": true, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, diff --git a/keyboards/cipulot/ec_theca/keymaps/default/keymap.c b/keyboards/cipulot/ec_theca/keymaps/default/keymap.c index 2ad75a0f3e4..caadf93c1c4 100644 --- a/keyboards/cipulot/ec_theca/keymaps/default/keymap.c +++ b/keyboards/cipulot/ec_theca/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_tkl_ansi( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan/keymap.c b/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan/keymap.c index a8f569b189d..7945b62db9f 100644 --- a/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan/keymap.c +++ b/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_tkl_ansi_tsangan( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan_wkl/keymap.c b/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan_wkl/keymap.c index 56548302ddc..7205d9fad09 100644 --- a/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan_wkl/keymap.c +++ b/keyboards/cipulot/ec_theca/keymaps/tkl_ansi_tsangan_wkl/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_tkl_ansi_wkl( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_theca/keymaps/via/config.h b/keyboards/cipulot/ec_theca/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/ec_theca/keymaps/via/config.h +++ b/keyboards/cipulot/ec_theca/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_theca/keymaps/via/keymap.c b/keyboards/cipulot/ec_theca/keymaps/via/keymap.c index a8fc1b961a6..ca11bf60fc8 100644 --- a/keyboards/cipulot/ec_theca/keymaps/via/keymap.c +++ b/keyboards/cipulot/ec_theca/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/ec_theca/keymaps/via/rules.mk b/keyboards/cipulot/ec_theca/keymaps/via/rules.mk index 72e314e6946..1e5b99807cb 100644 --- a/keyboards/cipulot/ec_theca/keymaps/via/rules.mk +++ b/keyboards/cipulot/ec_theca/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += keyboards/cipulot/common/via_apc.c diff --git a/keyboards/cipulot/ec_theca/matrix.c b/keyboards/cipulot/ec_theca/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/ec_theca/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/ec_theca/mcuconf.h b/keyboards/cipulot/ec_theca/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/ec_theca/mcuconf.h +++ b/keyboards/cipulot/ec_theca/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/ec_theca/post_rules.mk b/keyboards/cipulot/ec_theca/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/ec_theca/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/ec_theca/readme.md b/keyboards/cipulot/ec_theca/readme.md index c25e498434c..47a70867fa2 100644 --- a/keyboards/cipulot/ec_theca/readme.md +++ b/keyboards/cipulot/ec_theca/readme.md @@ -18,8 +18,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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**: Long short the exposed pads on the top of the PCB * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/ec_theca/rules.mk b/keyboards/cipulot/ec_theca/rules.mk index fc2dcf32ab1..70494b635f6 100644 --- a/keyboards/cipulot/ec_theca/rules.mk +++ b/keyboards/cipulot/ec_theca/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 3 diff --git a/keyboards/cipulot/kawayo/config.h b/keyboards/cipulot/kawayo/config.h index a87365e69db..a08011b9cf9 100644 --- a/keyboards/cipulot/kawayo/config.h +++ b/keyboards/cipulot/kawayo/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/kawayo/keymaps/default/keymap.c b/keyboards/cipulot/kawayo/keymaps/default/keymap.c index 5d4bf4a35be..06cf47bc5fc 100644 --- a/keyboards/cipulot/kawayo/keymaps/default/keymap.c +++ b/keyboards/cipulot/kawayo/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker/keymap.c b/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker/keymap.c index c160269ae85..2af88d24ff5 100644 --- a/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker/keymap.c +++ b/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan/keymap.c b/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan/keymap.c index 32a4389d3fc..5db2d32b927 100644 --- a/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan/keymap.c +++ b/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan_split_bs/keymap.c b/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan_split_bs/keymap.c index ca65d38440e..fe290754838 100644 --- a/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan_split_bs/keymap.c +++ b/keyboards/cipulot/kawayo/keymaps/default_65_ansi_cb_blocker_tsangan_split_bs/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/kawayo/keymaps/via/keymap.c b/keyboards/cipulot/kawayo/keymaps/via/keymap.c index 5d4bf4a35be..06cf47bc5fc 100644 --- a/keyboards/cipulot/kawayo/keymaps/via/keymap.c +++ b/keyboards/cipulot/kawayo/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/rf_r1_8_9xu/config.h b/keyboards/cipulot/rf_r1_8_9xu/config.h index 915348b3f48..bd020ff4333 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/config.h +++ b/keyboards/cipulot/rf_r1_8_9xu/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -19,27 +19,53 @@ #define MATRIX_ROWS 6 #define MATRIX_COLS 16 -/* Custom matrix pins and port select array */ #define MATRIX_ROW_PINS \ { B15, A8, B13, B12, B14, B0 } -#define MATRIX_COL_CHANNELS \ - { 3, 0, 1, 2, 4, 6, 7, 5 } -#define MUX_SEL_PINS \ + +#define AMUX_COUNT 2 +#define AMUX_MAX_COLS_COUNT 8 + +#define AMUX_EN_PINS \ + { B7, A6 } + +#define AMUX_SEL_PINS \ { B4, B5, B6 } -/* Hardware peripherals pins */ -#define APLEX_EN_PIN_0 B7 -#define APLEX_EN_PIN_1 A6 +#define AMUX_COL_CHANNELS_SIZES \ + { 8, 8 } + +#define AMUX_0_COL_CHANNELS \ + { 3, 0, 1, 2, 4, 6, 7, 5 } + +#define AMUX_1_COL_CHANNELS AMUX_0_COL_CHANNELS + +#define AMUX_COL_CHANNELS AMUX_0_COL_CHANNELS, AMUX_1_COL_CHANNELS + #define DISCHARGE_PIN A4 #define ANALOG_PORT A3 +#define DEFAULT_ACTUATION_MODE 0 +#define DEFAULT_MODE_0_ACTUATION_LEVEL 550 +#define DEFAULT_MODE_0_RELEASE_LEVEL 500 +#define DEFAULT_MODE_1_INITIAL_DEADZONE_OFFSET DEFAULT_MODE_0_ACTUATION_LEVEL +#define DEFAULT_MODE_1_ACTUATION_OFFSET 70 +#define DEFAULT_MODE_1_RELEASE_OFFSET 70 +#define DEFAULT_EXTREMUM 1023 +#define EXPECTED_NOISE_FLOOR 0 +#define NOISE_FLOOR_THRESHOLD 50 +#define BOTTOMING_CALIBRATION_THRESHOLD 100 +#define DEFAULT_NOISE_FLOOR_SAMPLING_COUNT 30 +#define DEFAULT_BOTTOMING_READING 1023 +#define DEFAULT_CALIBRATION_STARTER true + +#define DISCHARGE_TIME 10 + +// #define DEBUG_MATRIX_SCAN_RATE +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 +#define EECONFIG_KB_DATA_SIZE 202 + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define DEFAULT_ACTUATION_LEVEL 700 -#define DEFAULT_RELEASE_LEVEL 650 - -#define DISCHARGE_TIME 10 diff --git a/keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.c b/keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.c deleted file mode 100644 index 3f25e365c0e..00000000000 --- a/keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.c +++ /dev/null @@ -1,183 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "analog.h" -#include "atomic_util.h" -#include "print.h" -#include "wait.h" - -/* Pin and port array */ -const uint32_t row_pins[] = MATRIX_ROW_PINS; -const uint8_t col_channels[] = MATRIX_COL_CHANNELS; -const uint32_t mux_sel_pins[] = MUX_SEL_PINS; - -static ecsm_config_t config; -static uint16_t ecsm_sw_value[MATRIX_ROWS][MATRIX_COLS]; - -static adc_mux adcMux; - -static inline void discharge_capacitor(void) { - writePinLow(DISCHARGE_PIN); -} -static inline void charge_capacitor(uint8_t row) { - writePinHigh(DISCHARGE_PIN); - writePinHigh(row_pins[row]); -} - -static inline void init_mux_sel(void) { - for (int idx = 0; idx < 3; idx++) { - setPinOutput(mux_sel_pins[idx]); - } -} - -static inline void select_mux(uint8_t col) { - uint8_t ch = col_channels[col]; - writePin(mux_sel_pins[0], ch & 1); - writePin(mux_sel_pins[1], ch & 2); - writePin(mux_sel_pins[2], ch & 4); -} - -static inline void init_row(void) { - for (int idx = 0; idx < MATRIX_ROWS; idx++) { - setPinOutput(row_pins[idx]); - writePinLow(row_pins[idx]); - } -} - -/* Initialize the peripherals pins */ -int ecsm_init(ecsm_config_t const* const ecsm_config) { - // Initialize config - config = *ecsm_config; - - palSetLineMode(ANALOG_PORT, PAL_MODE_INPUT_ANALOG); - adcMux = pinToMux(ANALOG_PORT); - - //Dummy call to make sure that adcStart() has been called in the appropriate state - adc_read(adcMux); - - // Initialize discharge pin as discharge mode - writePinLow(DISCHARGE_PIN); - setPinOutputOpenDrain(DISCHARGE_PIN); - - // Initialize drive lines - init_row(); - - // Initialize multiplexer select pin - init_mux_sel(); - - // Enable AMUX - setPinOutput(APLEX_EN_PIN_0); - writePinLow(APLEX_EN_PIN_0); - setPinOutput(APLEX_EN_PIN_1); - writePinLow(APLEX_EN_PIN_1); - - return 0; -} - -int ecsm_update(ecsm_config_t const* const ecsm_config) { - // Save config - config = *ecsm_config; - return 0; -} - -// Read the capacitive sensor value -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col) { - uint16_t sw_value = 0; - - // Select the multiplexer - if (channel == 0) { - writePinHigh(APLEX_EN_PIN_0); - select_mux(col); - writePinLow(APLEX_EN_PIN_0); - } else { - writePinHigh(APLEX_EN_PIN_1); - select_mux(col); - writePinLow(APLEX_EN_PIN_1); - } - - // Set strobe pins to low state - writePinLow(row_pins[row]); - ATOMIC_BLOCK_FORCEON { - // Set the row pin to high state and have capacitor charge - charge_capacitor(row); - // Read the ADC value - sw_value = adc_read(adcMux); - } - // Discharge peak hold capacitor - discharge_capacitor(); - // Waiting for the ghost capacitor to discharge fully - wait_us(DISCHARGE_TIME); - - return sw_value; -} - -// Update press/release state of key -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value) { - bool current_state = (*current_row >> col) & 1; - - // Press to release - if (current_state && sw_value < config.ecsm_actuation_threshold) { - *current_row &= ~(1 << col); - return true; - } - - // Release to press - if ((!current_state) && sw_value > config.ecsm_release_threshold) { - *current_row |= (1 << col); - return true; - } - - return false; -} - -// Scan key values and update matrix state -bool ecsm_matrix_scan(matrix_row_t current_matrix[]) { - bool updated = false; - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_1); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col] = ecsm_readkey_raw(0, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col, ecsm_sw_value[row][col]); - } - } - - // Disable AMUX of channel 1 - writePinHigh(APLEX_EN_PIN_0); - for (int col = 0; col < sizeof(col_channels); col++) { - for (int row = 0; row < MATRIX_ROWS; row++) { - ecsm_sw_value[row][col + 8] = ecsm_readkey_raw(1, row, col); - updated |= ecsm_update_key(¤t_matrix[row], row, col + 8, ecsm_sw_value[row][col + 8]); - } - } - return updated; -} - -// Debug print key values -void ecsm_print_matrix(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - uprintf("%4d", ecsm_sw_value[row][col]); - if (col < (MATRIX_COLS - 1)) { - print(","); - } - } - print("\n"); - } - print("\n"); -} diff --git a/keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.h b/keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.h deleted file mode 100644 index 9dcb216caa3..00000000000 --- a/keyboards/cipulot/rf_r1_8_9xu/ec_switch_matrix.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#pragma once - -#include -#include - -#include "matrix.h" - -typedef struct { - uint16_t ecsm_actuation_threshold; // threshold for key release - uint16_t ecsm_release_threshold; // threshold for key press -} ecsm_config_t; - -ecsm_config_t ecsm_config; - -int ecsm_init(ecsm_config_t const* const ecsm_config); -int ecsm_update(ecsm_config_t const* const ecsm_config); -bool ecsm_matrix_scan(matrix_row_t current_matrix[]); -uint16_t ecsm_readkey_raw(uint8_t channel, uint8_t row, uint8_t col); -bool ecsm_update_key(matrix_row_t* current_row, uint8_t row, uint8_t col, uint16_t sw_value); -void ecsm_print_matrix(void); diff --git a/keyboards/cipulot/rf_r1_8_9xu/halconf.h b/keyboards/cipulot/rf_r1_8_9xu/halconf.h index 5b71acecbbc..835d43b6a0a 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/halconf.h +++ b/keyboards/cipulot/rf_r1_8_9xu/halconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/rf_r1_8_9xu/info.json b/keyboards/cipulot/rf_r1_8_9xu/info.json index eb0220f6779..6d3ab8b7091 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/info.json +++ b/keyboards/cipulot/rf_r1_8_9xu/info.json @@ -8,19 +8,13 @@ }, "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bootmagic": true, - "command": false, + "bootmagic": false, "console": true, "extrakey": true, "mousekey": true, "nkro": true, "rgblight": true }, - "mouse_key": { - "enabled": true - }, "indicators": { "caps_lock": "B3", "scroll_lock": "A14" diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/default/keymap.c b/keyboards/cipulot/rf_r1_8_9xu/keymaps/default/keymap.c index 6e39d6d4446..983bdefe8a9 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/default/keymap.c +++ b/keyboards/cipulot/rf_r1_8_9xu/keymaps/default/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -29,23 +29,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_KANA, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_all( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_ansi_tsangan/keymap.c b/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_ansi_tsangan/keymap.c index d9041eae20f..ba948b4fc12 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_ansi_tsangan/keymap.c +++ b/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_ansi_tsangan/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -27,23 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_tkl_ansi_tsangan( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_tkl_ansi_tsangan( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_tkl_ansi_tsangan( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_iso_tsangan/keymap.c b/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_iso_tsangan/keymap.c index 4bbcb132990..1689d44d408 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_iso_tsangan/keymap.c +++ b/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_iso_tsangan/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -27,23 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_tkl_iso_tsangan( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_tkl_iso_tsangan( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_tkl_iso_tsangan( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_jis/keymap.c b/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_jis/keymap.c index df2be5eef79..e44575f74f9 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_jis/keymap.c +++ b/keyboards/cipulot/rf_r1_8_9xu/keymaps/tkl_jis/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -29,23 +29,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_HENK, JP_KANA, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_tkl_jis( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_tkl_jis( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_tkl_jis( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h index ebf954d07ac..1ab0d3d9aa2 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h +++ b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -16,5 +16,5 @@ #pragma once -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 +// This is the firmware version for VIA support to avoid conflicts on menu fetching +#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c index 6e39d6d4446..983bdefe8a9 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c +++ b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -29,23 +29,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_KANA, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), [1] = LAYOUT_all( - RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk index 520b11f2031..1e5b99807cb 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk +++ b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk @@ -1,3 +1 @@ VIA_ENABLE = yes - -SRC += via_apc.c diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/via_apc.c b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/via_apc.c deleted file mode 100644 index 5ea77af44c8..00000000000 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/via_apc.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "action.h" -#include "via.h" - -void apc_init_thresholds(void); -void apc_set_threshold(bool is_for_actuation); - -// Declaring an _apc_config_t struct that will store our data -typedef struct _apc_config_t { - uint16_t actuation_threshold; - uint16_t release_threshold; -} apc_config; - -// Check if the size of the reserved persistent memory is the same as the size of struct apc_config -_Static_assert(sizeof(apc_config) == EECONFIG_USER_DATA_SIZE, "Mismatch in keyboard EECONFIG stored data"); - -// Declaring a new variable apc of type apc_config -apc_config apc; - -// Declaring enums for VIA config menu -enum via_apc_enums { - // clang-format off - id_apc_actuation_threshold = 1, - id_apc_release_threshold = 2 - // clang-format on -}; - -// Initializing persistent memory configuration: default values are declared and stored in PMEM -void eeconfig_init_user(void) { - // Default values - apc.actuation_threshold = DEFAULT_ACTUATION_LEVEL; - apc.release_threshold = DEFAULT_RELEASE_LEVEL; - // Write default value to EEPROM now - eeconfig_update_user_datablock(&apc); -} - -// On Keyboard startup -void keyboard_post_init_user(void) { - // Read custom menu variables from memory - eeconfig_read_user_datablock(&apc); - apc_init_thresholds(); -} - -// Handle the data received by the keyboard from the VIA menus -void apc_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - apc.actuation_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(true); - break; - } - case id_apc_release_threshold: { - apc.release_threshold = value_data[1] | (value_data[0] << 8); - apc_set_threshold(false); - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void apc_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_apc_actuation_threshold: { - value_data[0] = apc.actuation_threshold >> 8; - value_data[1] = apc.actuation_threshold & 0xFF; - break; - } - case id_apc_release_threshold: { - value_data[0] = apc.release_threshold >> 8; - value_data[1] = apc.release_threshold & 0xFF; - break; - } - } -} - -// Save the data to persistent memory after changes are made -void apc_config_save(void) { - eeconfig_update_user_datablock(&apc); -} - -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - apc_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - apc_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - apc_config_save(); - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Initialize the thresholds -void apc_init_thresholds(void) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - ecsm_config.ecsm_release_threshold = apc.release_threshold; - - // Update the ecsm_config - ecsm_update(&ecsm_config); -} - -// Set the thresholds -void apc_set_threshold(bool is_for_actuation) { - if (is_for_actuation) { - ecsm_config.ecsm_actuation_threshold = apc.actuation_threshold; - - } else { - ecsm_config.ecsm_release_threshold = apc.release_threshold; - } - // Update the ecsm_config - ecsm_update(&ecsm_config); -} diff --git a/keyboards/cipulot/rf_r1_8_9xu/matrix.c b/keyboards/cipulot/rf_r1_8_9xu/matrix.c deleted file mode 100644 index 1850acf2641..00000000000 --- a/keyboards/cipulot/rf_r1_8_9xu/matrix.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 . - */ - -#include "ec_switch_matrix.h" -#include "matrix.h" - -/* matrix state(1:on, 0:off) */ -extern matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values -extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values - -void matrix_init_custom(void) { - // Default values, overwritten by VIA if enabled later - ecsm_config.ecsm_actuation_threshold = DEFAULT_ACTUATION_LEVEL; - ecsm_config.ecsm_release_threshold = DEFAULT_RELEASE_LEVEL; - - ecsm_init(&ecsm_config); -} - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool updated = ecsm_matrix_scan(current_matrix); - -// RAW matrix values on console -#ifdef CONSOLE_ENABLE - static int cnt = 0; - if (cnt++ == 350) { - cnt = 0; - ecsm_print_matrix(); - } -#endif - return updated; -} diff --git a/keyboards/cipulot/rf_r1_8_9xu/mcuconf.h b/keyboards/cipulot/rf_r1_8_9xu/mcuconf.h index d91f576bd48..fa3c955e0d8 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/mcuconf.h +++ b/keyboards/cipulot/rf_r1_8_9xu/mcuconf.h @@ -2,7 +2,7 @@ * * 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 + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, diff --git a/keyboards/cipulot/rf_r1_8_9xu/post_rules.mk b/keyboards/cipulot/rf_r1_8_9xu/post_rules.mk new file mode 100644 index 00000000000..d726a112a8c --- /dev/null +++ b/keyboards/cipulot/rf_r1_8_9xu/post_rules.mk @@ -0,0 +1,3 @@ +ifeq ($(strip $(VIA_ENABLE)), yes) + SRC += keyboards/cipulot/common/via_ec.c +endif diff --git a/keyboards/cipulot/rf_r1_8_9xu/readme.md b/keyboards/cipulot/rf_r1_8_9xu/readme.md index 6e5a8c9f3eb..1491de12da0 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/readme.md +++ b/keyboards/cipulot/rf_r1_8_9xu/readme.md @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader in 2 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 Boot0 pins**: Short the Boot0 pins on the back of the PCB while plugging in the keyboard * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cipulot/rf_r1_8_9xu/rules.mk b/keyboards/cipulot/rf_r1_8_9xu/rules.mk index fc2dcf32ab1..ab6c37cad43 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/rules.mk +++ b/keyboards/cipulot/rf_r1_8_9xu/rules.mk @@ -1,4 +1,4 @@ CUSTOM_MATRIX = lite -SRC += matrix.c ec_switch_matrix.c - ANALOG_DRIVER_REQUIRED = yes +SRC += keyboards/cipulot/common/matrix.c keyboards/cipulot/common/ec_board.c keyboards/cipulot/common/ec_switch_matrix.c +OPT = 2 From 0f701c7dbecc0c90b8e5d74ce81c2575ba0c4144 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:38:52 +0100 Subject: [PATCH 015/107] cipulot/common: Fix for multiple AMUX usage (#23155) --- keyboards/cipulot/common/ec_switch_matrix.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/keyboards/cipulot/common/ec_switch_matrix.c b/keyboards/cipulot/common/ec_switch_matrix.c index 945e435e155..845ef99d223 100644 --- a/keyboards/cipulot/common/ec_switch_matrix.c +++ b/keyboards/cipulot/common/ec_switch_matrix.c @@ -153,7 +153,10 @@ void ec_noise_floor(void) { for (uint8_t amux = 0; amux < AMUX_COUNT; amux++) { disable_unused_amux(amux); for (uint8_t col = 0; col < amux_n_col_sizes[amux]; col++) { - uint8_t adjusted_col = amux == 0 ? col : col + amux_n_col_sizes[amux - 1]; + uint8_t sum = 0; + for (uint8_t i = 0; i < (amux > 0 ? amux : 0); i++) + sum += amux_n_col_sizes[i]; + uint8_t adjusted_col = col + sum; for (uint8_t row = 0; row < MATRIX_ROWS; row++) { ec_config.noise_floor[row][adjusted_col] += ec_readkey_raw(amux, row, col); } @@ -178,7 +181,10 @@ bool ec_matrix_scan(matrix_row_t current_matrix[]) { disable_unused_amux(amux); for (uint8_t col = 0; col < amux_n_col_sizes[amux]; col++) { for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - uint8_t adjusted_col = amux == 0 ? col : col + amux_n_col_sizes[amux - 1]; + uint8_t sum = 0; + for (uint8_t i = 0; i < (amux > 0 ? amux : 0); i++) + sum += amux_n_col_sizes[i]; + uint8_t adjusted_col = col + sum; sw_value[row][adjusted_col] = ec_readkey_raw(amux, row, col); if (ec_config.bottoming_calibration) { From 490641307ab30ae10dd80fde766f5988bd154ca2 Mon Sep 17 00:00:00 2001 From: Andrew Kannan Date: Mon, 26 Feb 2024 17:16:00 -0500 Subject: [PATCH 016/107] Cleanup Satisfaction75 Firmware and add new revisions (#22082) Co-authored-by: Ryan Co-authored-by: Nick Brassel --- .../satisfaction75/satisfaction_core.c} | 111 ++------ .../lib/satisfaction75/satisfaction_core.h | 101 +++++++ .../satisfaction75/satisfaction_encoder.c | 41 ++- .../satisfaction75/satisfaction_keycodes.h | 10 + .../satisfaction75/satisfaction_oled.c | 26 +- keyboards/cannonkeys/satisfaction75/chconf.h | 17 +- keyboards/cannonkeys/satisfaction75/config.h | 39 +-- keyboards/cannonkeys/satisfaction75/halconf.h | 17 +- keyboards/cannonkeys/satisfaction75/info.json | 43 +-- .../satisfaction75/keymaps/default/keymap.c | 18 +- .../satisfaction75/keymaps/tester/rules.mk | 1 - .../satisfaction75/keymaps/via/keymap.c | 18 +- keyboards/cannonkeys/satisfaction75/led.c | 256 ------------------ .../cannonkeys/satisfaction75/led_custom.h | 7 - keyboards/cannonkeys/satisfaction75/mcuconf.h | 17 +- .../satisfaction75/prototype/info.json | 44 +-- .../satisfaction75/prototype/rules.mk | 1 + keyboards/cannonkeys/satisfaction75/readme.md | 34 ++- .../cannonkeys/satisfaction75/rev1/info.json | 192 +++++-------- .../rev1/keymaps/boy_314/config.h | 3 + .../rev1/keymaps/boy_314/keymap.c | 37 +++ .../rev1/keymaps/boy_314/readme.md | 3 + .../rev1/keymaps/boy_314/rules.mk | 3 + .../tester => rev1/keymaps/jae}/keymap.c | 10 +- .../rev1/keymaps/tester/keymap.c | 23 ++ .../rev1/keymaps/tester/rules.mk | 1 + .../cannonkeys/satisfaction75/rev1/rules.mk | 1 + .../cannonkeys/satisfaction75/rev2/info.json | 193 +++++++++++++ .../rev2/keymaps/default/keymap.c | 26 ++ .../satisfaction75/rev2/keymaps/via/keymap.c | 25 ++ .../satisfaction75/rev2/keymaps/via/rules.mk | 1 + .../cannonkeys/satisfaction75/rev2/readme.md | 29 ++ .../cannonkeys/satisfaction75/rev2/rules.mk | 1 + keyboards/cannonkeys/satisfaction75/rules.mk | 22 +- .../satisfaction75/satisfaction75.h | 119 +------- .../cannonkeys/satisfaction75_hs/chconf.h | 18 ++ .../cannonkeys/satisfaction75_hs/config.h | 44 +++ .../cannonkeys/satisfaction75_hs/halconf.h | 18 ++ .../cannonkeys/satisfaction75_hs/info.json | 207 ++++++++++++++ .../keymaps/default/keymap.c | 23 ++ .../satisfaction75_hs/keymaps/via/keymap.c | 23 ++ .../satisfaction75_hs/keymaps/via/rules.mk | 1 + .../cannonkeys/satisfaction75_hs/mcuconf.h | 24 ++ .../cannonkeys/satisfaction75_hs/readme.md | 20 ++ .../cannonkeys/satisfaction75_hs/rules.mk | 7 + .../satisfaction75_hs/satisfaction75_hs.h | 6 + 46 files changed, 1064 insertions(+), 817 deletions(-) rename keyboards/cannonkeys/{satisfaction75/satisfaction75.c => lib/satisfaction75/satisfaction_core.c} (80%) create mode 100644 keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h rename keyboards/cannonkeys/{ => lib}/satisfaction75/satisfaction_encoder.c (86%) create mode 100644 keyboards/cannonkeys/lib/satisfaction75/satisfaction_keycodes.h rename keyboards/cannonkeys/{ => lib}/satisfaction75/satisfaction_oled.c (93%) delete mode 100644 keyboards/cannonkeys/satisfaction75/keymaps/tester/rules.mk delete mode 100644 keyboards/cannonkeys/satisfaction75/led.c delete mode 100644 keyboards/cannonkeys/satisfaction75/led_custom.h create mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h create mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c create mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md create mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk rename keyboards/cannonkeys/satisfaction75/{keymaps/tester => rev1/keymaps/jae}/keymap.c (88%) create mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/keymap.c create mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/rules.mk create mode 100644 keyboards/cannonkeys/satisfaction75/rev2/info.json create mode 100644 keyboards/cannonkeys/satisfaction75/rev2/keymaps/default/keymap.c create mode 100644 keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/keymap.c create mode 100644 keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/rules.mk create mode 100644 keyboards/cannonkeys/satisfaction75/rev2/readme.md create mode 100644 keyboards/cannonkeys/satisfaction75/rev2/rules.mk create mode 100644 keyboards/cannonkeys/satisfaction75_hs/chconf.h create mode 100644 keyboards/cannonkeys/satisfaction75_hs/config.h create mode 100644 keyboards/cannonkeys/satisfaction75_hs/halconf.h create mode 100644 keyboards/cannonkeys/satisfaction75_hs/info.json create mode 100644 keyboards/cannonkeys/satisfaction75_hs/keymaps/default/keymap.c create mode 100644 keyboards/cannonkeys/satisfaction75_hs/keymaps/via/keymap.c create mode 100644 keyboards/cannonkeys/satisfaction75_hs/keymaps/via/rules.mk create mode 100644 keyboards/cannonkeys/satisfaction75_hs/mcuconf.h create mode 100644 keyboards/cannonkeys/satisfaction75_hs/readme.md create mode 100644 keyboards/cannonkeys/satisfaction75_hs/rules.mk create mode 100644 keyboards/cannonkeys/satisfaction75_hs/satisfaction75_hs.h diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction75.c b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c similarity index 80% rename from keyboards/cannonkeys/satisfaction75/satisfaction75.c rename to keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c index 29fb6e76191..ce9422c5a8e 100644 --- a/keyboards/cannonkeys/satisfaction75/satisfaction75.c +++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c @@ -1,4 +1,7 @@ -#include "satisfaction75.h" +// Copyright 2023 Andrew Kannan +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "satisfaction_core.h" #include "print.h" #include "debug.h" @@ -42,66 +45,27 @@ int8_t month_config = 0; int8_t day_config = 0; uint8_t previous_encoder_mode = 0; -backlight_config_t kb_backlight_config = { - .enable = true, - .breathing = true, - .level = BACKLIGHT_LEVELS -}; - void board_init(void) { SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP; SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_SPI2_DMA_RMP); } -#ifdef VIA_ENABLE - -void backlight_get_value( uint8_t *data ) -{ - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - switch (*value_id) - { - case id_qmk_backlight_brightness: - { - // level / BACKLIGHT_LEVELS * 255 - value_data[0] = ((uint16_t)kb_backlight_config.level) * 255 / BACKLIGHT_LEVELS; - break; - } - case id_qmk_backlight_effect: - { - value_data[0] = kb_backlight_config.breathing ? 1 : 0; - break; - } - } -} - -void backlight_set_value( uint8_t *data ) -{ - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - switch (*value_id) - { - case id_qmk_backlight_brightness: - { - // level / 255 * BACKLIGHT_LEVELS - kb_backlight_config.level = ((uint16_t)value_data[0]) * BACKLIGHT_LEVELS / 255; - backlight_set(kb_backlight_config.level); - break; +void keyboard_post_init_kb(){ + /* + This is a workaround to some really weird behavior + Without this code, the OLED will turn on, but not when you initially plug the keyboard in. + You have to manually trigger a user reset to get the OLED to initialize properly + I'm not sure what the root cause is at this time, but this workaround fixes it. + */ + #ifdef OLED_ENABLE + if(!is_oled_on()){ + wait_ms(3000); + oled_init(OLED_ROTATION_0); } - case id_qmk_backlight_effect: - { - if ( value_data[0] == 0 ) { - kb_backlight_config.breathing = false; - breathing_disable(); - } else { - kb_backlight_config.breathing = true; - breathing_enable(); - } - break; - } - } + #endif } +#ifdef VIA_ENABLE void custom_set_value(uint8_t *data) { uint8_t *value_id = &(data[0]); uint8_t *value_data = &(data[1]); @@ -171,43 +135,12 @@ void custom_get_value(uint8_t *data) { } } -// TODO -// Refactor so this keyboard uses QMK Core backlight code, -// then change this to via_custom_value_command_kb() so it -// only handles the custom values not the backlight -// (i.e. use QMK Core default handler for backlight values). -// -void via_custom_value_command(uint8_t *data, uint8_t length) { +void via_custom_value_command_kb(uint8_t *data, uint8_t length) { uint8_t *command_id = &(data[0]); uint8_t *channel_id = &(data[1]); uint8_t *value_id_and_data = &(data[2]); - if ( *channel_id == id_qmk_backlight_channel ) { - switch ( *command_id ) - { - case id_custom_set_value: - { - backlight_set_value(value_id_and_data); - break; - } - case id_custom_get_value: - { - backlight_get_value(value_id_and_data); - break; - } - case id_custom_save: - { - backlight_config_save(); - break; - } - default: - { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - } else if ( *channel_id == id_custom_channel ) { + if ( *channel_id == id_custom_channel ) { switch ( *command_id ) { case id_custom_set_value: @@ -361,12 +294,7 @@ void custom_config_reset(void){ eeprom_update_byte((uint8_t*)EEPROM_ENABLED_ENCODER_MODES, 0x1F); } -void backlight_config_save(void){ - eeprom_update_byte((uint8_t*)EEPROM_CUSTOM_BACKLIGHT, kb_backlight_config.raw); -} - void custom_config_load(void){ - kb_backlight_config.raw = eeprom_read_byte((uint8_t*)EEPROM_CUSTOM_BACKLIGHT); #ifdef DYNAMIC_KEYMAP_ENABLE oled_mode = eeprom_read_byte((uint8_t*)EEPROM_DEFAULT_OLED); enabled_encoder_modes = eeprom_read_byte((uint8_t*)EEPROM_ENABLED_ENCODER_MODES); @@ -398,7 +326,6 @@ void matrix_init_kb(void) #endif // VIA_ENABLE rtcGetTime(&RTCD1, &last_timespec); - backlight_init_ports(); matrix_init_user(); oled_request_wakeup(); } diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h new file mode 100644 index 00000000000..30caeadc38f --- /dev/null +++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h @@ -0,0 +1,101 @@ +// Copyright 2023 Andrew Kannan +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "quantum.h" + +#include "via.h" // only for EEPROM address +#include "satisfaction_keycodes.h" + +#define EEPROM_ENABLED_ENCODER_MODES (VIA_EEPROM_CUSTOM_CONFIG_ADDR) +#define EEPROM_DEFAULT_OLED (VIA_EEPROM_CUSTOM_CONFIG_ADDR+1) +#define EEPROM_CUSTOM_ENCODER (VIA_EEPROM_CUSTOM_CONFIG_ADDR+2) + +enum s75_keyboard_value_id { + id_encoder_modes = 1, + id_oled_default_mode, + id_encoder_custom, + id_oled_mode +}; + +enum encoder_modes { + ENC_MODE_VOLUME, + ENC_MODE_MEDIA, + ENC_MODE_SCROLL, + ENC_MODE_BRIGHTNESS, + ENC_MODE_BACKLIGHT, + ENC_MODE_CUSTOM0, + ENC_MODE_CUSTOM1, + ENC_MODE_CUSTOM2, + _NUM_ENCODER_MODES, + ENC_MODE_CLOCK_SET // This shouldn't be included in the default modes, so we put it after NUM_ENCODER_MODES +}; + +enum custom_encoder_behavior { + ENC_CUSTOM_CW = 0, + ENC_CUSTOM_CCW, + ENC_CUSTOM_PRESS +}; + +enum oled_modes { + OLED_DEFAULT, + OLED_TIME, + OLED_OFF, + _NUM_OLED_MODES +}; + + +// Keyboard Information +extern volatile uint8_t led_numlock; +extern volatile uint8_t led_capslock; +extern volatile uint8_t led_scrolllock; +extern uint8_t layer; + +// OLED Behavior +extern uint8_t oled_mode; +extern bool oled_repaint_requested; +extern bool oled_wakeup_requested; +extern uint32_t oled_sleep_timer; + +// Encoder Behavior +extern uint8_t encoder_value; +extern uint8_t encoder_mode; +extern uint8_t enabled_encoder_modes; + +// RTC +extern RTCDateTime last_timespec; +extern uint16_t last_minute; + +// RTC Configuration +extern bool clock_set_mode; +extern uint8_t time_config_idx; +extern int8_t hour_config; +extern int16_t minute_config; +extern int8_t year_config; +extern int8_t month_config; +extern int8_t day_config; +extern uint8_t previous_encoder_mode; + +// Backlighting +#ifdef BACKLIGHT_ENABLE +extern backlight_config_t kb_backlight_config; +extern bool kb_backlight_breathing; +#endif + +void pre_encoder_mode_change(void); +void post_encoder_mode_change(void); +void change_encoder_mode(bool negative); +uint16_t handle_encoder_clockwise(void); +uint16_t handle_encoder_ccw(void); +uint16_t handle_encoder_press(void); +uint16_t retrieve_custom_encoder_config(uint8_t encoder_idx, uint8_t behavior); +void set_custom_encoder_config(uint8_t encoder_idx, uint8_t behavior, uint16_t new_code); + +void update_time_config(int8_t increment); + +void oled_request_wakeup(void); +void oled_request_repaint(void); +bool oled_task_needs_to_repaint(void); + +void custom_config_load(void); diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c similarity index 86% rename from keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c rename to keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c index c8bb999df46..7122091ea3c 100644 --- a/keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c +++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c @@ -1,4 +1,7 @@ -#include "satisfaction75.h" +// Copyright 2023 Andrew Kannan +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "satisfaction_core.h" #include "eeprom.h" void pre_encoder_mode_change(void){ @@ -11,8 +14,6 @@ void pre_encoder_mode_change(void){ // timespec.dstflag = last_timespec.dstflag; timespec.millisecond = (hour_config * 60 + minute_config) * 60 * 1000; rtcSetTime(&RTCD1, ×pec); - } else if (encoder_mode == ENC_MODE_BACKLIGHT){ - backlight_config_save(); } } @@ -99,16 +100,14 @@ uint16_t handle_encoder_clockwise(void){ case ENC_MODE_SCROLL: mapped_code = KC_WH_D; break; +#ifdef BACKLIGHT_ENABLE case ENC_MODE_BACKLIGHT: - kb_backlight_config.level = kb_backlight_config.level + 1; - if(kb_backlight_config.level > BACKLIGHT_LEVELS){ - kb_backlight_config.level = BACKLIGHT_LEVELS; - } - backlight_set(kb_backlight_config.level); - if (kb_backlight_config.level != 0){ - kb_backlight_config.enable = true; + backlight_increase(); + if(get_backlight_level() != 0){ + backlight_enable(); } break; +#endif case ENC_MODE_BRIGHTNESS: mapped_code = KC_BRIGHTNESS_UP; break; @@ -143,16 +142,14 @@ uint16_t handle_encoder_ccw(void){ case ENC_MODE_SCROLL: mapped_code = KC_WH_U; break; +#ifdef BACKLIGHT_ENABLE case ENC_MODE_BACKLIGHT: - // mapped_code = BL_DOWN; - if(kb_backlight_config.level != 0){ - kb_backlight_config.level = kb_backlight_config.level - 1; - } - backlight_set(kb_backlight_config.level); - if (kb_backlight_config.level == 0){ - kb_backlight_config.enable = false; + backlight_decrease(); + if(get_backlight_level() == 0){ + backlight_disable(); } break; +#endif case ENC_MODE_BRIGHTNESS: mapped_code = KC_BRIGHTNESS_DOWN; break; @@ -188,15 +185,11 @@ uint16_t handle_encoder_press(void){ case ENC_MODE_SCROLL: mapped_code = KC_BTN3; break; +#ifdef BACKLIGHT_ENABLE case ENC_MODE_BACKLIGHT: - // mapped_code = BL_TOGG; - kb_backlight_config.breathing = !kb_backlight_config.breathing; - if(!kb_backlight_config.breathing){ - breathing_disable(); - } else{ - breathing_enable(); - } + breathing_toggle(); break; +#endif #ifdef DYNAMIC_KEYMAP_ENABLE case ENC_MODE_CUSTOM0: mapped_code = retrieve_custom_encoder_config(0, ENC_CUSTOM_PRESS); diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_keycodes.h b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_keycodes.h new file mode 100644 index 00000000000..53f9facfc85 --- /dev/null +++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_keycodes.h @@ -0,0 +1,10 @@ +// Copyright 2023 Andrew Kannan +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +enum my_keycodes { + ENC_PRESS = QK_KB_0, + CLOCK_SET, + OLED_TOGG +}; diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c similarity index 93% rename from keyboards/cannonkeys/satisfaction75/satisfaction_oled.c rename to keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c index 0fd69ca59b0..18ae368e535 100644 --- a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c +++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c @@ -1,4 +1,8 @@ -#include "satisfaction75.h" +// Copyright 2023 Andrew Kannan +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "satisfaction_core.h" +#include void draw_default(void); void draw_clock(void); @@ -15,7 +19,7 @@ bool oled_task_kb(void) { oled_clear(); if (clock_set_mode) { draw_clock(); - return false;; + return false; } switch (oled_mode) { default: @@ -145,8 +149,8 @@ static char* get_time(void) { hour = 12; } - static char time_str[11] = ""; - sprintf(time_str, "%02d:%02d%s", hour, minute, is_pm ? "pm" : "am"); + static char time_str[8] = ""; + snprintf(time_str, sizeof(time_str), "%02hhu:%02hu%s", hour, minute, is_pm ? "pm" : "am"); return time_str; } @@ -162,8 +166,8 @@ static char* get_date(void) { day = day_config; } - static char date_str[15] = ""; - sprintf(date_str, "%04d-%02d-%02d", year, month, day); + static char date_str[11] = ""; + snprintf(date_str, sizeof(date_str), "%04hd-%02hhd-%02hhd", year, month, day); return date_str; } @@ -264,4 +268,12 @@ void draw_clock(void) { draw_line_v(113, 8, 8); } -#endif +#else + +void oled_request_repaint(void){ +} + +void oled_request_wakeup(void){ +} + +#endif \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/chconf.h b/keyboards/cannonkeys/satisfaction75/chconf.h index ca4a976c27c..d1b9cf32b7f 100644 --- a/keyboards/cannonkeys/satisfaction75/chconf.h +++ b/keyboards/cannonkeys/satisfaction75/chconf.h @@ -1,18 +1,5 @@ -/* Copyright 2020 QMK - * - * 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 . - */ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later /* * This file was auto-generated by: diff --git a/keyboards/cannonkeys/satisfaction75/config.h b/keyboards/cannonkeys/satisfaction75/config.h index 9005b064b79..1ca72c9c7c5 100644 --- a/keyboards/cannonkeys/satisfaction75/config.h +++ b/keyboards/cannonkeys/satisfaction75/config.h @@ -1,19 +1,5 @@ -/* -Copyright 2015 Jun Wako - -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 . -*/ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once @@ -23,6 +9,10 @@ along with this program. If not, see . /* LSE clock */ #define STM32_LSECLK 32768 +#define BACKLIGHT_PWM_DRIVER PWMD3 +#define BACKLIGHT_PWM_CHANNEL 1 +#define BACKLIGHT_PAL_MODE 1 + // I2C config #define I2C_DRIVER I2CD1 #define I2C1_SCL_PIN B6 @@ -53,23 +43,8 @@ along with this program. If not, see . // dynamic keymaps start after this. // Custom config Usage: // 1 for enabled encoder modes (1 byte) -// 1 for custom backlighting controls (1 byte) // 1 for OLED default mode (1 byte) // 6 for 3x custom encoder settings, left, right, and press (18 bytes) -#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 21 - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG +#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 20 -/* disable print */ -//#define NO_PRINT -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/cannonkeys/satisfaction75/halconf.h b/keyboards/cannonkeys/satisfaction75/halconf.h index aed3fef0a83..3bd1495ea20 100644 --- a/keyboards/cannonkeys/satisfaction75/halconf.h +++ b/keyboards/cannonkeys/satisfaction75/halconf.h @@ -1,18 +1,5 @@ -/* Copyright 2020 QMK - * - * 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 . - */ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later /* * This file was auto-generated by: diff --git a/keyboards/cannonkeys/satisfaction75/info.json b/keyboards/cannonkeys/satisfaction75/info.json index 60695b9ac71..4031dae57d1 100644 --- a/keyboards/cannonkeys/satisfaction75/info.json +++ b/keyboards/cannonkeys/satisfaction75/info.json @@ -1,27 +1,28 @@ { - "keyboard_name": "Satisfaction75", "manufacturer": "CannonKeys", - "url": "", - "maintainer": "Cannon Keys", - "usb": { - "vid": "0xCA04", - "pid": "0x57F5", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["B1", "B2", "B10", "B11", "B12", "B13", "B14", "A8", "A9", "A10", "B0", "A7", "A5", "B5", "A15", "A1"], - "rows": ["B3", "B4", "A0", "A2", "A4", "A3"] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "B9", "pin_b": "B8", "resolution": 2} - ] - }, + "keyboard_name": "Satisfaction75", + "maintainer": "awkannan", "backlight": { + "breathing": true, + "breathing_period": 6, "levels": 24, - "breathing": true + "pin": "A6" + }, + "bootloader": "stm32-dfu", + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true }, "processor": "STM32F072", - "bootloader": "stm32-dfu" -} + "url": "https://cannonkeys.com", + "usb": { + "vid": "0xCA04" + } +} \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/keymaps/default/keymap.c b/keyboards/cannonkeys/satisfaction75/keymaps/default/keymap.c index 0bdc0aa9e79..f1dc5ae8bb3 100644 --- a/keyboards/cannonkeys/satisfaction75/keymaps/default/keymap.c +++ b/keyboards/cannonkeys/satisfaction75/keymaps/default/keymap.c @@ -1,19 +1,5 @@ -/* -Copyright 2012,2013 Jun Wako - -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 . -*/ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later #include QMK_KEYBOARD_H diff --git a/keyboards/cannonkeys/satisfaction75/keymaps/tester/rules.mk b/keyboards/cannonkeys/satisfaction75/keymaps/tester/rules.mk deleted file mode 100644 index 3357eb91c05..00000000000 --- a/keyboards/cannonkeys/satisfaction75/keymaps/tester/rules.mk +++ /dev/null @@ -1 +0,0 @@ -QWIIC_ENABLE = no diff --git a/keyboards/cannonkeys/satisfaction75/keymaps/via/keymap.c b/keyboards/cannonkeys/satisfaction75/keymaps/via/keymap.c index 47806ff8a29..61981c65211 100644 --- a/keyboards/cannonkeys/satisfaction75/keymaps/via/keymap.c +++ b/keyboards/cannonkeys/satisfaction75/keymaps/via/keymap.c @@ -1,19 +1,5 @@ -/* -Copyright 2012,2013 Jun Wako - -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 . -*/ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later #include QMK_KEYBOARD_H diff --git a/keyboards/cannonkeys/satisfaction75/led.c b/keyboards/cannonkeys/satisfaction75/led.c deleted file mode 100644 index 68bfc99d2ed..00000000000 --- a/keyboards/cannonkeys/satisfaction75/led.c +++ /dev/null @@ -1,256 +0,0 @@ -/* -Copyright 2012 Jun Wako - -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 . -*/ - -#include -#include "led_custom.h" -#include "satisfaction75.h" - -#define BREATHING_PERIOD 6 - -static void breathing_callback(PWMDriver *pwmp); - -static PWMConfig pwmCFG = { - 0xFFFF, /* PWM clock frequency */ - 256, /* PWM period (in ticks) 1S (1/10kHz=0.1mS 0.1ms*10000 ticks=1S) */ - NULL, /* No Callback */ - { - {PWM_OUTPUT_ACTIVE_HIGH, NULL}, /* Enable Channel 0 */ - {PWM_OUTPUT_DISABLED, NULL}, - {PWM_OUTPUT_DISABLED, NULL}, - {PWM_OUTPUT_DISABLED, NULL} - }, - 0, /* HW dependent part.*/ - 0 -}; - -static PWMConfig pwmCFG_breathing = { - 0xFFFF, /* 10kHz PWM clock frequency */ - 256, /* PWM period (in ticks) 1S (1/10kHz=0.1mS 0.1ms*10000 ticks=1S) */ - breathing_callback, /* Breathing Callback */ - { - {PWM_OUTPUT_ACTIVE_HIGH, NULL}, /* Enable Channel 0 */ - {PWM_OUTPUT_DISABLED, NULL}, - {PWM_OUTPUT_DISABLED, NULL}, - {PWM_OUTPUT_DISABLED, NULL} - }, - 0, /* HW dependent part.*/ - 0 -}; - -// See http://jared.geek.nz/2013/feb/linear-led-pwm -static uint16_t cie_lightness(uint16_t v) { - if (v <= 5243) // if below 8% of max - return v / 9; // same as dividing by 900% - else { - uint32_t y = (((uint32_t) v + 10486) << 8) / (10486 + 0xFFFFUL); // add 16% of max and compare - // to get a useful result with integer division, we shift left in the expression above - // and revert what we've done again after squaring. - y = y * y * y >> 8; - if (y > 0xFFFFUL) // prevent overflow - return 0xFFFFU; - else - return (uint16_t) y; - } -} - - -void backlight_init_ports(void) { - palSetPadMode(GPIOA, 6, PAL_MODE_ALTERNATE(1)); - pwmStart(&PWMD3, &pwmCFG); - if(kb_backlight_config.enable){ - if(kb_backlight_config.breathing){ - breathing_enable(); - } else{ - backlight_set(kb_backlight_config.level); - } - } else { - backlight_set(0); - } -} - -void suspend_power_down_user(void) { - backlight_set(0); -} -void suspend_wakeup_init_user(void) { - if(kb_backlight_config.enable){ - if(kb_backlight_config.breathing){ - breathing_enable(); - } else{ - backlight_set(kb_backlight_config.level); - } - } else { - backlight_set(0); - } -} - -void backlight_set(uint8_t level) { - uint32_t duty = (uint32_t)(cie_lightness(0xFFFF * (uint32_t) level / BACKLIGHT_LEVELS)); - if (level == 0) { - // Turn backlight off - pwmDisableChannel(&PWMD3, 0); - } else { - // Turn backlight on - if(!is_breathing()){ - pwmEnableChannel(&PWMD3, 0, PWM_FRACTION_TO_WIDTH(&PWMD3,0xFFFF,duty)); - } - } -} - - -uint8_t backlight_tick = 0; - -void backlight_task(void) { -} - -#define BREATHING_NO_HALT 0 -#define BREATHING_HALT_OFF 1 -#define BREATHING_HALT_ON 2 -#define BREATHING_STEPS 128 - -static uint8_t breathing_period = BREATHING_PERIOD; -static uint8_t breathing_halt = BREATHING_NO_HALT; -static uint16_t breathing_counter = 0; - -bool is_breathing(void) { - return PWMD3.config == &pwmCFG_breathing; -} - -#define breathing_min() do {breathing_counter = 0;} while (0) -#define breathing_max() do {breathing_counter = breathing_period * 256 / 2;} while (0) - - -void breathing_interrupt_enable(void){ - pwmStop(&PWMD3); - pwmStart(&PWMD3, &pwmCFG_breathing); - chSysLockFromISR(); - pwmEnablePeriodicNotification(&PWMD3); - pwmEnableChannelI( - &PWMD3, - 0, - PWM_FRACTION_TO_WIDTH( - &PWMD3, - 0xFFFF, - 0xFFFF - ) - ); - chSysUnlockFromISR(); -} - -void breathing_interrupt_disable(void){ - pwmStop(&PWMD3); - pwmStart(&PWMD3, &pwmCFG); -} - -void breathing_enable(void) -{ - breathing_counter = 0; - breathing_halt = BREATHING_NO_HALT; - breathing_interrupt_enable(); -} - -void breathing_pulse(void) -{ - if (kb_backlight_config.level == 0) - breathing_min(); - else - breathing_max(); - breathing_halt = BREATHING_HALT_ON; - breathing_interrupt_enable(); -} - -void breathing_disable(void) -{ - breathing_interrupt_disable(); - // Restore backlight level - backlight_set(kb_backlight_config.level); -} - -void breathing_self_disable(void) -{ - if (kb_backlight_config.level == 0) - breathing_halt = BREATHING_HALT_OFF; - else - breathing_halt = BREATHING_HALT_ON; -} - -void breathing_toggle(void) { - if (is_breathing()){ - breathing_disable(); - } else { - breathing_enable(); - } -} - -void breathing_period_set(uint8_t value) -{ - if (!value) - value = 1; - breathing_period = value; -} - -void breathing_period_default(void) { - breathing_period_set(BREATHING_PERIOD); -} - -void breathing_period_inc(void) -{ - breathing_period_set(breathing_period+1); -} - -void breathing_period_dec(void) -{ - breathing_period_set(breathing_period-1); -} - -/* To generate breathing curve in python: - * from math import sin, pi; [int(sin(x/128.0*pi)**4*255) for x in range(128)] - */ -static const uint8_t breathing_table[BREATHING_STEPS] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 17, 20, 24, 28, 32, 36, 41, 46, 51, 57, 63, 70, 76, 83, 91, 98, 106, 113, 121, 129, 138, 146, 154, 162, 170, 178, 185, 193, 200, 207, 213, 220, 225, 231, 235, 240, 244, 247, 250, 252, 253, 254, 255, 254, 253, 252, 250, 247, 244, 240, 235, 231, 225, 220, 213, 207, 200, 193, 185, 178, 170, 162, 154, 146, 138, 129, 121, 113, 106, 98, 91, 83, 76, 70, 63, 57, 51, 46, 41, 36, 32, 28, 24, 20, 17, 15, 12, 10, 8, 6, 5, 4, 3, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; - -// Use this before the cie_lightness function. -static inline uint16_t scale_backlight(uint16_t v) { - return v / BACKLIGHT_LEVELS * kb_backlight_config.level; -} - -static void breathing_callback(PWMDriver *pwmp) -{ - (void)pwmp; - uint16_t interval = (uint16_t) breathing_period * 256 / BREATHING_STEPS; - // resetting after one period to prevent ugly reset at overflow. - breathing_counter = (breathing_counter + 1) % (breathing_period * 256); - uint8_t index = breathing_counter / interval % BREATHING_STEPS; - - if (((breathing_halt == BREATHING_HALT_ON) && (index == BREATHING_STEPS / 2)) || - ((breathing_halt == BREATHING_HALT_OFF) && (index == BREATHING_STEPS - 1))) - { - breathing_interrupt_disable(); - } - - uint32_t duty = cie_lightness(scale_backlight(breathing_table[index] * 256)); - - chSysLockFromISR(); - pwmEnableChannelI( - &PWMD3, - 0, - PWM_FRACTION_TO_WIDTH( - &PWMD3, - 0xFFFF, - duty - ) - ); - chSysUnlockFromISR(); -} diff --git a/keyboards/cannonkeys/satisfaction75/led_custom.h b/keyboards/cannonkeys/satisfaction75/led_custom.h deleted file mode 100644 index d818b48ce98..00000000000 --- a/keyboards/cannonkeys/satisfaction75/led_custom.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -void backlight_task(void); -void breathing_interrupt_disable(void); -void breathing_interrupt_enable(void); -void breathing_enable(void); -void breathing_disable(void); diff --git a/keyboards/cannonkeys/satisfaction75/mcuconf.h b/keyboards/cannonkeys/satisfaction75/mcuconf.h index 0c84a1e1a8a..63801813776 100644 --- a/keyboards/cannonkeys/satisfaction75/mcuconf.h +++ b/keyboards/cannonkeys/satisfaction75/mcuconf.h @@ -1,18 +1,5 @@ -/* Copyright 2020 QMK - * - * 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 . - */ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later /* * This file was auto-generated by: diff --git a/keyboards/cannonkeys/satisfaction75/prototype/info.json b/keyboards/cannonkeys/satisfaction75/prototype/info.json index 9f932b65057..4f67754d8fb 100644 --- a/keyboards/cannonkeys/satisfaction75/prototype/info.json +++ b/keyboards/cannonkeys/satisfaction75/prototype/info.json @@ -1,24 +1,34 @@ { + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B9", "pin_b": "B8", "resolution": 2} + ] + }, + "matrix_pins": { + "cols": ["B1", "B2", "B10", "B11", "B12", "B13", "B14", "A8", "A9", "A10", "B0", "A7", "A5", "B5", "A15", "A1"], + "rows": ["B3", "B4", "A0", "A2", "A4", "A3"] + }, + "usb": { + "device_version": "0.0.1", + "pid": "0x57F5" + }, "layouts": { "LAYOUT_all": { "layout": [ {"label": "K000", "matrix": [0, 0], "x": 0, "y": 0}, - {"label": "K002", "matrix": [0, 2], "x": 1.5, "y": 0}, {"label": "K003", "matrix": [0, 3], "x": 2.5, "y": 0}, {"label": "K004", "matrix": [0, 4], "x": 3.5, "y": 0}, {"label": "K005", "matrix": [0, 5], "x": 4.5, "y": 0}, - {"label": "K006", "matrix": [0, 6], "x": 5.75, "y": 0}, {"label": "K007", "matrix": [0, 7], "x": 6.75, "y": 0}, {"label": "K008", "matrix": [0, 8], "x": 7.75, "y": 0}, {"label": "K009", "matrix": [0, 9], "x": 8.75, "y": 0}, - {"label": "K010", "matrix": [0, 10], "x": 10, "y": 0}, {"label": "K011", "matrix": [0, 11], "x": 11, "y": 0}, {"label": "K012", "matrix": [0, 12], "x": 12, "y": 0}, {"label": "K013", "matrix": [0, 13], "x": 13, "y": 0}, - {"label": "K100", "matrix": [1, 0], "x": 0, "y": 1.25}, {"label": "K101", "matrix": [1, 1], "x": 1, "y": 1.25}, {"label": "K102", "matrix": [1, 2], "x": 2, "y": 1.25}, @@ -34,9 +44,7 @@ {"label": "K112", "matrix": [1, 12], "x": 12, "y": 1.25}, {"label": "K113", "matrix": [1, 13], "x": 13, "y": 1.25}, {"label": "K114", "matrix": [1, 14], "x": 14, "y": 1.25}, - {"label": "K115", "matrix": [1, 15], "x": 15.5, "y": 1}, - {"label": "K200", "matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"label": "K201", "matrix": [2, 1], "x": 1.5, "y": 2.25}, {"label": "K202", "matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -51,9 +59,7 @@ {"label": "K211", "matrix": [2, 11], "x": 11.5, "y": 2.25}, {"label": "K212", "matrix": [2, 12], "x": 12.5, "y": 2.25}, {"label": "K213", "matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, - {"label": "K215", "matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"label": "K300", "matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"label": "K301", "matrix": [3, 1], "x": 1.75, "y": 3.25}, {"label": "K302", "matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -68,9 +74,7 @@ {"label": "K311", "matrix": [3, 11], "x": 11.75, "y": 3.25}, {"label": "K312", "matrix": [3, 12], "x": 12.75, "y": 3.25}, {"label": "K313", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, - {"label": "K315", "matrix": [3, 15], "x": 15.5, "y": 3.25}, - {"label": "K400", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25}, {"label": "K401", "matrix": [4, 1], "x": 1.25, "y": 4.25}, {"label": "K402", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -84,11 +88,8 @@ {"label": "K410", "matrix": [4, 10], "x": 10.25, "y": 4.25}, {"label": "K411", "matrix": [4, 11], "x": 11.25, "y": 4.25}, {"label": "K412", "matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, - {"label": "K413", "matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"label": "K415", "matrix": [4, 15], "x": 15.5, "y": 4.25}, - {"label": "K500", "matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, {"label": "K501", "matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, {"label": "K502", "matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, @@ -98,7 +99,6 @@ {"label": "K509", "matrix": [5, 9], "x": 10, "y": 5.25}, {"label": "K510", "matrix": [5, 10], "x": 11, "y": 5.25}, {"label": "K511", "matrix": [5, 11], "x": 12, "y": 5.25}, - {"label": "K512", "matrix": [5, 12], "x": 13.25, "y": 5.5}, {"label": "K513", "matrix": [5, 13], "x": 14.25, "y": 5.5}, {"label": "K515", "matrix": [5, 15], "x": 15.25, "y": 5.5} @@ -107,22 +107,18 @@ "LAYOUT_default": { "layout": [ {"label": "K000", "matrix": [0, 0], "x": 0, "y": 0}, - {"label": "K002", "matrix": [0, 2], "x": 1.5, "y": 0}, {"label": "K003", "matrix": [0, 3], "x": 2.5, "y": 0}, {"label": "K004", "matrix": [0, 4], "x": 3.5, "y": 0}, {"label": "K005", "matrix": [0, 5], "x": 4.5, "y": 0}, - {"label": "K006", "matrix": [0, 6], "x": 5.75, "y": 0}, {"label": "K007", "matrix": [0, 7], "x": 6.75, "y": 0}, {"label": "K008", "matrix": [0, 8], "x": 7.75, "y": 0}, {"label": "K009", "matrix": [0, 9], "x": 8.75, "y": 0}, - {"label": "K010", "matrix": [0, 10], "x": 10, "y": 0}, {"label": "K011", "matrix": [0, 11], "x": 11, "y": 0}, {"label": "K012", "matrix": [0, 12], "x": 12, "y": 0}, {"label": "K013", "matrix": [0, 13], "x": 13, "y": 0}, - {"label": "K100", "matrix": [1, 0], "x": 0, "y": 1.25}, {"label": "K101", "matrix": [1, 1], "x": 1, "y": 1.25}, {"label": "K102", "matrix": [1, 2], "x": 2, "y": 1.25}, @@ -137,9 +133,7 @@ {"label": "K111", "matrix": [1, 11], "x": 11, "y": 1.25}, {"label": "K112", "matrix": [1, 12], "x": 12, "y": 1.25}, {"label": "K113", "matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, - {"label": "K115", "matrix": [1, 15], "x": 15.5, "y": 1}, - {"label": "K200", "matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"label": "K201", "matrix": [2, 1], "x": 1.5, "y": 2.25}, {"label": "K202", "matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -154,9 +148,7 @@ {"label": "K211", "matrix": [2, 11], "x": 11.5, "y": 2.25}, {"label": "K212", "matrix": [2, 12], "x": 12.5, "y": 2.25}, {"label": "K213", "matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, - {"label": "K215", "matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"label": "K300", "matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"label": "K301", "matrix": [3, 1], "x": 1.75, "y": 3.25}, {"label": "K302", "matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -170,9 +162,7 @@ {"label": "K310", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "K311", "matrix": [3, 11], "x": 11.75, "y": 3.25}, {"label": "K312", "matrix": [3, 12], "x": 12.75, "y": 3.25, "w": 2.25}, - {"label": "K315", "matrix": [3, 15], "x": 15.5, "y": 3.25}, - {"label": "K400", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "K401", "matrix": [4, 1], "x": 2.25, "y": 4.25}, {"label": "K402", "matrix": [4, 2], "x": 3.25, "y": 4.25}, @@ -185,11 +175,8 @@ {"label": "K409", "matrix": [4, 9], "x": 10.25, "y": 4.25}, {"label": "K410", "matrix": [4, 10], "x": 11.25, "y": 4.25}, {"label": "K411", "matrix": [4, 11], "x": 12.25, "y": 4.25, "w": 1.75}, - {"label": "K413", "matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"label": "K415", "matrix": [4, 15], "x": 15.5, "y": 4.25}, - {"label": "K500", "matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, {"label": "K501", "matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, {"label": "K502", "matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, @@ -197,11 +184,10 @@ {"label": "K509", "matrix": [5, 9], "x": 10, "y": 5.25}, {"label": "K510", "matrix": [5, 10], "x": 11, "y": 5.25}, {"label": "K511", "matrix": [5, 11], "x": 12, "y": 5.25}, - {"label": "K512", "matrix": [5, 12], "x": 13.25, "y": 5.5}, {"label": "K513", "matrix": [5, 13], "x": 14.25, "y": 5.5}, {"label": "K515", "matrix": [5, 15], "x": 15.25, "y": 5.5} ] } } -} +} \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/prototype/rules.mk b/keyboards/cannonkeys/satisfaction75/prototype/rules.mk index e69de29bb2d..7ff128fa692 100644 --- a/keyboards/cannonkeys/satisfaction75/prototype/rules.mk +++ b/keyboards/cannonkeys/satisfaction75/prototype/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/readme.md b/keyboards/cannonkeys/satisfaction75/readme.md index 361d1eb0f1a..9e2891b93fa 100644 --- a/keyboards/cannonkeys/satisfaction75/readme.md +++ b/keyboards/cannonkeys/satisfaction75/readme.md @@ -2,11 +2,39 @@ Satisfaction75 Keyboard -Keyboard Maintainer: [Andrew Kannan](https://github.com/awkannan1) -Hardware Supported: STM32F072CBT6 +* Keyboard Maintainer: [Andrew Kannan](https://github.com/awkannan) +* Hardware Supported: STM32F072CBT6 + +## Revisions + +Please be advised that there are many revisions of Satisfaction75 PCBs. + +- Prototype revisions do not really exist in the wild, unless you are one of very few people who have an early pre-production Satisfaction75 +- Rev1 was the PCB sold with Round 1 and Round 2 of the Satisfaction75 keyboard group buy, as well as any extra PCBs sold before 2023. +- Rev2 is the PCB sold with the late 2023/early 2024 Injection molded Satisfaction75, and any extra PCBs sold after that. These PCBs also have extra edge cuts to support the injection molded Satisfaction75. It was redesigned from scratch and has a little less layout support compared to Rev1. + +Revision 2 PCBs will have Revision 2 printed on the PCBs. + +Revisions _are_ backwards compatible, so you can use a Rev2 PCB in a board that originally had a Rev1 PCB in it. They are _not_ forwards compatible - Rev 1 PCBs will not work in the injection molded Satisfaction75. + +Change the below commands to reflect the revision you need! + +## Building and Flashing Make example for this keyboard (after setting up your build environment): - make cannonkeys/Satisfaction75:default + make cannonkeys/satisfaction75/rev1:default + +Flashing example for this keyboard: + + make cannonkeys/satisfaction75/rev1: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 + +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**: Toggle the switch on the back of the pcb to "1" and briefly press the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/rev1/info.json b/keyboards/cannonkeys/satisfaction75/rev1/info.json index cc4ad80d42a..d4a6b4423c0 100644 --- a/keyboards/cannonkeys/satisfaction75/rev1/info.json +++ b/keyboards/cannonkeys/satisfaction75/rev1/info.json @@ -1,24 +1,34 @@ { + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B9", "pin_b": "B8", "resolution": 2} + ] + }, + "matrix_pins": { + "cols": ["B1", "B2", "B10", "B11", "B12", "B13", "B14", "A8", "A9", "A10", "B0", "A7", "A5", "B5", "A15", "A1"], + "rows": ["B3", "B4", "A0", "A2", "A4", "A3"] + }, + "usb": { + "device_version": "0.0.1", + "pid": "0x57F5" + }, "layouts": { - "LAYOUT_default": { + "LAYOUT_2x2": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 2], "x": 1.5, "y": 0}, {"matrix": [0, 3], "x": 2.5, "y": 0}, {"matrix": [0, 4], "x": 3.5, "y": 0}, {"matrix": [0, 5], "x": 4.5, "y": 0}, - {"matrix": [0, 6], "x": 5.75, "y": 0}, {"matrix": [0, 7], "x": 6.75, "y": 0}, {"matrix": [0, 8], "x": 7.75, "y": 0}, {"matrix": [0, 9], "x": 8.75, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, {"matrix": [0, 11], "x": 11, "y": 0}, {"matrix": [0, 12], "x": 12, "y": 0}, {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1.25}, {"matrix": [1, 1], "x": 1, "y": 1.25}, {"matrix": [1, 2], "x": 2, "y": 1.25}, @@ -32,10 +42,9 @@ {"matrix": [1, 10], "x": 10, "y": 1.25}, {"matrix": [1, 11], "x": 11, "y": 1.25}, {"matrix": [1, 12], "x": 12, "y": 1.25}, - {"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, - + {"matrix": [1, 13], "x": 13, "y": 1.25}, + {"matrix": [1, 14], "x": 14, "y": 1.25}, {"matrix": [1, 15], "x": 15.5, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"matrix": [2, 1], "x": 1.5, "y": 2.25}, {"matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -50,9 +59,7 @@ {"matrix": [2, 11], "x": 11.5, "y": 2.25}, {"matrix": [2, 12], "x": 12.5, "y": 2.25}, {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, - {"matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"matrix": [3, 1], "x": 1.75, "y": 3.25}, {"matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -66,9 +73,7 @@ {"matrix": [3, 10], "x": 10.75, "y": 3.25}, {"matrix": [3, 11], "x": 11.75, "y": 3.25}, {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, - {"matrix": [3, 15], "x": 15.5, "y": 3.25}, - {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4.25}, {"matrix": [4, 3], "x": 3.25, "y": 4.25}, @@ -81,43 +86,33 @@ {"matrix": [4, 10], "x": 10.25, "y": 4.25}, {"matrix": [4, 11], "x": 11.25, "y": 4.25}, {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, - {"matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"matrix": [4, 15], "x": 15.5, "y": 4.25}, - - {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, - {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, - {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, - {"matrix": [5, 5], "x": 3.75, "y": 5.25, "w": 6.25}, - {"matrix": [5, 9], "x": 10, "y": 5.25}, - {"matrix": [5, 10], "x": 11, "y": 5.25}, - {"matrix": [5, 11], "x": 12, "y": 5.25}, - + {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 5.25, "w": 1.5}, + {"matrix": [5, 5], "x": 3, "y": 5.25, "w": 7}, + {"matrix": [5, 9], "x": 10, "y": 5.25, "w": 1.5}, + {"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5}, {"matrix": [5, 12], "x": 13.25, "y": 5.5}, {"matrix": [5, 13], "x": 14.25, "y": 5.5}, {"matrix": [5, 15], "x": 15.25, "y": 5.5} ] }, - "LAYOUT_iso": { + "LAYOUT_3x2": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 2], "x": 1.5, "y": 0}, {"matrix": [0, 3], "x": 2.5, "y": 0}, {"matrix": [0, 4], "x": 3.5, "y": 0}, {"matrix": [0, 5], "x": 4.5, "y": 0}, - {"matrix": [0, 6], "x": 5.75, "y": 0}, {"matrix": [0, 7], "x": 6.75, "y": 0}, {"matrix": [0, 8], "x": 7.75, "y": 0}, {"matrix": [0, 9], "x": 8.75, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, {"matrix": [0, 11], "x": 11, "y": 0}, {"matrix": [0, 12], "x": 12, "y": 0}, {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1.25}, {"matrix": [1, 1], "x": 1, "y": 1.25}, {"matrix": [1, 2], "x": 2, "y": 1.25}, @@ -132,9 +127,7 @@ {"matrix": [1, 11], "x": 11, "y": 1.25}, {"matrix": [1, 12], "x": 12, "y": 1.25}, {"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, - {"matrix": [1, 15], "x": 15.5, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"matrix": [2, 1], "x": 1.5, "y": 2.25}, {"matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -148,9 +141,8 @@ {"matrix": [2, 10], "x": 10.5, "y": 2.25}, {"matrix": [2, 11], "x": 11.5, "y": 2.25}, {"matrix": [2, 12], "x": 12.5, "y": 2.25}, - + {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, {"matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"matrix": [3, 1], "x": 1.75, "y": 3.25}, {"matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -163,13 +155,9 @@ {"matrix": [3, 9], "x": 9.75, "y": 3.25}, {"matrix": [3, 10], "x": 10.75, "y": 3.25}, {"matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"matrix": [3, 12], "x": 12.75, "y": 3.25}, - {"matrix": [3, 13], "x": 13.75, "y": 2.25, "w": 1.25, "h": 2}, - + {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"matrix": [3, 15], "x": 15.5, "y": 3.25}, - - {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4.25}, + {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4.25}, {"matrix": [4, 3], "x": 3.25, "y": 4.25}, {"matrix": [4, 4], "x": 4.25, "y": 4.25}, @@ -181,43 +169,34 @@ {"matrix": [4, 10], "x": 10.25, "y": 4.25}, {"matrix": [4, 11], "x": 11.25, "y": 4.25}, {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, - {"matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"matrix": [4, 15], "x": 15.5, "y": 4.25}, - {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, {"matrix": [5, 5], "x": 3.75, "y": 5.25, "w": 6.25}, - {"matrix": [5, 9], "x": 10, "y": 5.25}, - {"matrix": [5, 10], "x": 11, "y": 5.25}, - {"matrix": [5, 11], "x": 12, "y": 5.25}, - + {"matrix": [5, 9], "x": 10, "y": 5.25, "w": 1.5}, + {"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5}, {"matrix": [5, 12], "x": 13.25, "y": 5.5}, {"matrix": [5, 13], "x": 14.25, "y": 5.5}, {"matrix": [5, 15], "x": 15.25, "y": 5.5} ] }, - "LAYOUT_3x2": { + "LAYOUT_all": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 2], "x": 1.5, "y": 0}, {"matrix": [0, 3], "x": 2.5, "y": 0}, {"matrix": [0, 4], "x": 3.5, "y": 0}, {"matrix": [0, 5], "x": 4.5, "y": 0}, - {"matrix": [0, 6], "x": 5.75, "y": 0}, {"matrix": [0, 7], "x": 6.75, "y": 0}, {"matrix": [0, 8], "x": 7.75, "y": 0}, {"matrix": [0, 9], "x": 8.75, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, {"matrix": [0, 11], "x": 11, "y": 0}, {"matrix": [0, 12], "x": 12, "y": 0}, {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1.25}, {"matrix": [1, 1], "x": 1, "y": 1.25}, {"matrix": [1, 2], "x": 2, "y": 1.25}, @@ -231,10 +210,9 @@ {"matrix": [1, 10], "x": 10, "y": 1.25}, {"matrix": [1, 11], "x": 11, "y": 1.25}, {"matrix": [1, 12], "x": 12, "y": 1.25}, - {"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, - + {"matrix": [1, 13], "x": 13, "y": 1.25}, + {"matrix": [1, 14], "x": 14, "y": 1.25}, {"matrix": [1, 15], "x": 15.5, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"matrix": [2, 1], "x": 1.5, "y": 2.25}, {"matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -249,9 +227,7 @@ {"matrix": [2, 11], "x": 11.5, "y": 2.25}, {"matrix": [2, 12], "x": 12.5, "y": 2.25}, {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, - {"matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"matrix": [3, 1], "x": 1.75, "y": 3.25}, {"matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -264,11 +240,11 @@ {"matrix": [3, 9], "x": 9.75, "y": 3.25}, {"matrix": [3, 10], "x": 10.75, "y": 3.25}, {"matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, - + {"matrix": [3, 12], "x": 12.75, "y": 3.25}, + {"matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, {"matrix": [3, 15], "x": 15.5, "y": 3.25}, - - {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, + {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4.25}, {"matrix": [4, 2], "x": 2.25, "y": 4.25}, {"matrix": [4, 3], "x": 3.25, "y": 4.25}, {"matrix": [4, 4], "x": 4.25, "y": 4.25}, @@ -280,42 +256,37 @@ {"matrix": [4, 10], "x": 10.25, "y": 4.25}, {"matrix": [4, 11], "x": 11.25, "y": 4.25}, {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, - {"matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"matrix": [4, 15], "x": 15.5, "y": 4.25}, - {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, - {"matrix": [5, 5], "x": 3.75, "y": 5.25, "w": 6.25}, - {"matrix": [5, 9], "x": 10, "y": 5.25, "w": 1.5}, - {"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5}, - + {"matrix": [5, 3], "x": 3.75, "y": 5.25, "w": 2.25}, + {"matrix": [5, 5], "x": 6, "y": 5.25, "w": 1.25}, + {"matrix": [5, 7], "x": 7.25, "y": 5.25, "w": 2.75}, + {"matrix": [5, 9], "x": 10, "y": 5.25}, + {"matrix": [5, 10], "x": 11, "y": 5.25}, + {"matrix": [5, 11], "x": 12, "y": 5.25}, {"matrix": [5, 12], "x": 13.25, "y": 5.5}, {"matrix": [5, 13], "x": 14.25, "y": 5.5}, {"matrix": [5, 15], "x": 15.25, "y": 5.5} ] }, - "LAYOUT_2x2": { + "LAYOUT_default": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 2], "x": 1.5, "y": 0}, {"matrix": [0, 3], "x": 2.5, "y": 0}, {"matrix": [0, 4], "x": 3.5, "y": 0}, {"matrix": [0, 5], "x": 4.5, "y": 0}, - {"matrix": [0, 6], "x": 5.75, "y": 0}, {"matrix": [0, 7], "x": 6.75, "y": 0}, {"matrix": [0, 8], "x": 7.75, "y": 0}, {"matrix": [0, 9], "x": 8.75, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, {"matrix": [0, 11], "x": 11, "y": 0}, {"matrix": [0, 12], "x": 12, "y": 0}, {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1.25}, {"matrix": [1, 1], "x": 1, "y": 1.25}, {"matrix": [1, 2], "x": 2, "y": 1.25}, @@ -329,11 +300,8 @@ {"matrix": [1, 10], "x": 10, "y": 1.25}, {"matrix": [1, 11], "x": 11, "y": 1.25}, {"matrix": [1, 12], "x": 12, "y": 1.25}, - {"matrix": [1, 13], "x": 13, "y": 1.25}, - {"matrix": [1, 14], "x": 14, "y": 1.25}, - + {"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, {"matrix": [1, 15], "x": 15.5, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"matrix": [2, 1], "x": 1.5, "y": 2.25}, {"matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -348,9 +316,7 @@ {"matrix": [2, 11], "x": 11.5, "y": 2.25}, {"matrix": [2, 12], "x": 12.5, "y": 2.25}, {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, - {"matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"matrix": [3, 1], "x": 1.75, "y": 3.25}, {"matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -364,9 +330,7 @@ {"matrix": [3, 10], "x": 10.75, "y": 3.25}, {"matrix": [3, 11], "x": 11.75, "y": 3.25}, {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, - {"matrix": [3, 15], "x": 15.5, "y": 3.25}, - {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4.25}, {"matrix": [4, 3], "x": 3.25, "y": 4.25}, @@ -379,41 +343,35 @@ {"matrix": [4, 10], "x": 10.25, "y": 4.25}, {"matrix": [4, 11], "x": 11.25, "y": 4.25}, {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, - {"matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"matrix": [4, 15], "x": 15.5, "y": 4.25}, - - {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.5}, - {"matrix": [5, 1], "x": 1.5, "y": 5.25, "w": 1.5}, - {"matrix": [5, 5], "x": 3, "y": 5.25, "w": 7}, - {"matrix": [5, 9], "x": 10, "y": 5.25, "w": 1.5}, - {"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5}, - + {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, + {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, + {"matrix": [5, 5], "x": 3.75, "y": 5.25, "w": 6.25}, + {"matrix": [5, 9], "x": 10, "y": 5.25}, + {"matrix": [5, 10], "x": 11, "y": 5.25}, + {"matrix": [5, 11], "x": 12, "y": 5.25}, {"matrix": [5, 12], "x": 13.25, "y": 5.5}, {"matrix": [5, 13], "x": 14.25, "y": 5.5}, {"matrix": [5, 15], "x": 15.25, "y": 5.5} ] }, - "LAYOUT_split_space": { + "LAYOUT_iso": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 2], "x": 1.5, "y": 0}, {"matrix": [0, 3], "x": 2.5, "y": 0}, {"matrix": [0, 4], "x": 3.5, "y": 0}, {"matrix": [0, 5], "x": 4.5, "y": 0}, - {"matrix": [0, 6], "x": 5.75, "y": 0}, {"matrix": [0, 7], "x": 6.75, "y": 0}, {"matrix": [0, 8], "x": 7.75, "y": 0}, {"matrix": [0, 9], "x": 8.75, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, {"matrix": [0, 11], "x": 11, "y": 0}, {"matrix": [0, 12], "x": 12, "y": 0}, {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1.25}, {"matrix": [1, 1], "x": 1, "y": 1.25}, {"matrix": [1, 2], "x": 2, "y": 1.25}, @@ -428,9 +386,7 @@ {"matrix": [1, 11], "x": 11, "y": 1.25}, {"matrix": [1, 12], "x": 12, "y": 1.25}, {"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, - {"matrix": [1, 15], "x": 15.5, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"matrix": [2, 1], "x": 1.5, "y": 2.25}, {"matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -444,10 +400,7 @@ {"matrix": [2, 10], "x": 10.5, "y": 2.25}, {"matrix": [2, 11], "x": 11.5, "y": 2.25}, {"matrix": [2, 12], "x": 12.5, "y": 2.25}, - {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, - {"matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"matrix": [3, 1], "x": 1.75, "y": 3.25}, {"matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -460,11 +413,11 @@ {"matrix": [3, 9], "x": 9.75, "y": 3.25}, {"matrix": [3, 10], "x": 10.75, "y": 3.25}, {"matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, - + {"matrix": [3, 12], "x": 12.75, "y": 3.25}, + {"matrix": [3, 13], "x": 13.75, "y": 2.25, "w": 1.25, "h": 2}, {"matrix": [3, 15], "x": 15.5, "y": 3.25}, - - {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, + {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4.25}, {"matrix": [4, 2], "x": 2.25, "y": 4.25}, {"matrix": [4, 3], "x": 3.25, "y": 4.25}, {"matrix": [4, 4], "x": 4.25, "y": 4.25}, @@ -476,45 +429,35 @@ {"matrix": [4, 10], "x": 10.25, "y": 4.25}, {"matrix": [4, 11], "x": 11.25, "y": 4.25}, {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, - {"matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"matrix": [4, 15], "x": 15.5, "y": 4.25}, - {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, - {"matrix": [5, 3], "x": 3.75, "y": 5.25, "w": 2.25}, - {"matrix": [5, 5], "x": 6, "y": 5.25, "w": 1.25}, - {"matrix": [5, 7], "x": 7.25, "y": 5.25, "w": 2.75}, + {"matrix": [5, 5], "x": 3.75, "y": 5.25, "w": 6.25}, {"matrix": [5, 9], "x": 10, "y": 5.25}, {"matrix": [5, 10], "x": 11, "y": 5.25}, {"matrix": [5, 11], "x": 12, "y": 5.25}, - {"matrix": [5, 12], "x": 13.25, "y": 5.5}, {"matrix": [5, 13], "x": 14.25, "y": 5.5}, {"matrix": [5, 15], "x": 15.25, "y": 5.5} ] }, - "LAYOUT_all": { + "LAYOUT_split_space": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 2], "x": 1.5, "y": 0}, {"matrix": [0, 3], "x": 2.5, "y": 0}, {"matrix": [0, 4], "x": 3.5, "y": 0}, {"matrix": [0, 5], "x": 4.5, "y": 0}, - {"matrix": [0, 6], "x": 5.75, "y": 0}, {"matrix": [0, 7], "x": 6.75, "y": 0}, {"matrix": [0, 8], "x": 7.75, "y": 0}, {"matrix": [0, 9], "x": 8.75, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, {"matrix": [0, 11], "x": 11, "y": 0}, {"matrix": [0, 12], "x": 12, "y": 0}, {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1.25}, {"matrix": [1, 1], "x": 1, "y": 1.25}, {"matrix": [1, 2], "x": 2, "y": 1.25}, @@ -528,11 +471,8 @@ {"matrix": [1, 10], "x": 10, "y": 1.25}, {"matrix": [1, 11], "x": 11, "y": 1.25}, {"matrix": [1, 12], "x": 12, "y": 1.25}, - {"matrix": [1, 13], "x": 13, "y": 1.25}, - {"matrix": [1, 14], "x": 14, "y": 1.25}, - + {"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, {"matrix": [1, 15], "x": 15.5, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, {"matrix": [2, 1], "x": 1.5, "y": 2.25}, {"matrix": [2, 2], "x": 2.5, "y": 2.25}, @@ -547,9 +487,7 @@ {"matrix": [2, 11], "x": 11.5, "y": 2.25}, {"matrix": [2, 12], "x": 12.5, "y": 2.25}, {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, - {"matrix": [2, 15], "x": 15.5, "y": 2.25}, - {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, {"matrix": [3, 1], "x": 1.75, "y": 3.25}, {"matrix": [3, 2], "x": 2.75, "y": 3.25}, @@ -562,13 +500,9 @@ {"matrix": [3, 9], "x": 9.75, "y": 3.25}, {"matrix": [3, 10], "x": 10.75, "y": 3.25}, {"matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"matrix": [3, 12], "x": 12.75, "y": 3.25}, - {"matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, - + {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"matrix": [3, 15], "x": 15.5, "y": 3.25}, - - {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4.25}, + {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4.25}, {"matrix": [4, 3], "x": 3.25, "y": 4.25}, {"matrix": [4, 4], "x": 4.25, "y": 4.25}, @@ -580,11 +514,8 @@ {"matrix": [4, 10], "x": 10.25, "y": 4.25}, {"matrix": [4, 11], "x": 11.25, "y": 4.25}, {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, - {"matrix": [4, 13], "x": 14.25, "y": 4.5}, - {"matrix": [4, 15], "x": 15.5, "y": 4.25}, - {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, @@ -594,11 +525,10 @@ {"matrix": [5, 9], "x": 10, "y": 5.25}, {"matrix": [5, 10], "x": 11, "y": 5.25}, {"matrix": [5, 11], "x": 12, "y": 5.25}, - {"matrix": [5, 12], "x": 13.25, "y": 5.5}, {"matrix": [5, 13], "x": 14.25, "y": 5.5}, {"matrix": [5, 15], "x": 15.25, "y": 5.5} ] } } -} +} \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h new file mode 100644 index 00000000000..4af97ded2b1 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h @@ -0,0 +1,3 @@ +#pragma once + +#define ENCODER_RESOLUTION 2 diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c new file mode 100644 index 00000000000..256cdecd6a2 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2019 Boy_314 + +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 . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_2x2( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NO, ENC_PRESS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL, + KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_2x2( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + NK_TOGG, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______, _______, _______, _______, OLED_TOGG, + _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_HOME, KC_PGUP, _______, _______, QK_BOOT, CLOCK_SET, + KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_DEL, KC_END, KC_PGDN, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, + _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT + ) +}; diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md new file mode 100644 index 00000000000..65984873c47 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md @@ -0,0 +1,3 @@ +# Boy_314's Satisfaction75 Layout + +This is Boy_314's Satisfaction75 Layout. It can be used on VIA. It features a QWERTY layout on the base, along with missing TKL keys on layer 1. Right side 3 keys from top down are: Home, End, Delete. The encoder resolution has been reduced from the default of 4 down to 2 so that it no longer needs to click twice, but now only once, before triggering an action. diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk new file mode 100644 index 00000000000..6f45dc73ed6 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk @@ -0,0 +1,3 @@ +# rules.mk overrides to enable VIA + +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/keymaps/tester/keymap.c b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c similarity index 88% rename from keyboards/cannonkeys/satisfaction75/keymaps/tester/keymap.c rename to keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c index c648333c3d8..733ba8cd673 100644 --- a/keyboards/cannonkeys/satisfaction75/keymaps/tester/keymap.c +++ b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c @@ -17,18 +17,18 @@ along with this program. If not, see . #include QMK_KEYBOARD_H -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_all( KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, ENC_PRESS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_PGUP, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ), [1] = LAYOUT_all( _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, OLED_TOGG, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, OLED_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLOCK_SET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/keymap.c b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/keymap.c new file mode 100644 index 00000000000..8b05d53fb7e --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/keymap.c @@ -0,0 +1,23 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, ENC_PRESS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_PGUP, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, OLED_TOGG, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLOCK_SET, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/rules.mk b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/rules.mk new file mode 100644 index 00000000000..517f469b6d7 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/tester/rules.mk @@ -0,0 +1 @@ +OLED_ENABLE = no diff --git a/keyboards/cannonkeys/satisfaction75/rev1/rules.mk b/keyboards/cannonkeys/satisfaction75/rev1/rules.mk index e69de29bb2d..7ff128fa692 100644 --- a/keyboards/cannonkeys/satisfaction75/rev1/rules.mk +++ b/keyboards/cannonkeys/satisfaction75/rev1/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/rev2/info.json b/keyboards/cannonkeys/satisfaction75/rev2/info.json new file mode 100644 index 00000000000..e8ddb90c89c --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev2/info.json @@ -0,0 +1,193 @@ +{ + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B9", "pin_b": "B8"} + ] + }, + "indicators": { + "caps_lock": "B14", + "on_state": 0 + }, + "matrix_pins": { + "cols": ["A10", "A9", "A8", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A5", "A4", "A3", "A2", "B3"], + "rows": ["A13", "A14", "A15", "B4", "B5", "C13"] + }, + "usb": { + "device_version": "0.0.2", + "pid": "0x001A" + }, + "layouts": { + "LAYOUT_all": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "F1", "matrix": [0, 2], "x": 1.5, "y": 0}, + {"label": "F2", "matrix": [0, 3], "x": 2.5, "y": 0}, + {"label": "F3", "matrix": [0, 4], "x": 3.5, "y": 0}, + {"label": "F4", "matrix": [0, 5], "x": 4.5, "y": 0}, + {"label": "F5", "matrix": [0, 6], "x": 5.75, "y": 0}, + {"label": "F6", "matrix": [0, 7], "x": 6.75, "y": 0}, + {"label": "F7", "matrix": [0, 8], "x": 7.75, "y": 0}, + {"label": "F8", "matrix": [0, 9], "x": 8.75, "y": 0}, + {"label": "F9", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "F10", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "F11", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "F12", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "~", "matrix": [1, 0], "x": 0, "y": 1.25}, + {"label": "!", "matrix": [1, 1], "x": 1, "y": 1.25}, + {"label": "@", "matrix": [1, 2], "x": 2, "y": 1.25}, + {"label": "#", "matrix": [1, 3], "x": 3, "y": 1.25}, + {"label": "$", "matrix": [1, 4], "x": 4, "y": 1.25}, + {"label": "%", "matrix": [1, 5], "x": 5, "y": 1.25}, + {"label": "^", "matrix": [1, 6], "x": 6, "y": 1.25}, + {"label": "&", "matrix": [1, 7], "x": 7, "y": 1.25}, + {"label": "*", "matrix": [1, 8], "x": 8, "y": 1.25}, + {"label": "(", "matrix": [1, 9], "x": 9, "y": 1.25}, + {"label": ")", "matrix": [1, 10], "x": 10, "y": 1.25}, + {"label": "_", "matrix": [1, 11], "x": 11, "y": 1.25}, + {"label": "+", "matrix": [1, 12], "x": 12, "y": 1.25}, + {"label": "Bksp", "matrix": [1, 13], "x": 13, "y": 1.25}, + {"label": "Del", "matrix": [0, 14], "x": 14, "y": 1.25}, + {"label": "EncPress", "matrix": [1, 14], "x": 15.5, "y": 0.75}, + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 2.25}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 2.25}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 2.25}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 2.25}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 2.25}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 2.25}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 2.25}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 2.25}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 2.25}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 2.25}, + {"label": "{", "matrix": [2, 11], "x": 11.5, "y": 2.25}, + {"label": "}", "matrix": [2, 12], "x": 12.5, "y": 2.25}, + {"label": "|", "matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, + {"label": "Del", "matrix": [2, 14], "x": 15.5, "y": 2.25}, + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 3.25}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 3.25}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 3.25}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 3.25}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 3.25}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 3.25}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 3.25}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 3.25}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, + {"label": ":", "matrix": [3, 10], "x": 10.75, "y": 3.25}, + {"label": "\"", "matrix": [3, 11], "x": 11.75, "y": 3.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, + {"label": "PgUp", "matrix": [3, 14], "x": 15.5, "y": 3.25}, + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25}, + {"label": "|", "matrix": [4, 1], "x": 1.25, "y": 4.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 4.25}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 4.25}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 4.25}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 4.25}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 4.25}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 4.25}, + {"label": "<", "matrix": [4, 9], "x": 9.25, "y": 4.25}, + {"label": ">", "matrix": [4, 10], "x": 10.25, "y": 4.25}, + {"label": "?", "matrix": [4, 11], "x": 11.25, "y": 4.25}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, + {"label": "Up", "matrix": [4, 13], "x": 14.25, "y": 4.5}, + {"label": "PgDn", "matrix": [4, 14], "x": 15.5, "y": 4.25}, + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, + {"label": "Win", "matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5.25, "w": 6.25}, + {"label": "Alt", "matrix": [5, 9], "x": 10, "y": 5.25}, + {"label": "Fn", "matrix": [5, 10], "x": 11, "y": 5.25}, + {"label": "Ctrl", "matrix": [5, 11], "x": 12, "y": 5.25}, + {"label": "Left", "matrix": [5, 12], "x": 13.25, "y": 5.5}, + {"label": "Down", "matrix": [5, 13], "x": 14.25, "y": 5.5}, + {"label": "Right", "matrix": [5, 14], "x": 15.25, "y": 5.5} + ] + }, + "LAYOUT_iso_split_bs_7u": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "F1", "matrix": [0, 2], "x": 1.5, "y": 0}, + {"label": "F2", "matrix": [0, 3], "x": 2.5, "y": 0}, + {"label": "F3", "matrix": [0, 4], "x": 3.5, "y": 0}, + {"label": "F4", "matrix": [0, 5], "x": 4.5, "y": 0}, + {"label": "F5", "matrix": [0, 6], "x": 5.75, "y": 0}, + {"label": "F6", "matrix": [0, 7], "x": 6.75, "y": 0}, + {"label": "F7", "matrix": [0, 8], "x": 7.75, "y": 0}, + {"label": "F8", "matrix": [0, 9], "x": 8.75, "y": 0}, + {"label": "F9", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "F10", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "F11", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "F12", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "~", "matrix": [1, 0], "x": 0, "y": 1.25}, + {"label": "!", "matrix": [1, 1], "x": 1, "y": 1.25}, + {"label": "@", "matrix": [1, 2], "x": 2, "y": 1.25}, + {"label": "#", "matrix": [1, 3], "x": 3, "y": 1.25}, + {"label": "$", "matrix": [1, 4], "x": 4, "y": 1.25}, + {"label": "%", "matrix": [1, 5], "x": 5, "y": 1.25}, + {"label": "^", "matrix": [1, 6], "x": 6, "y": 1.25}, + {"label": "&", "matrix": [1, 7], "x": 7, "y": 1.25}, + {"label": "*", "matrix": [1, 8], "x": 8, "y": 1.25}, + {"label": "(", "matrix": [1, 9], "x": 9, "y": 1.25}, + {"label": ")", "matrix": [1, 10], "x": 10, "y": 1.25}, + {"label": "_", "matrix": [1, 11], "x": 11, "y": 1.25}, + {"label": "+", "matrix": [1, 12], "x": 12, "y": 1.25}, + {"label": "Bksp", "matrix": [1, 13], "x": 13, "y": 1.25}, + {"label": "Del", "matrix": [0, 14], "x": 14, "y": 1.25}, + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 2.25}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 2.25}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 2.25}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 2.25}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 2.25}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 2.25}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 2.25}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 2.25}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 2.25}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 2.25}, + {"label": "{", "matrix": [2, 11], "x": 11.5, "y": 2.25}, + {"label": "}", "matrix": [2, 12], "x": 12.5, "y": 2.25}, + {"matrix": [3, 13], "x": 13.75, "y": 2.25, "w": 1.25, "h": 2}, + {"label": "Del", "matrix": [2, 14], "x": 15.5, "y": 2.25}, + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 3.25}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 3.25}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 3.25}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 3.25}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 3.25}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 3.25}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 3.25}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 3.25}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, + {"label": ":", "matrix": [3, 10], "x": 10.75, "y": 3.25}, + {"label": "\"", "matrix": [3, 11], "x": 11.75, "y": 3.25}, + {"matrix": [2, 13], "x": 12.75, "y": 3.25}, + {"label": "PgUp", "matrix": [3, 14], "x": 15.5, "y": 3.25}, + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25}, + {"label": "|", "matrix": [4, 1], "x": 1.25, "y": 4.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 4.25}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 4.25}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 4.25}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 4.25}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 4.25}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 4.25}, + {"label": "<", "matrix": [4, 9], "x": 9.25, "y": 4.25}, + {"label": ">", "matrix": [4, 10], "x": 10.25, "y": 4.25}, + {"label": "?", "matrix": [4, 11], "x": 11.25, "y": 4.25}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, + {"label": "Up", "matrix": [4, 13], "x": 14.25, "y": 4.5}, + {"label": "PgDn", "matrix": [4, 14], "x": 15.5, "y": 4.25}, + {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 5.25, "w": 1.5}, + {"matrix": [5, 6], "x": 3, "y": 5.25, "w": 7}, + {"matrix": [5, 10], "x": 10, "y": 5.25, "w": 1.5}, + {"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5}, + {"label": "Left", "matrix": [5, 12], "x": 13.25, "y": 5.5}, + {"label": "Down", "matrix": [5, 13], "x": 14.25, "y": 5.5}, + {"label": "Right", "matrix": [5, 14], "x": 15.25, "y": 5.5} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/rev2/keymaps/default/keymap.c b/keyboards/cannonkeys/satisfaction75/rev2/keymaps/default/keymap.c new file mode 100644 index 00000000000..bce6632706b --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev2/keymaps/default/keymap.c @@ -0,0 +1,26 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + + +#include QMK_KEYBOARD_H +#include "satisfaction_keycodes.h" + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, ENC_PRESS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_PGUP, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, OLED_TOGG, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLOCK_SET, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/keymap.c b/keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/keymap.c new file mode 100644 index 00000000000..a0119fc0cd3 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + + +#include QMK_KEYBOARD_H +#include "satisfaction_keycodes.h" + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, ENC_PRESS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_PGUP, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, OLED_TOGG, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLOCK_SET, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/rules.mk b/keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev2/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/cannonkeys/satisfaction75/rev2/readme.md b/keyboards/cannonkeys/satisfaction75/rev2/readme.md new file mode 100644 index 00000000000..ac393283e08 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev2/readme.md @@ -0,0 +1,29 @@ +# Satisfaction75 - Revision 2 + +A new revision of the Satisfaction75 PCB. +Layout support has been streamlined. + +This PCB was released in late 2023/2024. If you have a Satisfaction75 PCB from before that time, please use the rev1 satisfaction75 PCB. + +The revision 2 of the PCB also has "Revision 2" printed on it. + +* Keyboard Maintainer: [Andrew Kannan](https://github.com/awkannan) +* Hardware Supported: STM32F072CBT6 + +Make example for this keyboard (after setting up your build environment): + + make cannonkeys/satisfaction75/rev2:default + +Flashing example for this keyboard: + + make cannonkeys/satisfaction75/rev2: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 + +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**: Toggle the switch on the back of the pcb to "1" and briefly press the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cannonkeys/satisfaction75/rev2/rules.mk b/keyboards/cannonkeys/satisfaction75/rev2/rules.mk new file mode 100644 index 00000000000..7ff128fa692 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75/rev2/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/rules.mk b/keyboards/cannonkeys/satisfaction75/rules.mk index 8cee2da595e..c92469d1bd4 100644 --- a/keyboards/cannonkeys/satisfaction75/rules.mk +++ b/keyboards/cannonkeys/satisfaction75/rules.mk @@ -1,21 +1,9 @@ # Wildcard to allow APM32 MCU DFU_SUFFIX_ARGS = -v FFFF -p FFFF -SRC += led.c \ - satisfaction_encoder.c \ - satisfaction_oled.c +VPATH += keyboards/cannonkeys/lib/satisfaction75 +SRC += satisfaction_encoder.c \ + satisfaction_oled.c \ + satisfaction_core.c -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -ENCODER_ENABLE = yes -OLED_ENABLE = yes -#BACKLIGHT_ENABLE = yes - -DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1 +DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1 \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction75.h b/keyboards/cannonkeys/satisfaction75/satisfaction75.h index 157eff902ef..d4fc7aca87d 100644 --- a/keyboards/cannonkeys/satisfaction75/satisfaction75.h +++ b/keyboards/cannonkeys/satisfaction75/satisfaction75.h @@ -1,117 +1,6 @@ -#pragma once - -#include "quantum.h" - -#include "via.h" // only for EEPROM address -#define EEPROM_ENABLED_ENCODER_MODES (VIA_EEPROM_CUSTOM_CONFIG_ADDR) -#define EEPROM_CUSTOM_BACKLIGHT (VIA_EEPROM_CUSTOM_CONFIG_ADDR+1) -#define EEPROM_DEFAULT_OLED (VIA_EEPROM_CUSTOM_CONFIG_ADDR+2) -#define EEPROM_CUSTOM_ENCODER (VIA_EEPROM_CUSTOM_CONFIG_ADDR+3) - -typedef union { - uint8_t raw; - struct { - bool enable :1; - bool breathing : 1; - uint8_t level :6; - }; -} backlight_config_t; - -// Start these at the USER code range in VIA -enum my_keycodes { - ENC_PRESS = QK_KB_0, - CLOCK_SET, - OLED_TOGG -}; - -enum s75_custom_value_id { - id_encoder_modes = 1, - id_oled_default_mode, - id_encoder_custom, - id_oled_mode -}; - -enum encoder_modes { - ENC_MODE_VOLUME, - ENC_MODE_MEDIA, - ENC_MODE_SCROLL, - ENC_MODE_BRIGHTNESS, - ENC_MODE_BACKLIGHT, - ENC_MODE_CUSTOM0, - ENC_MODE_CUSTOM1, - ENC_MODE_CUSTOM2, - _NUM_ENCODER_MODES, - ENC_MODE_CLOCK_SET // This shouldn't be included in the default modes, so we put it after NUM_ENCODER_MODES -}; - -enum custom_encoder_behavior { - ENC_CUSTOM_CW = 0, - ENC_CUSTOM_CCW, - ENC_CUSTOM_PRESS -}; - -enum oled_modes { - OLED_DEFAULT, - OLED_TIME, - OLED_OFF, - _NUM_OLED_MODES -}; - +// Copyright 2023 Andrew Kannan +// SPDX-License-Identifier: GPL-2.0-or-later -// Keyboard Information -extern volatile uint8_t led_numlock; -extern volatile uint8_t led_capslock; -extern volatile uint8_t led_scrolllock; -extern uint8_t layer; - -// OLED Behavior -extern uint8_t oled_mode; -extern bool oled_repaint_requested; -extern bool oled_wakeup_requested; -extern uint32_t oled_sleep_timer; - -// Encoder Behavior -extern uint8_t encoder_value; -extern uint8_t encoder_mode; -extern uint8_t enabled_encoder_modes; - -// RTC -extern RTCDateTime last_timespec; -extern uint16_t last_minute; - -// RTC Configuration -extern bool clock_set_mode; -extern uint8_t time_config_idx; -extern int8_t hour_config; -extern int16_t minute_config; -extern int8_t year_config; -extern int8_t month_config; -extern int8_t day_config; -extern uint8_t previous_encoder_mode; - -// Backlighting -extern backlight_config_t kb_backlight_config; -extern bool kb_backlight_breathing; - -void pre_encoder_mode_change(void); -void post_encoder_mode_change(void); -void change_encoder_mode(bool negative); -uint16_t handle_encoder_clockwise(void); -uint16_t handle_encoder_ccw(void); -uint16_t handle_encoder_press(void); -uint16_t retrieve_custom_encoder_config(uint8_t encoder_idx, uint8_t behavior); -void set_custom_encoder_config(uint8_t encoder_idx, uint8_t behavior, uint16_t new_code); - -void update_time_config(int8_t increment); - -void oled_request_wakeup(void); -void oled_request_repaint(void); -bool oled_task_needs_to_repaint(void); +#pragma once -void backlight_init_ports(void); -void backlight_set(uint8_t level); -bool is_breathing(void); -void breathing_enable(void); -void breathing_disable(void); -void custom_config_load(void); -void backlight_config_save(void); +#include "satisfaction_keycodes.h" \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75_hs/chconf.h b/keyboards/cannonkeys/satisfaction75_hs/chconf.h new file mode 100644 index 00000000000..d1b9cf32b7f --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/chconf.h @@ -0,0 +1,18 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + +/* + * This file was auto-generated by: + * `qmk chibios-confmigrate -i keyboards/cannonkeys/satisfaction75/chconf.h -r platforms/chibios/common/configs/chconf.h` + */ + +#pragma once + +#define CH_CFG_ST_FREQUENCY 10000 + +#define CH_CFG_OPTIMIZE_SPEED FALSE + +#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE + +#include_next + diff --git a/keyboards/cannonkeys/satisfaction75_hs/config.h b/keyboards/cannonkeys/satisfaction75_hs/config.h new file mode 100644 index 00000000000..658babd3c08 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/config.h @@ -0,0 +1,44 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */ +#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE + +/* LSE clock */ +#define STM32_LSECLK 32768 + +#define ENCODER_RESOLUTION 2 + +// I2C config +#define I2C_DRIVER I2CD1 +#define I2C1_SCL_PIN B6 +#define I2C1_SDA_PIN B7 +#define I2C1_SCL_PAL_MODE 1 +#define I2C1_SDA_PAL_MODE 1 +#define I2C1_TIMINGR_PRESC 0x00U +#define I2C1_TIMINGR_SCLDEL 0x03U +#define I2C1_TIMINGR_SDADEL 0x01U +#define I2C1_TIMINGR_SCLH 0x03U +#define I2C1_TIMINGR_SCLL 0x09U + +// configure oled driver for the 128x32 oled +#define OLED_UPDATE_INTERVAL 66 // ~15fps + +// OLED_TIMEOUT is incompatible with the OLED_OFF mode +#define OLED_TIMEOUT 0 + +// OLED timeout reimplemented in the keyboard-specific code +#define CUSTOM_OLED_TIMEOUT 60000 + +// Custom config starts after VIA's EEPROM usage, +// dynamic keymaps start after this. +// Custom config Usage: +// 1 for enabled encoder modes (1 byte) +// 1 for OLED default mode (1 byte) +// 6 for 3x custom encoder settings, left, right, and press (18 bytes) +#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 20 + +// VIA lighting is handled by the keyboard-level code +#define VIA_CUSTOM_LIGHTING_ENABLE diff --git a/keyboards/cannonkeys/satisfaction75_hs/halconf.h b/keyboards/cannonkeys/satisfaction75_hs/halconf.h new file mode 100644 index 00000000000..caeda6090b0 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/halconf.h @@ -0,0 +1,18 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + +/* + * This file was auto-generated by: + * `qmk chibios-confmigrate -i keyboards/cannonkeys/satisfaction75/halconf.h -r platforms/chibios/common/configs/halconf.h` + */ + +#pragma once + +#define HAL_USE_I2C TRUE + +#define HAL_USE_RTC TRUE + +#define HAL_USE_SPI TRUE + +#include_next + diff --git a/keyboards/cannonkeys/satisfaction75_hs/info.json b/keyboards/cannonkeys/satisfaction75_hs/info.json new file mode 100644 index 00000000000..214ef5f48ad --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/info.json @@ -0,0 +1,207 @@ +{ + "manufacturer": "CannonKeys", + "keyboard_name": "Satisfaction75 HS", + "maintainer": "awkannan", + "bootloader": "stm32-dfu", + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B9", "pin_b": "B8"} + ] + }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true + }, + "indicators": { + "caps_lock": "B14", + "on_state": 0 + }, + "matrix_pins": { + "cols": ["A8", "C13", "B2", "B1", "B0", "B12", "B5", "B4", "B3", "A7", "A5", "A4", "A3", "A2", "A1"], + "rows": ["A10", "A14", "A15", "A0", "B11", "B10"] + }, + "processor": "STM32F072", + "usb": { + "device_version": "0.0.1", + "pid": "0x0011", + "vid": "0xCA04" + }, + "layouts": { + "LAYOUT_all": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 2], "x": 1.5, "y": 0}, + {"matrix": [0, 3], "x": 2.5, "y": 0}, + {"matrix": [0, 4], "x": 3.5, "y": 0}, + {"matrix": [0, 5], "x": 4.5, "y": 0}, + {"matrix": [0, 6], "x": 5.75, "y": 0}, + {"matrix": [0, 7], "x": 6.75, "y": 0}, + {"matrix": [0, 8], "x": 7.75, "y": 0}, + {"matrix": [0, 9], "x": 8.75, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [1, 14], "x": 15.5, "y": 0.75}, + {"matrix": [1, 0], "x": 0, "y": 1.25}, + {"matrix": [1, 1], "x": 1, "y": 1.25}, + {"matrix": [1, 2], "x": 2, "y": 1.25}, + {"matrix": [1, 3], "x": 3, "y": 1.25}, + {"matrix": [1, 4], "x": 4, "y": 1.25}, + {"matrix": [1, 5], "x": 5, "y": 1.25}, + {"matrix": [1, 6], "x": 6, "y": 1.25}, + {"matrix": [1, 7], "x": 7, "y": 1.25}, + {"matrix": [1, 8], "x": 8, "y": 1.25}, + {"matrix": [1, 9], "x": 9, "y": 1.25}, + {"matrix": [1, 10], "x": 10, "y": 1.25}, + {"matrix": [1, 11], "x": 11, "y": 1.25}, + {"matrix": [1, 12], "x": 12, "y": 1.25}, + {"matrix": [1, 13], "x": 13, "y": 1.25}, + {"matrix": [0, 14], "x": 14, "y": 1.25}, + {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.25}, + {"matrix": [2, 2], "x": 2.5, "y": 2.25}, + {"matrix": [2, 3], "x": 3.5, "y": 2.25}, + {"matrix": [2, 4], "x": 4.5, "y": 2.25}, + {"matrix": [2, 5], "x": 5.5, "y": 2.25}, + {"matrix": [2, 6], "x": 6.5, "y": 2.25}, + {"matrix": [2, 7], "x": 7.5, "y": 2.25}, + {"matrix": [2, 8], "x": 8.5, "y": 2.25}, + {"matrix": [2, 9], "x": 9.5, "y": 2.25}, + {"matrix": [2, 10], "x": 10.5, "y": 2.25}, + {"matrix": [2, 11], "x": 11.5, "y": 2.25}, + {"matrix": [2, 12], "x": 12.5, "y": 2.25}, + {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, + {"matrix": [2, 14], "x": 15.5, "y": 2.25}, + {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.25}, + {"matrix": [3, 2], "x": 2.75, "y": 3.25}, + {"matrix": [3, 3], "x": 3.75, "y": 3.25}, + {"matrix": [3, 4], "x": 4.75, "y": 3.25}, + {"matrix": [3, 5], "x": 5.75, "y": 3.25}, + {"matrix": [3, 6], "x": 6.75, "y": 3.25}, + {"matrix": [3, 7], "x": 7.75, "y": 3.25}, + {"matrix": [3, 8], "x": 8.75, "y": 3.25}, + {"matrix": [3, 9], "x": 9.75, "y": 3.25}, + {"matrix": [3, 10], "x": 10.75, "y": 3.25}, + {"matrix": [3, 11], "x": 11.75, "y": 3.25}, + {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, + {"matrix": [3, 14], "x": 15.5, "y": 3.25}, + {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4.25}, + {"matrix": [4, 3], "x": 3.25, "y": 4.25}, + {"matrix": [4, 4], "x": 4.25, "y": 4.25}, + {"matrix": [4, 5], "x": 5.25, "y": 4.25}, + {"matrix": [4, 6], "x": 6.25, "y": 4.25}, + {"matrix": [4, 7], "x": 7.25, "y": 4.25}, + {"matrix": [4, 8], "x": 8.25, "y": 4.25}, + {"matrix": [4, 9], "x": 9.25, "y": 4.25}, + {"matrix": [4, 10], "x": 10.25, "y": 4.25}, + {"matrix": [4, 11], "x": 11.25, "y": 4.25}, + {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, + {"matrix": [4, 13], "x": 14.25, "y": 4.5}, + {"matrix": [4, 14], "x": 15.5, "y": 4.25}, + {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, + {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5.25, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5.25, "w": 1.5}, + {"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5}, + {"matrix": [5, 12], "x": 13.25, "y": 5.5}, + {"matrix": [5, 13], "x": 14.25, "y": 5.5}, + {"matrix": [5, 14], "x": 15.25, "y": 5.5} + ] + }, + "LAYOUT_full_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 2], "x": 1.5, "y": 0}, + {"matrix": [0, 3], "x": 2.5, "y": 0}, + {"matrix": [0, 4], "x": 3.5, "y": 0}, + {"matrix": [0, 5], "x": 4.5, "y": 0}, + {"matrix": [0, 6], "x": 5.75, "y": 0}, + {"matrix": [0, 7], "x": 6.75, "y": 0}, + {"matrix": [0, 8], "x": 7.75, "y": 0}, + {"matrix": [0, 9], "x": 8.75, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [1, 14], "x": 15.5, "y": 1}, + {"matrix": [1, 0], "x": 0, "y": 1.25}, + {"matrix": [1, 1], "x": 1, "y": 1.25}, + {"matrix": [1, 2], "x": 2, "y": 1.25}, + {"matrix": [1, 3], "x": 3, "y": 1.25}, + {"matrix": [1, 4], "x": 4, "y": 1.25}, + {"matrix": [1, 5], "x": 5, "y": 1.25}, + {"matrix": [1, 6], "x": 6, "y": 1.25}, + {"matrix": [1, 7], "x": 7, "y": 1.25}, + {"matrix": [1, 8], "x": 8, "y": 1.25}, + {"matrix": [1, 9], "x": 9, "y": 1.25}, + {"matrix": [1, 10], "x": 10, "y": 1.25}, + {"matrix": [1, 11], "x": 11, "y": 1.25}, + {"matrix": [1, 12], "x": 12, "y": 1.25}, + {"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2}, + {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.25}, + {"matrix": [2, 2], "x": 2.5, "y": 2.25}, + {"matrix": [2, 3], "x": 3.5, "y": 2.25}, + {"matrix": [2, 4], "x": 4.5, "y": 2.25}, + {"matrix": [2, 5], "x": 5.5, "y": 2.25}, + {"matrix": [2, 6], "x": 6.5, "y": 2.25}, + {"matrix": [2, 7], "x": 7.5, "y": 2.25}, + {"matrix": [2, 8], "x": 8.5, "y": 2.25}, + {"matrix": [2, 9], "x": 9.5, "y": 2.25}, + {"matrix": [2, 10], "x": 10.5, "y": 2.25}, + {"matrix": [2, 11], "x": 11.5, "y": 2.25}, + {"matrix": [2, 12], "x": 12.5, "y": 2.25}, + {"matrix": [2, 13], "x": 13.5, "y": 2.25, "w": 1.5}, + {"matrix": [2, 14], "x": 15.5, "y": 2.25}, + {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.25}, + {"matrix": [3, 2], "x": 2.75, "y": 3.25}, + {"matrix": [3, 3], "x": 3.75, "y": 3.25}, + {"matrix": [3, 4], "x": 4.75, "y": 3.25}, + {"matrix": [3, 5], "x": 5.75, "y": 3.25}, + {"matrix": [3, 6], "x": 6.75, "y": 3.25}, + {"matrix": [3, 7], "x": 7.75, "y": 3.25}, + {"matrix": [3, 8], "x": 8.75, "y": 3.25}, + {"matrix": [3, 9], "x": 9.75, "y": 3.25}, + {"matrix": [3, 10], "x": 10.75, "y": 3.25}, + {"matrix": [3, 11], "x": 11.75, "y": 3.25}, + {"matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, + {"matrix": [3, 14], "x": 15.5, "y": 3.25}, + {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4.25}, + {"matrix": [4, 3], "x": 3.25, "y": 4.25}, + {"matrix": [4, 4], "x": 4.25, "y": 4.25}, + {"matrix": [4, 5], "x": 5.25, "y": 4.25}, + {"matrix": [4, 6], "x": 6.25, "y": 4.25}, + {"matrix": [4, 7], "x": 7.25, "y": 4.25}, + {"matrix": [4, 8], "x": 8.25, "y": 4.25}, + {"matrix": [4, 9], "x": 9.25, "y": 4.25}, + {"matrix": [4, 10], "x": 10.25, "y": 4.25}, + {"matrix": [4, 11], "x": 11.25, "y": 4.25}, + {"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75}, + {"matrix": [4, 13], "x": 14.25, "y": 4.5}, + {"matrix": [4, 14], "x": 15.5, "y": 4.25}, + {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25}, + {"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5.25, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5.25, "w": 1.5}, + {"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5}, + {"matrix": [5, 12], "x": 13.25, "y": 5.5}, + {"matrix": [5, 13], "x": 14.25, "y": 5.5}, + {"matrix": [5, 14], "x": 15.25, "y": 5.5} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75_hs/keymaps/default/keymap.c b/keyboards/cannonkeys/satisfaction75_hs/keymaps/default/keymap.c new file mode 100644 index 00000000000..c869bfc4b0c --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/keymaps/default/keymap.c @@ -0,0 +1,23 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ENC_PRESS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, OLED_TOGG, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLOCK_SET, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/cannonkeys/satisfaction75_hs/keymaps/via/keymap.c b/keyboards/cannonkeys/satisfaction75_hs/keymaps/via/keymap.c new file mode 100644 index 00000000000..c869bfc4b0c --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/keymaps/via/keymap.c @@ -0,0 +1,23 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ENC_PRESS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, OLED_TOGG, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLOCK_SET, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/cannonkeys/satisfaction75_hs/keymaps/via/rules.mk b/keyboards/cannonkeys/satisfaction75_hs/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/cannonkeys/satisfaction75_hs/mcuconf.h b/keyboards/cannonkeys/satisfaction75_hs/mcuconf.h new file mode 100644 index 00000000000..db8a32e7a70 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/mcuconf.h @@ -0,0 +1,24 @@ +// Copyright 2023 Andrew Kannan (@awkannan) +// SPDX-License-Identifier: GPL-2.0-or-later + +/* + * This file was auto-generated by: + * `qmk chibios-confmigrate -i keyboards/cannonkeys/satisfaction75/mcuconf.h -r platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h` + */ + +#pragma once + +#include_next + +#undef STM32_LSE_ENABLED +#define STM32_LSE_ENABLED TRUE + +#undef STM32_RTCSEL +#define STM32_RTCSEL STM32_RTCSEL_LSE + +#undef STM32_I2C_USE_I2C1 +#define STM32_I2C_USE_I2C1 TRUE + +#undef STM32_SPI_USE_SPI2 +#define STM32_SPI_USE_SPI2 TRUE + diff --git a/keyboards/cannonkeys/satisfaction75_hs/readme.md b/keyboards/cannonkeys/satisfaction75_hs/readme.md new file mode 100644 index 00000000000..41d3d8a7dbb --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/readme.md @@ -0,0 +1,20 @@ +# Satisfaction75 Hotswap + +Satisfaction75 Hotswap PCB for Satisfaction75 Keyboard + +* Keyboard Maintainer: [Andrew Kannan](https://github.com/awkannan1) +* Hardware Supported: STM32F072CBT6 + +Make example for this keyboard (after setting up your build environment): + + make cannonkeys/satisfaction75_hs: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**: Toggle the switch on the back of the pcb to "0" and briefly press the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cannonkeys/satisfaction75_hs/rules.mk b/keyboards/cannonkeys/satisfaction75_hs/rules.mk new file mode 100644 index 00000000000..25eebb90542 --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/rules.mk @@ -0,0 +1,7 @@ +# Wildcard to allow APM32 MCU +DFU_SUFFIX_ARGS = -v FFFF -p FFFF + +VPATH += keyboards/cannonkeys/lib/satisfaction75 +SRC += satisfaction_encoder.c \ + satisfaction_oled.c \ + satisfaction_core.c diff --git a/keyboards/cannonkeys/satisfaction75_hs/satisfaction75_hs.h b/keyboards/cannonkeys/satisfaction75_hs/satisfaction75_hs.h new file mode 100644 index 00000000000..d4fc7aca87d --- /dev/null +++ b/keyboards/cannonkeys/satisfaction75_hs/satisfaction75_hs.h @@ -0,0 +1,6 @@ +// Copyright 2023 Andrew Kannan +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "satisfaction_keycodes.h" \ No newline at end of file From bafbca3604e288a7dde773c74f9bf3de730e0e97 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 27 Feb 2024 12:45:46 +1100 Subject: [PATCH 017/107] Ensmallification of `helix/rev3_5rows:via`. (#23159) --- keyboards/helix/rev3_5rows/info.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/keyboards/helix/rev3_5rows/info.json b/keyboards/helix/rev3_5rows/info.json index ce1a8364f3e..57d4e11dfe5 100644 --- a/keyboards/helix/rev3_5rows/info.json +++ b/keyboards/helix/rev3_5rows/info.json @@ -103,8 +103,7 @@ "split_count": [32, 32], "animations": { "rainbow_mood": true, - "rainbow_swirl": true, - "static_gradient": true + "rainbow_swirl": true } }, "processor": "atmega32u4", From b3462157dc2fb5d029f12bf9ecc8ae1d0340e8dd Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 27 Feb 2024 12:48:11 +0000 Subject: [PATCH 018/107] Satisfaction75 post merge updates (#23158) --- .../lib/satisfaction75/satisfaction_core.c | 4 +- .../lib/satisfaction75/satisfaction_core.h | 8 +--- keyboards/cannonkeys/satisfaction75/halconf.h | 2 - keyboards/cannonkeys/satisfaction75/info.json | 1 - keyboards/cannonkeys/satisfaction75/mcuconf.h | 4 -- .../rev1/keymaps/boy_314/config.h | 3 -- .../rev1/keymaps/boy_314/keymap.c | 37 ------------------- .../rev1/keymaps/boy_314/readme.md | 3 -- .../rev1/keymaps/boy_314/rules.mk | 3 -- .../satisfaction75/rev1/keymaps/jae/keymap.c | 37 ------------------- .../cannonkeys/satisfaction75_hs/halconf.h | 2 - .../cannonkeys/satisfaction75_hs/mcuconf.h | 4 -- 12 files changed, 4 insertions(+), 104 deletions(-) delete mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h delete mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c delete mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md delete mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk delete mode 100644 keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c index ce9422c5a8e..e148ae468a6 100644 --- a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c +++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c @@ -50,7 +50,7 @@ void board_init(void) { SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_SPI2_DMA_RMP); } -void keyboard_post_init_kb(){ +void keyboard_post_init_kb(void) { /* This is a workaround to some really weird behavior Without this code, the OLED will turn on, but not when you initially plug the keyboard in. @@ -63,6 +63,8 @@ void keyboard_post_init_kb(){ oled_init(OLED_ROTATION_0); } #endif + + keyboard_post_init_user(); } #ifdef VIA_ENABLE diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h index 30caeadc38f..9c466421952 100644 --- a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h +++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h @@ -33,7 +33,7 @@ enum encoder_modes { }; enum custom_encoder_behavior { - ENC_CUSTOM_CW = 0, + ENC_CUSTOM_CW, ENC_CUSTOM_CCW, ENC_CUSTOM_PRESS }; @@ -77,12 +77,6 @@ extern int8_t month_config; extern int8_t day_config; extern uint8_t previous_encoder_mode; -// Backlighting -#ifdef BACKLIGHT_ENABLE -extern backlight_config_t kb_backlight_config; -extern bool kb_backlight_breathing; -#endif - void pre_encoder_mode_change(void); void post_encoder_mode_change(void); void change_encoder_mode(bool negative); diff --git a/keyboards/cannonkeys/satisfaction75/halconf.h b/keyboards/cannonkeys/satisfaction75/halconf.h index 3bd1495ea20..45fe60ab072 100644 --- a/keyboards/cannonkeys/satisfaction75/halconf.h +++ b/keyboards/cannonkeys/satisfaction75/halconf.h @@ -14,7 +14,5 @@ #define HAL_USE_RTC TRUE -#define HAL_USE_SPI TRUE - #include_next diff --git a/keyboards/cannonkeys/satisfaction75/info.json b/keyboards/cannonkeys/satisfaction75/info.json index 4031dae57d1..a06faccd230 100644 --- a/keyboards/cannonkeys/satisfaction75/info.json +++ b/keyboards/cannonkeys/satisfaction75/info.json @@ -4,7 +4,6 @@ "maintainer": "awkannan", "backlight": { "breathing": true, - "breathing_period": 6, "levels": 24, "pin": "A6" }, diff --git a/keyboards/cannonkeys/satisfaction75/mcuconf.h b/keyboards/cannonkeys/satisfaction75/mcuconf.h index 63801813776..2c81f2243e3 100644 --- a/keyboards/cannonkeys/satisfaction75/mcuconf.h +++ b/keyboards/cannonkeys/satisfaction75/mcuconf.h @@ -21,7 +21,3 @@ #undef STM32_PWM_USE_TIM3 #define STM32_PWM_USE_TIM3 TRUE - -#undef STM32_SPI_USE_SPI2 -#define STM32_SPI_USE_SPI2 TRUE - diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h deleted file mode 100644 index 4af97ded2b1..00000000000 --- a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define ENCODER_RESOLUTION 2 diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c deleted file mode 100644 index 256cdecd6a2..00000000000 --- a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2019 Boy_314 - -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 . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_2x2( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NO, ENC_PRESS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_END, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL, - KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_2x2( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - NK_TOGG, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______, _______, _______, _______, OLED_TOGG, - _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_HOME, KC_PGUP, _______, _______, QK_BOOT, CLOCK_SET, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_DEL, KC_END, KC_PGDN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, - _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT - ) -}; diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md deleted file mode 100644 index 65984873c47..00000000000 --- a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Boy_314's Satisfaction75 Layout - -This is Boy_314's Satisfaction75 Layout. It can be used on VIA. It features a QWERTY layout on the base, along with missing TKL keys on layer 1. Right side 3 keys from top down are: Home, End, Delete. The encoder resolution has been reduced from the default of 4 down to 2 so that it no longer needs to click twice, but now only once, before triggering an action. diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk deleted file mode 100644 index 6f45dc73ed6..00000000000 --- a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# rules.mk overrides to enable VIA - -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c b/keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c deleted file mode 100644 index 733ba8cd673..00000000000 --- a/keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, ENC_PRESS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, OLED_TOGG, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLOCK_SET, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/cannonkeys/satisfaction75_hs/halconf.h b/keyboards/cannonkeys/satisfaction75_hs/halconf.h index caeda6090b0..e4cce5cdfb9 100644 --- a/keyboards/cannonkeys/satisfaction75_hs/halconf.h +++ b/keyboards/cannonkeys/satisfaction75_hs/halconf.h @@ -12,7 +12,5 @@ #define HAL_USE_RTC TRUE -#define HAL_USE_SPI TRUE - #include_next diff --git a/keyboards/cannonkeys/satisfaction75_hs/mcuconf.h b/keyboards/cannonkeys/satisfaction75_hs/mcuconf.h index db8a32e7a70..4967f844568 100644 --- a/keyboards/cannonkeys/satisfaction75_hs/mcuconf.h +++ b/keyboards/cannonkeys/satisfaction75_hs/mcuconf.h @@ -18,7 +18,3 @@ #undef STM32_I2C_USE_I2C1 #define STM32_I2C_USE_I2C1 TRUE - -#undef STM32_SPI_USE_SPI2 -#define STM32_SPI_USE_SPI2 TRUE - From 51cfd7554a7736225daf93949e47ee17b80ee32c Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 28 Feb 2024 09:29:00 +0000 Subject: [PATCH 019/107] Merge upstream uf2conv.py changes (#23163) --- util/uf2conv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/uf2conv.py b/util/uf2conv.py index 84271cee4f6..67cf92f1691 100755 --- a/util/uf2conv.py +++ b/util/uf2conv.py @@ -30,7 +30,7 @@ def is_hex(buf): w = buf[0:30].decode("utf-8") except UnicodeDecodeError: return False - if w[0] == ':' and re.match(b"^[:0-9a-fA-F\r\n]+$", buf): + if w[0] == ':' and re.match(rb"^[:0-9a-fA-F\r\n]+$", buf): return True return False @@ -214,7 +214,7 @@ def get_drives(): "get", "DeviceID,", "VolumeName,", "FileSystem,", "DriveType"]) for line in to_str(r).split('\n'): - words = re.split('\s+', line) + words = re.split(r'\s+', line) if len(words) >= 3 and words[1] == "2" and words[2] == "FAT": drives.append(words[0]) else: @@ -243,7 +243,7 @@ def get_drives(): def board_id(path): with open(path + INFO_FILE, mode='r') as file: file_content = file.read() - return re.search("Board-ID: ([^\r\n]*)", file_content).group(1) + return re.search(r"Board-ID: ([^\r\n]*)", file_content).group(1) def list_drives(): From 29891b63f96f12971fff23cceb70f9be47a6845d Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 28 Feb 2024 21:03:43 +1100 Subject: [PATCH 020/107] Update Atmel DFU driver assignments for dfu-programmer 1.x (#23165) --- docs/driver_installation_zadig.md | 14 +++++++------- util/drivers.txt | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/driver_installation_zadig.md b/docs/driver_installation_zadig.md index 3b2c0b74dc4..0440d6a4aa5 100644 --- a/docs/driver_installation_zadig.md +++ b/docs/driver_installation_zadig.md @@ -70,13 +70,13 @@ The device name here is the name that appears in Zadig, and may not be what the |Bootloader |Device Name |VID/PID |Driver | |--------------|------------------------------|--------------|-------| -|`atmel-dfu` |ATmega16u2 DFU |`03EB:2FEF` |libusb0| -|`atmel-dfu` |ATmega32U2 DFU |`03EB:2FF0` |libusb0| -|`atmel-dfu` |ATm16U4 DFU V1.0.2 |`03EB:2FF3` |libusb0| -|`atmel-dfu` |ATm32U4DFU |`03EB:2FF4` |libusb0| -|`atmel-dfu` |*none* (AT90USB64) |`03EB:2FF9` |libusb0| -|`atmel-dfu` |AT90USB128 DFU |`03EB:2FFB` |libusb0| -|`qmk-dfu` |(keyboard name) Bootloader |As `atmel-dfu`|libusb0| +|`atmel-dfu` |ATmega16u2 DFU |`03EB:2FEF` |WinUSB | +|`atmel-dfu` |ATmega32U2 DFU |`03EB:2FF0` |WinUSB | +|`atmel-dfu` |ATm16U4 DFU V1.0.2 |`03EB:2FF3` |WinUSB | +|`atmel-dfu` |ATm32U4DFU |`03EB:2FF4` |WinUSB | +|`atmel-dfu` |*none* (AT90USB64) |`03EB:2FF9` |WinUSB | +|`atmel-dfu` |AT90USB128 DFU |`03EB:2FFB` |WinUSB | +|`qmk-dfu` |(keyboard name) Bootloader |As `atmel-dfu`|WinUSB | |`halfkay` |*none* |`16C0:0478` |HidUsb | |`caterina` |Pro Micro 3.3V |`1B4F:9203` |usbser | |`caterina` |Pro Micro 5V |`1B4F:9205` |usbser | diff --git a/util/drivers.txt b/util/drivers.txt index 1f6c67c4c5f..e8ed7bdb0b1 100644 --- a/util/drivers.txt +++ b/util/drivers.txt @@ -8,10 +8,10 @@ winusb,APM32 Bootloader,314B,0106,9ff3cc31-6772-4a3f-a492-a80d91f7a853 winusb,STM32duino Bootloader,1EAF,0003,746915ec-99d8-4a90-a722-3c85ba31e4fe libusbk,USBaspLoader,16C0,05DC,e69affdc-0ef0-427c-aefb-4e593c9d2724 winusb,Kiibohd DFU Bootloader,1C11,B007,aa5a3f86-b81e-4416-89ad-0c1ea1ed63af -libusb,ATmega16U2,03EB,2FEF,007274da-b75f-492e-a288-8fc0aff8339f -libusb,ATmega32U2,03EB,2FF0,ddc2c572-cb6e-4f61-a6cc-1a5de941f063 -libusb,ATmega16U4,03EB,2FF3,3180d426-bf93-4578-a693-2efbc337da8e -libusb,ATmega32U4,03EB,2FF4,5f9726fd-f9de-487a-9fbd-8b3524a7a56a -libusb,AT90USB64,03EB,2FF9,c6a708ad-e97d-43cd-b04a-3180d737a71b -libusb,AT90USB162,03EB,2FFA,ef8546f0-ef09-4e7c-8fc2-ffbae1dcd84a -libusb,AT90USB128,03EB,2FFB,fd217df3-59d0-440a-a8f3-4c0c8c84daa3 +winusb,ATmega16U2,03EB,2FEF,007274da-b75f-492e-a288-8fc0aff8339f +winusb,ATmega32U2,03EB,2FF0,ddc2c572-cb6e-4f61-a6cc-1a5de941f063 +winusb,ATmega16U4,03EB,2FF3,3180d426-bf93-4578-a693-2efbc337da8e +winusb,ATmega32U4,03EB,2FF4,5f9726fd-f9de-487a-9fbd-8b3524a7a56a +winusb,AT90USB64,03EB,2FF9,c6a708ad-e97d-43cd-b04a-3180d737a71b +winusb,AT90USB162,03EB,2FFA,ef8546f0-ef09-4e7c-8fc2-ffbae1dcd84a +winusb,AT90USB128,03EB,2FFB,fd217df3-59d0-440a-a8f3-4c0c8c84daa3 From dc046bc2158ee1a80a9561db9de27881990d3b2b Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Wed, 28 Feb 2024 21:39:19 +1100 Subject: [PATCH 021/107] 2024q1 `develop` changelog. (#23150) --- docs/ChangeLog/20240225.md | 367 +++++++++++++++++++++++++++++++ docs/_summary.md | 2 +- docs/breaking_changes.md | 22 +- docs/breaking_changes_history.md | 1 + 4 files changed, 380 insertions(+), 12 deletions(-) create mode 100644 docs/ChangeLog/20240225.md diff --git a/docs/ChangeLog/20240225.md b/docs/ChangeLog/20240225.md new file mode 100644 index 00000000000..779b7784900 --- /dev/null +++ b/docs/ChangeLog/20240225.md @@ -0,0 +1,367 @@ +# QMK Breaking Changes - 2024 February 25 Changelog + +## Notable Features :id=notable-features + +_0.24.0_ is mainly a maintenance release of QMK Firmware -- as per last few breaking changes cycles, there have been a lot of behind-the-scenes changes, mainly: + +* continued purge of user keymaps +* migration of RGB matrix configuration into `info.json` files +* standardisation of `LAYOUT` naming +* keyboard relocations +* addressing technical debt + +## Changes Requiring User Action :id=changes-requiring-user-action + +### Windows Driver Changes ([QMK Toolbox 0.3.0 Release](https://github.com/qmk/qmk_toolbox/releases/tag/0.3.0)) + +Flashing keyboards that target `atmel-dfu` or `qmk-dfu` on Windows using `qmk flash` or QMK Toolbox have traditionally used _libusb_ for access to the DFU USB device. Since QMK Toolbox 0.3.0, this has changed to WinUSB. + +If you update QMK Toolbox or update QMK MSYS, you may find that flashing Atmel DFU keyboards no longer functions as intended. If you strike such issues when flashing new firmware, you will need to replace the _libusb_ driver with _WinUSB_ using Zadig. You can follow the [Recovering from Installation to Wrong Device](driver_installation_zadig.md#recovering-from-installation-to-wrong-device) instructions to replace the driver associated with the Atmel DFU bootloader, skipping the section about removal as Zadig will safely replace the driver instead. Please ensure your keyboard is in bootloader mode and has _libusb_ as the existing driver before attempting to use Zadig to replace the driver. If instead you see _HidUsb_ you're not in bootloader mode and should not continue with driver replacement. + +### Updated Keyboard Codebases :id=updated-keyboard-codebases + +One note with updated keyboard names -- historical keyboard names are still considered valid when using [External Userspace](newbs_external_userspace.md) for builds. If you're already using External Userspace, you do not need to move your keymap inside your repository. + +| Old Keyboard Name | New Keyboard Name | +|-------------------------|---------------------------------| +| enter67 | kezewa/enter67 | +| enter80 | kezewa/enter80 | +| epoch80 | kbdfans/epoch80 | +| eu_isolation | p3d/eu_isolation | +| flygone60/rev3 | shandoncodes/flygone60/rev3 | +| hub16 | joshajohnson/hub16 | +| hub20 | joshajohnson/hub20 | +| jm60 | kbdfans/jm60 | +| kira75 | kira/kira75 | +| kira80 | kira/kira80 | +| kmac | kbdmania/kmac | +| kmac_pad | kbdmania/kmac_pad | +| kudox/columner | kumaokobo/kudox/columner | +| kudox/rev1 | kumaokobo/kudox/rev1 | +| kudox/rev2 | kumaokobo/kudox/rev2 | +| kudox/rev3 | kumaokobo/kudox/rev3 | +| kudox_full/rev1 | kumaokobo/kudox_full/rev1 | +| kudox_game | kumaokobo/kudox_game | +| kudox_game/rev1 | kumaokobo/kudox_game/rev1 | +| kudox_game/rev2 | kumaokobo/kudox_game/rev2 | +| laser_ninja/pumpkin_pad | laser_ninja/pumpkinpad | +| late9/rev1 | rookiebwoy/late9/rev1 | +| lefty | smoll/lefty | +| lefty/rev1 | smoll/lefty/rev1 | +| lefty/rev2 | smoll/lefty/rev2 | +| lpad | laneware/lpad | +| lw67 | laneware/lw67 | +| lw75 | laneware/lw75 | +| macro1 | laneware/macro1 | +| macro3 | handwired/macro3 | +| miniaxe | kagizaraya/miniaxe | +| mino/hotswap | shandoncodes/mino/hotswap | +| mino_plus/hotswap | shandoncodes/mino_plus/hotswap | +| mino_plus/soldered | shandoncodes/mino_plus/soldered | +| mnk1800s | monokei/mnk1800s | +| mnk50 | monokei/mnk50 | +| mnk75 | monokei/mnk75 | +| moonlander | zsa/moonlander | +| neopad/rev1 | rookiebwoy/neopad/rev1 | +| pico/65keys | kumaokobo/pico/65keys | +| pico/70keys | kumaokobo/pico/70keys | +| pw88 | smoll/pw88 | +| q4z | p3d/q4z | +| raindrop | laneware/raindrop | +| redox_w | redox/wireless | +| riot_pad | shandoncodes/riot_pad | +| spacey | p3d/spacey | +| synapse | p3d/synapse | +| tw40 | p3d/tw40 | +| w1_at | geonworks/w1_at | +| z12 | zigotica/z12 | +| z34 | zigotica/z34 | + +## Notable core changes :id=notable-core + +### Renaming Arduino-style GPIO pin functions ([#23085](https://github.com/qmk/qmk_firmware/pull/23085), [#23093](https://github.com/qmk/qmk_firmware/pull/23093)) :id=gpio-rename + +QMK has long used Arduino-style GPIO naming conventions. This has been confusing for users, as over time they've had new variations added, as well as users mistakenly thinking that QMK supports the rest of the Arduino ecosystem. + +The decision was made to rename the GPIO manipulation functions with ones matching QMK Firmware's code styling. + +| Old | New | +|------------------------------|---------------------------------------| +| `setPinInput(pin)` | `gpio_set_pin_input(pin)` | +| `setPinInputHigh(pin)` | `gpio_set_pin_input_high(pin)` | +| `setPinInputLow(pin)` | `gpio_set_pin_input_low(pin)` | +| `setPinOutput(pin)` | `gpio_set_pin_output(pin)` | +| `setPinOutputPushPull(pin)` | `gpio_set_pin_output_push_pull(pin)` | +| `setPinOutputOpenDrain(pin)` | `gpio_set_pin_output_open_drain(pin)` | +| `writePinHigh(pin)` | `gpio_write_pin_high(pin)` | +| `writePinLow(pin)` | `gpio_write_pin_low(pin)` | +| `writePin(pin, level)` | `gpio_write_pin(pin, level)` | +| `readPin(pin)` | `gpio_read_pin(pin)` | +| `togglePin(pin)` | `gpio_toggle_pin(pin)` | + +### I2C driver API Changes ([#22905](https://github.com/qmk/qmk_firmware/pull/22905)) + +Much like the GPIO refactoring, I2C APIs were also updated to conform to QMK naming standards. This is largely irrelevant to people using subsystem abstractions such as touchpads or RGB lighting, and only affects people manually communicating with other peripherals. + +| Old API | New API | +|--------------------|--------------------------| +| `i2c_readReg()` | `i2c_read_register()` | +| `i2c_readReg16()` | `i2c_read_register16()` | +| `i2c_writeReg()` | `i2c_write_register()` | +| `i2c_writeReg16()` | `i2c_write_register16()` | + +### Renaming _Bootmagic Lite_ => _Bootmagic_ ([#22970](https://github.com/qmk/qmk_firmware/pull/22970), [#22979](https://github.com/qmk/qmk_firmware/pull/22979)) :id=bootmagic-rename + +Bootmagic "Lite" had no real meaning once the historical Bootmagic "Full" was deprecated and removed. Any references to _Bootmagic Lite_ should now just refer to _Bootmagic_. We hope we got the majority of the code and the documentation, so if you find any more, let us know! + +### Threshold for automatic mouse layer activation ([#21398](https://github.com/qmk/qmk_firmware/pull/21398)) :id=auto-mouse-layer + +In some cases, accidental automatic activation of the mouse layer made it difficult to continue typing, such as when brushing across a trackball. `AUTO_MOUSE_THRESHOLD` is now a configurable option in `config.h` which allows for specifying what the movement threshold is before automatically activating the mouse layer. + +### DIP Switch Mapping ([#22543](https://github.com/qmk/qmk_firmware/pull/22543)) :id=dip-switch-map + +Much like Encoder Mapping, DIP Switch Mapping allows for specifying a table of actions to execute when a DIP switch state changes. See the [DIP Switch Documentation](feature_dip_switch.md#dip-switch-map) for more information. + +```c +#if defined(DIP_SWITCH_MAP_ENABLE) +const uint16_t PROGMEM dip_switch_map[NUM_DIP_SWITCHES][NUM_DIP_STATES] = { + DIP_SWITCH_OFF_ON(DF(0), DF(1)), + DIP_SWITCH_OFF_ON(EC_NORM, EC_SWAP) +}; +#endif +``` + +### Quantum Painter updates ([#18521](https://github.com/qmk/qmk_firmware/pull/18521), [#20645](https://github.com/qmk/qmk_firmware/pull/20645), [#22358](https://github.com/qmk/qmk_firmware/pull/22358)) :id=qp-updates + +Quantum Painter picked up support for the following: + +* ILI9486 displays +* SSD1306 displays, including smaller OLEDs +* Native panel pixel format support for fonts + +Quantum Painter now supports the majority of common OLED panels supported by the basic OLED driver, so if you're using an ARM-based board you may find Quantum Painter a much more feature-rich API in comparison. + +## Full changelist :id=full-changelist + +Core: +* [Driver] ILI9486 on Quantum Painter ([#18521](https://github.com/qmk/qmk_firmware/pull/18521)) +* Insert delay between shifted chars in send_string_with_delay ([#19280](https://github.com/qmk/qmk_firmware/pull/19280)) +* [QP] Native palette support for fonts ([#20645](https://github.com/qmk/qmk_firmware/pull/20645)) +* I2C driver cleanup ([#21273](https://github.com/qmk/qmk_firmware/pull/21273)) +* Add option for auto mouse movement threshold ([#21398](https://github.com/qmk/qmk_firmware/pull/21398)) +* Add Canadian French input locale ([#21456](https://github.com/qmk/qmk_firmware/pull/21456)) +* Add encoder abstraction. ([#21548](https://github.com/qmk/qmk_firmware/pull/21548)) +* Converted RGB matrix to use last_input_activity_elapsed(). ([#21687](https://github.com/qmk/qmk_firmware/pull/21687)) +* Ignore space cadet key release when caps word is active ([#21721](https://github.com/qmk/qmk_firmware/pull/21721)) +* Add OS detection callbacks ([#21777](https://github.com/qmk/qmk_firmware/pull/21777)) +* joystick weights ([#21883](https://github.com/qmk/qmk_firmware/pull/21883)) +* Add RGB matrix & LED Matrix support for IS31FL3729 ([#21944](https://github.com/qmk/qmk_firmware/pull/21944)) +* dac_additive: Decouple the buffer length from the waveform length ([#22276](https://github.com/qmk/qmk_firmware/pull/22276)) +* Add missing rgb matrix default parameters ([#22281](https://github.com/qmk/qmk_firmware/pull/22281)) +* Remove console out endpoint ([#22304](https://github.com/qmk/qmk_firmware/pull/22304)) +* Add ADC support STM32L4xx and STM32G4xx series MCUs ([#22341](https://github.com/qmk/qmk_firmware/pull/22341)) +* Add QP support for smaller OLED displays and SSD1306 ([#22358](https://github.com/qmk/qmk_firmware/pull/22358)) +* Add Imera converter ([#22419](https://github.com/qmk/qmk_firmware/pull/22419)) +* LED drivers: refactor page selection ([#22518](https://github.com/qmk/qmk_firmware/pull/22518)) +* Rework RGBLight driver system ([#22529](https://github.com/qmk/qmk_firmware/pull/22529)) +* Add `APA102_LED_COUNT` define ([#22530](https://github.com/qmk/qmk_firmware/pull/22530)) +* Add latam spanish headers ([#22542](https://github.com/qmk/qmk_firmware/pull/22542)) +* Keymap introspection for Dip Switches ([#22543](https://github.com/qmk/qmk_firmware/pull/22543)) +* Add basic presence check for cirque trackpad. ([#22546](https://github.com/qmk/qmk_firmware/pull/22546)) +* Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` ([#22570](https://github.com/qmk/qmk_firmware/pull/22570)) +* LED drivers: change "TWI" to "I2C" ([#22617](https://github.com/qmk/qmk_firmware/pull/22617)) +* LED drivers: extract IS31FL3742A from IS31COMMON ([#22620](https://github.com/qmk/qmk_firmware/pull/22620)) +* Align Dip Switch feature ([#22625](https://github.com/qmk/qmk_firmware/pull/22625)) +* LED/RGB Matrix: add header for drivers ([#22628](https://github.com/qmk/qmk_firmware/pull/22628)) +* LED drivers: extract IS31FL3743A from IS31COMMON ([#22635](https://github.com/qmk/qmk_firmware/pull/22635)) +* LED drivers: extract IS31FL3745 from IS31COMMON ([#22636](https://github.com/qmk/qmk_firmware/pull/22636)) +* LED drivers: extract IS31FL3746A from IS31COMMON ([#22637](https://github.com/qmk/qmk_firmware/pull/22637)) +* Update keyboard LED driver configs ([#22638](https://github.com/qmk/qmk_firmware/pull/22638)) +* Solid reactive: improve fading effect ([#22656](https://github.com/qmk/qmk_firmware/pull/22656)) +* Remove redundant RGB/LED matrix eeconfig init ([#22673](https://github.com/qmk/qmk_firmware/pull/22673)) +* Remove redundant rgblight eeconfig init ([#22674](https://github.com/qmk/qmk_firmware/pull/22674)) +* Remove redundant steno eeconfig init ([#22680](https://github.com/qmk/qmk_firmware/pull/22680)) +* Rename `LED_DISABLE_WHEN_USB_SUSPENDED` -> `LED_MATRIX_SLEEP` ([#22681](https://github.com/qmk/qmk_firmware/pull/22681)) +* Rename `RGB_DISABLE_WHEN_USB_SUSPENDED` -> `RGB_MATRIX_SLEEP` ([#22682](https://github.com/qmk/qmk_firmware/pull/22682)) +* Align VUSB suspend protocol logic ([#22688](https://github.com/qmk/qmk_firmware/pull/22688)) +* [Audio] Enable Complementary output for PWM Hardware driver ([#22726](https://github.com/qmk/qmk_firmware/pull/22726)) +* Remove redundant audio eeconfig init ([#22736](https://github.com/qmk/qmk_firmware/pull/22736)) +* Align location of tap dance keycode ([#22742](https://github.com/qmk/qmk_firmware/pull/22742)) +* Align `SPLIT_HAND_MATRIX_GRID` left/right logic with `SPLIT_HAND_PIN` ([#22775](https://github.com/qmk/qmk_firmware/pull/22775)) +* [CI] Regenerate Files ([#22795](https://github.com/qmk/qmk_firmware/pull/22795)) +* Remove IS31FLCOMMON code ([#22800](https://github.com/qmk/qmk_firmware/pull/22800)) +* Cirque reachable calibration aide ([#22803](https://github.com/qmk/qmk_firmware/pull/22803)) +* LED drivers: rename "simple" to "mono" ([#22814](https://github.com/qmk/qmk_firmware/pull/22814)) +* is31fl3733: change `write_register()` return type to `void` ([#22824](https://github.com/qmk/qmk_firmware/pull/22824)) +* snled27351: change `write_register()` return type to `void` ([#22825](https://github.com/qmk/qmk_firmware/pull/22825)) +* apa102: cleanups ([#22826](https://github.com/qmk/qmk_firmware/pull/22826)) +* Remove PWM advanced check for WS2812 driver ([#22830](https://github.com/qmk/qmk_firmware/pull/22830)) +* Allow ChibiOS `SIO` driver for `UART` driver ([#22839](https://github.com/qmk/qmk_firmware/pull/22839)) +* LED drivers: more formatting ([#22865](https://github.com/qmk/qmk_firmware/pull/22865)) +* LED drivers: change `write_pwm_buffer()` return type to `void` ([#22869](https://github.com/qmk/qmk_firmware/pull/22869)) +* [CI] Regenerate Files ([#22872](https://github.com/qmk/qmk_firmware/pull/22872)) +* LED drivers: switch to i2c_writeReg() ([#22878](https://github.com/qmk/qmk_firmware/pull/22878)) +* LED drivers: remove `write_pwm_buffer()` from public API ([#22884](https://github.com/qmk/qmk_firmware/pull/22884)) +* i2c: rename read/write register functions ([#22905](https://github.com/qmk/qmk_firmware/pull/22905)) +* LED drivers: update I2C API usage ([#22951](https://github.com/qmk/qmk_firmware/pull/22951)) +* LED drivers: create structs to hold PWM/scaling buffers ([#22955](https://github.com/qmk/qmk_firmware/pull/22955)) +* Migrate and remove deprecated debug utils ([#22961](https://github.com/qmk/qmk_firmware/pull/22961)) +* Remove call to removed i2c function in azoteq driver ([#22966](https://github.com/qmk/qmk_firmware/pull/22966)) +* Tidy up print/debug logging headers ([#22969](https://github.com/qmk/qmk_firmware/pull/22969)) +* Begin removal of bootmagic lite terminology ([#22970](https://github.com/qmk/qmk_firmware/pull/22970)) +* LED drivers: place I2C addresses into an array ([#22975](https://github.com/qmk/qmk_firmware/pull/22975)) +* Removal of bootmagic lite terminology ([#22979](https://github.com/qmk/qmk_firmware/pull/22979)) +* Init pins for Analog Joystick sensor ([#22985](https://github.com/qmk/qmk_firmware/pull/22985)) +* Workaround for G431 eeprom emulation ([#23002](https://github.com/qmk/qmk_firmware/pull/23002)) +* is31fl3741: split PWM and scaling buffers ([#23049](https://github.com/qmk/qmk_firmware/pull/23049)) +* LED drivers: update PWM register defines for `g__leds` ([#23052](https://github.com/qmk/qmk_firmware/pull/23052)) +* LED drivers: add support for shutdown pin ([#23058](https://github.com/qmk/qmk_firmware/pull/23058)) +* AW20216S: combine EN pin defines ([#23067](https://github.com/qmk/qmk_firmware/pull/23067)) +* Update naming convention for GPIO control macros ([#23085](https://github.com/qmk/qmk_firmware/pull/23085)) +* Update GPIO macro usages in core ([#23093](https://github.com/qmk/qmk_firmware/pull/23093)) +* OS Detection - Entire file should not be wrapped with ifdef ([#23108](https://github.com/qmk/qmk_firmware/pull/23108)) +* IS31FL3729 updates ([#23109](https://github.com/qmk/qmk_firmware/pull/23109)) +* Nix shell updates (Nixpkgs 2024-02-23, QMK CLI 1.1.5) ([#23143](https://github.com/qmk/qmk_firmware/pull/23143)) + +CLI: +* [Refactor] `qmk find` ([#21096](https://github.com/qmk/qmk_firmware/pull/21096)) +* [Refactor] Break `QGFImageFile`'s `_save` function into smaller pieces ([#21124](https://github.com/qmk/qmk_firmware/pull/21124)) +* [Enhancement] Prepare for `SyntaxWarning` ([#22562](https://github.com/qmk/qmk_firmware/pull/22562)) +* Flag invalid keyboard features during lint ([#22832](https://github.com/qmk/qmk_firmware/pull/22832)) + +Submodule updates: +* chore(chibios-contrib): sync with chibios-21.11.x ([#22560](https://github.com/qmk/qmk_firmware/pull/22560)) + +Keyboards: +* Move `redox_w` into `redox` ([#21448](https://github.com/qmk/qmk_firmware/pull/21448)) +* null ST110R2.1 (SaikouType) basic support with layouts ([#21623](https://github.com/qmk/qmk_firmware/pull/21623)) +* New keyboard addition: Orthograph ([#21770](https://github.com/qmk/qmk_firmware/pull/21770)) +* Add Olly JF Rev.2 ([#21775](https://github.com/qmk/qmk_firmware/pull/21775)) +* Cleanup Satisfaction75 Firmware and add new revisions ([#22082](https://github.com/qmk/qmk_firmware/pull/22082)) +* Migrate dynamic_keymap.layer_count < 4 where requried ([#22091](https://github.com/qmk/qmk_firmware/pull/22091)) +* Bastard Keyboards: Add support for Dilemma v2 (3x5+3) ([#22185](https://github.com/qmk/qmk_firmware/pull/22185)) +* Karn: correct layout data ([#22201](https://github.com/qmk/qmk_firmware/pull/22201)) +* zk3mod : added OLED ([#22303](https://github.com/qmk/qmk_firmware/pull/22303)) +* Adds support for the Iron180 V2 PCBs ([#22314](https://github.com/qmk/qmk_firmware/pull/22314)) +* Add 5x13 and 6x13 ortho community layouts ([#22315](https://github.com/qmk/qmk_firmware/pull/22315)) +* Cipulot refactoring ([#22368](https://github.com/qmk/qmk_firmware/pull/22368)) +* Remove era/klein ([#22384](https://github.com/qmk/qmk_firmware/pull/22384)) +* consolidate firmware folder in smoll parent folder ([#22401](https://github.com/qmk/qmk_firmware/pull/22401)) +* `keycapsss/plaid_pad`: switch to encoder map ([#22474](https://github.com/qmk/qmk_firmware/pull/22474)) +* Add EE-AT and move W1-AT under geonworks ([#22526](https://github.com/qmk/qmk_firmware/pull/22526)) +* refactor: projectcain/vault35 ([#22558](https://github.com/qmk/qmk_firmware/pull/22558)) +* Update Q5 ([#22575](https://github.com/qmk/qmk_firmware/pull/22575)) +* Update Q7 ([#22577](https://github.com/qmk/qmk_firmware/pull/22577)) +* Update Q8 ([#22578](https://github.com/qmk/qmk_firmware/pull/22578)) +* Update Q9 ([#22579](https://github.com/qmk/qmk_firmware/pull/22579)) +* Remove "empty" files ([#22603](https://github.com/qmk/qmk_firmware/pull/22603)) +* Rename Pumpkin Pad to Pumkinpad ([#22651](https://github.com/qmk/qmk_firmware/pull/22651)) +* Noodlepad Additions and Updates ([#22701](https://github.com/qmk/qmk_firmware/pull/22701)) +* Refactor: move miniaxe into kagizaraya ([#22708](https://github.com/qmk/qmk_firmware/pull/22708)) +* Refactor: move keyboards into zigotica folder ([#22709](https://github.com/qmk/qmk_firmware/pull/22709)) +* Refactor: move keyboards into laneware folder ([#22710](https://github.com/qmk/qmk_firmware/pull/22710)) +* Refactor: move keyboards into kezewa ([#22712](https://github.com/qmk/qmk_firmware/pull/22712)) +* Refactor: move keyboards into kbdmania folder ([#22714](https://github.com/qmk/qmk_firmware/pull/22714)) +* Refactor: move keyboards into monokei folder ([#22715](https://github.com/qmk/qmk_firmware/pull/22715)) +* Refactor: move keyboards into kumaokobo ([#22719](https://github.com/qmk/qmk_firmware/pull/22719)) +* Updating NCC1701KB and adding via support ([#22721](https://github.com/qmk/qmk_firmware/pull/22721)) +* Move Moonlander to ZSA folder ([#22740](https://github.com/qmk/qmk_firmware/pull/22740)) +* Refactor: group shandoncodes keyboards ([#22743](https://github.com/qmk/qmk_firmware/pull/22743)) +* Refactor: group rookiebwoy keyboards ([#22745](https://github.com/qmk/qmk_firmware/pull/22745)) +* Default folder correction for kumaokobo ([#22750](https://github.com/qmk/qmk_firmware/pull/22750)) +* Default folder correction for rookiebwoy ([#22753](https://github.com/qmk/qmk_firmware/pull/22753)) +* Refactor: move macro3 into handwired folder ([#22759](https://github.com/qmk/qmk_firmware/pull/22759)) +* Refactor: group kira keyboards ([#22760](https://github.com/qmk/qmk_firmware/pull/22760)) +* Refactor: group hub keyboards ([#22762](https://github.com/qmk/qmk_firmware/pull/22762)) +* Refactor: move p3d keyboards ([#22763](https://github.com/qmk/qmk_firmware/pull/22763)) +* Refactor: group kbdfans keyboards ([#22764](https://github.com/qmk/qmk_firmware/pull/22764)) +* Remove incorrect use of WS2812_PIO_USE_PIO1 ([#22771](https://github.com/qmk/qmk_firmware/pull/22771)) +* Migrate LED Matrix config to info.json ([#22792](https://github.com/qmk/qmk_firmware/pull/22792)) +* Migrate RGB Matrix config to info.json - [0-9] ([#22797](https://github.com/qmk/qmk_firmware/pull/22797)) +* Migrate RGB Matrix config to info.json - A ([#22798](https://github.com/qmk/qmk_firmware/pull/22798)) +* Late9 keymaps update, added VIA support ([#22801](https://github.com/qmk/qmk_firmware/pull/22801)) +* Migrate RGB Matrix config to info.json - B ([#22806](https://github.com/qmk/qmk_firmware/pull/22806)) +* Migrate RGB Matrix config to info.json - C ([#22807](https://github.com/qmk/qmk_firmware/pull/22807)) +* Migrate RGB Matrix config to info.json - EF ([#22808](https://github.com/qmk/qmk_firmware/pull/22808)) +* Migrate RGB Matrix config to info.json - D ([#22811](https://github.com/qmk/qmk_firmware/pull/22811)) +* H87g2 updates ([#22819](https://github.com/qmk/qmk_firmware/pull/22819)) +* WT boards: extract `g_is31fl3736_leds` from wt_mono_backlight ([#22823](https://github.com/qmk/qmk_firmware/pull/22823)) +* Migrate RGB Matrix config to info.json - G ([#22859](https://github.com/qmk/qmk_firmware/pull/22859)) +* Use existing columns for 3x5 layout ([#22860](https://github.com/qmk/qmk_firmware/pull/22860)) +* Migrate RGB Matrix config to info.json - H ([#22861](https://github.com/qmk/qmk_firmware/pull/22861)) +* Migrate RGB Matrix config to info.json - J ([#22862](https://github.com/qmk/qmk_firmware/pull/22862)) +* Migrate RGB Matrix config to info.json - I ([#22863](https://github.com/qmk/qmk_firmware/pull/22863)) +* Migrate RGB Matrix config to info.json - L ([#22864](https://github.com/qmk/qmk_firmware/pull/22864)) +* Migrate RGB Matrix config to info.json - NOPQ ([#22866](https://github.com/qmk/qmk_firmware/pull/22866)) +* Migrate RGB Matrix config to info.json - XZY ([#22879](https://github.com/qmk/qmk_firmware/pull/22879)) +* Zed65/no_backlight/cor65 correct data layout ([#22898](https://github.com/qmk/qmk_firmware/pull/22898)) +* Migrate RGB Matrix config to info.json - M ([#22908](https://github.com/qmk/qmk_firmware/pull/22908)) +* Migrate RGB Matrix config to info.json - RS ([#22909](https://github.com/qmk/qmk_firmware/pull/22909)) +* Migrate RGB Matrix config to info.json - TUVW ([#22910](https://github.com/qmk/qmk_firmware/pull/22910)) +* Migrate RGB Matrix config to info.json - K ([#22911](https://github.com/qmk/qmk_firmware/pull/22911)) +* Remove `LAYOUTS_HAS_RGB` ([#22917](https://github.com/qmk/qmk_firmware/pull/22917)) +* Migrate lighting defaults to info.json ([#22920](https://github.com/qmk/qmk_firmware/pull/22920)) +* Ensure LTO is enabled as a `info.json` build config option ([#22932](https://github.com/qmk/qmk_firmware/pull/22932)) +* refactor(keyboard): quokka ([#22942](https://github.com/qmk/qmk_firmware/pull/22942)) +* Sango Keyboard ([#22971](https://github.com/qmk/qmk_firmware/pull/22971)) +* Add FS streampad ([#22991](https://github.com/qmk/qmk_firmware/pull/22991)) +* Remove always enabled effects from lighting animation list ([#22992](https://github.com/qmk/qmk_firmware/pull/22992)) +* Migrate RGB Matrix config to info.json - keychron ([#22998](https://github.com/qmk/qmk_firmware/pull/22998)) +* Migrate RGB Matrix config to info.json - Misc ([#23000](https://github.com/qmk/qmk_firmware/pull/23000)) +* Remove ee_hands config from ferris/sweep firmware ([#23029](https://github.com/qmk/qmk_firmware/pull/23029)) +* Migrate dip switch config to info.json - keychron ([#23037](https://github.com/qmk/qmk_firmware/pull/23037)) +* [unicorne] Add a layout alias ([#23056](https://github.com/qmk/qmk_firmware/pull/23056)) +* nacly/sodium62: Update vid, pid, and add via keymap ([#23063](https://github.com/qmk/qmk_firmware/pull/23063)) +* LED drivers: update keyboard LED configs ([#23073](https://github.com/qmk/qmk_firmware/pull/23073)) +* Remove invalid keyboard level features ([#23074](https://github.com/qmk/qmk_firmware/pull/23074)) +* Migrate WEAR_LEVELING_* to info.json ([#23077](https://github.com/qmk/qmk_firmware/pull/23077)) +* [Keymap Removal] keyboard with most keymaps ([#23081](https://github.com/qmk/qmk_firmware/pull/23081)) +* Remove obvious user keymaps, keyboards/{v,x,y,z}* edition. ([#23083](https://github.com/qmk/qmk_firmware/pull/23083)) +* Remove obvious user keymaps, keyboards/{s,t}* edition. ([#23084](https://github.com/qmk/qmk_firmware/pull/23084)) +* [Keymap Removal] keyboard with most keymaps ([#23092](https://github.com/qmk/qmk_firmware/pull/23092)) +* Fiuxup takashicompany/heavy_left ([#23094](https://github.com/qmk/qmk_firmware/pull/23094)) +* Remove obvious user keymaps, keyboards/{i,j,k}* edition ([#23102](https://github.com/qmk/qmk_firmware/pull/23102)) +* Manual user keymap removal ([#23104](https://github.com/qmk/qmk_firmware/pull/23104)) +* Manual user keymap removal ([#23119](https://github.com/qmk/qmk_firmware/pull/23119)) +* Migrate `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` in remaining non-user keymaps ([#23128](https://github.com/qmk/qmk_firmware/pull/23128)) + +Keyboard fixes: +* Fix VID and PID for AnnePro2 ([#22263](https://github.com/qmk/qmk_firmware/pull/22263)) +* fix(kikoslab/kl90): Fix firmware to support encoder knobs properly ([#22649](https://github.com/qmk/qmk_firmware/pull/22649)) +* fix: improper usage of keyboard/user-level functions ([#22652](https://github.com/qmk/qmk_firmware/pull/22652)) +* Temporary fix for mechlovin/olly/octagon ([#22796](https://github.com/qmk/qmk_firmware/pull/22796)) +* Keychron Q11 usb poweron fix ([#22799](https://github.com/qmk/qmk_firmware/pull/22799)) +* capsunlocked/cu80/v2: Fix invalid RGB matrix config ([#22873](https://github.com/qmk/qmk_firmware/pull/22873)) +* Fix typo in Redox config ([#22899](https://github.com/qmk/qmk_firmware/pull/22899)) +* Fixup doio/kb16 ([#22921](https://github.com/qmk/qmk_firmware/pull/22921)) +* Fixup takashicompany/minizone ([#22922](https://github.com/qmk/qmk_firmware/pull/22922)) +* Fixup sofle ([#22934](https://github.com/qmk/qmk_firmware/pull/22934)) +* Fix Issue with RGB Matrix not understanding the split keyboard ([#22997](https://github.com/qmk/qmk_firmware/pull/22997)) +* Fixup sawnsprojects/krush60 ([#23095](https://github.com/qmk/qmk_firmware/pull/23095)) +* Fixup kbd67/rev1 ([#23096](https://github.com/qmk/qmk_firmware/pull/23096)) +* Fixup boardsource/equals ([#23106](https://github.com/qmk/qmk_firmware/pull/23106)) +* Fixup inett_studio/sq80 ([#23121](https://github.com/qmk/qmk_firmware/pull/23121)) +* Add LED/RGB Matrix drivers to info.json schema ([#23127](https://github.com/qmk/qmk_firmware/pull/23127)) +* Fix for multiple AMUX usage ([#23155](https://github.com/qmk/qmk_firmware/pull/23155)) + +Bugs: +* MIDI sustain effect fix on qmk 0.22.2 ([#22114](https://github.com/qmk/qmk_firmware/pull/22114)) +* Prevent `qmk migrate` processing unparsed info.json values ([#22374](https://github.com/qmk/qmk_firmware/pull/22374)) +* Remove redundant backlight eeconfig init ([#22675](https://github.com/qmk/qmk_firmware/pull/22675)) +* pointing_device ifdef indentation fix ([#22802](https://github.com/qmk/qmk_firmware/pull/22802)) +* Ensure LED config is extracted when feature is disabled ([#22809](https://github.com/qmk/qmk_firmware/pull/22809)) +* Generate true/false for _DEFAULT_ON options ([#22829](https://github.com/qmk/qmk_firmware/pull/22829)) +* is31fl3733: fix driver sync backwards compatibility defines ([#22851](https://github.com/qmk/qmk_firmware/pull/22851)) +* LED drivers: misc formatting and typos ([#22857](https://github.com/qmk/qmk_firmware/pull/22857)) +* Allow generation of both LED and RGB Matrix config ([#22896](https://github.com/qmk/qmk_firmware/pull/22896)) +* LED drivers: remove PWM register offsets ([#22897](https://github.com/qmk/qmk_firmware/pull/22897)) +* `qmk format-json`: Force Unix line endings and ensure LF at EOF ([#22901](https://github.com/qmk/qmk_firmware/pull/22901)) +* Fix cirque connected check ([#22948](https://github.com/qmk/qmk_firmware/pull/22948)) +* Fix joystick initialization ([#22953](https://github.com/qmk/qmk_firmware/pull/22953)) +* Workaround for `make test:all DEBUG=1` ([#23047](https://github.com/qmk/qmk_firmware/pull/23047)) +* Fix unit test execution ([#23048](https://github.com/qmk/qmk_firmware/pull/23048)) +* Fix git-submodule running in wrong location ([#23059](https://github.com/qmk/qmk_firmware/pull/23059)) +* WS2812 bitbang: prefix for `NOP_FUDGE` define ([#23110](https://github.com/qmk/qmk_firmware/pull/23110)) +* Fix make clean test:os_detection ([#23112](https://github.com/qmk/qmk_firmware/pull/23112)) +* Fix pmw33xx sensor corruption on get-cpi call ([#23116](https://github.com/qmk/qmk_firmware/pull/23116)) +* Ensure `qmk generate-compilation-database` copies to userspace as well. ([#23129](https://github.com/qmk/qmk_firmware/pull/23129)) diff --git a/docs/_summary.md b/docs/_summary.md index bae93da5b6c..fb584955ce1 100644 --- a/docs/_summary.md +++ b/docs/_summary.md @@ -138,7 +138,7 @@ * Breaking Changes * [Overview](breaking_changes.md) * [My Pull Request Was Flagged](breaking_changes_instructions.md) - * [Most Recent ChangeLog](ChangeLog/20231126.md "QMK v0.23.0 - 2023 Nov 26") + * [Most Recent ChangeLog](ChangeLog/20240225.md "QMK v0.24.0 - 2024 Feb 25") * [Past Breaking Changes](breaking_changes_history.md) * C Development diff --git a/docs/breaking_changes.md b/docs/breaking_changes.md index 70a9044c8c0..b60118cd641 100644 --- a/docs/breaking_changes.md +++ b/docs/breaking_changes.md @@ -10,25 +10,25 @@ Practically, this means QMK merges the `develop` branch into the `master` branch ## What has been included in past Breaking Changes? +* [2024 Feb 25](ChangeLog/20240225.md) * [2023 Nov 26](ChangeLog/20231126.md) * [2023 Aug 27](ChangeLog/20230827.md) -* [2023 May 28](ChangeLog/20230528.md) * [Older Breaking Changes](breaking_changes_history.md) ## When is the next Breaking Change? -The next Breaking Change is scheduled for November 26, 2023. +The next Breaking Change is scheduled for May 26, 2024. ### Important Dates -* 2023 Nov 26 - `develop` is tagged with a new release version. Each push to `master` is subsequently merged to `develop` by GitHub actions. -* 2024 Jan 28 - `develop` closed to new PRs. -* 2024 Jan 28 - Call for testers. -* 2024 Feb 4 - Last day for merges -- after this point `develop` is locked for testing and accepts only bugfixes -* 2024 Feb 18 - `develop` is locked, only critical bugfix PRs merged. -* 2024 Feb 22 - `master` is locked, no PRs merged. -* 2024 Feb 25 - Merge `develop` to `master`. -* 2024 Feb 25 - `master` is unlocked. PRs can be merged again. +* 2024 Feb 25 - `develop` is tagged with a new release version. Each push to `master` is subsequently merged to `develop` by GitHub actions. +* 2024 Apr 28 - `develop` closed to new PRs. +* 2024 Apr 28 - Call for testers. +* 2024 May 5 - Last day for merges -- after this point `develop` is locked for testing and accepts only bugfixes +* 2024 May 19 - `develop` is locked, only critical bugfix PRs merged. +* 2024 May 23 - `master` is locked, no PRs merged. +* 2024 May 26 - Merge `develop` to `master`. +* 2024 May 26 - `master` is unlocked. PRs can be merged again. ## What changes will be included? @@ -48,7 +48,7 @@ Criteria for acceptance: Strongly suggested: -* The PR has a ChangeLog file describing the changes under `/docs/Changelog/20240225`. +* The PR has a ChangeLog file describing the changes under `/docs/Changelog/20240526`. * This should be in Markdown format, with a name in the format `PR12345.md`, substituting the digits for your PRs ID. * One strong recommendation that the ChangeLog document matches the PR description on GitHub, so as to ensure traceability. diff --git a/docs/breaking_changes_history.md b/docs/breaking_changes_history.md index 4ab890294bb..6e304685b52 100644 --- a/docs/breaking_changes_history.md +++ b/docs/breaking_changes_history.md @@ -2,6 +2,7 @@ This page links to all previous changelogs from the QMK Breaking Changes process. +* [2024 Feb 25](ChangeLog/20240225.md) - version 0.24.0 * [2023 Nov 26](ChangeLog/20231126.md) - version 0.23.0 * [2023 Aug 27](ChangeLog/20230827.md) - version 0.22.0 * [2023 May 28](ChangeLog/20230528.md) - version 0.21.0 From dd1706e468bb18dd7f7ae143de735a5d3be1bfb8 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Wed, 28 Feb 2024 21:46:31 +1100 Subject: [PATCH 022/107] Merge point for 2024q1 Breaking Change --- readme.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/readme.md b/readme.md index c277ca0aade..f0e49a08e95 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,3 @@ -# THIS IS THE DEVELOP BRANCH - -Warning- This is the `develop` branch of QMK Firmware. You may encounter broken code here. Please see [Breaking Changes](https://docs.qmk.fm/#/breaking_changes) for more information. - # Quantum Mechanical Keyboard Firmware [![Current Version](https://img.shields.io/github/tag/qmk/qmk_firmware.svg)](https://github.com/qmk/qmk_firmware/tags) From b43f6cb7ef33f38ee494f639e2704a25c1e68332 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Wed, 28 Feb 2024 21:52:10 +1100 Subject: [PATCH 023/107] Branch point for 2024q2 Breaking Change --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index f0e49a08e95..c277ca0aade 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,7 @@ +# THIS IS THE DEVELOP BRANCH + +Warning- This is the `develop` branch of QMK Firmware. You may encounter broken code here. Please see [Breaking Changes](https://docs.qmk.fm/#/breaking_changes) for more information. + # Quantum Mechanical Keyboard Firmware [![Current Version](https://img.shields.io/github/tag/qmk/qmk_firmware.svg)](https://github.com/qmk/qmk_firmware/tags) From 0e02b0c41e47d5f5ad799a9860869b9d30ab881a Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Wed, 28 Feb 2024 12:00:27 +0100 Subject: [PATCH 024/107] [Core] Refactor ChibiOS USB endpoints to be fully async (#21656) --- tmk_core/protocol/chibios/chibios.c | 16 +- tmk_core/protocol/chibios/chibios.mk | 2 + tmk_core/protocol/chibios/usb_driver.c | 572 +++++------- tmk_core/protocol/chibios/usb_driver.h | 312 ++++--- tmk_core/protocol/chibios/usb_endpoints.c | 152 ++++ tmk_core/protocol/chibios/usb_endpoints.h | 137 +++ tmk_core/protocol/chibios/usb_main.c | 814 +++++------------- tmk_core/protocol/chibios/usb_main.h | 41 +- .../protocol/chibios/usb_report_handling.c | 296 +++++++ .../protocol/chibios/usb_report_handling.h | 77 ++ tmk_core/protocol/report.h | 8 +- tmk_core/protocol/usb_descriptor.h | 2 + 12 files changed, 1303 insertions(+), 1126 deletions(-) create mode 100644 tmk_core/protocol/chibios/usb_endpoints.c create mode 100644 tmk_core/protocol/chibios/usb_endpoints.h create mode 100644 tmk_core/protocol/chibios/usb_report_handling.c create mode 100644 tmk_core/protocol/chibios/usb_report_handling.h diff --git a/tmk_core/protocol/chibios/chibios.c b/tmk_core/protocol/chibios/chibios.c index 91bb252c7c3..76a37ae538a 100644 --- a/tmk_core/protocol/chibios/chibios.c +++ b/tmk_core/protocol/chibios/chibios.c @@ -192,15 +192,18 @@ void protocol_pre_task(void) { /* Remote wakeup */ if ((USB_DRIVER.status & USB_GETSTATUS_REMOTE_WAKEUP_ENABLED) && suspend_wakeup_condition()) { usbWakeupHost(&USB_DRIVER); - restart_usb_driver(&USB_DRIVER); +# if USB_SUSPEND_WAKEUP_DELAY > 0 + // Some hubs, kvm switches, and monitors do + // weird things, with USB device state bouncing + // around wildly on wakeup, yielding race + // conditions that can corrupt the keyboard state. + // + // Pause for a while to let things settle... + wait_ms(USB_SUSPEND_WAKEUP_DELAY); +# endif } } /* Woken up */ - // variables has been already cleared by the wakeup hook - send_keyboard_report(); -# ifdef MOUSEKEY_ENABLE - mousekey_send(); -# endif /* MOUSEKEY_ENABLE */ } #endif } @@ -218,4 +221,5 @@ void protocol_post_task(void) { #ifdef RAW_ENABLE raw_hid_task(); #endif + usb_idle_task(); } diff --git a/tmk_core/protocol/chibios/chibios.mk b/tmk_core/protocol/chibios/chibios.mk index 8eaf5b10d29..aee3f5f0564 100644 --- a/tmk_core/protocol/chibios/chibios.mk +++ b/tmk_core/protocol/chibios/chibios.mk @@ -6,6 +6,8 @@ SRC += $(CHIBIOS_DIR)/usb_main.c SRC += $(CHIBIOS_DIR)/chibios.c SRC += usb_descriptor.c SRC += $(CHIBIOS_DIR)/usb_driver.c +SRC += $(CHIBIOS_DIR)/usb_endpoints.c +SRC += $(CHIBIOS_DIR)/usb_report_handling.c SRC += $(CHIBIOS_DIR)/usb_util.c SRC += $(LIBSRC) diff --git a/tmk_core/protocol/chibios/usb_driver.c b/tmk_core/protocol/chibios/usb_driver.c index ad45f9b1daa..7c3ce446876 100644 --- a/tmk_core/protocol/chibios/usb_driver.c +++ b/tmk_core/protocol/chibios/usb_driver.c @@ -1,127 +1,51 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/** - * @file hal_serial_usb.c - * @brief Serial over USB Driver code. - * - * @addtogroup SERIAL_USB - * @{ - */ +// Copyright 2023 Stefan Kerkmann (@KarlK90) +// Copyright 2021 Purdea Andrei +// Copyright 2021 Michael Stapelberg +// Copyright 2020 Ryan (@fauxpark) +// Copyright 2016 Fredizzimo +// Copyright 2016 Giovanni Di Sirio +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 #include -#include "usb_driver.h" #include -/*===========================================================================*/ -/* Driver local definitions. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Driver exported variables. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Driver local variables and types. */ -/*===========================================================================*/ - -/* - * Current Line Coding. - */ -static cdc_linecoding_t linecoding = {{0x00, 0x96, 0x00, 0x00}, /* 38400. */ - LC_STOP_1, - LC_PARITY_NONE, - 8}; +#include "usb_driver.h" +#include "util.h" /*===========================================================================*/ /* Driver local functions. */ /*===========================================================================*/ -static bool qmkusb_start_receive(QMKUSBDriver *qmkusbp) { - uint8_t *buf; - +static void usb_start_receive(usb_endpoint_out_t *endpoint) { /* If the USB driver is not in the appropriate state then transactions must not be started.*/ - if ((usbGetDriverStateI(qmkusbp->config->usbp) != USB_ACTIVE) || (qmkusbp->state != QMKUSB_READY)) { - return true; + if ((usbGetDriverStateI(endpoint->config.usbp) != USB_ACTIVE)) { + return; } /* Checking if there is already a transaction ongoing on the endpoint.*/ - if (usbGetReceiveStatusI(qmkusbp->config->usbp, qmkusbp->config->bulk_out)) { - return true; + if (usbGetReceiveStatusI(endpoint->config.usbp, endpoint->config.ep)) { + return; } /* Checking if there is a buffer ready for incoming data.*/ - buf = ibqGetEmptyBufferI(&qmkusbp->ibqueue); - if (buf == NULL) { - return true; + uint8_t *buffer = ibqGetEmptyBufferI(&endpoint->ibqueue); + if (buffer == NULL) { + return; } /* Buffer found, starting a new transaction.*/ - usbStartReceiveI(qmkusbp->config->usbp, qmkusbp->config->bulk_out, buf, qmkusbp->ibqueue.bsize - sizeof(size_t)); - - return false; -} - -/* - * Interface implementation. - */ - -static size_t _write(void *ip, const uint8_t *bp, size_t n) { - return obqWriteTimeout(&((QMKUSBDriver *)ip)->obqueue, bp, n, TIME_INFINITE); -} - -static size_t _read(void *ip, uint8_t *bp, size_t n) { - return ibqReadTimeout(&((QMKUSBDriver *)ip)->ibqueue, bp, n, TIME_INFINITE); -} - -static msg_t _put(void *ip, uint8_t b) { - return obqPutTimeout(&((QMKUSBDriver *)ip)->obqueue, b, TIME_INFINITE); -} - -static msg_t _get(void *ip) { - return ibqGetTimeout(&((QMKUSBDriver *)ip)->ibqueue, TIME_INFINITE); -} - -static msg_t _putt(void *ip, uint8_t b, sysinterval_t timeout) { - return obqPutTimeout(&((QMKUSBDriver *)ip)->obqueue, b, timeout); -} - -static msg_t _gett(void *ip, sysinterval_t timeout) { - return ibqGetTimeout(&((QMKUSBDriver *)ip)->ibqueue, timeout); + usbStartReceiveI(endpoint->config.usbp, endpoint->config.ep, buffer, endpoint->ibqueue.bsize - sizeof(size_t)); } -static size_t _writet(void *ip, const uint8_t *bp, size_t n, sysinterval_t timeout) { - return obqWriteTimeout(&((QMKUSBDriver *)ip)->obqueue, bp, n, timeout); -} - -static size_t _readt(void *ip, uint8_t *bp, size_t n, sysinterval_t timeout) { - return ibqReadTimeout(&((QMKUSBDriver *)ip)->ibqueue, bp, n, timeout); -} - -static const struct QMKUSBDriverVMT vmt = {0, _write, _read, _put, _get, _putt, _gett, _writet, _readt}; - /** * @brief Notification of empty buffer released into the input buffers queue. * * @param[in] bqp the buffers queue pointer. */ static void ibnotify(io_buffers_queue_t *bqp) { - QMKUSBDriver *qmkusbp = bqGetLinkX(bqp); - (void)qmkusb_start_receive(qmkusbp); + usb_endpoint_out_t *endpoint = bqGetLinkX(bqp); + usb_start_receive(endpoint); } /** @@ -130,22 +54,22 @@ static void ibnotify(io_buffers_queue_t *bqp) { * @param[in] bqp the buffers queue pointer. */ static void obnotify(io_buffers_queue_t *bqp) { - size_t n; - QMKUSBDriver *qmkusbp = bqGetLinkX(bqp); + usb_endpoint_in_t *endpoint = bqGetLinkX(bqp); - /* If the USB driver is not in the appropriate state then transactions + /* If the USB endpoint is not in the appropriate state then transactions must not be started.*/ - if ((usbGetDriverStateI(qmkusbp->config->usbp) != USB_ACTIVE) || (qmkusbp->state != QMKUSB_READY)) { + if ((usbGetDriverStateI(endpoint->config.usbp) != USB_ACTIVE)) { return; } /* Checking if there is already a transaction ongoing on the endpoint.*/ - if (!usbGetTransmitStatusI(qmkusbp->config->usbp, qmkusbp->config->bulk_in)) { + if (!usbGetTransmitStatusI(endpoint->config.usbp, endpoint->config.ep)) { /* Trying to get a full buffer.*/ - uint8_t *buf = obqGetFullBufferI(&qmkusbp->obqueue, &n); - if (buf != NULL) { + size_t n; + uint8_t *buffer = obqGetFullBufferI(&endpoint->obqueue, &n); + if (buffer != NULL) { /* Buffer found, starting a new transaction.*/ - usbStartTransmitI(qmkusbp->config->usbp, qmkusbp->config->bulk_in, buf, n); + usbStartTransmitI(endpoint->config.usbp, endpoint->config.ep, buffer, n); } } } @@ -154,264 +78,149 @@ static void obnotify(io_buffers_queue_t *bqp) { /* Driver exported functions. */ /*===========================================================================*/ -/** - * @brief Serial Driver initialization. - * @note This function is implicitly invoked by @p halInit(), there is - * no need to explicitly initialize the driver. - * - * @init - */ -void qmkusbInit(void) {} +void usb_endpoint_in_init(usb_endpoint_in_t *endpoint) { + usb_endpoint_config_t *config = &endpoint->config; + endpoint->ep_config.in_state = &endpoint->ep_in_state; -/** - * @brief Initializes a generic full duplex driver object. - * @details The HW dependent part of the initialization has to be performed - * outside, usually in the hardware initialization code. - * - * @param[out] qmkusbp pointer to a @p QMKUSBDriver structure - * - * @init - */ -void qmkusbObjectInit(QMKUSBDriver *qmkusbp, const QMKUSBConfig *config) { - qmkusbp->vmt = &vmt; - osalEventObjectInit(&qmkusbp->event); - qmkusbp->state = QMKUSB_STOP; - // Note that the config uses the USB direction naming - ibqObjectInit(&qmkusbp->ibqueue, true, config->ob, config->out_size, config->out_buffers, ibnotify, qmkusbp); - obqObjectInit(&qmkusbp->obqueue, true, config->ib, config->in_size, config->in_buffers, obnotify, qmkusbp); +#if defined(USB_ENDPOINTS_ARE_REORDERABLE) + if (endpoint->is_shared) { + endpoint->ep_config.out_state = &endpoint->ep_out_state; + } +#endif + obqObjectInit(&endpoint->obqueue, true, config->buffer, config->buffer_size, config->buffer_capacity, obnotify, endpoint); } -/** - * @brief Configures and starts the driver. - * - * @param[in] qmkusbp pointer to a @p QMKUSBDriver object - * @param[in] config the serial over USB driver configuration - * - * @api - */ -void qmkusbStart(QMKUSBDriver *qmkusbp, const QMKUSBConfig *config) { - USBDriver *usbp = config->usbp; +void usb_endpoint_out_init(usb_endpoint_out_t *endpoint) { + usb_endpoint_config_t *config = &endpoint->config; + endpoint->ep_config.out_state = &endpoint->ep_out_state; + ibqObjectInit(&endpoint->ibqueue, true, config->buffer, config->buffer_size, config->buffer_capacity, ibnotify, endpoint); +} - osalDbgCheck(qmkusbp != NULL); +void usb_endpoint_in_start(usb_endpoint_in_t *endpoint) { + osalDbgCheck(endpoint != NULL); osalSysLock(); - osalDbgAssert((qmkusbp->state == QMKUSB_STOP) || (qmkusbp->state == QMKUSB_READY), "invalid state"); - usbp->in_params[config->bulk_in - 1U] = qmkusbp; - usbp->out_params[config->bulk_out - 1U] = qmkusbp; - if (config->int_in > 0U) { - usbp->in_params[config->int_in - 1U] = qmkusbp; - } - qmkusbp->config = config; - qmkusbp->state = QMKUSB_READY; + osalDbgAssert((usbGetDriverStateI(endpoint->config.usbp) == USB_STOP) || (usbGetDriverStateI(endpoint->config.usbp) == USB_READY), "invalid state"); + endpoint->config.usbp->in_params[endpoint->config.ep - 1U] = endpoint; + endpoint->timed_out = false; osalSysUnlock(); } -/** - * @brief Stops the driver. - * @details Any thread waiting on the driver's queues will be awakened with - * the message @p MSG_RESET. - * - * @param[in] qmkusbp pointer to a @p QMKUSBDriver object - * - * @api - */ -void qmkusbStop(QMKUSBDriver *qmkusbp) { - USBDriver *usbp = qmkusbp->config->usbp; - - osalDbgCheck(qmkusbp != NULL); +void usb_endpoint_out_start(usb_endpoint_out_t *endpoint) { + osalDbgCheck(endpoint != NULL); osalSysLock(); + osalDbgAssert((usbGetDriverStateI(endpoint->config.usbp) == USB_STOP) || (usbGetDriverStateI(endpoint->config.usbp) == USB_READY), "invalid state"); + endpoint->config.usbp->out_params[endpoint->config.ep - 1U] = endpoint; + endpoint->timed_out = false; + osalSysUnlock(); +} - osalDbgAssert((qmkusbp->state == QMKUSB_STOP) || (qmkusbp->state == QMKUSB_READY), "invalid state"); +void usb_endpoint_in_stop(usb_endpoint_in_t *endpoint) { + osalDbgCheck(endpoint != NULL); - /* Driver in stopped state.*/ - usbp->in_params[qmkusbp->config->bulk_in - 1U] = NULL; - usbp->out_params[qmkusbp->config->bulk_out - 1U] = NULL; - if (qmkusbp->config->int_in > 0U) { - usbp->in_params[qmkusbp->config->int_in - 1U] = NULL; - } - qmkusbp->config = NULL; - qmkusbp->state = QMKUSB_STOP; + osalSysLock(); + endpoint->config.usbp->in_params[endpoint->config.ep - 1U] = NULL; - /* Enforces a disconnection.*/ - chnAddFlagsI(qmkusbp, CHN_DISCONNECTED); - ibqResetI(&qmkusbp->ibqueue); - obqResetI(&qmkusbp->obqueue); + bqSuspendI(&endpoint->obqueue); + obqResetI(&endpoint->obqueue); + if (endpoint->report_storage != NULL) { + endpoint->report_storage->reset_report(endpoint->report_storage->reports); + } osalOsRescheduleS(); - osalSysUnlock(); } -/** - * @brief USB device suspend handler. - * @details Generates a @p CHN_DISCONNECT event and puts queues in - * non-blocking mode, this way the application cannot get stuck - * in the middle of an I/O operations. - * @note If this function is not called from an ISR then an explicit call - * to @p osalOsRescheduleS() in necessary afterward. - * - * @param[in] qmkusbp pointer to a @p QMKUSBDriver object - * - * @iclass - */ -void qmkusbSuspendHookI(QMKUSBDriver *qmkusbp) { - chnAddFlagsI(qmkusbp, CHN_DISCONNECTED); - bqSuspendI(&qmkusbp->ibqueue); - bqSuspendI(&qmkusbp->obqueue); -} +void usb_endpoint_out_stop(usb_endpoint_out_t *endpoint) { + osalDbgCheck(endpoint != NULL); -/** - * @brief USB device wakeup handler. - * @details Generates a @p CHN_CONNECT event and resumes normal queues - * operations. - * - * @note If this function is not called from an ISR then an explicit call - * to @p osalOsRescheduleS() in necessary afterward. - * - * @param[in] qmkusbp pointer to a @p QMKUSBDriver object - * - * @iclass - */ -void qmkusbWakeupHookI(QMKUSBDriver *qmkusbp) { - chnAddFlagsI(qmkusbp, CHN_CONNECTED); - bqResumeX(&qmkusbp->ibqueue); - bqResumeX(&qmkusbp->obqueue); -} + osalSysLock(); + osalDbgAssert((usbGetDriverStateI(endpoint->config.usbp) == USB_STOP) || (usbGetDriverStateI(endpoint->config.usbp) == USB_READY), "invalid state"); -/** - * @brief USB device configured handler. - * - * @param[in] qmkusbp pointer to a @p QMKUSBDriver object - * - * @iclass - */ -void qmkusbConfigureHookI(QMKUSBDriver *qmkusbp) { - ibqResetI(&qmkusbp->ibqueue); - bqResumeX(&qmkusbp->ibqueue); - obqResetI(&qmkusbp->obqueue); - bqResumeX(&qmkusbp->obqueue); - chnAddFlagsI(qmkusbp, CHN_CONNECTED); - (void)qmkusb_start_receive(qmkusbp); + bqSuspendI(&endpoint->ibqueue); + ibqResetI(&endpoint->ibqueue); + osalOsRescheduleS(); + osalSysUnlock(); } -/** - * @brief Default requests hook. - * @details Applications wanting to use the Serial over USB driver can use - * this function as requests hook in the USB configuration. - * The following requests are emulated: - * - CDC_GET_LINE_CODING. - * - CDC_SET_LINE_CODING. - * - CDC_SET_CONTROL_LINE_STATE. - * . - * - * @param[in] usbp pointer to the @p USBDriver object - * @return The hook status. - * @retval true Message handled internally. - * @retval false Message not handled. - */ -bool qmkusbRequestsHook(USBDriver *usbp) { - if ((usbp->setup[0] & USB_RTYPE_TYPE_MASK) == USB_RTYPE_TYPE_CLASS) { - switch (usbp->setup[1]) { - case CDC_GET_LINE_CODING: - usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding), NULL); - return true; - case CDC_SET_LINE_CODING: - usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding), NULL); - return true; - case CDC_SET_CONTROL_LINE_STATE: - /* Nothing to do, there are no control lines.*/ - usbSetupTransfer(usbp, NULL, 0, NULL); - return true; - default: - return false; - } - } - return false; -} +void usb_endpoint_in_suspend_cb(usb_endpoint_in_t *endpoint) { + bqSuspendI(&endpoint->obqueue); + obqResetI(&endpoint->obqueue); -/** - * @brief SOF handler. - * @details The SOF interrupt is used for automatic flushing of incomplete - * buffers pending in the output queue. - * - * @param[in] qmkusbp pointer to a @p QMKUSBDriver object - * - * @iclass - */ -void qmkusbSOFHookI(QMKUSBDriver *qmkusbp) { - /* If the USB driver is not in the appropriate state then transactions - must not be started.*/ - if ((usbGetDriverStateI(qmkusbp->config->usbp) != USB_ACTIVE) || (qmkusbp->state != QMKUSB_READY)) { - return; + if (endpoint->report_storage != NULL) { + endpoint->report_storage->reset_report(endpoint->report_storage->reports); } +} - /* If there is already a transaction ongoing then another one cannot be - started.*/ - if (usbGetTransmitStatusI(qmkusbp->config->usbp, qmkusbp->config->bulk_in)) { - return; - } +void usb_endpoint_out_suspend_cb(usb_endpoint_out_t *endpoint) { + bqSuspendI(&endpoint->ibqueue); + ibqResetI(&endpoint->ibqueue); +} - /* Checking if there only a buffer partially filled, if so then it is - enforced in the queue and transmitted.*/ - if (obqTryFlushI(&qmkusbp->obqueue)) { - size_t n; - uint8_t *buf = obqGetFullBufferI(&qmkusbp->obqueue, &n); +void usb_endpoint_in_wakeup_cb(usb_endpoint_in_t *endpoint) { + bqResumeX(&endpoint->obqueue); +} - /* For fixed size drivers, fill the end with zeros */ - if (qmkusbp->config->fixed_size) { - memset(buf + n, 0, qmkusbp->config->in_size - n); - n = qmkusbp->config->in_size; - } +void usb_endpoint_out_wakeup_cb(usb_endpoint_out_t *endpoint) { + bqResumeX(&endpoint->ibqueue); +} - osalDbgAssert(buf != NULL, "queue is empty"); +void usb_endpoint_in_configure_cb(usb_endpoint_in_t *endpoint) { + usbInitEndpointI(endpoint->config.usbp, endpoint->config.ep, &endpoint->ep_config); + obqResetI(&endpoint->obqueue); + bqResumeX(&endpoint->obqueue); +} - usbStartTransmitI(qmkusbp->config->usbp, qmkusbp->config->bulk_in, buf, n); - } +void usb_endpoint_out_configure_cb(usb_endpoint_out_t *endpoint) { + /* The current assumption is that there are no standalone OUT endpoints, + * therefore if we share an endpoint with an IN endpoint, it is already + * initialized. */ +#if !defined(USB_ENDPOINTS_ARE_REORDERABLE) + usbInitEndpointI(endpoint->config.usbp, endpoint->config.ep, &endpoint->ep_config); +#endif + ibqResetI(&endpoint->ibqueue); + bqResumeX(&endpoint->ibqueue); + (void)usb_start_receive(endpoint); } -/** - * @brief Default data transmitted callback. - * @details The application must use this function as callback for the IN - * data endpoint. - * - * @param[in] usbp pointer to the @p USBDriver object - * @param[in] ep IN endpoint number - */ -void qmkusbDataTransmitted(USBDriver *usbp, usbep_t ep) { - uint8_t * buf; - size_t n; - QMKUSBDriver *qmkusbp = usbp->in_params[ep - 1U]; +void usb_endpoint_in_tx_complete_cb(USBDriver *usbp, usbep_t ep) { + usb_endpoint_in_t *endpoint = usbp->in_params[ep - 1U]; + size_t n; + uint8_t * buffer; - if (qmkusbp == NULL) { + if (endpoint == NULL) { return; } osalSysLockFromISR(); - /* Signaling that space is available in the output queue.*/ - chnAddFlagsI(qmkusbp, CHN_OUTPUT_EMPTY); + /* Sending succeded, so we can reset the timed out state. */ + endpoint->timed_out = false; /* Freeing the buffer just transmitted, if it was not a zero size packet.*/ - if (usbp->epc[ep]->in_state->txsize > 0U) { - obqReleaseEmptyBufferI(&qmkusbp->obqueue); + if (!obqIsEmptyI(&endpoint->obqueue) && usbp->epc[ep]->in_state->txsize > 0U) { + /* Store the last send report in the endpoint to be retrieved by a + * GET_REPORT request or IDLE report handling. */ + if (endpoint->report_storage != NULL) { + buffer = obqGetFullBufferI(&endpoint->obqueue, &n); + endpoint->report_storage->set_report(endpoint->report_storage->reports, buffer, n); + } + obqReleaseEmptyBufferI(&endpoint->obqueue); } /* Checking if there is a buffer ready for transmission.*/ - buf = obqGetFullBufferI(&qmkusbp->obqueue, &n); + buffer = obqGetFullBufferI(&endpoint->obqueue, &n); - if (buf != NULL) { + if (buffer != NULL) { /* The endpoint cannot be busy, we are in the context of the callback, so it is safe to transmit without a check.*/ - usbStartTransmitI(usbp, ep, buf, n); - } else if ((usbp->epc[ep]->in_state->txsize > 0U) && ((usbp->epc[ep]->in_state->txsize & ((size_t)usbp->epc[ep]->in_maxsize - 1U)) == 0U)) { + usbStartTransmitI(usbp, ep, buffer, n); + } else if ((usbp->epc[ep]->ep_mode == USB_EP_MODE_TYPE_BULK) && (usbp->epc[ep]->in_state->txsize > 0U) && ((usbp->epc[ep]->in_state->txsize & ((size_t)usbp->epc[ep]->in_maxsize - 1U)) == 0U)) { /* Transmit zero sized packet in case the last one has maximum allowed - size. Otherwise the recipient may expect more data coming soon and - not return buffered data to app. See section 5.8.3 Bulk Transfer - Packet Size Constraints of the USB Specification document.*/ - if (!qmkusbp->config->fixed_size) { - usbStartTransmitI(usbp, ep, usbp->setup, 0); - } - + * size. Otherwise the recipient may expect more data coming soon and + * not return buffered data to app. See section 5.8.3 Bulk Transfer + * Packet Size Constraints of the USB Specification document. */ + usbStartTransmitI(usbp, ep, usbp->setup, 0); } else { /* Nothing to transmit.*/ } @@ -419,47 +228,114 @@ void qmkusbDataTransmitted(USBDriver *usbp, usbep_t ep) { osalSysUnlockFromISR(); } -/** - * @brief Default data received callback. - * @details The application must use this function as callback for the OUT - * data endpoint. - * - * @param[in] usbp pointer to the @p USBDriver object - * @param[in] ep OUT endpoint number - */ -void qmkusbDataReceived(USBDriver *usbp, usbep_t ep) { - QMKUSBDriver *qmkusbp = usbp->out_params[ep - 1U]; - if (qmkusbp == NULL) { +void usb_endpoint_out_rx_complete_cb(USBDriver *usbp, usbep_t ep) { + usb_endpoint_out_t *endpoint = usbp->out_params[ep - 1U]; + if (endpoint == NULL) { return; } osalSysLockFromISR(); - /* Signaling that data is available in the input queue.*/ - chnAddFlagsI(qmkusbp, CHN_INPUT_AVAILABLE); - - /* Posting the filled buffer in the queue.*/ - ibqPostFullBufferI(&qmkusbp->ibqueue, usbGetReceiveTransactionSizeX(qmkusbp->config->usbp, qmkusbp->config->bulk_out)); + size_t size = usbGetReceiveTransactionSizeX(usbp, ep); + if (size > 0) { + /* Posting the filled buffer in the queue.*/ + ibqPostFullBufferI(&endpoint->ibqueue, usbGetReceiveTransactionSizeX(endpoint->config.usbp, endpoint->config.ep)); + } - /* The endpoint cannot be busy, we are in the context of the callback, - so a packet is in the buffer for sure. Trying to get a free buffer - for the next transaction.*/ - (void)qmkusb_start_receive(qmkusbp); + /* The endpoint cannot be busy, we are in the context of the callback, so a + * packet is in the buffer for sure. Trying to get a free buffer for the + * next transaction.*/ + usb_start_receive(endpoint); osalSysUnlockFromISR(); } -/** - * @brief Default data received callback. - * @details The application must use this function as callback for the IN - * interrupt endpoint. - * - * @param[in] usbp pointer to the @p USBDriver object - * @param[in] ep endpoint number - */ -void qmkusbInterruptTransmitted(USBDriver *usbp, usbep_t ep) { - (void)usbp; - (void)ep; +bool usb_endpoint_in_send(usb_endpoint_in_t *endpoint, const uint8_t *data, size_t size, sysinterval_t timeout, bool buffered) { + osalDbgCheck((endpoint != NULL) && (data != NULL) && (size > 0U) && (size <= endpoint->config.buffer_size)); + + osalSysLock(); + if (usbGetDriverStateI(endpoint->config.usbp) != USB_ACTIVE) { + osalSysUnlock(); + return false; + } + + /* Short circuit the waiting if this endpoint timed out before, e.g. if + * nobody is listening on this endpoint (is disconnected) such as + * `hid_listen`/`qmk console` or we are in an environment with a very + * restricted USB stack. The reason is to not introduce micro lock-ups if + * the report is send periodically. */ + if (endpoint->timed_out && timeout != TIME_INFINITE) { + timeout = TIME_IMMEDIATE; + } + osalSysUnlock(); + + while (true) { + size_t sent = obqWriteTimeout(&endpoint->obqueue, data, size, timeout); + + if (sent < size) { + osalSysLock(); + endpoint->timed_out |= sent == 0; + bqSuspendI(&endpoint->obqueue); + obqResetI(&endpoint->obqueue); + bqResumeX(&endpoint->obqueue); + osalOsRescheduleS(); + osalSysUnlock(); + continue; + } + + if (!buffered) { + obqFlush(&endpoint->obqueue); + } + + return true; + } +} + +void usb_endpoint_in_flush(usb_endpoint_in_t *endpoint, bool padded) { + osalDbgCheck(endpoint != NULL); + + output_buffers_queue_t *obqp = &endpoint->obqueue; + + if (padded && obqp->ptr != NULL) { + ptrdiff_t bytes_left = (size_t)obqp->top - (size_t)obqp->ptr; + while (bytes_left > 0) { + // Putting bytes into a buffer that has space left should never + // fail and be instant, therefore we don't check the return value + // for errors here. + obqPutTimeout(obqp, 0, TIME_IMMEDIATE); + bytes_left--; + } + } + + obqFlush(obqp); +} + +bool usb_endpoint_in_is_inactive(usb_endpoint_in_t *endpoint) { + osalDbgCheck(endpoint != NULL); + + osalSysLock(); + bool inactive = obqIsEmptyI(&endpoint->obqueue) && !usbGetTransmitStatusI(endpoint->config.usbp, endpoint->config.ep); + osalSysUnlock(); + + return inactive; } -/** @} */ +bool usb_endpoint_out_receive(usb_endpoint_out_t *endpoint, uint8_t *data, size_t size, sysinterval_t timeout) { + osalDbgCheck((endpoint != NULL) && (data != NULL) && (size > 0U)); + + osalSysLock(); + if (usbGetDriverStateI(endpoint->config.usbp) != USB_ACTIVE) { + osalSysUnlock(); + return false; + } + + if (endpoint->timed_out && timeout != TIME_INFINITE) { + timeout = TIME_IMMEDIATE; + } + osalSysUnlock(); + + const size_t received = ibqReadTimeout(&endpoint->ibqueue, data, size, timeout); + endpoint->timed_out = received == 0; + + return received == size; +} diff --git a/tmk_core/protocol/chibios/usb_driver.h b/tmk_core/protocol/chibios/usb_driver.h index f94387debdc..26787e1eba0 100644 --- a/tmk_core/protocol/chibios/usb_driver.h +++ b/tmk_core/protocol/chibios/usb_driver.h @@ -1,177 +1,209 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/** - * @file usb_driver.h - * @brief Usb driver suitable for both packet and serial formats - * - * @addtogroup SERIAL_USB - * @{ - */ +// Copyright 2023 Stefan Kerkmann (@KarlK90) +// Copyright 2020 Ryan (@fauxpark) +// Copyright 2016 Fredizzimo +// Copyright 2016 Giovanni Di Sirio +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 #pragma once -#include - -/*===========================================================================*/ -/* Driver constants. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Derived constants and error checks. */ -/*===========================================================================*/ +#include +#include "usb_descriptor.h" +#include "chibios_config.h" +#include "usb_report_handling.h" +#include "string.h" +#include "timer.h" #if HAL_USE_USB == FALSE # error "The USB Driver requires HAL_USE_USB" #endif -/*===========================================================================*/ -/* Driver data structures and types. */ -/*===========================================================================*/ +/* USB Low Level driver specific endpoint fields */ +#if !defined(usb_lld_endpoint_fields) +# define usb_lld_endpoint_fields \ + 2, /* IN multiplier */ \ + NULL, /* SETUP buffer (not a SETUP endpoint) */ +#endif -/** - * @brief Driver state machine possible states. - */ -typedef enum { - QMKUSB_UNINIT = 0, /**< Not initialized. */ - QMKUSB_STOP = 1, /**< Stopped. */ - QMKUSB_READY = 2 /**< Ready. */ -} qmkusbstate_t; - -/** - * @brief Structure representing a serial over USB driver. +/* + * Implementation notes: + * + * USBEndpointConfig - Configured using explicit order instead of struct member name. + * This is due to ChibiOS hal LLD differences, which is dependent on hardware, + * "USBv1" devices have `ep_buffers` and "OTGv1" have `in_multiplier`. + * Given `USBv1/hal_usb_lld.h` marks the field as "not currently used" this code file + * makes the assumption this is safe to avoid littering with preprocessor directives. */ -typedef struct QMKUSBDriver QMKUSBDriver; +#define QMK_USB_ENDPOINT_IN(mode, ep_size, ep_num, _buffer_capacity, _usb_requests_cb, _report_storage) \ + { \ + .usb_requests_cb = _usb_requests_cb, .report_storage = _report_storage, \ + .ep_config = \ + { \ + mode, /* EP Mode */ \ + NULL, /* SETUP packet notification callback */ \ + usb_endpoint_in_tx_complete_cb, /* IN notification callback */ \ + NULL, /* OUT notification callback */ \ + ep_size, /* IN maximum packet size */ \ + 0, /* OUT maximum packet size */ \ + NULL, /* IN Endpoint state */ \ + NULL, /* OUT endpoint state */ \ + usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ + }, \ + .config = { \ + .usbp = &USB_DRIVER, \ + .ep = ep_num, \ + .buffer_capacity = _buffer_capacity, \ + .buffer_size = ep_size, \ + .buffer = (_Alignas(4) uint8_t[BQ_BUFFER_SIZE(_buffer_capacity, ep_size)]){0}, \ + } \ + } + +#if !defined(USB_ENDPOINTS_ARE_REORDERABLE) + +# define QMK_USB_ENDPOINT_OUT(mode, ep_size, ep_num, _buffer_capacity) \ + { \ + .ep_config = \ + { \ + mode, /* EP Mode */ \ + NULL, /* SETUP packet notification callback */ \ + NULL, /* IN notification callback */ \ + usb_endpoint_out_rx_complete_cb, /* OUT notification callback */ \ + 0, /* IN maximum packet size */ \ + ep_size, /* OUT maximum packet size */ \ + NULL, /* IN Endpoint state */ \ + NULL, /* OUT endpoint state */ \ + usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ + }, \ + .config = { \ + .usbp = &USB_DRIVER, \ + .ep = ep_num, \ + .buffer_capacity = _buffer_capacity, \ + .buffer_size = ep_size, \ + .buffer = (_Alignas(4) uint8_t[BQ_BUFFER_SIZE(_buffer_capacity, ep_size)]){0} \ + } \ + } + +#else + +# define QMK_USB_ENDPOINT_IN_SHARED(mode, ep_size, ep_num, _buffer_capacity, _usb_requests_cb, _report_storage) \ + { \ + .usb_requests_cb = _usb_requests_cb, .is_shared = true, .report_storage = _report_storage, \ + .ep_config = \ + { \ + mode, /* EP Mode */ \ + NULL, /* SETUP packet notification callback */ \ + usb_endpoint_in_tx_complete_cb, /* IN notification callback */ \ + usb_endpoint_out_rx_complete_cb, /* OUT notification callback */ \ + ep_size, /* IN maximum packet size */ \ + ep_size, /* OUT maximum packet size */ \ + NULL, /* IN Endpoint state */ \ + NULL, /* OUT endpoint state */ \ + usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ + }, \ + .config = { \ + .usbp = &USB_DRIVER, \ + .ep = ep_num, \ + .buffer_capacity = _buffer_capacity, \ + .buffer_size = ep_size, \ + .buffer = (_Alignas(4) uint8_t[BQ_BUFFER_SIZE(_buffer_capacity, ep_size)]){0}, \ + } \ + } + +/* The current assumption is that there are no standalone OUT endpoints, so the + * OUT endpoint is always initialized by the IN endpoint. */ +# define QMK_USB_ENDPOINT_OUT(mode, ep_size, ep_num, _buffer_capacity) \ + { \ + .ep_config = \ + { \ + 0 /* Already defined in the IN endpoint */ \ + }, \ + .config = { \ + .usbp = &USB_DRIVER, \ + .ep = ep_num, \ + .buffer_capacity = _buffer_capacity, \ + .buffer_size = ep_size, \ + .buffer = (_Alignas(4) uint8_t[BQ_BUFFER_SIZE(_buffer_capacity, ep_size)]){0} \ + } \ + } + +#endif -/** - * @brief Serial over USB Driver configuration structure. - * @details An instance of this structure must be passed to @p sduStart() - * in order to configure and start the driver operations. - */ typedef struct { /** * @brief USB driver to use. */ USBDriver *usbp; + /** - * @brief Bulk IN endpoint used for outgoing data transfer. - */ - usbep_t bulk_in; - /** - * @brief Bulk OUT endpoint used for incoming data transfer. - */ - usbep_t bulk_out; - /** - * @brief Interrupt IN endpoint used for notifications. - * @note If set to zero then the INT endpoint is assumed to be not - * present, USB descriptors must be changed accordingly. + * @brief Endpoint used for data transfer */ - usbep_t int_in; + usbep_t ep; /** - * @brief The number of buffers in the queues + * @brief The number of buffers in the queue */ - size_t in_buffers; - size_t out_buffers; + size_t buffer_capacity; /** - * @brief The size of each buffer in the queue, typically the same as the endpoint size + * @brief The size of each buffer in the queue, same as the endpoint size */ - size_t in_size; - size_t out_size; + size_t buffer_size; /** - * @brief Always send full buffers in_size (the rest is filled with zeroes) + * @brief Buffer backing storage */ - bool fixed_size; + uint8_t *buffer; +} usb_endpoint_config_t; - /* Input buffer - * @note needs to be initialized with a memory buffer of the right size - */ - uint8_t *ib; - /* Output buffer - * @note needs to be initialized with a memory buffer of the right size - */ - uint8_t *ob; -} QMKUSBConfig; +typedef struct { + output_buffers_queue_t obqueue; + USBEndpointConfig ep_config; + USBInEndpointState ep_in_state; +#if defined(USB_ENDPOINTS_ARE_REORDERABLE) + USBOutEndpointState ep_out_state; + bool is_shared; +#endif + usb_endpoint_config_t config; + usbreqhandler_t usb_requests_cb; + bool timed_out; + usb_report_storage_t *report_storage; +} usb_endpoint_in_t; -/** - * @brief @p SerialDriver specific data. - */ -#define _qmk_usb_driver_data \ - _base_asynchronous_channel_data /* Driver state.*/ \ - qmkusbstate_t state; \ - /* Input buffers queue.*/ \ - input_buffers_queue_t ibqueue; \ - /* Output queue.*/ \ - output_buffers_queue_t obqueue; \ - /* End of the mandatory fields.*/ \ - /* Current configuration data.*/ \ - const QMKUSBConfig *config; - -/** - * @brief @p SerialUSBDriver specific methods. - */ -#define _qmk_usb_driver_methods _base_asynchronous_channel_methods +typedef struct { + input_buffers_queue_t ibqueue; + USBEndpointConfig ep_config; + USBOutEndpointState ep_out_state; + usb_endpoint_config_t config; + bool timed_out; +} usb_endpoint_out_t; -/** - * @extends BaseAsynchronousChannelVMT - * - * @brief @p SerialDriver virtual methods table. - */ -struct QMKUSBDriverVMT { - _qmk_usb_driver_methods -}; +#ifdef __cplusplus +extern "C" { +#endif -/** - * @extends BaseAsynchronousChannel - * - * @brief Full duplex serial driver class. - * @details This class extends @p BaseAsynchronousChannel by adding physical - * I/O queues. - */ -struct QMKUSBDriver { - /** @brief Virtual Methods Table.*/ - const struct QMKUSBDriverVMT *vmt; - _qmk_usb_driver_data -}; +void usb_endpoint_in_init(usb_endpoint_in_t *endpoint); +void usb_endpoint_in_start(usb_endpoint_in_t *endpoint); +void usb_endpoint_in_stop(usb_endpoint_in_t *endpoint); -/*===========================================================================*/ -/* Driver macros. */ -/*===========================================================================*/ +bool usb_endpoint_in_send(usb_endpoint_in_t *endpoint, const uint8_t *data, size_t size, sysinterval_t timeout, bool buffered); +void usb_endpoint_in_flush(usb_endpoint_in_t *endpoint, bool padded); +bool usb_endpoint_in_is_inactive(usb_endpoint_in_t *endpoint); -/*===========================================================================*/ -/* External declarations. */ -/*===========================================================================*/ +void usb_endpoint_in_suspend_cb(usb_endpoint_in_t *endpoint); +void usb_endpoint_in_wakeup_cb(usb_endpoint_in_t *endpoint); +void usb_endpoint_in_configure_cb(usb_endpoint_in_t *endpoint); +void usb_endpoint_in_tx_complete_cb(USBDriver *usbp, usbep_t ep); + +void usb_endpoint_out_init(usb_endpoint_out_t *endpoint); +void usb_endpoint_out_start(usb_endpoint_out_t *endpoint); +void usb_endpoint_out_stop(usb_endpoint_out_t *endpoint); + +bool usb_endpoint_out_receive(usb_endpoint_out_t *endpoint, uint8_t *data, size_t size, sysinterval_t timeout); + +void usb_endpoint_out_suspend_cb(usb_endpoint_out_t *endpoint); +void usb_endpoint_out_wakeup_cb(usb_endpoint_out_t *endpoint); +void usb_endpoint_out_configure_cb(usb_endpoint_out_t *endpoint); +void usb_endpoint_out_rx_complete_cb(USBDriver *usbp, usbep_t ep); -#ifdef __cplusplus -extern "C" { -#endif -void qmkusbInit(void); -void qmkusbObjectInit(QMKUSBDriver *qmkusbp, const QMKUSBConfig *config); -void qmkusbStart(QMKUSBDriver *qmkusbp, const QMKUSBConfig *config); -void qmkusbStop(QMKUSBDriver *qmkusbp); -void qmkusbSuspendHookI(QMKUSBDriver *qmkusbp); -void qmkusbWakeupHookI(QMKUSBDriver *qmkusbp); -void qmkusbConfigureHookI(QMKUSBDriver *qmkusbp); -bool qmkusbRequestsHook(USBDriver *usbp); -void qmkusbSOFHookI(QMKUSBDriver *qmkusbp); -void qmkusbDataTransmitted(USBDriver *usbp, usbep_t ep); -void qmkusbDataReceived(USBDriver *usbp, usbep_t ep); -void qmkusbInterruptTransmitted(USBDriver *usbp, usbep_t ep); #ifdef __cplusplus } #endif diff --git a/tmk_core/protocol/chibios/usb_endpoints.c b/tmk_core/protocol/chibios/usb_endpoints.c new file mode 100644 index 00000000000..37ec3c722f6 --- /dev/null +++ b/tmk_core/protocol/chibios/usb_endpoints.c @@ -0,0 +1,152 @@ +// Copyright 2023 Stefan Kerkmann (@KarlK90) +// SPDX-License-Identifier: GPL-3.0-or-later + +#include +#include + +#include "usb_main.h" +#include "usb_driver.h" +#include "usb_endpoints.h" +#include "report.h" + +usb_endpoint_in_t usb_endpoints_in[USB_ENDPOINT_IN_COUNT] = { +// clang-format off +#if defined(SHARED_EP_ENABLE) + [USB_ENDPOINT_IN_SHARED] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, SHARED_EPSIZE, SHARED_IN_EPNUM, SHARED_IN_CAPACITY, NULL, + QMK_USB_REPORT_STORAGE( + &usb_shared_get_report, + &usb_shared_set_report, + &usb_shared_reset_report, + &usb_shared_get_idle_rate, + &usb_shared_set_idle_rate, + &usb_shared_idle_timer_elapsed, + (REPORT_ID_COUNT + 1), +#if defined(KEYBOARD_SHARED_EP) + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_KEYBOARD, sizeof(report_keyboard_t)), +#endif +#if defined(MOUSE_SHARED_EP) + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_MOUSE, sizeof(report_mouse_t)), +#endif +#if defined(EXTRAKEY_ENABLE) + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_SYSTEM, sizeof(report_extra_t)), + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_CONSUMER, sizeof(report_extra_t)), +#endif +#if defined(PROGRAMMABLE_BUTTON_ENABLE) + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_PROGRAMMABLE_BUTTON, sizeof(report_programmable_button_t)), +#endif +#if defined(NKRO_ENABLE) + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_NKRO, sizeof(report_nkro_t)), +#endif +#if defined(JOYSTICK_SHARED_EP) + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_JOYSTICK, sizeof(report_joystick_t)), +#endif +#if defined(DIGITIZER_SHARED_EP) + QMK_USB_REPORT_STROAGE_ENTRY(REPORT_ID_DIGITIZER, sizeof(report_digitizer_t)), +#endif + ) + ), +#endif +// clang-format on + +#if !defined(KEYBOARD_SHARED_EP) + [USB_ENDPOINT_IN_KEYBOARD] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, KEYBOARD_EPSIZE, KEYBOARD_IN_EPNUM, KEYBOARD_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_keyboard_t))), +#endif + +#if defined(MOUSE_ENABLE) && !defined(MOUSE_SHARED_EP) + [USB_ENDPOINT_IN_MOUSE] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, MOUSE_EPSIZE, MOUSE_IN_EPNUM, MOUSE_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_mouse_t))), +#endif + +#if defined(JOYSTICK_ENABLE) && !defined(JOYSTICK_SHARED_EP) + [USB_ENDPOINT_IN_JOYSTICK] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, JOYSTICK_EPSIZE, JOYSTICK_IN_EPNUM, JOYSTICK_IN_CAPACITY, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_joystick_t))), +#endif + +#if defined(DIGITIZER_ENABLE) && !defined(DIGITIZER_SHARED_EP) + [USB_ENDPOINT_IN_JOYSTICK] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, DIGITIZER_EPSIZE, DIGITIZER_IN_EPNUM, DIGITIZER_IN_CAPACITY, QMK_USB_REPORT_STORAGE_DEFAULT(sizeof(report_digitizer_t))), +#endif + +#if defined(CONSOLE_ENABLE) +# if defined(USB_ENDPOINTS_ARE_REORDERABLE) + [USB_ENDPOINT_IN_CONSOLE] = QMK_USB_ENDPOINT_IN_SHARED(USB_EP_MODE_TYPE_INTR, CONSOLE_EPSIZE, CONSOLE_IN_EPNUM, CONSOLE_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(CONSOLE_EPSIZE)), +# else + [USB_ENDPOINT_IN_CONSOLE] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, CONSOLE_EPSIZE, CONSOLE_IN_EPNUM, CONSOLE_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(CONSOLE_EPSIZE)), +# endif +#endif + +#if defined(RAW_ENABLE) +# if defined(USB_ENDPOINTS_ARE_REORDERABLE) + [USB_ENDPOINT_IN_RAW] = QMK_USB_ENDPOINT_IN_SHARED(USB_EP_MODE_TYPE_INTR, RAW_EPSIZE, RAW_IN_EPNUM, RAW_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(RAW_EPSIZE)), +# else + [USB_ENDPOINT_IN_RAW] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, RAW_EPSIZE, RAW_IN_EPNUM, RAW_IN_CAPACITY, NULL, QMK_USB_REPORT_STORAGE_DEFAULT(RAW_EPSIZE)), +# endif +#endif + +#if defined(MIDI_ENABLE) +# if defined(USB_ENDPOINTS_ARE_REORDERABLE) + [USB_ENDPOINT_IN_MIDI] = QMK_USB_ENDPOINT_IN_SHARED(USB_EP_MODE_TYPE_BULK, MIDI_STREAM_EPSIZE, MIDI_STREAM_IN_EPNUM, MIDI_STREAM_IN_CAPACITY, NULL, NULL), +# else + [USB_ENDPOINT_IN_MIDI] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_BULK, MIDI_STREAM_EPSIZE, MIDI_STREAM_IN_EPNUM, MIDI_STREAM_IN_CAPACITY, NULL, NULL), +# endif +#endif + +#if defined(VIRTSER_ENABLE) +# if defined(USB_ENDPOINTS_ARE_REORDERABLE) + [USB_ENDPOINT_IN_CDC_DATA] = QMK_USB_ENDPOINT_IN_SHARED(USB_EP_MODE_TYPE_BULK, CDC_EPSIZE, CDC_IN_EPNUM, CDC_IN_CAPACITY, virtser_usb_request_cb, NULL), +# else + [USB_ENDPOINT_IN_CDC_DATA] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_BULK, CDC_EPSIZE, CDC_IN_EPNUM, CDC_IN_CAPACITY, virtser_usb_request_cb, NULL), +# endif + [USB_ENDPOINT_IN_CDC_SIGNALING] = QMK_USB_ENDPOINT_IN(USB_EP_MODE_TYPE_INTR, CDC_NOTIFICATION_EPSIZE, CDC_NOTIFICATION_EPNUM, CDC_SIGNALING_DUMMY_CAPACITY, NULL, NULL), +#endif +}; + +usb_endpoint_in_lut_t usb_endpoint_interface_lut[TOTAL_INTERFACES] = { +#if !defined(KEYBOARD_SHARED_EP) + [KEYBOARD_INTERFACE] = USB_ENDPOINT_IN_KEYBOARD, +#endif + +#if defined(RAW_ENABLE) + [RAW_INTERFACE] = USB_ENDPOINT_IN_RAW, +#endif + +#if defined(MOUSE_ENABLE) && !defined(MOUSE_SHARED_EP) + [MOUSE_INTERFACE] = USB_ENDPOINT_IN_MOUSE, +#endif + +#if defined(SHARED_EP_ENABLE) + [SHARED_INTERFACE] = USB_ENDPOINT_IN_SHARED, +#endif + +#if defined(CONSOLE_ENABLE) + [CONSOLE_INTERFACE] = USB_ENDPOINT_IN_CONSOLE, +#endif + +#if defined(MIDI_ENABLE) + [AS_INTERFACE] = USB_ENDPOINT_IN_MIDI, +#endif + +#if defined(VIRTSER_ENABLE) + [CCI_INTERFACE] = USB_ENDPOINT_IN_CDC_SIGNALING, + [CDI_INTERFACE] = USB_ENDPOINT_IN_CDC_DATA, +#endif + +#if defined(JOYSTICK_ENABLE) && !defined(JOYSTICK_SHARED_EP) + [JOYSTICK_INTERFACE] = USB_ENDPOINT_IN_JOYSTICK, +#endif + +#if defined(DIGITIZER_ENABLE) && !defined(DIGITIZER_SHARED_EP) + [DIGITIZER_INTERFACE] = USB_ENDPOINT_IN_DIGITIZER, +#endif +}; + +usb_endpoint_out_t usb_endpoints_out[USB_ENDPOINT_OUT_COUNT] = { +#if defined(RAW_ENABLE) + [USB_ENDPOINT_OUT_RAW] = QMK_USB_ENDPOINT_OUT(USB_EP_MODE_TYPE_INTR, RAW_EPSIZE, RAW_OUT_EPNUM, RAW_OUT_CAPACITY), +#endif + +#if defined(MIDI_ENABLE) + [USB_ENDPOINT_OUT_MIDI] = QMK_USB_ENDPOINT_OUT(USB_EP_MODE_TYPE_BULK, MIDI_STREAM_EPSIZE, MIDI_STREAM_OUT_EPNUM, MIDI_STREAM_OUT_CAPACITY), +#endif + +#if defined(VIRTSER_ENABLE) + [USB_ENDPOINT_OUT_CDC_DATA] = QMK_USB_ENDPOINT_OUT(USB_EP_MODE_TYPE_BULK, CDC_EPSIZE, CDC_OUT_EPNUM, CDC_OUT_CAPACITY), +#endif +}; diff --git a/tmk_core/protocol/chibios/usb_endpoints.h b/tmk_core/protocol/chibios/usb_endpoints.h new file mode 100644 index 00000000000..a4e5ed88fce --- /dev/null +++ b/tmk_core/protocol/chibios/usb_endpoints.h @@ -0,0 +1,137 @@ +// Copyright 2023 Stefan Kerkmann (@KarlK90) +// SPDX-License-Identifier: GPL-3.0-or-later + +#pragma once + +#include "usb_descriptor.h" + +#if !defined(USB_DEFAULT_BUFFER_CAPACITY) +# define USB_DEFAULT_BUFFER_CAPACITY 4 +#endif + +#if !defined(KEYBOARD_IN_CAPACITY) +# define KEYBOARD_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif +#if !defined(SHARED_IN_CAPACITY) +# define SHARED_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif +#if !defined(MOUSE_IN_CAPACITY) +# define MOUSE_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(JOYSTICK_IN_CAPACITY) +# define JOYSTICK_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(DIGITIZER_IN_CAPACITY) +# define DIGITIZER_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(CONSOLE_IN_CAPACITY) +# define CONSOLE_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(CONSOLE_OUT_CAPACITY) +# define CONSOLE_OUT_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(RAW_IN_CAPACITY) +# define RAW_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(RAW_OUT_CAPACITY) +# define RAW_OUT_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(MIDI_STREAM_IN_CAPACITY) +# define MIDI_STREAM_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(MIDI_STREAM_OUT_CAPACITY) +# define MIDI_STREAM_OUT_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(CDC_IN_CAPACITY) +# define CDC_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#if !defined(CDC_OUT_CAPACITY) +# define CDC_OUT_CAPACITY USB_DEFAULT_BUFFER_CAPACITY +#endif + +#define CDC_SIGNALING_DUMMY_CAPACITY 1 + +typedef enum { +#if defined(SHARED_EP_ENABLE) + USB_ENDPOINT_IN_SHARED, +#endif + +#if !defined(KEYBOARD_SHARED_EP) + USB_ENDPOINT_IN_KEYBOARD, +#endif + +#if defined(MOUSE_ENABLE) && !defined(MOUSE_SHARED_EP) + USB_ENDPOINT_IN_MOUSE, +#endif + +#if defined(JOYSTICK_ENABLE) && !defined(JOYSTICK_SHARED_EP) + USB_ENDPOINT_IN_JOYSTICK, +#endif + +#if defined(DIGITIZER_ENABLE) && !defined(DIGITIZER_SHARED_EP) + USB_ENDPOINT_IN_DIGITIZER, +#endif + +#if defined(CONSOLE_ENABLE) + USB_ENDPOINT_IN_CONSOLE, +#endif + +#if defined(RAW_ENABLE) + USB_ENDPOINT_IN_RAW, +#endif + +#if defined(MIDI_ENABLE) + USB_ENDPOINT_IN_MIDI, +#endif + +#if defined(VIRTSER_ENABLE) + USB_ENDPOINT_IN_CDC_DATA, + USB_ENDPOINT_IN_CDC_SIGNALING, +#endif + USB_ENDPOINT_IN_COUNT, +/* All non shared endpoints have to be consequtive numbers starting from 0, so + * that they can be used as array indices. The shared endpoints all point to + * the same endpoint so they have to be defined last to not reset the enum + * counter. */ +#if defined(SHARED_EP_ENABLE) +# if defined(KEYBOARD_SHARED_EP) + USB_ENDPOINT_IN_KEYBOARD = USB_ENDPOINT_IN_SHARED, +# endif +# if defined(MOUSE_SHARED_EP) + USB_ENDPOINT_IN_MOUSE = USB_ENDPOINT_IN_SHARED, +# endif +# if defined(JOYSTICK_SHARED_EP) + USB_ENDPOINT_IN_JOYSTICK = USB_ENDPOINT_IN_SHARED, +# endif +# if defined(DIGITIZER_SHARED_EP) + USB_ENDPOINT_IN_DIGITIZER = USB_ENDPOINT_IN_SHARED, +# endif +#endif +} usb_endpoint_in_lut_t; + +#define IS_VALID_USB_ENDPOINT_IN_LUT(i) ((i) >= 0 && (i) < USB_ENDPOINT_IN_COUNT) + +usb_endpoint_in_lut_t usb_endpoint_interface_lut[TOTAL_INTERFACES]; + +typedef enum { +#if defined(RAW_ENABLE) + USB_ENDPOINT_OUT_RAW, +#endif +#if defined(MIDI_ENABLE) + USB_ENDPOINT_OUT_MIDI, +#endif +#if defined(VIRTSER_ENABLE) + USB_ENDPOINT_OUT_CDC_DATA, +#endif + USB_ENDPOINT_OUT_COUNT, +} usb_endpoint_out_lut_t; diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index 7b1e6412131..ced5fd4fc27 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c @@ -1,45 +1,32 @@ -/* - * (c) 2015 flabberast - * - * Based on the following work: - * - Guillaume Duc's raw hid example (MIT License) - * https://github.com/guiduc/usb-hid-chibios-example - * - PJRC Teensy examples (MIT License) - * https://www.pjrc.com/teensy/usb_keyboard.html - * - hasu's TMK keyboard code (GPL v2 and some code Modified BSD) - * https://github.com/tmk/tmk_keyboard/ - * - ChibiOS demo code (Apache 2.0 License) - * http://www.chibios.org - * - * Since some GPL'd code is used, this work is licensed under - * GPL v2 or later. - */ - -/* - * Implementation notes: - * - * USBEndpointConfig - Configured using explicit order instead of struct member name. - * This is due to ChibiOS hal LLD differences, which is dependent on hardware, - * "USBv1" devices have `ep_buffers` and "OTGv1" have `in_multiplier`. - * Given `USBv1/hal_usb_lld.h` marks the field as "not currently used" this code file - * makes the assumption this is safe to avoid littering with preprocessor directives. - */ +// Copyright 2023 Stefan Kerkmann +// Copyright 2020-2021 Ryan (@fauxpark) +// Copyright 2020 Nick Brassel (@tzarc) +// Copyright 2020 a-chol +// Copyright 2020 xyzz +// Copyright 2020 Joel Challis (@zvecr) +// Copyright 2020 George (@goshdarnharris) +// Copyright 2018 James Laird-Wah +// Copyright 2018 Drashna Jaelre (@drashna) +// Copyright 2016 Fredizzimo +// Copyright 2016 Giovanni Di Sirio +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 #include #include #include #include "usb_main.h" +#include "usb_report_handling.h" #include "host.h" -#include "chibios_config.h" -#include "debug.h" #include "suspend.h" +#include "timer.h" #ifdef SLEEP_LED_ENABLE # include "sleep_led.h" # include "led.h" #endif #include "wait.h" +#include "usb_endpoints.h" #include "usb_device_state.h" #include "usb_descriptor.h" #include "usb_driver.h" @@ -51,11 +38,6 @@ extern keymap_config_t keymap_config; #endif -#if defined(CONSOLE_ENABLE) -# define RBUF_SIZE 256 -# include "ring_buffer.h" -#endif - /* --------------------------------------------------------- * Global interface variables and declarations * --------------------------------------------------------- @@ -69,33 +51,16 @@ extern keymap_config_t keymap_config; # define usb_lld_disconnect_bus(usbp) #endif -uint8_t keyboard_idle __attribute__((aligned(2))) = 0; -uint8_t keyboard_protocol __attribute__((aligned(2))) = 1; -uint8_t keyboard_led_state = 0; -volatile uint16_t keyboard_idle_count = 0; -static virtual_timer_t keyboard_idle_timer; - -static void keyboard_idle_timer_cb(struct ch_virtual_timer *, void *arg); +extern usb_endpoint_in_t usb_endpoints_in[USB_ENDPOINT_IN_COUNT]; +extern usb_endpoint_out_t usb_endpoints_out[USB_ENDPOINT_OUT_COUNT]; -report_keyboard_t keyboard_report_sent = {0}; -report_mouse_t mouse_report_sent = {0}; +uint8_t _Alignas(2) keyboard_idle = 0; +uint8_t _Alignas(2) keyboard_protocol = 1; +uint8_t keyboard_led_state = 0; -union { - uint8_t report_id; - report_keyboard_t keyboard; -#ifdef EXTRAKEY_ENABLE - report_extra_t extra; -#endif -#ifdef MOUSE_ENABLE - report_mouse_t mouse; -#endif -#ifdef DIGITIZER_ENABLE - report_digitizer_t digitizer; -#endif -#ifdef JOYSTICK_ENABLE - report_joystick_t joystick; -#endif -} universal_report_blank = {0}; +static bool __attribute__((__unused__)) send_report_buffered(usb_endpoint_in_lut_t endpoint, void *report, size_t size); +static void __attribute__((__unused__)) flush_report_buffered(usb_endpoint_in_lut_t endpoint, bool padded); +static bool __attribute__((__unused__)) receive_report(usb_endpoint_out_lut_t endpoint, void *report, size_t size); /* --------------------------------------------------------- * Descriptors and USB driver objects @@ -109,6 +74,11 @@ union { NULL, /* SETUP buffer (not a SETUP endpoint) */ #endif +/* + * Handles the GET_DESCRIPTOR callback + * + * Returns the proper descriptor + */ static const USBDescriptor *usb_get_descriptor_cb(USBDriver *usbp, uint8_t dtype, uint8_t dindex, uint16_t wIndex) { usb_control_request_t *setup = (usb_control_request_t *)usbp->setup; @@ -123,299 +93,6 @@ static const USBDescriptor *usb_get_descriptor_cb(USBDriver *usbp, uint8_t dtype return &descriptor; } -/* - * USB notification callback that does nothing. Needed to work around bugs in - * some USB LLDs that fail to resume the waiting thread when the notification - * callback pointer is NULL. - */ -static void dummy_usb_cb(USBDriver *usbp, usbep_t ep) { - (void)usbp; - (void)ep; -} - -#ifndef KEYBOARD_SHARED_EP -/* keyboard endpoint state structure */ -static USBInEndpointState kbd_ep_state; -/* keyboard endpoint initialization structure (IN) - see USBEndpointConfig comment at top of file */ -static const USBEndpointConfig kbd_ep_config = { - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ - NULL, /* SETUP packet notification callback */ - dummy_usb_cb, /* IN notification callback */ - NULL, /* OUT notification callback */ - KEYBOARD_EPSIZE, /* IN maximum packet size */ - 0, /* OUT maximum packet size */ - &kbd_ep_state, /* IN Endpoint state */ - NULL, /* OUT endpoint state */ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ -}; -#endif - -#if defined(MOUSE_ENABLE) && !defined(MOUSE_SHARED_EP) -/* mouse endpoint state structure */ -static USBInEndpointState mouse_ep_state; - -/* mouse endpoint initialization structure (IN) - see USBEndpointConfig comment at top of file */ -static const USBEndpointConfig mouse_ep_config = { - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ - NULL, /* SETUP packet notification callback */ - dummy_usb_cb, /* IN notification callback */ - NULL, /* OUT notification callback */ - MOUSE_EPSIZE, /* IN maximum packet size */ - 0, /* OUT maximum packet size */ - &mouse_ep_state, /* IN Endpoint state */ - NULL, /* OUT endpoint state */ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ -}; -#endif - -#ifdef SHARED_EP_ENABLE -/* shared endpoint state structure */ -static USBInEndpointState shared_ep_state; - -/* shared endpoint initialization structure (IN) - see USBEndpointConfig comment at top of file */ -static const USBEndpointConfig shared_ep_config = { - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ - NULL, /* SETUP packet notification callback */ - dummy_usb_cb, /* IN notification callback */ - NULL, /* OUT notification callback */ - SHARED_EPSIZE, /* IN maximum packet size */ - 0, /* OUT maximum packet size */ - &shared_ep_state, /* IN Endpoint state */ - NULL, /* OUT endpoint state */ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ -}; -#endif - -#if defined(JOYSTICK_ENABLE) && !defined(JOYSTICK_SHARED_EP) -/* joystick endpoint state structure */ -static USBInEndpointState joystick_ep_state; - -/* joystick endpoint initialization structure (IN) - see USBEndpointConfig comment at top of file */ -static const USBEndpointConfig joystick_ep_config = { - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ - NULL, /* SETUP packet notification callback */ - dummy_usb_cb, /* IN notification callback */ - NULL, /* OUT notification callback */ - JOYSTICK_EPSIZE, /* IN maximum packet size */ - 0, /* OUT maximum packet size */ - &joystick_ep_state, /* IN Endpoint state */ - NULL, /* OUT endpoint state */ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ -}; -#endif - -#if defined(DIGITIZER_ENABLE) && !defined(DIGITIZER_SHARED_EP) -/* digitizer endpoint state structure */ -static USBInEndpointState digitizer_ep_state; - -/* digitizer endpoint initialization structure (IN) - see USBEndpointConfig comment at top of file */ -static const USBEndpointConfig digitizer_ep_config = { - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ - NULL, /* SETUP packet notification callback */ - dummy_usb_cb, /* IN notification callback */ - NULL, /* OUT notification callback */ - DIGITIZER_EPSIZE, /* IN maximum packet size */ - 0, /* OUT maximum packet size */ - &digitizer_ep_state, /* IN Endpoint state */ - NULL, /* OUT endpoint state */ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ -}; -#endif - -#ifdef CONSOLE_ENABLE -/* Console endpoint state structure */ -static USBInEndpointState console_ep_state; - -/* Console endpoint initialization structure (IN) - see USBEndpointConfig comment at top of file */ -static const USBEndpointConfig console_ep_config = { - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ - NULL, /* SETUP packet notification callback */ - dummy_usb_cb, /* IN notification callback */ - NULL, /* OUT notification callback */ - CONSOLE_EPSIZE, /* IN maximum packet size */ - 0, /* OUT maximum packet size */ - &console_ep_state, /* IN Endpoint state */ - NULL, /* OUT endpoint state */ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ -}; -#endif - -#ifdef USB_ENDPOINTS_ARE_REORDERABLE -typedef struct { - size_t queue_capacity_in; - size_t queue_capacity_out; - USBInEndpointState in_ep_state; - USBOutEndpointState out_ep_state; - USBInEndpointState int_ep_state; - USBEndpointConfig inout_ep_config; - USBEndpointConfig int_ep_config; - const QMKUSBConfig config; - QMKUSBDriver driver; -} usb_driver_config_t; -#else -typedef struct { - size_t queue_capacity_in; - size_t queue_capacity_out; - USBInEndpointState in_ep_state; - USBOutEndpointState out_ep_state; - USBInEndpointState int_ep_state; - USBEndpointConfig in_ep_config; - USBEndpointConfig out_ep_config; - USBEndpointConfig int_ep_config; - const QMKUSBConfig config; - QMKUSBDriver driver; -} usb_driver_config_t; -#endif - -#ifdef USB_ENDPOINTS_ARE_REORDERABLE -/* Reusable initialization structure - see USBEndpointConfig comment at top of file */ -# define QMK_USB_DRIVER_CONFIG(stream, notification, fixedsize) \ - { \ - .queue_capacity_in = stream##_IN_CAPACITY, .queue_capacity_out = stream##_OUT_CAPACITY, \ - .inout_ep_config = \ - { \ - stream##_IN_MODE, /* Interrupt EP */ \ - NULL, /* SETUP packet notification callback */ \ - qmkusbDataTransmitted, /* IN notification callback */ \ - qmkusbDataReceived, /* OUT notification callback */ \ - stream##_EPSIZE, /* IN maximum packet size */ \ - stream##_EPSIZE, /* OUT maximum packet size */ \ - NULL, /* IN Endpoint state */ \ - NULL, /* OUT endpoint state */ \ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ - }, \ - .int_ep_config = \ - { \ - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ \ - NULL, /* SETUP packet notification callback */ \ - qmkusbInterruptTransmitted, /* IN notification callback */ \ - NULL, /* OUT notification callback */ \ - CDC_NOTIFICATION_EPSIZE, /* IN maximum packet size */ \ - 0, /* OUT maximum packet size */ \ - NULL, /* IN Endpoint state */ \ - NULL, /* OUT endpoint state */ \ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ - }, \ - .config = { \ - .usbp = &USB_DRIVER, \ - .bulk_in = stream##_IN_EPNUM, \ - .bulk_out = stream##_OUT_EPNUM, \ - .int_in = notification, \ - .in_buffers = stream##_IN_CAPACITY, \ - .out_buffers = stream##_OUT_CAPACITY, \ - .in_size = stream##_EPSIZE, \ - .out_size = stream##_EPSIZE, \ - .fixed_size = fixedsize, \ - .ib = (__attribute__((aligned(4))) uint8_t[BQ_BUFFER_SIZE(stream##_IN_CAPACITY, stream##_EPSIZE)]){}, \ - .ob = (__attribute__((aligned(4))) uint8_t[BQ_BUFFER_SIZE(stream##_OUT_CAPACITY, stream##_EPSIZE)]){}, \ - } \ - } -#else -/* Reusable initialization structure - see USBEndpointConfig comment at top of file */ -# define QMK_USB_DRIVER_CONFIG(stream, notification, fixedsize) \ - { \ - .queue_capacity_in = stream##_IN_CAPACITY, .queue_capacity_out = stream##_OUT_CAPACITY, \ - .in_ep_config = \ - { \ - stream##_IN_MODE, /* Interrupt EP */ \ - NULL, /* SETUP packet notification callback */ \ - qmkusbDataTransmitted, /* IN notification callback */ \ - NULL, /* OUT notification callback */ \ - stream##_EPSIZE, /* IN maximum packet size */ \ - 0, /* OUT maximum packet size */ \ - NULL, /* IN Endpoint state */ \ - NULL, /* OUT endpoint state */ \ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ - }, \ - .out_ep_config = \ - { \ - stream##_OUT_MODE, /* Interrupt EP */ \ - NULL, /* SETUP packet notification callback */ \ - NULL, /* IN notification callback */ \ - qmkusbDataReceived, /* OUT notification callback */ \ - 0, /* IN maximum packet size */ \ - stream##_EPSIZE, /* OUT maximum packet size */ \ - NULL, /* IN Endpoint state */ \ - NULL, /* OUT endpoint state */ \ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ - }, \ - .int_ep_config = \ - { \ - USB_EP_MODE_TYPE_INTR, /* Interrupt EP */ \ - NULL, /* SETUP packet notification callback */ \ - qmkusbInterruptTransmitted, /* IN notification callback */ \ - NULL, /* OUT notification callback */ \ - CDC_NOTIFICATION_EPSIZE, /* IN maximum packet size */ \ - 0, /* OUT maximum packet size */ \ - NULL, /* IN Endpoint state */ \ - NULL, /* OUT endpoint state */ \ - usb_lld_endpoint_fields /* USB driver specific endpoint fields */ \ - }, \ - .config = { \ - .usbp = &USB_DRIVER, \ - .bulk_in = stream##_IN_EPNUM, \ - .bulk_out = stream##_OUT_EPNUM, \ - .int_in = notification, \ - .in_buffers = stream##_IN_CAPACITY, \ - .out_buffers = stream##_OUT_CAPACITY, \ - .in_size = stream##_EPSIZE, \ - .out_size = stream##_EPSIZE, \ - .fixed_size = fixedsize, \ - .ib = (__attribute__((aligned(4))) uint8_t[BQ_BUFFER_SIZE(stream##_IN_CAPACITY, stream##_EPSIZE)]){}, \ - .ob = (__attribute__((aligned(4))) uint8_t[BQ_BUFFER_SIZE(stream##_OUT_CAPACITY, stream##_EPSIZE)]){}, \ - } \ - } -#endif - -typedef struct { - union { - struct { -#ifdef RAW_ENABLE - usb_driver_config_t raw_driver; -#endif -#ifdef MIDI_ENABLE - usb_driver_config_t midi_driver; -#endif -#ifdef VIRTSER_ENABLE - usb_driver_config_t serial_driver; -#endif - }; - usb_driver_config_t array[0]; - }; -} usb_driver_configs_t; - -static usb_driver_configs_t drivers = { -#ifdef RAW_ENABLE -# ifndef RAW_IN_CAPACITY -# define RAW_IN_CAPACITY 4 -# endif -# ifndef RAW_OUT_CAPACITY -# define RAW_OUT_CAPACITY 4 -# endif -# define RAW_IN_MODE USB_EP_MODE_TYPE_INTR -# define RAW_OUT_MODE USB_EP_MODE_TYPE_INTR - .raw_driver = QMK_USB_DRIVER_CONFIG(RAW, 0, false), -#endif - -#ifdef MIDI_ENABLE -# define MIDI_STREAM_IN_CAPACITY 4 -# define MIDI_STREAM_OUT_CAPACITY 4 -# define MIDI_STREAM_IN_MODE USB_EP_MODE_TYPE_BULK -# define MIDI_STREAM_OUT_MODE USB_EP_MODE_TYPE_BULK - .midi_driver = QMK_USB_DRIVER_CONFIG(MIDI_STREAM, 0, false), -#endif - -#ifdef VIRTSER_ENABLE -# define CDC_IN_CAPACITY 4 -# define CDC_OUT_CAPACITY 4 -# define CDC_IN_MODE USB_EP_MODE_TYPE_BULK -# define CDC_OUT_MODE USB_EP_MODE_TYPE_BULK - .serial_driver = QMK_USB_DRIVER_CONFIG(CDC, CDC_NOTIFICATION_EPNUM, false), -#endif -}; - -#define NUM_USB_DRIVERS (sizeof(drivers) / sizeof(usb_driver_config_t)) - /* --------------------------------------------------------- * USB driver functions * --------------------------------------------------------- @@ -507,36 +184,11 @@ static void usb_event_cb(USBDriver *usbp, usbevent_t event) { case USB_EVENT_CONFIGURED: osalSysLockFromISR(); - /* Enable the endpoints specified into the configuration. */ -#ifndef KEYBOARD_SHARED_EP - usbInitEndpointI(usbp, KEYBOARD_IN_EPNUM, &kbd_ep_config); -#endif -#if defined(MOUSE_ENABLE) && !defined(MOUSE_SHARED_EP) - usbInitEndpointI(usbp, MOUSE_IN_EPNUM, &mouse_ep_config); -#endif -#ifdef SHARED_EP_ENABLE - usbInitEndpointI(usbp, SHARED_IN_EPNUM, &shared_ep_config); -#endif -#if defined(JOYSTICK_ENABLE) && !defined(JOYSTICK_SHARED_EP) - usbInitEndpointI(usbp, JOYSTICK_IN_EPNUM, &joystick_ep_config); -#endif -#if defined(DIGITIZER_ENABLE) && !defined(DIGITIZER_SHARED_EP) - usbInitEndpointI(usbp, DIGITIZER_IN_EPNUM, &digitizer_ep_config); -#endif -#ifdef CONSOLE_ENABLE - usbInitEndpointI(usbp, CONSOLE_IN_EPNUM, &console_ep_config); -#endif - for (int i = 0; i < NUM_USB_DRIVERS; i++) { -#ifdef USB_ENDPOINTS_ARE_REORDERABLE - usbInitEndpointI(usbp, drivers.array[i].config.bulk_in, &drivers.array[i].inout_ep_config); -#else - usbInitEndpointI(usbp, drivers.array[i].config.bulk_in, &drivers.array[i].in_ep_config); - usbInitEndpointI(usbp, drivers.array[i].config.bulk_out, &drivers.array[i].out_ep_config); -#endif - if (drivers.array[i].config.int_in) { - usbInitEndpointI(usbp, drivers.array[i].config.int_in, &drivers.array[i].int_ep_config); - } - qmkusbConfigureHookI(&drivers.array[i].driver); + for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { + usb_endpoint_in_configure_cb(&usb_endpoints_in[i]); + } + for (int i = 0; i < USB_ENDPOINT_OUT_COUNT; i++) { + usb_endpoint_out_configure_cb(&usb_endpoints_out[i]); } osalSysUnlockFromISR(); if (last_suspend_state) { @@ -550,22 +202,25 @@ static void usb_event_cb(USBDriver *usbp, usbevent_t event) { /* Falls into.*/ case USB_EVENT_RESET: usb_event_queue_enqueue(event); - for (int i = 0; i < NUM_USB_DRIVERS; i++) { - chSysLockFromISR(); - /* Disconnection event on suspend.*/ - qmkusbSuspendHookI(&drivers.array[i].driver); - chSysUnlockFromISR(); + chSysLockFromISR(); + for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { + usb_endpoint_in_suspend_cb(&usb_endpoints_in[i]); } + for (int i = 0; i < USB_ENDPOINT_OUT_COUNT; i++) { + usb_endpoint_out_suspend_cb(&usb_endpoints_out[i]); + } + chSysUnlockFromISR(); return; case USB_EVENT_WAKEUP: - // TODO: from ISR! print("[W]"); - for (int i = 0; i < NUM_USB_DRIVERS; i++) { - chSysLockFromISR(); - /* Disconnection event on suspend.*/ - qmkusbWakeupHookI(&drivers.array[i].driver); - chSysUnlockFromISR(); + chSysLockFromISR(); + for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { + usb_endpoint_in_wakeup_cb(&usb_endpoints_in[i]); + } + for (int i = 0; i < USB_ENDPOINT_OUT_COUNT; i++) { + usb_endpoint_out_wakeup_cb(&usb_endpoints_out[i]); } + chSysUnlockFromISR(); usb_event_queue_enqueue(USB_EVENT_WAKEUP); return; @@ -587,7 +242,7 @@ static void usb_event_cb(USBDriver *usbp, usbevent_t event) { * Other Device Required Optional Optional Optional Optional Optional */ -static uint8_t set_report_buf[2] __attribute__((aligned(4))); +static uint8_t _Alignas(4) set_report_buf[2]; static void set_led_transfer_cb(USBDriver *usbp) { usb_control_request_t *setup = (usb_control_request_t *)usbp->setup; @@ -611,41 +266,7 @@ static bool usb_requests_hook_cb(USBDriver *usbp) { case USB_RTYPE_DIR_DEV2HOST: switch (setup->bRequest) { case HID_REQ_GetReport: - switch (setup->wIndex) { -#ifndef KEYBOARD_SHARED_EP - case KEYBOARD_INTERFACE: - usbSetupTransfer(usbp, (uint8_t *)&keyboard_report_sent, KEYBOARD_REPORT_SIZE, NULL); - return TRUE; - break; -#endif -#if defined(MOUSE_ENABLE) && !defined(MOUSE_SHARED_EP) - case MOUSE_INTERFACE: - usbSetupTransfer(usbp, (uint8_t *)&mouse_report_sent, sizeof(mouse_report_sent), NULL); - return TRUE; - break; -#endif -#ifdef SHARED_EP_ENABLE - case SHARED_INTERFACE: -# ifdef KEYBOARD_SHARED_EP - if (setup->wValue.lbyte == REPORT_ID_KEYBOARD) { - usbSetupTransfer(usbp, (uint8_t *)&keyboard_report_sent, KEYBOARD_REPORT_SIZE, NULL); - return true; - } -# endif -# ifdef MOUSE_SHARED_EP - if (setup->wValue.lbyte == REPORT_ID_MOUSE) { - usbSetupTransfer(usbp, (uint8_t *)&mouse_report_sent, sizeof(mouse_report_sent), NULL); - return true; - } -# endif -#endif /* SHARED_EP_ENABLE */ - default: - universal_report_blank.report_id = setup->wValue.lbyte; - usbSetupTransfer(usbp, (uint8_t *)&universal_report_blank, setup->wLength, NULL); - return true; - } - break; - + return usb_get_report_cb(usbp); case HID_REQ_GetProtocol: if (setup->wIndex == KEYBOARD_INTERFACE) { usbSetupTransfer(usbp, &keyboard_protocol, sizeof(uint8_t), NULL); @@ -654,10 +275,8 @@ static bool usb_requests_hook_cb(USBDriver *usbp) { break; case HID_REQ_GetIdle: - usbSetupTransfer(usbp, &keyboard_idle, sizeof(uint8_t), NULL); - return true; + return usb_get_idle_cb(usbp); } - break; case USB_RTYPE_DIR_HOST2DEV: switch (setup->bRequest) { @@ -671,38 +290,15 @@ static bool usb_requests_hook_cb(USBDriver *usbp) { return true; } break; - case HID_REQ_SetProtocol: if (setup->wIndex == KEYBOARD_INTERFACE) { keyboard_protocol = setup->wValue.word; -#ifdef NKRO_ENABLE - if (!keyboard_protocol && keyboard_idle) { -#else /* NKRO_ENABLE */ - if (keyboard_idle) { -#endif /* NKRO_ENABLE */ - /* arm the idle timer if boot protocol & idle */ - osalSysLockFromISR(); - chVTSetI(&keyboard_idle_timer, 4 * TIME_MS2I(keyboard_idle), keyboard_idle_timer_cb, (void *)usbp); - osalSysUnlockFromISR(); - } } usbSetupTransfer(usbp, NULL, 0, NULL); return true; - case HID_REQ_SetIdle: keyboard_idle = setup->wValue.hbyte; - /* arm the timer */ -#ifdef NKRO_ENABLE - if (!keymap_config.nkro && keyboard_idle) { -#else /* NKRO_ENABLE */ - if (keyboard_idle) { -#endif /* NKRO_ENABLE */ - osalSysLockFromISR(); - chVTSetI(&keyboard_idle_timer, 4 * TIME_MS2I(keyboard_idle), keyboard_idle_timer_cb, (void *)usbp); - osalSysUnlockFromISR(); - } - usbSetupTransfer(usbp, NULL, 0, NULL); - return true; + return usb_set_idle_cb(usbp); } break; } @@ -719,52 +315,40 @@ static bool usb_requests_hook_cb(USBDriver *usbp) { return true; } - for (int i = 0; i < NUM_USB_DRIVERS; i++) { - if (drivers.array[i].config.int_in) { - // NOTE: Assumes that we only have one serial driver - return qmkusbRequestsHook(usbp); + for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { + if (usb_endpoints_in[i].usb_requests_cb != NULL) { + if (usb_endpoints_in[i].usb_requests_cb(usbp)) { + return true; + } } } return false; } -static void usb_sof_cb(USBDriver *usbp) { - osalSysLockFromISR(); - for (int i = 0; i < NUM_USB_DRIVERS; i++) { - qmkusbSOFHookI(&drivers.array[i].driver); - } - osalSysUnlockFromISR(); +static __attribute__((unused)) void dummy_cb(USBDriver *usbp) { + (void)usbp; } -/* USB driver configuration */ static const USBConfig usbcfg = { usb_event_cb, /* USB events callback */ usb_get_descriptor_cb, /* Device GET_DESCRIPTOR request callback */ usb_requests_hook_cb, /* Requests hook callback */ - usb_sof_cb /* Start Of Frame callback */ +#if STM32_USB_USE_OTG1 == TRUE || STM32_USB_USE_OTG2 == TRUE + dummy_cb, /* Workaround for OTG Peripherals not servicing new interrupts + after resuming from suspend. */ +#endif }; -/* - * Initialize the USB driver - */ void init_usb_driver(USBDriver *usbp) { - for (int i = 0; i < NUM_USB_DRIVERS; i++) { -#ifdef USB_ENDPOINTS_ARE_REORDERABLE - QMKUSBDriver *driver = &drivers.array[i].driver; - drivers.array[i].inout_ep_config.in_state = &drivers.array[i].in_ep_state; - drivers.array[i].inout_ep_config.out_state = &drivers.array[i].out_ep_state; - drivers.array[i].int_ep_config.in_state = &drivers.array[i].int_ep_state; - qmkusbObjectInit(driver, &drivers.array[i].config); - qmkusbStart(driver, &drivers.array[i].config); -#else - QMKUSBDriver *driver = &drivers.array[i].driver; - drivers.array[i].in_ep_config.in_state = &drivers.array[i].in_ep_state; - drivers.array[i].out_ep_config.out_state = &drivers.array[i].out_ep_state; - drivers.array[i].int_ep_config.in_state = &drivers.array[i].int_ep_state; - qmkusbObjectInit(driver, &drivers.array[i].config); - qmkusbStart(driver, &drivers.array[i].config); -#endif + for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { + usb_endpoint_in_init(&usb_endpoints_in[i]); + usb_endpoint_in_start(&usb_endpoints_in[i]); + } + + for (int i = 0; i < USB_ENDPOINT_OUT_COUNT; i++) { + usb_endpoint_out_init(&usb_endpoints_out[i]); + usb_endpoint_out_start(&usb_endpoints_out[i]); } /* @@ -777,23 +361,31 @@ void init_usb_driver(USBDriver *usbp) { wait_ms(50); usbStart(usbp, &usbcfg); usbConnectBus(usbp); - - chVTObjectInit(&keyboard_idle_timer); } __attribute__((weak)) void restart_usb_driver(USBDriver *usbp) { usbDisconnectBus(usbp); usbStop(usbp); -#if USB_SUSPEND_WAKEUP_DELAY > 0 - // Some hubs, kvm switches, and monitors do - // weird things, with USB device state bouncing - // around wildly on wakeup, yielding race - // conditions that can corrupt the keyboard state. - // - // Pause for a while to let things settle... - wait_ms(USB_SUSPEND_WAKEUP_DELAY); -#endif + for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { + usb_endpoint_in_stop(&usb_endpoints_in[i]); + } + + for (int i = 0; i < USB_ENDPOINT_OUT_COUNT; i++) { + usb_endpoint_out_stop(&usb_endpoints_out[i]); + } + + wait_ms(50); + + for (int i = 0; i < USB_ENDPOINT_IN_COUNT; i++) { + usb_endpoint_in_init(&usb_endpoints_in[i]); + usb_endpoint_in_start(&usb_endpoints_in[i]); + } + + for (int i = 0; i < USB_ENDPOINT_OUT_COUNT; i++) { + usb_endpoint_out_init(&usb_endpoints_out[i]); + usb_endpoint_out_start(&usb_endpoints_out[i]); + } usbStart(usbp, &usbcfg); usbConnectBus(usbp); @@ -804,81 +396,78 @@ __attribute__((weak)) void restart_usb_driver(USBDriver *usbp) { * --------------------------------------------------------- */ -/* Idle requests timer code - * callback (called from ISR, unlocked state) */ -static void keyboard_idle_timer_cb(struct ch_virtual_timer *timer, void *arg) { - (void)timer; - USBDriver *usbp = (USBDriver *)arg; - - osalSysLockFromISR(); - - /* check that the states of things are as they're supposed to */ - if (usbGetDriverStateI(usbp) != USB_ACTIVE) { - /* do not rearm the timer, should be enabled on IDLE request */ - osalSysUnlockFromISR(); - return; - } - -#ifdef NKRO_ENABLE - if (!keymap_config.nkro && keyboard_idle && keyboard_protocol) { -#else /* NKRO_ENABLE */ - if (keyboard_idle && keyboard_protocol) { -#endif /* NKRO_ENABLE */ - /* TODO: are we sure we want the KBD_ENDPOINT? */ - if (!usbGetTransmitStatusI(usbp, KEYBOARD_IN_EPNUM)) { - usbStartTransmitI(usbp, KEYBOARD_IN_EPNUM, (uint8_t *)&keyboard_report_sent, KEYBOARD_EPSIZE); - } - /* rearm the timer */ - chVTSetI(&keyboard_idle_timer, 4 * TIME_MS2I(keyboard_idle), keyboard_idle_timer_cb, (void *)usbp); - } - - /* do not rearm the timer if the condition above fails - * it should be enabled again on either IDLE or SET_PROTOCOL requests */ - osalSysUnlockFromISR(); -} - /* LED status */ uint8_t keyboard_leds(void) { return keyboard_led_state; } -void send_report(uint8_t endpoint, void *report, size_t size) { - osalSysLock(); - if (usbGetDriverStateI(&USB_DRIVER) != USB_ACTIVE) { - osalSysUnlock(); - return; - } +/** + * @brief Send a report to the host, the report is enqueued into an output + * queue and send once the USB endpoint becomes empty. + * + * @param endpoint USB IN endpoint to send the report from + * @param report pointer to the report + * @param size size of the report + * @return true Success + * @return false Failure + */ +bool send_report(usb_endpoint_in_lut_t endpoint, void *report, size_t size) { + return usb_endpoint_in_send(&usb_endpoints_in[endpoint], (uint8_t *)report, size, TIME_MS2I(100), false); +} - if (usbGetTransmitStatusI(&USB_DRIVER, endpoint)) { - /* Need to either suspend, or loop and call unlock/lock during - * every iteration - otherwise the system will remain locked, - * no interrupts served, so USB not going through as well. - * Note: for suspend, need USB_USE_WAIT == TRUE in halconf.h */ - if (osalThreadSuspendTimeoutS(&(&USB_DRIVER)->epc[endpoint]->in_state->thread, TIME_MS2I(10)) == MSG_TIMEOUT) { - osalSysUnlock(); - return; - } - } - usbStartTransmitI(&USB_DRIVER, endpoint, report, size); - osalSysUnlock(); +/** + * @brief Send a report to the host, but delay the sending until the size of + * endpoint report is reached or the incompletely filled buffer is flushed with + * a call to `flush_report_buffered`. This is useful if the report is being + * updated frequently. The complete report is then enqueued into an output + * queue and send once the USB endpoint becomes empty. + * + * @param endpoint USB IN endpoint to send the report from + * @param report pointer to the report + * @param size size of the report + * @return true Success + * @return false Failure + */ +static bool send_report_buffered(usb_endpoint_in_lut_t endpoint, void *report, size_t size) { + return usb_endpoint_in_send(&usb_endpoints_in[endpoint], (uint8_t *)report, size, TIME_MS2I(100), true); +} + +/** @brief Flush all buffered reports which were enqueued with a call to + * `send_report_buffered` that haven't been send. If necessary the buffered + * report can be padded with zeros up to the endpoints maximum size. + * + * @param endpoint USB IN endpoint to flush the reports from + * @param padded Pad the buffered report with zeros up to the endpoints maximum size + */ +static void flush_report_buffered(usb_endpoint_in_lut_t endpoint, bool padded) { + usb_endpoint_in_flush(&usb_endpoints_in[endpoint], padded); +} + +/** + * @brief Receive a report from the host. + * + * @param endpoint USB OUT endpoint to receive the report from + * @param report pointer to the report + * @param size size of the report + * @return true Success + * @return false Failure + */ +static bool receive_report(usb_endpoint_out_lut_t endpoint, void *report, size_t size) { + return usb_endpoint_out_receive(&usb_endpoints_out[endpoint], (uint8_t *)report, size, TIME_IMMEDIATE); } -/* prepare and start sending a report IN - * not callable from ISR or locked state */ void send_keyboard(report_keyboard_t *report) { /* If we're in Boot Protocol, don't send any report ID or other funky fields */ if (!keyboard_protocol) { - send_report(KEYBOARD_IN_EPNUM, &report->mods, 8); + send_report(USB_ENDPOINT_IN_KEYBOARD, &report->mods, 8); } else { - send_report(KEYBOARD_IN_EPNUM, report, KEYBOARD_REPORT_SIZE); + send_report(USB_ENDPOINT_IN_KEYBOARD, report, KEYBOARD_REPORT_SIZE); } - - keyboard_report_sent = *report; } void send_nkro(report_nkro_t *report) { #ifdef NKRO_ENABLE - send_report(SHARED_IN_EPNUM, report, sizeof(report_nkro_t)); + send_report(USB_ENDPOINT_IN_SHARED, report, sizeof(report_nkro_t)); #endif } @@ -889,8 +478,7 @@ void send_nkro(report_nkro_t *report) { void send_mouse(report_mouse_t *report) { #ifdef MOUSE_ENABLE - send_report(MOUSE_IN_EPNUM, report, sizeof(report_mouse_t)); - mouse_report_sent = *report; + send_report(USB_ENDPOINT_IN_MOUSE, report, sizeof(report_mouse_t)); #endif } @@ -901,25 +489,25 @@ void send_mouse(report_mouse_t *report) { void send_extra(report_extra_t *report) { #ifdef EXTRAKEY_ENABLE - send_report(SHARED_IN_EPNUM, report, sizeof(report_extra_t)); + send_report(USB_ENDPOINT_IN_SHARED, report, sizeof(report_extra_t)); #endif } void send_programmable_button(report_programmable_button_t *report) { #ifdef PROGRAMMABLE_BUTTON_ENABLE - send_report(SHARED_IN_EPNUM, report, sizeof(report_programmable_button_t)); + send_report(USB_ENDPOINT_IN_SHARED, report, sizeof(report_programmable_button_t)); #endif } void send_joystick(report_joystick_t *report) { #ifdef JOYSTICK_ENABLE - send_report(JOYSTICK_IN_EPNUM, report, sizeof(report_joystick_t)); + send_report(USB_ENDPOINT_IN_JOYSTICK, report, sizeof(report_joystick_t)); #endif } void send_digitizer(report_digitizer_t *report) { #ifdef DIGITIZER_ENABLE - send_report(DIGITIZER_IN_EPNUM, report, sizeof(report_digitizer_t)); + send_report(USB_ENDPOINT_IN_DIGITIZER, report, sizeof(report_digitizer_t)); #endif } @@ -931,46 +519,21 @@ void send_digitizer(report_digitizer_t *report) { #ifdef CONSOLE_ENABLE int8_t sendchar(uint8_t c) { - rbuf_enqueue(c); - return 0; + return (int8_t)send_report_buffered(USB_ENDPOINT_IN_CONSOLE, &c, sizeof(uint8_t)); } void console_task(void) { - if (!rbuf_has_data()) { - return; - } - - osalSysLock(); - if (usbGetDriverStateI(&USB_DRIVER) != USB_ACTIVE) { - osalSysUnlock(); - return; - } - - if (usbGetTransmitStatusI(&USB_DRIVER, CONSOLE_IN_EPNUM)) { - osalSysUnlock(); - return; - } - - // Send in chunks - padded with zeros to 32 - char send_buf[CONSOLE_EPSIZE] = {0}; - uint8_t send_buf_count = 0; - while (rbuf_has_data() && send_buf_count < CONSOLE_EPSIZE) { - send_buf[send_buf_count++] = rbuf_dequeue(); - } - - usbStartTransmitI(&USB_DRIVER, CONSOLE_IN_EPNUM, (const uint8_t *)send_buf, CONSOLE_EPSIZE); - osalSysUnlock(); + flush_report_buffered(USB_ENDPOINT_IN_CONSOLE, true); } #endif /* CONSOLE_ENABLE */ #ifdef RAW_ENABLE void raw_hid_send(uint8_t *data, uint8_t length) { - // TODO: implement variable size packet if (length != RAW_EPSIZE) { return; } - chnWrite(&drivers.raw_driver.driver, data, length); + send_report(USB_ENDPOINT_IN_RAW, data, length); } __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) { @@ -981,13 +544,9 @@ __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) { void raw_hid_task(void) { uint8_t buffer[RAW_EPSIZE]; - size_t size = 0; - do { - size = chnReadTimeout(&drivers.raw_driver.driver, buffer, sizeof(buffer), TIME_IMMEDIATE); - if (size > 0) { - raw_hid_receive(buffer, size); - } - } while (size > 0); + while (receive_report(USB_ENDPOINT_OUT_RAW, buffer, sizeof(buffer))) { + raw_hid_receive(buffer, sizeof(buffer)); + } } #endif @@ -995,32 +554,59 @@ void raw_hid_task(void) { #ifdef MIDI_ENABLE void send_midi_packet(MIDI_EventPacket_t *event) { - chnWrite(&drivers.midi_driver.driver, (uint8_t *)event, sizeof(MIDI_EventPacket_t)); + send_report(USB_ENDPOINT_IN_MIDI, (uint8_t *)event, sizeof(MIDI_EventPacket_t)); } bool recv_midi_packet(MIDI_EventPacket_t *const event) { - size_t size = chnReadTimeout(&drivers.midi_driver.driver, (uint8_t *)event, sizeof(MIDI_EventPacket_t), TIME_IMMEDIATE); - return size == sizeof(MIDI_EventPacket_t); + return receive_report(USB_ENDPOINT_OUT_MIDI, (uint8_t *)event, sizeof(MIDI_EventPacket_t)); } + void midi_ep_task(void) { uint8_t buffer[MIDI_STREAM_EPSIZE]; - size_t size = 0; - do { - size = chnReadTimeout(&drivers.midi_driver.driver, buffer, sizeof(buffer), TIME_IMMEDIATE); - if (size > 0) { - MIDI_EventPacket_t event; - recv_midi_packet(&event); - } - } while (size > 0); + while (receive_report(USB_ENDPOINT_OUT_MIDI, buffer, sizeof(buffer))) { + MIDI_EventPacket_t event; + // TODO: this seems totally wrong? The midi task will never see any + // packets if we consume them here + recv_midi_packet(&event); + } } #endif #ifdef VIRTSER_ENABLE +# include "hal_usb_cdc.h" +/** + * @brief CDC serial driver configuration structure. Set to 9600 baud, 1 stop bit, no parity, 8 data bits. + */ +static cdc_linecoding_t linecoding = {{0x00, 0x96, 0x00, 0x00}, LC_STOP_1, LC_PARITY_NONE, 8}; + +bool virtser_usb_request_cb(USBDriver *usbp) { + if ((usbp->setup[0] & USB_RTYPE_TYPE_MASK) == USB_RTYPE_TYPE_CLASS) { /* bmRequestType */ + if (usbp->setup[4] == CCI_INTERFACE) { /* wIndex (LSB) */ + switch (usbp->setup[1]) { /* bRequest */ + case CDC_GET_LINE_CODING: + usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding), NULL); + return true; + case CDC_SET_LINE_CODING: + usbSetupTransfer(usbp, (uint8_t *)&linecoding, sizeof(linecoding), NULL); + return true; + case CDC_SET_CONTROL_LINE_STATE: + /* Nothing to do, there are no control lines.*/ + usbSetupTransfer(usbp, NULL, 0, NULL); + return true; + default: + return false; + } + } + } + + return false; +} + void virtser_init(void) {} void virtser_send(const uint8_t byte) { - chnWrite(&drivers.serial_driver.driver, &byte, 1); + send_report_buffered(USB_ENDPOINT_IN_CDC_DATA, (void *)&byte, sizeof(byte)); } __attribute__((weak)) void virtser_recv(uint8_t c) { @@ -1028,14 +614,14 @@ __attribute__((weak)) void virtser_recv(uint8_t c) { } void virtser_task(void) { - uint8_t numBytesReceived = 0; - uint8_t buffer[16]; - do { - numBytesReceived = chnReadTimeout(&drivers.serial_driver.driver, buffer, sizeof(buffer), TIME_IMMEDIATE); - for (int i = 0; i < numBytesReceived; i++) { + uint8_t buffer[CDC_EPSIZE]; + while (receive_report(USB_ENDPOINT_OUT_CDC_DATA, buffer, sizeof(buffer))) { + for (int i = 0; i < sizeof(buffer); i++) { virtser_recv(buffer[i]); } - } while (numBytesReceived > 0); + } + + flush_report_buffered(USB_ENDPOINT_IN_CDC_DATA, false); } #endif diff --git a/tmk_core/protocol/chibios/usb_main.h b/tmk_core/protocol/chibios/usb_main.h index 3fd1e84fe84..5ba6fb1961e 100644 --- a/tmk_core/protocol/chibios/usb_main.h +++ b/tmk_core/protocol/chibios/usb_main.h @@ -1,25 +1,21 @@ -/* - * (c) 2015 flabberast - * - * Based on the following work: - * - Guillaume Duc's raw hid example (MIT License) - * https://github.com/guiduc/usb-hid-chibios-example - * - PJRC Teensy examples (MIT License) - * https://www.pjrc.com/teensy/usb_keyboard.html - * - hasu's TMK keyboard code (GPL v2 and some code Modified BSD) - * https://github.com/tmk/tmk_keyboard/ - * - ChibiOS demo code (Apache 2.0 License) - * http://www.chibios.org - * - * Since some GPL'd code is used, this work is licensed under - * GPL v2 or later. - */ +// Copyright 2023 Stefan Kerkmann (@KarlK90) +// Copyright 2020 Ryan (@fauxpark) +// Copyright 2020 Joel Challis (@zvecr) +// Copyright 2018 James Laird-Wah +// Copyright 2016 Fredizzimo +// Copyright 2016 Giovanni Di Sirio +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 #pragma once #include #include +#include "usb_device_state.h" +#include "usb_descriptor.h" +#include "usb_driver.h" +#include "usb_endpoints.h" + /* ------------------------- * General USB driver header * ------------------------- @@ -36,6 +32,8 @@ void init_usb_driver(USBDriver *usbp); /* Restart the USB driver and bus */ void restart_usb_driver(USBDriver *usbp); +bool send_report(usb_endpoint_in_lut_t endpoint, void *report, size_t size); + /* --------------- * USB Event queue * --------------- @@ -58,3 +56,14 @@ void usb_event_queue_task(void); int8_t sendchar(uint8_t c); #endif /* CONSOLE_ENABLE */ + +/* -------------- + * Virtser header + * -------------- + */ + +#if defined(VIRTSER_ENABLE) + +bool virtser_usb_request_cb(USBDriver *usbp); + +#endif diff --git a/tmk_core/protocol/chibios/usb_report_handling.c b/tmk_core/protocol/chibios/usb_report_handling.c new file mode 100644 index 00000000000..64074b21642 --- /dev/null +++ b/tmk_core/protocol/chibios/usb_report_handling.c @@ -0,0 +1,296 @@ +// Copyright 2023 Stefan Kerkmann (@KarlK90) +// SPDX-License-Identifier: GPL-3.0-or-later + +#include +#include +#include + +#include "usb_report_handling.h" +#include "usb_endpoints.h" +#include "usb_main.h" +#include "usb_types.h" +#include "usb_driver.h" +#include "report.h" + +extern usb_endpoint_in_t usb_endpoints_in[USB_ENDPOINT_IN_COUNT]; +extern usb_endpoint_in_lut_t usb_endpoint_interface_lut[TOTAL_INTERFACES]; + +void usb_set_report(usb_fs_report_t **reports, const uint8_t *data, size_t length) { + if (*reports == NULL) { + return; + } + + (*reports)->last_report = chVTGetSystemTimeX(); + (*reports)->length = length; + memcpy(&(*reports)->data, data, length); +} + +void usb_get_report(usb_fs_report_t **reports, uint8_t report_id, usb_fs_report_t *report) { + (void)report_id; + if (*reports == NULL) { + return; + } + + report->length = (*reports)->length; + memcpy(&report->data, &(*reports)->data, report->length); +} + +void usb_reset_report(usb_fs_report_t **reports) { + if (*reports == NULL) { + return; + } + + memset(&(*reports)->data, 0, (*reports)->length); + (*reports)->idle_rate = 0; + (*reports)->last_report = 0; +} + +void usb_shared_set_report(usb_fs_report_t **reports, const uint8_t *data, size_t length) { + uint8_t report_id = data[0]; + + if (report_id > REPORT_ID_COUNT || reports[report_id] == NULL) { + return; + } + + reports[report_id]->last_report = chVTGetSystemTimeX(); + reports[report_id]->length = length; + memcpy(&reports[report_id]->data, data, length); +} + +void usb_shared_get_report(usb_fs_report_t **reports, uint8_t report_id, usb_fs_report_t *report) { + if (report_id > REPORT_ID_COUNT || reports[report_id] == NULL) { + return; + } + + report->length = reports[report_id]->length; + memcpy(&report->data, &reports[report_id]->data, report->length); +} + +void usb_shared_reset_report(usb_fs_report_t **reports) { + for (int i = 0; i <= REPORT_ID_COUNT; i++) { + if (reports[i] == NULL) { + continue; + } + memset(&reports[i]->data, 0, reports[i]->length); + reports[i]->idle_rate = 0; + reports[i]->last_report = 0; + } +} + +bool usb_get_report_cb(USBDriver *driver) { + usb_control_request_t *setup = (usb_control_request_t *)driver->setup; + uint8_t interface = setup->wIndex; + uint8_t report_id = setup->wValue.lbyte; + + static usb_fs_report_t report; + + if (!IS_VALID_INTERFACE(interface) || !IS_VALID_REPORT_ID(report_id)) { + return false; + } + + usb_endpoint_in_lut_t ep = usb_endpoint_interface_lut[interface]; + + if (!IS_VALID_USB_ENDPOINT_IN_LUT(ep)) { + return false; + } + + usb_report_storage_t *report_storage = usb_endpoints_in[ep].report_storage; + + if (report_storage == NULL) { + return false; + } + + report_storage->get_report(report_storage->reports, report_id, &report); + + usbSetupTransfer(driver, (uint8_t *)report.data, report.length, NULL); + + return true; +} + +static bool run_idle_task = false; + +void usb_set_idle_rate(usb_fs_report_t **reports, uint8_t report_id, uint8_t idle_rate) { + (void)report_id; + + if (*reports == NULL) { + return; + } + + (*reports)->idle_rate = idle_rate * 4; + + run_idle_task |= idle_rate != 0; +} + +uint8_t usb_get_idle_rate(usb_fs_report_t **reports, uint8_t report_id) { + (void)report_id; + + if (*reports == NULL) { + return 0; + } + + return (*reports)->idle_rate / 4; +} + +bool usb_idle_timer_elapsed(usb_fs_report_t **reports, uint8_t report_id) { + (void)report_id; + + if (*reports == NULL) { + return false; + } + + osalSysLock(); + time_msecs_t idle_rate = (*reports)->idle_rate; + systime_t last_report = (*reports)->last_report; + osalSysUnlock(); + + if (idle_rate == 0) { + return false; + } + + return chTimeI2MS(chVTTimeElapsedSinceX(last_report)) >= idle_rate; +} + +void usb_shared_set_idle_rate(usb_fs_report_t **reports, uint8_t report_id, uint8_t idle_rate) { + // USB spec demands that a report_id of 0 would set the idle rate for all + // reports of that endpoint, but this can easily lead to resource + // exhaustion, therefore we deliberalty break the spec at this point. + if (report_id == 0 || report_id > REPORT_ID_COUNT || reports[report_id] == NULL) { + return; + } + + reports[report_id]->idle_rate = idle_rate * 4; + + run_idle_task |= idle_rate != 0; +} + +uint8_t usb_shared_get_idle_rate(usb_fs_report_t **reports, uint8_t report_id) { + if (report_id > REPORT_ID_COUNT || reports[report_id] == NULL) { + return 0; + } + + return reports[report_id]->idle_rate / 4; +} + +bool usb_shared_idle_timer_elapsed(usb_fs_report_t **reports, uint8_t report_id) { + if (report_id > REPORT_ID_COUNT || reports[report_id] == NULL) { + return false; + } + + osalSysLock(); + time_msecs_t idle_rate = reports[report_id]->idle_rate; + systime_t last_report = reports[report_id]->last_report; + osalSysUnlock(); + + if (idle_rate == 0) { + return false; + } + + return chTimeI2MS(chVTTimeElapsedSinceX(last_report)) >= idle_rate; +} + +void usb_idle_task(void) { + if (!run_idle_task) { + return; + } + + static usb_fs_report_t report; + bool non_zero_idle_rate_found = false; + + for (int ep = 0; ep < USB_ENDPOINT_IN_COUNT; ep++) { + usb_report_storage_t *report_storage = usb_endpoints_in[ep].report_storage; + + if (report_storage == NULL) { + continue; + } + +#if defined(SHARED_EP_ENABLE) + if (ep == USB_ENDPOINT_IN_SHARED) { + for (int report_id = 1; report_id <= REPORT_ID_COUNT; report_id++) { + osalSysLock(); + non_zero_idle_rate_found |= report_storage->get_idle(report_storage->reports, report_id) != 0; + osalSysUnlock(); + + if (usb_endpoint_in_is_inactive(&usb_endpoints_in[ep]) && report_storage->idle_timer_elasped(report_storage->reports, report_id)) { + osalSysLock(); + report_storage->get_report(report_storage->reports, report_id, &report); + osalSysUnlock(); + send_report(ep, &report.data, report.length); + } + } + continue; + } +#endif + + osalSysLock(); + non_zero_idle_rate_found |= report_storage->get_idle(report_storage->reports, 0) != 0; + osalSysUnlock(); + + if (usb_endpoint_in_is_inactive(&usb_endpoints_in[ep]) && report_storage->idle_timer_elasped(report_storage->reports, 0)) { + osalSysLock(); + report_storage->get_report(report_storage->reports, 0, &report); + osalSysUnlock(); + send_report(ep, &report.data, report.length); + } + } + + run_idle_task = non_zero_idle_rate_found; +} + +bool usb_get_idle_cb(USBDriver *driver) { + usb_control_request_t *setup = (usb_control_request_t *)driver->setup; + uint8_t interface = setup->wIndex; + uint8_t report_id = setup->wValue.lbyte; + + static uint8_t _Alignas(4) idle_rate; + + if (!IS_VALID_INTERFACE(interface) || !IS_VALID_REPORT_ID(report_id)) { + return false; + } + + usb_endpoint_in_lut_t ep = usb_endpoint_interface_lut[interface]; + + if (!IS_VALID_USB_ENDPOINT_IN_LUT(ep)) { + return false; + } + + usb_report_storage_t *report_storage = usb_endpoints_in[ep].report_storage; + + if (report_storage == NULL) { + return false; + } + + idle_rate = report_storage->get_idle(report_storage->reports, report_id); + + usbSetupTransfer(driver, &idle_rate, 1, NULL); + + return true; +} + +bool usb_set_idle_cb(USBDriver *driver) { + usb_control_request_t *setup = (usb_control_request_t *)driver->setup; + uint8_t interface = setup->wIndex; + uint8_t report_id = setup->wValue.lbyte; + uint8_t idle_rate = setup->wValue.hbyte; + + if (!IS_VALID_INTERFACE(interface) || !IS_VALID_REPORT_ID(report_id)) { + return false; + } + + usb_endpoint_in_lut_t ep = usb_endpoint_interface_lut[interface]; + + if (!IS_VALID_USB_ENDPOINT_IN_LUT(ep)) { + return false; + } + + usb_report_storage_t *report_storage = usb_endpoints_in[ep].report_storage; + + if (report_storage == NULL) { + return false; + } + + report_storage->set_idle(report_storage->reports, report_id, idle_rate); + + usbSetupTransfer(driver, NULL, 0, NULL); + + return true; +} diff --git a/tmk_core/protocol/chibios/usb_report_handling.h b/tmk_core/protocol/chibios/usb_report_handling.h new file mode 100644 index 00000000000..18b4ce5e263 --- /dev/null +++ b/tmk_core/protocol/chibios/usb_report_handling.h @@ -0,0 +1,77 @@ +// Copyright 2023 Stefan Kerkmann (@KarlK90) +// SPDX-License-Identifier: GPL-3.0-or-later + +#pragma once + +#include +#include +#include + +#include "timer.h" + +typedef struct { + time_msecs_t idle_rate; + systime_t last_report; + uint8_t data[64]; + size_t length; +} usb_fs_report_t; + +typedef struct { + usb_fs_report_t **reports; + const void (*get_report)(usb_fs_report_t **, uint8_t, usb_fs_report_t *); + const void (*set_report)(usb_fs_report_t **, const uint8_t *, size_t); + const void (*reset_report)(usb_fs_report_t **); + const void (*set_idle)(usb_fs_report_t **, uint8_t, uint8_t); + const uint8_t (*get_idle)(usb_fs_report_t **, uint8_t); + const bool (*idle_timer_elasped)(usb_fs_report_t **, uint8_t); +} usb_report_storage_t; + +#define QMK_USB_REPORT_STROAGE_ENTRY(_report_id, _report_size) [_report_id] = &((usb_fs_report_t){.data = {[0] = _report_id}, .length = _report_size}) + +#define QMK_USB_REPORT_STORAGE(_get_report, _set_report, _reset_report, _get_idle, _set_idle, _idle_timer_elasped, _report_count, _reports...) \ + &((usb_report_storage_t){ \ + .reports = (_Alignas(4) usb_fs_report_t *[_report_count]){_reports}, \ + .get_report = _get_report, \ + .set_report = _set_report, \ + .reset_report = _reset_report, \ + .get_idle = _get_idle, \ + .set_idle = _set_idle, \ + .idle_timer_elasped = _idle_timer_elasped, \ + }) + +#define QMK_USB_REPORT_STORAGE_DEFAULT(_report_length) \ + QMK_USB_REPORT_STORAGE(&usb_get_report, /* _get_report */ \ + &usb_set_report, /* _set_report */ \ + &usb_reset_report, /* _reset_report */ \ + &usb_get_idle_rate, /* _get_idle */ \ + &usb_set_idle_rate, /* _set_idle */ \ + &usb_idle_timer_elapsed, /* _idle_timer_elasped */ \ + 1, /* _report_count */ \ + QMK_USB_REPORT_STROAGE_ENTRY(0, _report_length)) + +// USB HID SET_REPORT and GET_REPORT handling functions +void usb_set_report(usb_fs_report_t **reports, const uint8_t *data, size_t length); +void usb_shared_set_report(usb_fs_report_t **reports, const uint8_t *data, size_t length); + +void usb_get_report(usb_fs_report_t **reports, uint8_t report_id, usb_fs_report_t *report); +void usb_shared_get_report(usb_fs_report_t **reports, uint8_t report_id, usb_fs_report_t *report); + +void usb_reset_report(usb_fs_report_t **reports); +void usb_shared_reset_report(usb_fs_report_t **reports); + +bool usb_get_report_cb(USBDriver *driver); + +// USB HID SET_IDLE and GET_IDLE handling functions +void usb_idle_task(void); + +void usb_set_idle_rate(usb_fs_report_t **timers, uint8_t report_id, uint8_t idle_rate); +void usb_shared_set_idle_rate(usb_fs_report_t **timers, uint8_t report_id, uint8_t idle_rate); + +uint8_t usb_get_idle_rate(usb_fs_report_t **timers, uint8_t report_id); +uint8_t usb_shared_get_idle_rate(usb_fs_report_t **timers, uint8_t report_id); + +bool usb_idle_timer_elapsed(usb_fs_report_t **timers, uint8_t report_id); +bool usb_shared_idle_timer_elapsed(usb_fs_report_t **timers, uint8_t report_id); + +bool usb_get_idle_cb(USBDriver *driver); +bool usb_set_idle_cb(USBDriver *driver); diff --git a/tmk_core/protocol/report.h b/tmk_core/protocol/report.h index 47bc4f2f2bb..0e4f6e9defa 100644 --- a/tmk_core/protocol/report.h +++ b/tmk_core/protocol/report.h @@ -29,7 +29,8 @@ along with this program. If not, see . // clang-format off /* HID report IDs */ -enum hid_report_ids { +enum hid_report_ids { + REPORT_ID_ALL = 0, REPORT_ID_KEYBOARD = 1, REPORT_ID_MOUSE, REPORT_ID_SYSTEM, @@ -37,9 +38,12 @@ enum hid_report_ids { REPORT_ID_PROGRAMMABLE_BUTTON, REPORT_ID_NKRO, REPORT_ID_JOYSTICK, - REPORT_ID_DIGITIZER + REPORT_ID_DIGITIZER, + REPORT_ID_COUNT = REPORT_ID_DIGITIZER }; +#define IS_VALID_REPORT_ID(id) ((id) >= REPORT_ID_ALL && (id) <= REPORT_ID_COUNT) + /* Mouse buttons */ #define MOUSE_BTN_MASK(n) (1 << (n)) enum mouse_buttons { diff --git a/tmk_core/protocol/usb_descriptor.h b/tmk_core/protocol/usb_descriptor.h index 2469990f4d8..ecfb022702b 100644 --- a/tmk_core/protocol/usb_descriptor.h +++ b/tmk_core/protocol/usb_descriptor.h @@ -196,6 +196,8 @@ enum usb_interfaces { TOTAL_INTERFACES }; +#define IS_VALID_INTERFACE(i) ((i) >= 0 && (i) < TOTAL_INTERFACES) + #define NEXT_EPNUM __COUNTER__ /* From b35389317e222eff6876ff74a69cd99ead49335a Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Wed, 28 Feb 2024 11:50:04 -0700 Subject: [PATCH 025/107] Fixup qk100 (firmware size) (#23169) * initial * further size reduction and more... remove rgb matrix effects --- keyboards/qwertykeys/qk100/ansi/info.json | 9 ++------- keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk | 1 - keyboards/qwertykeys/qk100/info.json | 6 ++++-- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/info.json b/keyboards/qwertykeys/qk100/ansi/info.json index 3469f1c62e2..fb52f388de1 100644 --- a/keyboards/qwertykeys/qk100/ansi/info.json +++ b/keyboards/qwertykeys/qk100/ansi/info.json @@ -140,7 +140,6 @@ "hue_breathing": true, "hue_pendulum": true, "hue_wave": true, - "pixel_fractal": true, "pixel_flow": true, "pixel_rain": true, "typing_heatmap": true, @@ -148,15 +147,11 @@ "solid_reactive_simple": true, "solid_reactive": true, "solid_reactive_wide": true, - "solid_reactive_multiwide": true, "solid_reactive_cross": true, - "solid_reactive_multicross": true, "solid_reactive_nexus": true, - "solid_reactive_multinexus": true, "splash": true, "multisplash": true, - "solid_splash": true, - "solid_multisplash": true + "solid_splash": true }, "default": { "val": 128 @@ -270,4 +265,4 @@ ] } } -} \ No newline at end of file +} diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk b/keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk index 43061db1dd4..1e5b99807cb 100644 --- a/keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk @@ -1,2 +1 @@ VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/info.json b/keyboards/qwertykeys/qk100/info.json index d020ca8ad20..6edea6dff7d 100644 --- a/keyboards/qwertykeys/qk100/info.json +++ b/keyboards/qwertykeys/qk100/info.json @@ -1,6 +1,5 @@ { "manufacturer": "Qwertykeys", - "url": "", "maintainer": "Qwertykeys", "usb": { "vid": "0x4F53" @@ -17,6 +16,9 @@ "rgblight": true, "nkro": true }, + "build": { + "lto": true + }, "processor": "STM32F103", "bootloader": "stm32duino", "ws2812": { @@ -47,4 +49,4 @@ "dynamic_keymap": { "layer_count": 2 } -} \ No newline at end of file +} From 4e953f1169627b75316390fbe7f2ed977fc2d14d Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Wed, 28 Feb 2024 19:13:04 -0700 Subject: [PATCH 026/107] Fixup mechlovin/octagon (#23179) * initial * replace led count --- keyboards/mechlovin/olly/octagon/halconf.h | 2 - keyboards/mechlovin/olly/octagon/info.json | 17 +++--- .../olly/octagon/keymaps/default/keymap.c | 9 ++-- .../olly/octagon/keymaps/default/readme.md | 1 - .../olly/octagon/keymaps/via/keymap.c | 33 ++---------- keyboards/mechlovin/olly/octagon/mcuconf.h | 1 - keyboards/mechlovin/olly/octagon/octagon.c | 53 ++++++++----------- keyboards/mechlovin/olly/octagon/readme.md | 4 +- keyboards/mechlovin/olly/octagon/rules.mk | 15 +----- 9 files changed, 43 insertions(+), 92 deletions(-) delete mode 100644 keyboards/mechlovin/olly/octagon/keymaps/default/readme.md diff --git a/keyboards/mechlovin/olly/octagon/halconf.h b/keyboards/mechlovin/olly/octagon/halconf.h index 3635a5c4a2d..55add1de633 100644 --- a/keyboards/mechlovin/olly/octagon/halconf.h +++ b/keyboards/mechlovin/olly/octagon/halconf.h @@ -20,6 +20,4 @@ #define HAL_USE_SPI TRUE - #include_next - diff --git a/keyboards/mechlovin/olly/octagon/info.json b/keyboards/mechlovin/olly/octagon/info.json index 3ef290d3519..81b78b0b1cb 100644 --- a/keyboards/mechlovin/olly/octagon/info.json +++ b/keyboards/mechlovin/olly/octagon/info.json @@ -8,20 +8,25 @@ "pid": "0xD750", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "nkro": true, + "led_matrix": true, + "rgblight": true + }, + "build": { + "lto": true + }, "rgblight": { "saturation_steps": 8, "brightness_steps": 8, "led_count": 26, "animations": { "breathing": true, - "rainbow_mood": true, "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, "static_gradient": true, - "rgb_test": true, - "alternating": true, "twinkle": true } }, diff --git a/keyboards/mechlovin/olly/octagon/keymaps/default/keymap.c b/keyboards/mechlovin/olly/octagon/keymaps/default/keymap.c index fcb4929654a..353f5f5d6de 100644 --- a/keyboards/mechlovin/olly/octagon/keymaps/default/keymap.c +++ b/keyboards/mechlovin/olly/octagon/keymaps/default/keymap.c @@ -15,16 +15,13 @@ */ #include QMK_KEYBOARD_H -#define LT1_CAP LT(1, KC_CAPS) - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_split_bs( KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_PAUS, KC_DEL, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - LT1_CAP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, _______, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ) }; diff --git a/keyboards/mechlovin/olly/octagon/keymaps/default/readme.md b/keyboards/mechlovin/olly/octagon/keymaps/default/readme.md deleted file mode 100644 index 17d8ba9e078..00000000000 --- a/keyboards/mechlovin/olly/octagon/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for octagon \ No newline at end of file diff --git a/keyboards/mechlovin/olly/octagon/keymaps/via/keymap.c b/keyboards/mechlovin/olly/octagon/keymaps/via/keymap.c index 2de37e94d31..353f5f5d6de 100644 --- a/keyboards/mechlovin/olly/octagon/keymaps/via/keymap.c +++ b/keyboards/mechlovin/olly/octagon/keymaps/via/keymap.c @@ -15,40 +15,13 @@ */ #include QMK_KEYBOARD_H -#define LT1_CAP LT(1, KC_CAPS) - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_split_bs( KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_PAUS, KC_DEL, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - LT1_CAP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [1] = LAYOUT_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [1] = LAYOUT_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, _______, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ) }; diff --git a/keyboards/mechlovin/olly/octagon/mcuconf.h b/keyboards/mechlovin/olly/octagon/mcuconf.h index 607305e5676..6e4987337d2 100644 --- a/keyboards/mechlovin/olly/octagon/mcuconf.h +++ b/keyboards/mechlovin/olly/octagon/mcuconf.h @@ -19,7 +19,6 @@ #include_next - #undef STM32_SPI_USE_SPI1 #define STM32_SPI_USE_SPI1 TRUE diff --git a/keyboards/mechlovin/olly/octagon/octagon.c b/keyboards/mechlovin/olly/octagon/octagon.c index 185ee32a3ee..c89565168b2 100644 --- a/keyboards/mechlovin/olly/octagon/octagon.c +++ b/keyboards/mechlovin/olly/octagon/octagon.c @@ -55,12 +55,13 @@ led_config_t g_led_config = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - } + } }; - bool led_matrix_indicators_kb(void) { - if (!led_matrix_indicators_user()) { return false; } + if (!led_matrix_indicators_user()) { + return false; + } if (host_keyboard_led_state().caps_lock) { led_matrix_set_value(87, 0xFF); led_matrix_set_value(47, 0xFF); @@ -80,33 +81,25 @@ bool led_matrix_indicators_kb(void) { return true; } - layer_state_t layer_state_set_kb(layer_state_t state) { - // if on layer 1, turn on L1 LED, otherwise off. - if (get_highest_layer(state) == 0) { - led_matrix_set_value(90, 0xFF); - } else { - led_matrix_set_value(90, 0x00); - } - // if on layer 2, turn on L2 LED, otherwise off. - if (get_highest_layer(state) == 1) { - led_matrix_set_value(91, 0xFF); - } else { - led_matrix_set_value(91, 0x00); - } - - // if on layer 3, turn on L3 LED, otherwise off. - if (get_highest_layer(state) == 2) { - led_matrix_set_value(92, 0xFF); - } else { - led_matrix_set_value(92, 0x00); - } - - // if on layer 4, turn on L4 LED, otherwise off. - if (get_highest_layer(state) == 3) { - led_matrix_set_value(93, 0xFF); - } else { - led_matrix_set_value(93, 0x00); + switch (get_highest_layer(state)) { + case 0: + led_matrix_set_value(90, 0xFF); + break; + case 1: + led_matrix_set_value(91, 0xFF); + break; + case 2: + led_matrix_set_value(92, 0xFF); + break; + case 3: + led_matrix_set_value(93, 0xFF); + break; + default: + led_matrix_set_value(90, 0x00); + led_matrix_set_value(91, 0x00); + led_matrix_set_value(92, 0x00); + led_matrix_set_value(93, 0x00); } return layer_state_set_user(state); -} \ No newline at end of file +} diff --git a/keyboards/mechlovin/olly/octagon/readme.md b/keyboards/mechlovin/olly/octagon/readme.md index 6f1833a571a..5bf144ff5b3 100644 --- a/keyboards/mechlovin/olly/octagon/readme.md +++ b/keyboards/mechlovin/olly/octagon/readme.md @@ -1,6 +1,6 @@ # Olly Octagon -![Olly Octagon](https://i.imgur.com/lDMnyS4l.png) +![Olly Octagon](https://i.imgur.com/lDMnyS4lh.png) A replacement PCB for Duck Octagon 75% keyboard. @@ -24,5 +24,5 @@ Enter the bootloader in 3 ways: * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (Escape) and plug in the keyboard * **Bootloader reset**: Hold down the key at (0,14) in the matrix (Backspace) and plug in the keyboard -* **Keycode in layout**: Press the key mapped to `RESET` if it is available +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available * **Hardware reset**: Press reset button (located on the bottom side of the PCB) diff --git a/keyboards/mechlovin/olly/octagon/rules.mk b/keyboards/mechlovin/olly/octagon/rules.mk index 97303c7e2f8..6e7633bfe01 100644 --- a/keyboards/mechlovin/olly/octagon/rules.mk +++ b/keyboards/mechlovin/olly/octagon/rules.mk @@ -1,14 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LED_MATRIX_ENABLE = yes -RGBLIGHT_ENABLE = yes \ No newline at end of file +# This file intentionally left blank From 012b101b2eea7e0ca16fe0d324fe0006832160b2 Mon Sep 17 00:00:00 2001 From: Moritz Plattner Date: Fri, 1 Mar 2024 17:18:19 +0100 Subject: [PATCH 027/107] geistmaschine/geist: enable mousekey, fix issues in default/via keymap (#23187) --- keyboards/geistmaschine/geist/info.json | 2 +- keyboards/geistmaschine/geist/keymaps/default/keymap.c | 4 ++-- keyboards/geistmaschine/geist/keymaps/via/keymap.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboards/geistmaschine/geist/info.json b/keyboards/geistmaschine/geist/info.json index 571740b7163..079dd8d6d9a 100644 --- a/keyboards/geistmaschine/geist/info.json +++ b/keyboards/geistmaschine/geist/info.json @@ -9,7 +9,7 @@ "command": false, "console": false, "extrakey": true, - "mousekey": false, + "mousekey": true, "nkro": true, "encoder": true }, diff --git a/keyboards/geistmaschine/geist/keymaps/default/keymap.c b/keyboards/geistmaschine/geist/keymaps/default/keymap.c index 6d96c572ba3..19b4ba2210d 100644 --- a/keyboards/geistmaschine/geist/keymaps/default/keymap.c +++ b/keyboards/geistmaschine/geist/keymaps/default/keymap.c @@ -19,14 +19,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_all( - LT(2, KC_MUTE), KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_TRNS, KC_DEL, + LT(2, KC_MUTE), KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_DEL, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_ENT, KC_PGUP, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, LT(1, KC_RGUI), KC_LEFT, KC_DOWN, KC_RGHT ), [1] = LAYOUT_all( - KC_MPLY, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, KC_INS, + KC_MPLY, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL, KC_INS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_ON, NK_OFF, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, diff --git a/keyboards/geistmaschine/geist/keymaps/via/keymap.c b/keyboards/geistmaschine/geist/keymaps/via/keymap.c index 068f500fb01..f4d07036bda 100644 --- a/keyboards/geistmaschine/geist/keymaps/via/keymap.c +++ b/keyboards/geistmaschine/geist/keymaps/via/keymap.c @@ -19,14 +19,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_all( - LT(2, KC_MUTE), KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_TRNS, KC_DEL, + LT(2, KC_MUTE), KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_DEL, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_ENT, KC_PGUP, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, LT(1, KC_RGUI), KC_LEFT, KC_DOWN, KC_RGHT ), [1] = LAYOUT_all( - KC_MPLY, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, KC_INS, + KC_MPLY, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL, KC_INS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_ON, NK_OFF, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, From 3b76a3a3238723e3dcdaa14c8838df97d63d0980 Mon Sep 17 00:00:00 2001 From: blindassassin111 <38090555+blindassassin111@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:03:56 -0600 Subject: [PATCH 028/107] Fixing typos for OSAv2 and OSAv2_Topre (#23161) Correcting tilde to grave, fixing a typo in ec.c, and removing some comments that were accidentally left in. --- .../viktus/osav2/keymaps/default/keymap.c | 2 +- keyboards/viktus/osav2/keymaps/via/keymap.c | 2 +- keyboards/viktus/osav2_topre/ec.c | 20 +++++++++---------- .../osav2_topre/keymaps/default/keymap.c | 2 +- .../viktus/osav2_topre/keymaps/via/keymap.c | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/keyboards/viktus/osav2/keymaps/default/keymap.c b/keyboards/viktus/osav2/keymaps/default/keymap.c index 41533f136ca..9efc093864a 100644 --- a/keyboards/viktus/osav2/keymaps/default/keymap.c +++ b/keyboards/viktus/osav2/keymaps/default/keymap.c @@ -18,7 +18,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_split_normal_split( - KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILD, + KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGDN, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), diff --git a/keyboards/viktus/osav2/keymaps/via/keymap.c b/keyboards/viktus/osav2/keymaps/via/keymap.c index 41533f136ca..9efc093864a 100644 --- a/keyboards/viktus/osav2/keymaps/via/keymap.c +++ b/keyboards/viktus/osav2/keymaps/via/keymap.c @@ -18,7 +18,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_split_normal_split( - KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILD, + KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGDN, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), diff --git a/keyboards/viktus/osav2_topre/ec.c b/keyboards/viktus/osav2_topre/ec.c index fd2e8fa0ec5..076ffc0ba86 100644 --- a/keyboards/viktus/osav2_topre/ec.c +++ b/keyboards/viktus/osav2_topre/ec.c @@ -151,16 +151,16 @@ bool ec_matrix_scan(matrix_row_t current_matrix[]) { switch(row) { case 0: switch(col) { - case 14: // lower threshold for split backspace: left 1U( rest, btm) - case 15: // lower threshold for 2U backspace: 2U(38 rest, 60 btm) - reset_pt = 44; - actuation_pt = 48; + case 14: // lower threshold for split backspace: left 1U + case 15: // lower threshold for 2U backspace: 2U + reset_pt = 48; + actuation_pt = 53; break; } break; case 3: switch(col) { - case 14: // Lower threshold for right shift: 1.75U(40 rest, 70 btm) + case 14: // Lower threshold for right shift: 1.75U reset_pt = 48; actuation_pt = 53; break; @@ -168,17 +168,17 @@ bool ec_matrix_scan(matrix_row_t current_matrix[]) { break; case 4: switch(col) { - case 3: // Lower threshold for left space: col3( rest, btm) - case 4: // Lower threshold for left space: col4(38 rest, 88 btm) + case 3: // Lower threshold for left space: col3 + case 4: // Lower threshold for left space: col4 reset_pt = 50; actuation_pt = 60; break; - case 5: // Lower threshold for left space: col5( rest, btm) - case 6: // Lower threshold for left space: col6(40 rest, 80 btm) + case 5: // Lower threshold for left space: col5 + case 6: // Lower threshold for left space: col6 reset_pt = 48; actuation_pt = 58; break; - case 14: // Lower threshold for right shift: 2.75U( rest, btm) + case 14: // Lower threshold for right shift: 2.75U reset_pt = 48; actuation_pt = 53; break; diff --git a/keyboards/viktus/osav2_topre/keymaps/default/keymap.c b/keyboards/viktus/osav2_topre/keymaps/default/keymap.c index b9561c9b325..bb7bc014744 100644 --- a/keyboards/viktus/osav2_topre/keymaps/default/keymap.c +++ b/keyboards/viktus/osav2_topre/keymaps/default/keymap.c @@ -18,7 +18,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_split_back_175u_shift( - KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILDE, + KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), diff --git a/keyboards/viktus/osav2_topre/keymaps/via/keymap.c b/keyboards/viktus/osav2_topre/keymaps/via/keymap.c index b9561c9b325..bb7bc014744 100644 --- a/keyboards/viktus/osav2_topre/keymaps/via/keymap.c +++ b/keyboards/viktus/osav2_topre/keymaps/via/keymap.c @@ -18,7 +18,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_split_back_175u_shift( - KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_TILDE, + KC_DEL, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), From 8b8f73098b325ea60e2affea6dcd36fc86716dab Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 2 Mar 2024 08:44:51 +1100 Subject: [PATCH 029/107] Fix up AVR production build target. (#23190) --- platforms/avr/platform.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/avr/platform.mk b/platforms/avr/platform.mk index aef449cadf7..a625f2e5d01 100644 --- a/platforms/avr/platform.mk +++ b/platforms/avr/platform.mk @@ -201,17 +201,17 @@ else ifeq ($(strip $(BOOTLOADER)), qmk-hid) QMK_BOOTLOADER_TYPE = HID endif -bootloader: +bootloader: cpfirmware ifeq ($(strip $(QMK_BOOTLOADER_TYPE)),) $(call CATASTROPHIC_ERROR,Invalid BOOTLOADER,Please set BOOTLOADER to "qmk-dfu" or "qmk-hid" first!) else - make -C lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/ clean + make -C lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/ clean TARGET=Bootloader$(QMK_BOOTLOADER_TYPE) $(QMK_BIN) generate-dfu-header --quiet --keyboard $(KEYBOARD) --output lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/Keyboard.h $(eval MAX_SIZE=$(shell n=`$(CC) -E -mmcu=$(MCU) -D__ASSEMBLER__ $(CFLAGS) $(OPT_DEFS) platforms/avr/bootloader_size.c 2> /dev/null | sed -ne 's/\r//;/^#/n;/^AVR_SIZE:/,$${s/^AVR_SIZE: //;p;}'` && echo $$(($$n)) || echo 0)) $(eval PROGRAM_SIZE_KB=$(shell n=`expr $(MAX_SIZE) / 1024` && echo $$(($$n)) || echo 0)) $(eval BOOT_SECTION_SIZE_KB=$(shell n=`expr $(BOOTLOADER_SIZE) / 1024` && echo $$(($$n)) || echo 0)) $(eval FLASH_SIZE_KB=$(shell n=`expr $(PROGRAM_SIZE_KB) + $(BOOT_SECTION_SIZE_KB)` && echo $$(($$n)) || echo 0)) - make -C lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/ MCU=$(MCU) ARCH=$(ARCH) F_CPU=$(F_CPU) FLASH_SIZE_KB=$(FLASH_SIZE_KB) BOOT_SECTION_SIZE_KB=$(BOOT_SECTION_SIZE_KB) + make -C lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/ MCU=$(MCU) ARCH=$(ARCH) F_CPU=$(F_CPU) FLASH_SIZE_KB=$(FLASH_SIZE_KB) BOOT_SECTION_SIZE_KB=$(BOOT_SECTION_SIZE_KB) TARGET=Bootloader$(QMK_BOOTLOADER_TYPE) printf "Bootloader$(QMK_BOOTLOADER_TYPE).hex copied to $(TARGET)_bootloader.hex\n" cp lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/Bootloader$(QMK_BOOTLOADER_TYPE).hex $(TARGET)_bootloader.hex endif From 1875659df025ec83201bb8e1e4515100e5152a87 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 2 Mar 2024 08:45:01 +1100 Subject: [PATCH 030/107] CLI Speed improvements. (#23189) --- lib/python/qmk/json_schema.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/python/qmk/json_schema.py b/lib/python/qmk/json_schema.py index b00df749ccf..1d5f863807f 100644 --- a/lib/python/qmk/json_schema.py +++ b/lib/python/qmk/json_schema.py @@ -7,6 +7,7 @@ from collections.abc import Mapping from functools import lru_cache from typing import OrderedDict from pathlib import Path +from copy import deepcopy from milc import cli @@ -22,7 +23,8 @@ def _dict_raise_on_duplicates(ordered_pairs): return d -def json_load(json_file, strict=True): +@lru_cache(maxsize=20) +def _json_load_impl(json_file, strict=True): """Load a json file from disk. Note: file must be a Path object. @@ -42,7 +44,11 @@ def json_load(json_file, strict=True): exit(1) -@lru_cache(maxsize=0) +def json_load(json_file, strict=True): + return deepcopy(_json_load_impl(json_file=json_file, strict=strict)) + + +@lru_cache(maxsize=20) def load_jsonschema(schema_name): """Read a jsonschema file from disk. """ @@ -57,7 +63,7 @@ def load_jsonschema(schema_name): return json_load(schema_path) -@lru_cache(maxsize=0) +@lru_cache(maxsize=1) def compile_schema_store(): """Compile all our schemas into a schema store. """ @@ -73,7 +79,7 @@ def compile_schema_store(): return schema_store -@lru_cache(maxsize=0) +@lru_cache(maxsize=20) def create_validator(schema): """Creates a validator for the given schema id. """ From d5ac75385bcff564d7f22a5c419dca2b61eb7ef0 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 2 Mar 2024 08:45:11 +1100 Subject: [PATCH 031/107] Fix up scanning for Djinn, post-asyncUSB. (#23188) --- keyboards/tzarc/djinn/djinn_portscan_matrix.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/keyboards/tzarc/djinn/djinn_portscan_matrix.c b/keyboards/tzarc/djinn/djinn_portscan_matrix.c index cb73c47def7..ac81ad18c1b 100644 --- a/keyboards/tzarc/djinn/djinn_portscan_matrix.c +++ b/keyboards/tzarc/djinn/djinn_portscan_matrix.c @@ -1,7 +1,8 @@ // Copyright 2018-2022 Nick Brassel (@tzarc) // SPDX-License-Identifier: GPL-2.0-or-later +#include +#include #include "quantum.h" -#include #include "djinn.h" #define GPIOB_BITMASK (1 << 13 | 1 << 14 | 1 << 15) // B13, B14, B15 @@ -34,6 +35,8 @@ void matrix_wait_for_port(stm32_gpio_t *port, uint32_t target_bitmask) { } } +static void dummy_vt_callback(virtual_timer_t *vtp, void *p) {} + void matrix_init_custom(void) { for (int i = 0; i < MATRIX_ROWS; ++i) { setPinInputHigh(row_pins[i]); @@ -41,6 +44,11 @@ void matrix_init_custom(void) { for (int i = 0; i < MATRIX_COLS; ++i) { setPinInputHigh(col_pins[i]); } + + // Start a virtual timer so we'll still get periodic wakeups, now that USB SOF doesn't wake up the main loop + static virtual_timer_t vt; + chVTObjectInit(&vt); + chVTSetContinuous(&vt, TIME_MS2I(10), dummy_vt_callback, NULL); } bool matrix_scan_custom(matrix_row_t current_matrix[]) { From c06087669290fe72d5fb85c7b37d20cf5ebe149d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 2 Mar 2024 12:23:25 +0000 Subject: [PATCH 032/107] Remove cd suggestion from new-keyboard (#23194) --- lib/python/qmk/cli/new/keyboard.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/python/qmk/cli/new/keyboard.py b/lib/python/qmk/cli/new/keyboard.py index ce956d0ce14..cb50acf8bb9 100644 --- a/lib/python/qmk/cli/new/keyboard.py +++ b/lib/python/qmk/cli/new/keyboard.py @@ -15,7 +15,7 @@ from qmk.json_schema import load_jsonschema from qmk.path import keyboard from qmk.json_encoders import InfoJSONEncoder from qmk.json_schema import deep_update, json_load -from qmk.constants import MCU2BOOTLOADER +from qmk.constants import MCU2BOOTLOADER, QMK_FIRMWARE COMMUNITY = Path('layouts/default/') TEMPLATE = Path('data/templates/keyboard/') @@ -254,6 +254,6 @@ def new_keyboard(cli): augment_community_info(community_info, keyboard(kb_name) / community_info.name) cli.log.info(f'{{fg_green}}Created a new keyboard called {{fg_cyan}}{kb_name}{{fg_green}}.{{fg_reset}}') - cli.log.info(f'To start working on things, `cd` into {{fg_cyan}}keyboards/{kb_name}{{fg_reset}},') - cli.log.info('or open the directory in your preferred text editor.') - cli.log.info(f"And build with {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.") + cli.log.info(f"Build Command: {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.") + cli.log.info(f'Project Location: {{fg_cyan}}{QMK_FIRMWARE}/{keyboard(kb_name)}{{fg_reset}},') + cli.log.info("{{fg_yellow}}Now update the config files to match the hardware!{{fg_reset}}") From 21276de7d5331a0e8ff9b27a732264a70bdf8007 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 2 Mar 2024 23:23:34 +1100 Subject: [PATCH 033/107] Normalise .editorconfig. (#23186) --- .editorconfig | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.editorconfig b/.editorconfig index 60827f04baf..3a537d01b28 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,39 +4,39 @@ root = true [*] +end_of_line = lf indent_style = space indent_size = 4 - -# We recommend you to keep these unchanged charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +[{*.yaml,*.yml}] # To match GitHub Actions formatting +indent_size = 2 + [*.md] trim_trailing_whitespace = false -indent_size = 4 - -[{qmk,*.py}] -charset = utf-8 -max_line_length = 200 - -# Make these match what we have in .gitattributes -[*.mk] -end_of_line = lf -indent_style = tab -[Makefile] -end_of_line = lf +[{Makefile,*.mk}] indent_style = tab -[*.sh] -end_of_line = lf - -# The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files - - -# We don't have gitattributes properly for these -# So if the user have for example core.autocrlf set to true -# the line endings would be wrong. +# Don't override anything in `lib/`... [lib/**] +indent_style = unset +indent_size = unset +tab_width = unset end_of_line = unset +charset = unset +spelling_language = unset +trim_trailing_whitespace = unset +insert_final_newline = unset + +# ...except QMK's `lib/python`. +[{*.py,lib/python/**.py}] +end_of_line = lf +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 200 From 569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 3 Mar 2024 04:16:47 +1100 Subject: [PATCH 034/107] WS2812 PWM: prefix for DMA defines (#23111) * WS2812 PWM: prefix for DMA defines * Add backward compatibility defines --- docs/ws2812_driver.md | 6 +- keyboards/acheron/apollo/87h/delta/config.h | 4 +- keyboards/acheron/apollo/87htsc/config.h | 4 +- keyboards/acheron/apollo/88htsc/config.h | 4 +- keyboards/acheron/athena/alpha/config.h | 4 +- keyboards/acheron/athena/beta/config.h | 4 +- keyboards/acheron/shark/beta/config.h | 4 +- keyboards/acheron/themis/87h/config.h | 4 +- keyboards/acheron/themis/87htsc/config.h | 4 +- keyboards/acheron/themis/88htsc/config.h | 4 +- keyboards/artifact/lvl/rev_hs01/config.h | 4 +- keyboards/aurora65/config.h | 4 +- .../charybdis/3x5/blackpill/config.h | 4 +- .../charybdis/3x5/v2/stemcell/config.h | 4 +- .../charybdis/3x6/blackpill/config.h | 4 +- .../charybdis/3x6/v2/stemcell/config.h | 4 +- .../charybdis/4x6/blackpill/config.h | 4 +- .../charybdis/4x6/v2/stemcell/config.h | 4 +- keyboards/bastardkb/scylla/blackpill/config.h | 4 +- .../bastardkb/scylla/v2/stemcell/config.h | 4 +- .../bastardkb/skeletyl/blackpill/config.h | 4 +- .../bastardkb/skeletyl/v2/stemcell/config.h | 4 +- .../bastardkb/tbkmini/blackpill/config.h | 4 +- .../bastardkb/tbkmini/v2/stemcell/config.h | 4 +- keyboards/bestway/config.h | 4 +- keyboards/black_hellebore/config.h | 4 +- keyboards/crypt_macro/config.h | 4 +- keyboards/custommk/evo70_r2/config.h | 4 +- keyboards/ebastler/isometria_75/rev1/config.h | 4 +- keyboards/edi/hardlight/mk2/config.h | 4 +- keyboards/geekboards/macropad_v2/config.h | 4 +- keyboards/handwired/cyberstar/config.h | 4 +- keyboards/handwired/macroboard/config.h | 4 +- .../tractyl_manuform/5x6_right/f303/config.h | 4 +- .../tractyl_manuform/5x6_right/f411/config.h | 4 +- keyboards/jacky_studio/piggy60/rev2/config.h | 4 +- keyboards/kabedon/kabedon98e/config.h | 4 +- keyboards/kprepublic/bm16a/v2/config.h | 4 +- keyboards/linworks/whale75/config.h | 4 +- keyboards/loki65/config.h | 4 +- keyboards/mariorion_v25/prod/config.h | 6 +- keyboards/mariorion_v25/proto/config.h | 6 +- keyboards/meetlab/kalice/config.h | 4 +- keyboards/meetlab/rena/config.h | 4 +- keyboards/misterknife/knife66/config.h | 4 +- keyboards/misterknife/knife66_iso/config.h | 4 +- keyboards/mode/m256wh/config.h | 4 +- keyboards/mode/m256ws/config.h | 4 +- keyboards/mode/m60h/config.h | 4 +- keyboards/mode/m60h_f/config.h | 4 +- keyboards/mode/m60s/config.h | 4 +- keyboards/mwstudio/mmk_3/config.h | 4 +- keyboards/mwstudio/mw660/config.h | 4 +- keyboards/novelkeys/nk20/config.h | 4 +- keyboards/novelkeys/nk65b/config.h | 4 +- keyboards/novelkeys/nk87b/config.h | 4 +- keyboards/novelkeys/nk_plus/config.h | 4 +- keyboards/planck/ez/config.h | 4 +- keyboards/planck/rev6/config.h | 4 +- keyboards/planck/rev6_drop/config.h | 4 +- keyboards/planck/rev7/config.h | 4 +- keyboards/preonic/rev3/config.h | 4 +- keyboards/preonic/rev3_drop/config.h | 4 +- keyboards/protozoa/p01/config.h | 4 +- keyboards/rgbkb/mun/config.h | 4 +- keyboards/rgbkb/sol3/config.h | 4 +- keyboards/skyloong/dt40/config.h | 4 +- keyboards/smithrune/iron165r2/f411/config.h | 4 +- keyboards/smithrune/magnus/m75h/config.h | 4 +- keyboards/smithrune/magnus/m75s/config.h | 4 +- keyboards/spaceholdings/nebula68/config.h | 4 +- keyboards/splitkb/kyria/rev1/config.h | 6 +- keyboards/splitkb/kyria/rev2/config.h | 6 +- keyboards/tg67/config.h | 4 +- keyboards/tkw/grandiceps/config.h | 4 +- keyboards/tkw/stoutgat/v2/config.h | 4 +- keyboards/tzarc/djinn/config.h | 6 +- keyboards/tzarc/ghoul/rev1/stm32/config.h | 4 +- keyboards/viendi8l/config.h | 4 +- keyboards/vinhcatba/uncertainty/config.h | 4 +- keyboards/xelus/ninjin/config.h | 4 +- keyboards/xelus/valor/rev2/config.h | 6 +- keyboards/yandrstudio/buff67v3/config.h | 4 +- keyboards/yandrstudio/eau_r2/config.h | 4 +- keyboards/yandrstudio/nightstar75/config.h | 4 +- keyboards/yandrstudio/nz64/config.h | 4 +- keyboards/yandrstudio/nz67v2/config.h | 4 +- keyboards/yandrstudio/tg67/config.h | 4 +- keyboards/yandrstudio/yr6095/config.h | 4 +- keyboards/yandrstudio/yr80/config.h | 4 +- keyboards/yanghu/unicorne/config.h | 4 +- keyboards/ymdk/id75/config.h | 4 +- keyboards/ymdk/ymd75/rev4/iso/config.h | 4 +- keyboards/zvecr/split_blackpill/config.h | 4 +- keyboards/zvecr/zv48/config.h | 4 +- .../chibios/boards/BONSAI_C4/configs/config.h | 8 +-- .../drivers/vendor/RP/RP2040/ws2812_vendor.c | 18 +++--- platforms/chibios/drivers/ws2812_pwm.c | 60 +++++++++++-------- 98 files changed, 246 insertions(+), 234 deletions(-) diff --git a/docs/ws2812_driver.md b/docs/ws2812_driver.md index 244d39dbe06..006529cc8ae 100644 --- a/docs/ws2812_driver.md +++ b/docs/ws2812_driver.md @@ -208,9 +208,9 @@ The following `#define`s apply only to the `pwm` driver: |`WS2812_PWM_DRIVER` |`PWMD2` |The PWM driver to use | |`WS2812_PWM_CHANNEL` |`2` |The PWM channel to use | |`WS2812_PWM_PAL_MODE` |`2` |The pin alternative function to use | -|`WS2812_DMA_STREAM` |`STM32_DMA1_STREAM2`|The DMA Stream for `TIMx_UP` | -|`WS2812_DMA_CHANNEL` |`2` |The DMA Channel for `TIMx_UP` | -|`WS2812_DMAMUX_ID` |*Not defined* |The DMAMUX configuration for `TIMx_UP` - only required if your MCU has a DMAMUX peripheral| +|`WS2812_PWM_DMA_STREAM` |`STM32_DMA1_STREAM2`|The DMA Stream for `TIMx_UP` | +|`WS2812_PWM_DMA_CHANNEL` |`2` |The DMA Channel for `TIMx_UP` | +|`WS2812_PWM_DMAMUX_ID` |*Not defined* |The DMAMUX configuration for `TIMx_UP` - only required if your MCU has a DMAMUX peripheral| |`WS2812_PWM_COMPLEMENTARY_OUTPUT`|*Not defined* |Whether the PWM output is complementary (`TIMx_CHyN`) | ?> Using a complementary timer output (`TIMx_CHyN`) is possible only for advanced-control timers (1, 8 and 20 on STM32), and the `STM32_PWM_USE_ADVANCED` option in `mcuconf.h` must be set to `TRUE`. Complementary outputs of general-purpose timers are not supported due to ChibiOS limitations. diff --git a/keyboards/acheron/apollo/87h/delta/config.h b/keyboards/acheron/apollo/87h/delta/config.h index 578a443e882..17c09f0f576 100644 --- a/keyboards/acheron/apollo/87h/delta/config.h +++ b/keyboards/acheron/apollo/87h/delta/config.h @@ -28,5 +28,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/acheron/apollo/87htsc/config.h b/keyboards/acheron/apollo/87htsc/config.h index 578a443e882..17c09f0f576 100644 --- a/keyboards/acheron/apollo/87htsc/config.h +++ b/keyboards/acheron/apollo/87htsc/config.h @@ -28,5 +28,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/acheron/apollo/88htsc/config.h b/keyboards/acheron/apollo/88htsc/config.h index 578a443e882..17c09f0f576 100644 --- a/keyboards/acheron/apollo/88htsc/config.h +++ b/keyboards/acheron/apollo/88htsc/config.h @@ -28,5 +28,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h index ba5c2dedf2c..c9f1d29f24b 100644 --- a/keyboards/acheron/athena/alpha/config.h +++ b/keyboards/acheron/athena/alpha/config.h @@ -27,8 +27,8 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 // If this is defined, the caps lock LED will turn on and off according to the state of caps lock. If not, the LED will shine like all other LEDs despite the caps lock state. #define CAPSLOCK_INDICATOR diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h index 30c29fa6862..b2a8d2edf89 100644 --- a/keyboards/acheron/athena/beta/config.h +++ b/keyboards/acheron/athena/beta/config.h @@ -28,8 +28,8 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 // If this is defined, the caps lock LED will turn on and off according to the state of caps lock. If not, the LED will shine like all other LEDs despite the caps lock state. #define CAPSLOCK_INDICATOR diff --git a/keyboards/acheron/shark/beta/config.h b/keyboards/acheron/shark/beta/config.h index d862fd016de..1182d39d3b5 100644 --- a/keyboards/acheron/shark/beta/config.h +++ b/keyboards/acheron/shark/beta/config.h @@ -27,7 +27,7 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 #define EEPROM_I2C_24LC256 diff --git a/keyboards/acheron/themis/87h/config.h b/keyboards/acheron/themis/87h/config.h index ed1229c7793..fb2a5e1ed7f 100644 --- a/keyboards/acheron/themis/87h/config.h +++ b/keyboards/acheron/themis/87h/config.h @@ -24,5 +24,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/acheron/themis/87htsc/config.h b/keyboards/acheron/themis/87htsc/config.h index ed1229c7793..fb2a5e1ed7f 100644 --- a/keyboards/acheron/themis/87htsc/config.h +++ b/keyboards/acheron/themis/87htsc/config.h @@ -24,5 +24,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/acheron/themis/88htsc/config.h b/keyboards/acheron/themis/88htsc/config.h index ed1229c7793..fb2a5e1ed7f 100644 --- a/keyboards/acheron/themis/88htsc/config.h +++ b/keyboards/acheron/themis/88htsc/config.h @@ -24,5 +24,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/artifact/lvl/rev_hs01/config.h b/keyboards/artifact/lvl/rev_hs01/config.h index 674fb1110c8..8dec2b56f22 100755 --- a/keyboards/artifact/lvl/rev_hs01/config.h +++ b/keyboards/artifact/lvl/rev_hs01/config.h @@ -19,7 +19,7 @@ along with this program. If not, see . /* RGB Light */ #define WS2812_PWM_DRIVER PWMD1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 5 #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB diff --git a/keyboards/aurora65/config.h b/keyboards/aurora65/config.h index ec0853212c9..1b51399c8d1 100644 --- a/keyboards/aurora65/config.h +++ b/keyboards/aurora65/config.h @@ -22,6 +22,6 @@ along with this program. If not, see . #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 2 #define WS2812_PWM_COMPLEMENTARY_OUTPUT -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 5 #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB diff --git a/keyboards/bastardkb/charybdis/3x5/blackpill/config.h b/keyboards/bastardkb/charybdis/3x5/blackpill/config.h index 68901305c47..0467a1261f4 100644 --- a/keyboards/bastardkb/charybdis/3x5/blackpill/config.h +++ b/keyboards/bastardkb/charybdis/3x5/blackpill/config.h @@ -27,8 +27,8 @@ #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 #define WS2812_EXTERNAL_PULLUP -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_PWM_TARGET_PERIOD 800000 /* Serial configuration for split keyboard. */ diff --git a/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h b/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h index 6aa20712f67..7a2bdd0aa82 100644 --- a/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h +++ b/keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h @@ -30,8 +30,8 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 3 /* CRC. */ #define CRC8_USE_TABLE diff --git a/keyboards/bastardkb/charybdis/3x6/blackpill/config.h b/keyboards/bastardkb/charybdis/3x6/blackpill/config.h index 985e79fabda..b41a1d3f574 100644 --- a/keyboards/bastardkb/charybdis/3x6/blackpill/config.h +++ b/keyboards/bastardkb/charybdis/3x6/blackpill/config.h @@ -25,8 +25,8 @@ #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 #define WS2812_EXTERNAL_PULLUP -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_PWM_TARGET_PERIOD 800000 /* Serial configuration for split keyboard. */ diff --git a/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h b/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h index 6aa20712f67..7a2bdd0aa82 100644 --- a/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h +++ b/keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h @@ -30,8 +30,8 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 3 /* CRC. */ #define CRC8_USE_TABLE diff --git a/keyboards/bastardkb/charybdis/4x6/blackpill/config.h b/keyboards/bastardkb/charybdis/4x6/blackpill/config.h index 68901305c47..0467a1261f4 100644 --- a/keyboards/bastardkb/charybdis/4x6/blackpill/config.h +++ b/keyboards/bastardkb/charybdis/4x6/blackpill/config.h @@ -27,8 +27,8 @@ #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 #define WS2812_EXTERNAL_PULLUP -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_PWM_TARGET_PERIOD 800000 /* Serial configuration for split keyboard. */ diff --git a/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h b/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h index 6aa20712f67..7a2bdd0aa82 100644 --- a/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h +++ b/keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h @@ -30,8 +30,8 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 3 /* CRC. */ #define CRC8_USE_TABLE diff --git a/keyboards/bastardkb/scylla/blackpill/config.h b/keyboards/bastardkb/scylla/blackpill/config.h index 0c40ed74bc4..1d86b474ee9 100644 --- a/keyboards/bastardkb/scylla/blackpill/config.h +++ b/keyboards/bastardkb/scylla/blackpill/config.h @@ -27,8 +27,8 @@ #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 #define WS2812_EXTERNAL_PULLUP -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_PWM_TARGET_PERIOD 800000 /* Serial configuration for split keyboard. */ diff --git a/keyboards/bastardkb/scylla/v2/stemcell/config.h b/keyboards/bastardkb/scylla/v2/stemcell/config.h index 0bbfd39aeef..ca1cc0f719d 100644 --- a/keyboards/bastardkb/scylla/v2/stemcell/config.h +++ b/keyboards/bastardkb/scylla/v2/stemcell/config.h @@ -30,8 +30,8 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 3 /* CRC. */ #define CRC8_USE_TABLE diff --git a/keyboards/bastardkb/skeletyl/blackpill/config.h b/keyboards/bastardkb/skeletyl/blackpill/config.h index 0c40ed74bc4..1d86b474ee9 100644 --- a/keyboards/bastardkb/skeletyl/blackpill/config.h +++ b/keyboards/bastardkb/skeletyl/blackpill/config.h @@ -27,8 +27,8 @@ #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 #define WS2812_EXTERNAL_PULLUP -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_PWM_TARGET_PERIOD 800000 /* Serial configuration for split keyboard. */ diff --git a/keyboards/bastardkb/skeletyl/v2/stemcell/config.h b/keyboards/bastardkb/skeletyl/v2/stemcell/config.h index 0bbfd39aeef..ca1cc0f719d 100644 --- a/keyboards/bastardkb/skeletyl/v2/stemcell/config.h +++ b/keyboards/bastardkb/skeletyl/v2/stemcell/config.h @@ -30,8 +30,8 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 3 /* CRC. */ #define CRC8_USE_TABLE diff --git a/keyboards/bastardkb/tbkmini/blackpill/config.h b/keyboards/bastardkb/tbkmini/blackpill/config.h index 0c40ed74bc4..1d86b474ee9 100644 --- a/keyboards/bastardkb/tbkmini/blackpill/config.h +++ b/keyboards/bastardkb/tbkmini/blackpill/config.h @@ -27,8 +27,8 @@ #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 #define WS2812_EXTERNAL_PULLUP -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_PWM_TARGET_PERIOD 800000 /* Serial configuration for split keyboard. */ diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h b/keyboards/bastardkb/tbkmini/v2/stemcell/config.h index 0bbfd39aeef..ca1cc0f719d 100644 --- a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h +++ b/keyboards/bastardkb/tbkmini/v2/stemcell/config.h @@ -30,8 +30,8 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 3 /* CRC. */ #define CRC8_USE_TABLE diff --git a/keyboards/bestway/config.h b/keyboards/bestway/config.h index c63a25d9a66..1800a114a01 100644 --- a/keyboards/bestway/config.h +++ b/keyboards/bestway/config.h @@ -18,5 +18,5 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 4 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 diff --git a/keyboards/black_hellebore/config.h b/keyboards/black_hellebore/config.h index 53910fed097..e748b3d1859 100644 --- a/keyboards/black_hellebore/config.h +++ b/keyboards/black_hellebore/config.h @@ -20,5 +20,5 @@ #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 1 //TIM1_CH1N (AF1) #define WS2812_PWM_COMPLEMENTARY_OUTPUT -#define WS2812_DMA_STREAM STM32_DMA1_STREAM6 -#define WS2812_DMA_CHANNEL 7 //7 works, CxS[3:0] 0111 = TIM1_UP on Channel 6? (RM0394.pdf pg.298) +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6 +#define WS2812_PWM_DMA_CHANNEL 7 //7 works, CxS[3:0] 0111 = TIM1_UP on Channel 6? (RM0394.pdf pg.298) diff --git a/keyboards/crypt_macro/config.h b/keyboards/crypt_macro/config.h index 4d9d9bf5c26..701ad8da86a 100644 --- a/keyboards/crypt_macro/config.h +++ b/keyboards/crypt_macro/config.h @@ -24,6 +24,6 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB diff --git a/keyboards/custommk/evo70_r2/config.h b/keyboards/custommk/evo70_r2/config.h index 62606cf1ee6..bd8744204c5 100644 --- a/keyboards/custommk/evo70_r2/config.h +++ b/keyboards/custommk/evo70_r2/config.h @@ -78,8 +78,8 @@ #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 #define TAP_CODE_DELAY 10 diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 0fc8019a1dd..19a79c9df6e 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -26,8 +26,8 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 /* ADC - will be used for battery monitoring once BT support is added */ /* #define ADC_PIN B0 */ diff --git a/keyboards/edi/hardlight/mk2/config.h b/keyboards/edi/hardlight/mk2/config.h index 73f4b2baaed..52636c6484e 100644 --- a/keyboards/edi/hardlight/mk2/config.h +++ b/keyboards/edi/hardlight/mk2/config.h @@ -28,8 +28,8 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_EXTERNAL_PULLUP /* I2C driver overrides */ diff --git a/keyboards/geekboards/macropad_v2/config.h b/keyboards/geekboards/macropad_v2/config.h index 6aed50ec2f6..dca98f0c954 100644 --- a/keyboards/geekboards/macropad_v2/config.h +++ b/keyboards/geekboards/macropad_v2/config.h @@ -19,7 +19,7 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 #define WAIT_FOR_USB diff --git a/keyboards/handwired/cyberstar/config.h b/keyboards/handwired/cyberstar/config.h index 4d9d9bf5c26..701ad8da86a 100644 --- a/keyboards/handwired/cyberstar/config.h +++ b/keyboards/handwired/cyberstar/config.h @@ -24,6 +24,6 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB diff --git a/keyboards/handwired/macroboard/config.h b/keyboards/handwired/macroboard/config.h index 95e7d9d1aa6..b8e437bddf9 100644 --- a/keyboards/handwired/macroboard/config.h +++ b/keyboards/handwired/macroboard/config.h @@ -20,8 +20,8 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM6 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. #define WS2812_PWM_TARGET_PERIOD 800000 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h index 3a7f97f8d2f..a2818e7176f 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h @@ -26,8 +26,8 @@ along with this program. If not, see . #define WS2812_PWM_CHANNEL 1 // default: 2 #define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 //#define WS2812_PWM_COMPLEMENTARY_OUTPUT // Define for a complementary timer output (TIMx_CHyN); omit for a normal timer output (TIMx_CHy). -// #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +// #define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. #define DEBUG_LED_PIN C13 diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h index 2ad18267ad5..87f830e1757 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h @@ -27,8 +27,8 @@ along with this program. If not, see . #define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 #define WS2812_EXTERNAL_PULLUP //#define WS2812_PWM_COMPLEMENTARY_OUTPUT // Define for a complementary timer output (TIMx_CHyN); omit for a normal timer output (TIMx_CHy). -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. #define WS2812_PWM_TARGET_PERIOD 800000 #define DEBUG_LED_PIN C13 diff --git a/keyboards/jacky_studio/piggy60/rev2/config.h b/keyboards/jacky_studio/piggy60/rev2/config.h index 2747834991f..8c9b292fb42 100644 --- a/keyboards/jacky_studio/piggy60/rev2/config.h +++ b/keyboards/jacky_studio/piggy60/rev2/config.h @@ -19,5 +19,5 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 7 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 7 diff --git a/keyboards/kabedon/kabedon98e/config.h b/keyboards/kabedon/kabedon98e/config.h index 514a1121b35..8eb549c134d 100644 --- a/keyboards/kabedon/kabedon98e/config.h +++ b/keyboards/kabedon/kabedon98e/config.h @@ -17,8 +17,8 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/kprepublic/bm16a/v2/config.h b/keyboards/kprepublic/bm16a/v2/config.h index 3ef55f3d42e..8014b69a98c 100644 --- a/keyboards/kprepublic/bm16a/v2/config.h +++ b/keyboards/kprepublic/bm16a/v2/config.h @@ -5,5 +5,5 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 7 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 7 diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index 629c1dcf701..84b3c45cd91 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h @@ -24,5 +24,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 7 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 7 diff --git a/keyboards/loki65/config.h b/keyboards/loki65/config.h index 3627f4c7e6d..ac6b9f5ceb7 100644 --- a/keyboards/loki65/config.h +++ b/keyboards/loki65/config.h @@ -24,6 +24,6 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 5 #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB diff --git a/keyboards/mariorion_v25/prod/config.h b/keyboards/mariorion_v25/prod/config.h index 042f7662d8e..8895d16ecef 100644 --- a/keyboards/mariorion_v25/prod/config.h +++ b/keyboards/mariorion_v25/prod/config.h @@ -7,9 +7,9 @@ #define WS2812_PWM_DRIVER PWMD17 #define WS2812_PWM_CHANNEL 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 1 -// #define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM17_UP +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 1 +// #define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM17_UP #define INDICATOR_0 C9 #define INDICATOR_1 C8 diff --git a/keyboards/mariorion_v25/proto/config.h b/keyboards/mariorion_v25/proto/config.h index 6865f2dbb01..894b8fbf9e8 100644 --- a/keyboards/mariorion_v25/proto/config.h +++ b/keyboards/mariorion_v25/proto/config.h @@ -7,9 +7,9 @@ #define WS2812_PWM_DRIVER PWMD17 #define WS2812_PWM_CHANNEL 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 1 -// #define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM17_UP +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 1 +// #define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM17_UP #define INDICATOR_0 C8 #define INDICATOR_1 C7 diff --git a/keyboards/meetlab/kalice/config.h b/keyboards/meetlab/kalice/config.h index 80bae79fd8e..052bfa4bdfd 100644 --- a/keyboards/meetlab/kalice/config.h +++ b/keyboards/meetlab/kalice/config.h @@ -19,5 +19,5 @@ #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_COMPLEMENTARY_OUTPUT -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 5 \ No newline at end of file +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 5 \ No newline at end of file diff --git a/keyboards/meetlab/rena/config.h b/keyboards/meetlab/rena/config.h index ef8715e3842..6a6a4a2caec 100644 --- a/keyboards/meetlab/rena/config.h +++ b/keyboards/meetlab/rena/config.h @@ -18,5 +18,5 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 3 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 diff --git a/keyboards/misterknife/knife66/config.h b/keyboards/misterknife/knife66/config.h index 7f7e1173032..2b8d7b8b9fe 100644 --- a/keyboards/misterknife/knife66/config.h +++ b/keyboards/misterknife/knife66/config.h @@ -20,5 +20,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 // default: PWMD1 #define WS2812_PWM_CHANNEL 2 // default: 2 #define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 5 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 5 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. diff --git a/keyboards/misterknife/knife66_iso/config.h b/keyboards/misterknife/knife66_iso/config.h index cb847450baa..f9f0707ff18 100644 --- a/keyboards/misterknife/knife66_iso/config.h +++ b/keyboards/misterknife/knife66_iso/config.h @@ -20,5 +20,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 // default: PWMD1 #define WS2812_PWM_CHANNEL 2 // default: 2 #define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 5 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 5 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. diff --git a/keyboards/mode/m256wh/config.h b/keyboards/mode/m256wh/config.h index c976b6bcc5b..06f1658ea52 100644 --- a/keyboards/mode/m256wh/config.h +++ b/keyboards/mode/m256wh/config.h @@ -21,7 +21,7 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 #define EECONFIG_KB_DATA_SIZE (1) diff --git a/keyboards/mode/m256ws/config.h b/keyboards/mode/m256ws/config.h index c976b6bcc5b..06f1658ea52 100644 --- a/keyboards/mode/m256ws/config.h +++ b/keyboards/mode/m256ws/config.h @@ -21,7 +21,7 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 #define EECONFIG_KB_DATA_SIZE (1) diff --git a/keyboards/mode/m60h/config.h b/keyboards/mode/m60h/config.h index f984cf28de9..cde4ffdbc61 100644 --- a/keyboards/mode/m60h/config.h +++ b/keyboards/mode/m60h/config.h @@ -5,6 +5,6 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM6 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6 +#define WS2812_PWM_DMA_CHANNEL 2 #define WS2812_PWM_TARGET_PERIOD 800000 \ No newline at end of file diff --git a/keyboards/mode/m60h_f/config.h b/keyboards/mode/m60h_f/config.h index f984cf28de9..cde4ffdbc61 100644 --- a/keyboards/mode/m60h_f/config.h +++ b/keyboards/mode/m60h_f/config.h @@ -5,6 +5,6 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM6 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6 +#define WS2812_PWM_DMA_CHANNEL 2 #define WS2812_PWM_TARGET_PERIOD 800000 \ No newline at end of file diff --git a/keyboards/mode/m60s/config.h b/keyboards/mode/m60s/config.h index f984cf28de9..cde4ffdbc61 100644 --- a/keyboards/mode/m60s/config.h +++ b/keyboards/mode/m60s/config.h @@ -5,6 +5,6 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM6 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6 +#define WS2812_PWM_DMA_CHANNEL 2 #define WS2812_PWM_TARGET_PERIOD 800000 \ No newline at end of file diff --git a/keyboards/mwstudio/mmk_3/config.h b/keyboards/mwstudio/mmk_3/config.h index 0265d3ed6e3..f8916cddd03 100644 --- a/keyboards/mwstudio/mmk_3/config.h +++ b/keyboards/mwstudio/mmk_3/config.h @@ -22,5 +22,5 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 2 diff --git a/keyboards/mwstudio/mw660/config.h b/keyboards/mwstudio/mw660/config.h index 87659c1f67c..58d0eee9e08 100644 --- a/keyboards/mwstudio/mw660/config.h +++ b/keyboards/mwstudio/mw660/config.h @@ -20,5 +20,5 @@ #define WS2812_PWM_CHANNEL 3 // default: 2 //#define WS2812_PWM_COMPLEMENTARY_OUTPUT // Define for a complementary timer output (TIMx_CHyN); omit for a normal timer output (TIMx_CHy). #define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 2 \ No newline at end of file +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 2 \ No newline at end of file diff --git a/keyboards/novelkeys/nk20/config.h b/keyboards/novelkeys/nk20/config.h index 317cc2c3e83..750a0335689 100644 --- a/keyboards/novelkeys/nk20/config.h +++ b/keyboards/novelkeys/nk20/config.h @@ -20,5 +20,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/novelkeys/nk65b/config.h b/keyboards/novelkeys/nk65b/config.h index 40e3b54053e..eaddb87b820 100755 --- a/keyboards/novelkeys/nk65b/config.h +++ b/keyboards/novelkeys/nk65b/config.h @@ -20,5 +20,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/novelkeys/nk87b/config.h b/keyboards/novelkeys/nk87b/config.h index a79137e7d9f..933d4ed5c07 100644 --- a/keyboards/novelkeys/nk87b/config.h +++ b/keyboards/novelkeys/nk87b/config.h @@ -20,5 +20,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/novelkeys/nk_plus/config.h b/keyboards/novelkeys/nk_plus/config.h index 40e3b54053e..eaddb87b820 100644 --- a/keyboards/novelkeys/nk_plus/config.h +++ b/keyboards/novelkeys/nk_plus/config.h @@ -20,5 +20,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/planck/ez/config.h b/keyboards/planck/ez/config.h index 74d8d21155d..e4fa0924d3a 100644 --- a/keyboards/planck/ez/config.h +++ b/keyboards/planck/ez/config.h @@ -46,8 +46,8 @@ // #define WS2812_TIM_CH 2 // #define PORT_WS2812 GPIOA // #define PIN_WS2812 1 -// #define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA stream for TIMx_UP (look up in reference manual under DMA Channel selection) -//#define WS2812_DMA_CHANNEL 7 // DMA channel for TIMx_UP +// #define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA stream for TIMx_UP (look up in reference manual under DMA Channel selection) +//#define WS2812_PWM_DMA_CHANNEL 7 // DMA channel for TIMx_UP //#define WS2812_EXTERNAL_PULLUP #define IS31FL3737_I2C_ADDRESS_1 IS31FL3737_I2C_ADDRESS_GND diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h index 7fec8be56bc..0935fad3588 100644 --- a/keyboards/planck/rev6/config.h +++ b/keyboards/planck/rev6/config.h @@ -46,5 +46,5 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 diff --git a/keyboards/planck/rev6_drop/config.h b/keyboards/planck/rev6_drop/config.h index 7fec8be56bc..0935fad3588 100644 --- a/keyboards/planck/rev6_drop/config.h +++ b/keyboards/planck/rev6_drop/config.h @@ -46,5 +46,5 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 diff --git a/keyboards/planck/rev7/config.h b/keyboards/planck/rev7/config.h index a5e49c8a532..9ccbf4cc8a8 100644 --- a/keyboards/planck/rev7/config.h +++ b/keyboards/planck/rev7/config.h @@ -27,8 +27,8 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 /* * Feature disable options diff --git a/keyboards/preonic/rev3/config.h b/keyboards/preonic/rev3/config.h index 7800131a90d..6a842105b2b 100644 --- a/keyboards/preonic/rev3/config.h +++ b/keyboards/preonic/rev3/config.h @@ -44,5 +44,5 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 diff --git a/keyboards/preonic/rev3_drop/config.h b/keyboards/preonic/rev3_drop/config.h index 7800131a90d..6a842105b2b 100644 --- a/keyboards/preonic/rev3_drop/config.h +++ b/keyboards/preonic/rev3_drop/config.h @@ -44,5 +44,5 @@ #define WS2812_PWM_DRIVER PWMD2 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 2 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 2 diff --git a/keyboards/protozoa/p01/config.h b/keyboards/protozoa/p01/config.h index fd58bda9123..3b14a164f6d 100644 --- a/keyboards/protozoa/p01/config.h +++ b/keyboards/protozoa/p01/config.h @@ -21,5 +21,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 5 diff --git a/keyboards/rgbkb/mun/config.h b/keyboards/rgbkb/mun/config.h index b247fa91cd0..74db14c0611 100644 --- a/keyboards/rgbkb/mun/config.h +++ b/keyboards/rgbkb/mun/config.h @@ -54,8 +54,8 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 #define TOUCH_UPDATE_INTERVAL 33 #define OLED_UPDATE_INTERVAL 33 diff --git a/keyboards/rgbkb/sol3/config.h b/keyboards/rgbkb/sol3/config.h index 2d3caeea4e4..8348b44f96e 100644 --- a/keyboards/rgbkb/sol3/config.h +++ b/keyboards/rgbkb/sol3/config.h @@ -46,8 +46,8 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 #define TOUCH_UPDATE_INTERVAL 33 #define OLED_UPDATE_INTERVAL 33 diff --git a/keyboards/skyloong/dt40/config.h b/keyboards/skyloong/dt40/config.h index b0aa9780633..7e101addcb9 100644 --- a/keyboards/skyloong/dt40/config.h +++ b/keyboards/skyloong/dt40/config.h @@ -24,5 +24,5 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2/f411/config.h index 8ed73d3ff48..bcd506ade3f 100644 --- a/keyboards/smithrune/iron165r2/f411/config.h +++ b/keyboards/smithrune/iron165r2/f411/config.h @@ -24,5 +24,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/smithrune/magnus/m75h/config.h b/keyboards/smithrune/magnus/m75h/config.h index e72ba069692..18fd960d8fc 100644 --- a/keyboards/smithrune/magnus/m75h/config.h +++ b/keyboards/smithrune/magnus/m75h/config.h @@ -25,5 +25,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/smithrune/magnus/m75s/config.h b/keyboards/smithrune/magnus/m75s/config.h index 1e8874caa4e..95fb2a420c6 100644 --- a/keyboards/smithrune/magnus/m75s/config.h +++ b/keyboards/smithrune/magnus/m75s/config.h @@ -27,5 +27,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/spaceholdings/nebula68/config.h b/keyboards/spaceholdings/nebula68/config.h index 1b2441556b0..85d3261dd12 100755 --- a/keyboards/spaceholdings/nebula68/config.h +++ b/keyboards/spaceholdings/nebula68/config.h @@ -20,8 +20,8 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 #define WS2812_PWM_CHANNEL 2 // default: 2 #define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. /* Backlight options */ diff --git a/keyboards/splitkb/kyria/rev1/config.h b/keyboards/splitkb/kyria/rev1/config.h index d6660991355..4f130293e22 100644 --- a/keyboards/splitkb/kyria/rev1/config.h +++ b/keyboards/splitkb/kyria/rev1/config.h @@ -33,9 +33,9 @@ along with this program. If not, see . # define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 # define WS2812_PWM_CHANNEL 4 // default: 2 # define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -# define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU. #else # define WS2812_DI_PIN D3 # define SOFT_SERIAL_PIN D2 diff --git a/keyboards/splitkb/kyria/rev2/config.h b/keyboards/splitkb/kyria/rev2/config.h index 452e011f0ab..54d8f0985ae 100644 --- a/keyboards/splitkb/kyria/rev2/config.h +++ b/keyboards/splitkb/kyria/rev2/config.h @@ -38,9 +38,9 @@ along with this program. If not, see . # define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 # define WS2812_PWM_CHANNEL 4 // default: 2 # define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -# define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU. #else # define WS2812_DI_PIN D3 # define SOFT_SERIAL_PIN D2 diff --git a/keyboards/tg67/config.h b/keyboards/tg67/config.h index 7ede76f5513..0d54e925ae5 100644 --- a/keyboards/tg67/config.h +++ b/keyboards/tg67/config.h @@ -19,5 +19,5 @@ #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_COMPLEMENTARY_OUTPUT -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 5 diff --git a/keyboards/tkw/grandiceps/config.h b/keyboards/tkw/grandiceps/config.h index a963fbfb510..a02e14f91f0 100644 --- a/keyboards/tkw/grandiceps/config.h +++ b/keyboards/tkw/grandiceps/config.h @@ -20,5 +20,5 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 5 diff --git a/keyboards/tkw/stoutgat/v2/config.h b/keyboards/tkw/stoutgat/v2/config.h index bf68edcfae9..79f47b9bb38 100644 --- a/keyboards/tkw/stoutgat/v2/config.h +++ b/keyboards/tkw/stoutgat/v2/config.h @@ -18,8 +18,8 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 5 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/tzarc/djinn/config.h b/keyboards/tzarc/djinn/config.h index 74bb00edc21..24357b6a35e 100644 --- a/keyboards/tzarc/djinn/config.h +++ b/keyboards/tzarc/djinn/config.h @@ -39,9 +39,9 @@ #define WS2812_PWM_DRIVER PWMD20 #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 3 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM1 -#define WS2812_DMA_CHANNEL 1 -#define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM20_UP +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 +#define WS2812_PWM_DMA_CHANNEL 1 +#define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM20_UP // Audio configuration #define AUDIO_PIN A5 diff --git a/keyboards/tzarc/ghoul/rev1/stm32/config.h b/keyboards/tzarc/ghoul/rev1/stm32/config.h index 1dbc1640397..a835b341db4 100644 --- a/keyboards/tzarc/ghoul/rev1/stm32/config.h +++ b/keyboards/tzarc/ghoul/rev1/stm32/config.h @@ -28,8 +28,8 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 5 #define RGB_ENABLE_PIN C0 // ADC Configuration diff --git a/keyboards/viendi8l/config.h b/keyboards/viendi8l/config.h index 050a0cca223..a449301c2b2 100644 --- a/keyboards/viendi8l/config.h +++ b/keyboards/viendi8l/config.h @@ -37,5 +37,5 @@ along with this program. If not, see . #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 -#define WS2812_DMA_CHANNEL 6 +#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 6 diff --git a/keyboards/vinhcatba/uncertainty/config.h b/keyboards/vinhcatba/uncertainty/config.h index 5c02b78efe6..82671dfdc00 100644 --- a/keyboards/vinhcatba/uncertainty/config.h +++ b/keyboards/vinhcatba/uncertainty/config.h @@ -11,8 +11,8 @@ #define WS2812_PWM_CHANNEL 4 // CH4 #define WS2812_PWM_PAL_MODE 2 // AF2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA1 Stream 2 for TIM3_UP (table 28 in reference manual) -#define WS2812_DMA_CHANNEL 5 // DMA Channel 5 for TIM3_UP (table 28 in reference manual) +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA1 Stream 2 for TIM3_UP (table 28 in reference manual) +#define WS2812_PWM_DMA_CHANNEL 5 // DMA Channel 5 for TIM3_UP (table 28 in reference manual) #define I2C1_CLOCK_SPEED 400000 diff --git a/keyboards/xelus/ninjin/config.h b/keyboards/xelus/ninjin/config.h index 9db59dcc66c..7a8ac2f0130 100644 --- a/keyboards/xelus/ninjin/config.h +++ b/keyboards/xelus/ninjin/config.h @@ -20,8 +20,8 @@ #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 3 #define WS2812_EXTERNAL_PULLUP /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/xelus/valor/rev2/config.h b/keyboards/xelus/valor/rev2/config.h index f601945a152..9491d1f175d 100644 --- a/keyboards/xelus/valor/rev2/config.h +++ b/keyboards/xelus/valor/rev2/config.h @@ -40,9 +40,9 @@ #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM6 -#define WS2812_DMA_CHANNEL 7 -#define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM1_UP +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6 +#define WS2812_PWM_DMA_CHANNEL 7 +#define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM1_UP // RGB Pullup #define WS2812_EXTERNAL_PULLUP diff --git a/keyboards/yandrstudio/buff67v3/config.h b/keyboards/yandrstudio/buff67v3/config.h index 9d3f3e44c06..7ff76360877 100644 --- a/keyboards/yandrstudio/buff67v3/config.h +++ b/keyboards/yandrstudio/buff67v3/config.h @@ -23,8 +23,8 @@ # define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 # define WS2812_PWM_CHANNEL 1 // default: 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -# define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. #endif diff --git a/keyboards/yandrstudio/eau_r2/config.h b/keyboards/yandrstudio/eau_r2/config.h index aa9b295e020..3a741b3dfff 100644 --- a/keyboards/yandrstudio/eau_r2/config.h +++ b/keyboards/yandrstudio/eau_r2/config.h @@ -17,5 +17,5 @@ #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_PWM_DMA_CHANNEL 5 diff --git a/keyboards/yandrstudio/nightstar75/config.h b/keyboards/yandrstudio/nightstar75/config.h index 4d5c6629996..f29bd573b80 100644 --- a/keyboards/yandrstudio/nightstar75/config.h +++ b/keyboards/yandrstudio/nightstar75/config.h @@ -20,5 +20,5 @@ #define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 #define WS2812_PWM_CHANNEL 2 // default: 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/yandrstudio/nz64/config.h b/keyboards/yandrstudio/nz64/config.h index 81b549b60d7..6dd155f74ec 100644 --- a/keyboards/yandrstudio/nz64/config.h +++ b/keyboards/yandrstudio/nz64/config.h @@ -18,5 +18,5 @@ #define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 #define WS2812_PWM_CHANNEL 2 // default: 2 #define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 5 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 5 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. diff --git a/keyboards/yandrstudio/nz67v2/config.h b/keyboards/yandrstudio/nz67v2/config.h index 7ecdfeafcfc..a7ae3e713ce 100644 --- a/keyboards/yandrstudio/nz67v2/config.h +++ b/keyboards/yandrstudio/nz67v2/config.h @@ -18,5 +18,5 @@ #define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 #define WS2812_PWM_CHANNEL 2 // default: 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +#define WS2812_PWM_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. diff --git a/keyboards/yandrstudio/tg67/config.h b/keyboards/yandrstudio/tg67/config.h index 686696be7d5..99deee32ac6 100644 --- a/keyboards/yandrstudio/tg67/config.h +++ b/keyboards/yandrstudio/tg67/config.h @@ -18,5 +18,5 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/yandrstudio/yr6095/config.h b/keyboards/yandrstudio/yr6095/config.h index 05a8922788f..98372166261 100644 --- a/keyboards/yandrstudio/yr6095/config.h +++ b/keyboards/yandrstudio/yr6095/config.h @@ -19,5 +19,5 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/yandrstudio/yr80/config.h b/keyboards/yandrstudio/yr80/config.h index 08e10e243ed..71d8e725879 100644 --- a/keyboards/yandrstudio/yr80/config.h +++ b/keyboards/yandrstudio/yr80/config.h @@ -21,5 +21,5 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 diff --git a/keyboards/yanghu/unicorne/config.h b/keyboards/yanghu/unicorne/config.h index 99d38fe44ab..8e625c6336c 100644 --- a/keyboards/yanghu/unicorne/config.h +++ b/keyboards/yanghu/unicorne/config.h @@ -31,6 +31,6 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 5 #define WS2812_EXTERNAL_PULLUP diff --git a/keyboards/ymdk/id75/config.h b/keyboards/ymdk/id75/config.h index 14ed1d644c0..cb5ac78304a 100644 --- a/keyboards/ymdk/id75/config.h +++ b/keyboards/ymdk/id75/config.h @@ -19,5 +19,5 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 7 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 7 diff --git a/keyboards/ymdk/ymd75/rev4/iso/config.h b/keyboards/ymdk/ymd75/rev4/iso/config.h index 58c4b34d617..3a0dddaad88 100644 --- a/keyboards/ymdk/ymd75/rev4/iso/config.h +++ b/keyboards/ymdk/ymd75/rev4/iso/config.h @@ -5,5 +5,5 @@ #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -#define WS2812_DMA_CHANNEL 7 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_PWM_DMA_CHANNEL 7 diff --git a/keyboards/zvecr/split_blackpill/config.h b/keyboards/zvecr/split_blackpill/config.h index 41739356422..dd26e9ca325 100644 --- a/keyboards/zvecr/split_blackpill/config.h +++ b/keyboards/zvecr/split_blackpill/config.h @@ -20,8 +20,8 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 1 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -#define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_PWM_DMA_CHANNEL 3 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/zvecr/zv48/config.h b/keyboards/zvecr/zv48/config.h index e503f07b801..a67a46a1850 100644 --- a/keyboards/zvecr/zv48/config.h +++ b/keyboards/zvecr/zv48/config.h @@ -22,8 +22,8 @@ #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 4 #define WS2812_PWM_PAL_MODE 2 -#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 -#define WS2812_DMA_CHANNEL 5 +#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 +#define WS2812_PWM_DMA_CHANNEL 5 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/platforms/chibios/boards/BONSAI_C4/configs/config.h b/platforms/chibios/boards/BONSAI_C4/configs/config.h index 193b028bdec..e933cd6fd11 100644 --- a/platforms/chibios/boards/BONSAI_C4/configs/config.h +++ b/platforms/chibios/boards/BONSAI_C4/configs/config.h @@ -77,11 +77,11 @@ # ifndef WS2812_PWM_PAL_MODE # define WS2812_PWM_PAL_MODE 1 # endif -# ifndef WS2812_DMA_STREAM -# define WS2812_DMA_STREAM STM32_DMA2_STREAM5 +# ifndef WS2812_PWM_DMA_STREAM +# define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5 # endif -# ifndef WS2812_DMA_CHANNEL -# define WS2812_DMA_CHANNEL 6 +# ifndef WS2812_PWM_DMA_CHANNEL +# define WS2812_PWM_DMA_CHANNEL 6 # endif #endif diff --git a/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c b/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c index de317e269a6..799d96b3c64 100644 --- a/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c +++ b/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c @@ -136,7 +136,7 @@ static const pio_program_t ws2812_program = { }; static uint32_t WS2812_BUFFER[WS2812_LED_COUNT]; -static const rp_dma_channel_t* WS2812_DMA_CHANNEL; +static const rp_dma_channel_t* dma_channel; static uint32_t RP_DMA_MODE_WS2812; static int STATE_MACHINE = -1; @@ -236,9 +236,9 @@ bool ws2812_init(void) { pio_sm_init(pio, STATE_MACHINE, offset, &config); pio_sm_set_enabled(pio, STATE_MACHINE, true); - WS2812_DMA_CHANNEL = dmaChannelAlloc(RP_DMA_CHANNEL_ID_ANY, RP_DMA_PRIORITY_WS2812, (rp_dmaisr_t)ws2812_dma_callback, NULL); - dmaChannelEnableInterruptX(WS2812_DMA_CHANNEL); - dmaChannelSetDestinationX(WS2812_DMA_CHANNEL, (uint32_t)&pio->txf[STATE_MACHINE]); + dma_channel = dmaChannelAlloc(RP_DMA_CHANNEL_ID_ANY, RP_DMA_PRIORITY_WS2812, (rp_dmaisr_t)ws2812_dma_callback, NULL); + dmaChannelEnableInterruptX(dma_channel); + dmaChannelSetDestinationX(dma_channel, (uint32_t)&pio->txf[STATE_MACHINE]); // clang-format off RP_DMA_MODE_WS2812 = DMA_CTRL_TRIG_INCR_READ | @@ -256,7 +256,7 @@ static inline void sync_ws2812_transfer(void) { // count of LEDs in milliseconds. This is safely much longer than it // would take to push all the data out. dprintln("ERROR: WS2812 DMA transfer has stalled, aborting!"); - dmaChannelDisableX(WS2812_DMA_CHANNEL); + dmaChannelDisableX(dma_channel); pio_sm_clear_fifos(pio, STATE_MACHINE); pio_sm_restart(pio, STATE_MACHINE); chSemReset(&TRANSFER_COUNTER, 0); @@ -284,8 +284,8 @@ void ws2812_setleds(rgb_led_t* ledarray, uint16_t leds) { #endif } - dmaChannelSetSourceX(WS2812_DMA_CHANNEL, (uint32_t)WS2812_BUFFER); - dmaChannelSetCounterX(WS2812_DMA_CHANNEL, leds); - dmaChannelSetModeX(WS2812_DMA_CHANNEL, RP_DMA_MODE_WS2812); - dmaChannelEnableX(WS2812_DMA_CHANNEL); + dmaChannelSetSourceX(dma_channel, (uint32_t)WS2812_BUFFER); + dmaChannelSetCounterX(dma_channel, leds); + dmaChannelSetModeX(dma_channel, RP_DMA_MODE_WS2812); + dmaChannelEnableX(dma_channel); } diff --git a/platforms/chibios/drivers/ws2812_pwm.c b/platforms/chibios/drivers/ws2812_pwm.c index 6bba22767f7..e0b3bfd5b55 100644 --- a/platforms/chibios/drivers/ws2812_pwm.c +++ b/platforms/chibios/drivers/ws2812_pwm.c @@ -2,6 +2,18 @@ #include "gpio.h" #include "chibios_config.h" +// ======== DEPRECATED DEFINES - DO NOT USE ======== +#ifdef WS2812_DMA_STREAM +# define WS2812_PWM_DMA_STREAM WS2812_DMA_STREAM +#endif +#ifdef WS2812_DMA_CHANNEL +# define WS2812_PWM_DMA_CHANNEL WS2812_DMA_CHANNEL +#endif +#ifdef WS2812_DMAMUX_ID +# define WS2812_PWM_DMAMUX_ID WS2812_DMAMUX_ID +#endif +// ======== + /* Adapted from https://github.com/joewa/WS2812-LED-Driver_ChibiOS/ */ #ifdef RGBW @@ -19,14 +31,14 @@ #ifndef WS2812_PWM_PAL_MODE # define WS2812_PWM_PAL_MODE 2 // DI Pin's alternate function value #endif -#ifndef WS2812_DMA_STREAM -# define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP +#ifndef WS2812_PWM_DMA_STREAM +# define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP #endif -#ifndef WS2812_DMA_CHANNEL -# define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP +#ifndef WS2812_PWM_DMA_CHANNEL +# define WS2812_PWM_DMA_CHANNEL 2 // DMA Channel for TIMx_UP #endif -#if (STM32_DMA_SUPPORTS_DMAMUX == TRUE) && !defined(WS2812_DMAMUX_ID) -# error "please consult your MCU's datasheet and specify in your config.h: #define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM?_UP" +#if (STM32_DMA_SUPPORTS_DMAMUX == TRUE) && !defined(WS2812_PWM_DMAMUX_ID) +# error "please consult your MCU's datasheet and specify in your config.h: #define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM?_UP" #endif /* Summarize https://www.st.com/resource/en/application_note/an4013-stm32-crossseries-timer-overview-stmicroelectronics.pdf to @@ -270,20 +282,20 @@ // For all other STM32 DMA transfer will automatically zero pad. We only need to set the right peripheral width. #if defined(STM32F2XX) || defined(STM32F4XX) || defined(STM32F7XX) # if defined(WS2812_PWM_TIMER_32BIT) -# define WS2812_DMA_MEMORY_WIDTH STM32_DMA_CR_MSIZE_WORD -# define WS2812_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_WORD +# define WS2812_PWM_DMA_MEMORY_WIDTH STM32_DMA_CR_MSIZE_WORD +# define WS2812_PWM_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_WORD typedef uint32_t ws2812_buffer_t; # else -# define WS2812_DMA_MEMORY_WIDTH STM32_DMA_CR_MSIZE_HWORD -# define WS2812_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_HWORD +# define WS2812_PWM_DMA_MEMORY_WIDTH STM32_DMA_CR_MSIZE_HWORD +# define WS2812_PWM_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_HWORD typedef uint16_t ws2812_buffer_t; # endif #else -# define WS2812_DMA_MEMORY_WIDTH STM32_DMA_CR_MSIZE_BYTE +# define WS2812_PWM_DMA_MEMORY_WIDTH STM32_DMA_CR_MSIZE_BYTE # if defined(WS2812_PWM_TIMER_32BIT) -# define WS2812_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_WORD +# define WS2812_PWM_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_WORD # else -# define WS2812_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_HWORD +# define WS2812_PWM_DMA_PERIPHERAL_WIDTH STM32_DMA_CR_PSIZE_HWORD # endif typedef uint8_t ws2812_buffer_t; #endif @@ -326,26 +338,26 @@ void ws2812_init(void) { // Configure DMA // dmaInit(); // Joe added this #if defined(WB32F3G71xx) || defined(WB32FQ95xx) - dmaStreamAlloc(WS2812_DMA_STREAM - WB32_DMA_STREAM(0), 10, NULL, NULL); - dmaStreamSetSource(WS2812_DMA_STREAM, ws2812_frame_buffer); - dmaStreamSetDestination(WS2812_DMA_STREAM, &(WS2812_PWM_DRIVER.tim->CCR[WS2812_PWM_CHANNEL - 1])); // Ziel ist der An-Zeit im Cap-Comp-Register - dmaStreamSetMode(WS2812_DMA_STREAM, WB32_DMA_CHCFG_HWHIF(WS2812_DMA_CHANNEL) | WB32_DMA_CHCFG_DIR_M2P | WB32_DMA_CHCFG_PSIZE_WORD | WB32_DMA_CHCFG_MSIZE_WORD | WB32_DMA_CHCFG_MINC | WB32_DMA_CHCFG_CIRC | WB32_DMA_CHCFG_TCIE | WB32_DMA_CHCFG_PL(3)); + dmaStreamAlloc(WS2812_PWM_DMA_STREAM - WB32_DMA_STREAM(0), 10, NULL, NULL); + dmaStreamSetSource(WS2812_PWM_DMA_STREAM, ws2812_frame_buffer); + dmaStreamSetDestination(WS2812_PWM_DMA_STREAM, &(WS2812_PWM_DRIVER.tim->CCR[WS2812_PWM_CHANNEL - 1])); // Ziel ist der An-Zeit im Cap-Comp-Register + dmaStreamSetMode(WS2812_PWM_DMA_STREAM, WB32_DMA_CHCFG_HWHIF(WS2812_PWM_DMA_CHANNEL) | WB32_DMA_CHCFG_DIR_M2P | WB32_DMA_CHCFG_PSIZE_WORD | WB32_DMA_CHCFG_MSIZE_WORD | WB32_DMA_CHCFG_MINC | WB32_DMA_CHCFG_CIRC | WB32_DMA_CHCFG_TCIE | WB32_DMA_CHCFG_PL(3)); #else - dmaStreamAlloc(WS2812_DMA_STREAM - STM32_DMA_STREAM(0), 10, NULL, NULL); - dmaStreamSetPeripheral(WS2812_DMA_STREAM, &(WS2812_PWM_DRIVER.tim->CCR[WS2812_PWM_CHANNEL - 1])); // Ziel ist der An-Zeit im Cap-Comp-Register - dmaStreamSetMemory0(WS2812_DMA_STREAM, ws2812_frame_buffer); - dmaStreamSetMode(WS2812_DMA_STREAM, STM32_DMA_CR_CHSEL(WS2812_DMA_CHANNEL) | STM32_DMA_CR_DIR_M2P | WS2812_DMA_PERIPHERAL_WIDTH | WS2812_DMA_MEMORY_WIDTH | STM32_DMA_CR_MINC | STM32_DMA_CR_CIRC | STM32_DMA_CR_PL(3)); + dmaStreamAlloc(WS2812_PWM_DMA_STREAM - STM32_DMA_STREAM(0), 10, NULL, NULL); + dmaStreamSetPeripheral(WS2812_PWM_DMA_STREAM, &(WS2812_PWM_DRIVER.tim->CCR[WS2812_PWM_CHANNEL - 1])); // Ziel ist der An-Zeit im Cap-Comp-Register + dmaStreamSetMemory0(WS2812_PWM_DMA_STREAM, ws2812_frame_buffer); + dmaStreamSetMode(WS2812_PWM_DMA_STREAM, STM32_DMA_CR_CHSEL(WS2812_PWM_DMA_CHANNEL) | STM32_DMA_CR_DIR_M2P | WS2812_PWM_DMA_PERIPHERAL_WIDTH | WS2812_PWM_DMA_MEMORY_WIDTH | STM32_DMA_CR_MINC | STM32_DMA_CR_CIRC | STM32_DMA_CR_PL(3)); #endif - dmaStreamSetTransactionSize(WS2812_DMA_STREAM, WS2812_BIT_N); + dmaStreamSetTransactionSize(WS2812_PWM_DMA_STREAM, WS2812_BIT_N); // M2P: Memory 2 Periph; PL: Priority Level #if (STM32_DMA_SUPPORTS_DMAMUX == TRUE) // If the MCU has a DMAMUX we need to assign the correct resource - dmaSetRequestSource(WS2812_DMA_STREAM, WS2812_DMAMUX_ID); + dmaSetRequestSource(WS2812_PWM_DMA_STREAM, WS2812_PWM_DMAMUX_ID); #endif // Start DMA - dmaStreamEnable(WS2812_DMA_STREAM); + dmaStreamEnable(WS2812_PWM_DMA_STREAM); // Configure PWM // NOTE: It's required that preload be enabled on the timer channel CCR register. This is currently enabled in the From 092ef661af1f970122993ad175bcc420898788ca Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 2 Mar 2024 18:20:18 +0000 Subject: [PATCH 035/107] Workaround for uart makefile issues (#23192) --- platforms/chibios/chibios_config.h | 5 +++++ platforms/chibios/drivers/uart_sio.c | 2 +- platforms/chibios/platform.mk | 11 ----------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/platforms/chibios/chibios_config.h b/platforms/chibios/chibios_config.h index 759ac6943ba..8f46fe07360 100644 --- a/platforms/chibios/chibios_config.h +++ b/platforms/chibios/chibios_config.h @@ -108,6 +108,11 @@ # if defined(STM32F1XX) || defined(STM32F2XX) || defined(STM32F4XX) || defined(STM32L1XX) # define USE_I2CV1 # endif + +# if defined(STM32G0XX) || defined(STM32G4XX) || defined(STM32L5XX) || defined(STM32H7XX) +# define USE_USARTV3 +# endif + #endif // GD32 compatibility diff --git a/platforms/chibios/drivers/uart_sio.c b/platforms/chibios/drivers/uart_sio.c index ebf51ae5a81..442df1c54d8 100644 --- a/platforms/chibios/drivers/uart_sio.c +++ b/platforms/chibios/drivers/uart_sio.c @@ -16,7 +16,7 @@ static SIOConfig sioConfig = { #else static SIOConfig sioConfig = { .baud = SIO_DEFAULT_BITRATE, -# if defined(MCU_STM32) && defined(CHIBIOS_HAL_USARTv3) +# if defined(MCU_STM32) && defined(USE_USARTV3) .presc = USART_PRESC1, # endif .cr1 = UART_CR1, diff --git a/platforms/chibios/platform.mk b/platforms/chibios/platform.mk index a2178412f3f..f38a888012e 100644 --- a/platforms/chibios/platform.mk +++ b/platforms/chibios/platform.mk @@ -329,17 +329,6 @@ ifeq ($(strip $(USE_CHIBIOS_CONTRIB)),yes) EXTRAINCDIRS += $(PLATFORMINC_CONTRIB) $(HALINC_CONTRIB) $(CHIBIOS_CONTRIB)/os/various endif -# -# Extract supported HAL drivers -############################################################################## - -define add_lld_driver_define - $(eval driver := $(word 2,$(subst /LLD/, ,$(1)))) - $(eval OPT_DEFS += -DCHIBIOS_HAL_$(driver)) -endef - -$(foreach dir,$(EXTRAINCDIRS),$(if $(findstring /LLD/,$(dir)),$(call add_lld_driver_define,$(dir)))) - # # Project, sources and paths ############################################################################## From fcf906657b9e2d22b409aa9f8587fd3535e9b853 Mon Sep 17 00:00:00 2001 From: Markus Knutsson Date: Sun, 3 Mar 2024 18:37:35 +0100 Subject: [PATCH 036/107] [Keyboard] Add rp2040_ce option to lotus58 (#23185) * Update keymap Corrected OLED orientation, added autoshift status on OLED. * Update keymap Corrected OLED orientation, added autoshift status on OLED. * Added make target to bottom folder With default folder * Update keyboards/tweetydabird/lotus58/keymaps/default/keymap.c Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> * Reformatted files * Update keymap.c Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> * Updated name * Added rp2040ce * Update info.json * Update info.json * Added rp2040ce * Small fix * Update info.json Co-authored-by: jack <0x6a73@protonmail.com> * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Apply suggestions from code review Co-authored-by: jack <0x6a73@protonmail.com> * Fixed stray char * Apply suggestions from code review Co-authored-by: jack <0x6a73@protonmail.com> * Update info.json Co-authored-by: Drashna Jaelre * Update info.json Co-authored-by: Drashna Jaelre * Moved LTO --------- Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Drashna Jaelre --- .../tweetydabird/lotus58/elite_c/info.json | 31 +++++++++++++++++- keyboards/tweetydabird/lotus58/info.json | 31 +----------------- .../tweetydabird/lotus58/nanoboot/info.json | 32 +++++++++++++++++++ .../tweetydabird/lotus58/promicro/info.json | 30 ++++++++++++++++- .../tweetydabird/lotus58/rp2040_ce/config.h | 9 ++++++ .../tweetydabird/lotus58/rp2040_ce/halconf.h | 21 ++++++++++++ .../tweetydabird/lotus58/rp2040_ce/info.json | 29 +++++++++++++++++ .../tweetydabird/lotus58/rp2040_ce/mcuconf.h | 22 +++++++++++++ .../tweetydabird/lotus58/rp2040_ce/rules.mk | 1 + 9 files changed, 174 insertions(+), 32 deletions(-) create mode 100644 keyboards/tweetydabird/lotus58/nanoboot/info.json create mode 100644 keyboards/tweetydabird/lotus58/rp2040_ce/config.h create mode 100644 keyboards/tweetydabird/lotus58/rp2040_ce/halconf.h create mode 100644 keyboards/tweetydabird/lotus58/rp2040_ce/info.json create mode 100644 keyboards/tweetydabird/lotus58/rp2040_ce/mcuconf.h create mode 100644 keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk diff --git a/keyboards/tweetydabird/lotus58/elite_c/info.json b/keyboards/tweetydabird/lotus58/elite_c/info.json index 606784570c7..af1a9f913c5 100644 --- a/keyboards/tweetydabird/lotus58/elite_c/info.json +++ b/keyboards/tweetydabird/lotus58/elite_c/info.json @@ -1,3 +1,32 @@ { - "bootloader": "atmel-dfu" + "build": { + "lto": true + }, + "development_board": "elite_c", + "pin_compatible": "elite_c", + "encoder": { + "rotary": [ + {"pin_a": "F5", "pin_b": "F4", "resolution": 2} + ] + }, + "matrix_pins": { + "cols": ["B1", "B2", "B3", "B6", "F7", "F6"], + "rows": ["D4", "C6", "D7", "E6", "B4"] + }, + "split": { + "encoder": { + "right": { + "rotary": [ + {"pin_a": "F4", "pin_b": "F5", "resolution": 2} + ] + } + }, + "handedness": { + "pin": "B5" + }, + "soft_serial_pin": "D2", + }, + "ws2812": { + "pin": "D3" + }, } diff --git a/keyboards/tweetydabird/lotus58/info.json b/keyboards/tweetydabird/lotus58/info.json index 646843e7652..f4660c3ad9f 100644 --- a/keyboards/tweetydabird/lotus58/info.json +++ b/keyboards/tweetydabird/lotus58/info.json @@ -1,17 +1,9 @@ { "manufacturer": "Tweetys Wild Thinking", - "keyboard_name": "Lotus 58 Glow (QMK)", + "keyboard_name": "Lotus 58 Glow", "maintainer": "TweetyDaBird", "bootloader_instructions": "Short marked pads on PCB, or hold top-outer key when plugging in each hand.", - "build": { - "lto": true - }, "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "F5", "pin_b": "F4", "resolution": 2} - ] - }, "features": { "bootmagic": true, "command": false, @@ -25,12 +17,6 @@ "split": true, "tri_layer": true }, - "matrix_pins": { - "cols": ["B1", "B2", "B3", "B6", "F7", "F6"], - "rows": ["D4", "C6", "D7", "E6", "B4"] - }, - "pin_compatible": "promicro", - "processor": "atmega32u4", "rgblight": { "default": { "val": 87 @@ -46,19 +32,7 @@ "matrix": [5, 0] }, "enabled": true, - "encoder": { - "right": { - "rotary": [ - {"pin_a": "F4", "pin_b": "F5", "resolution": 2} - ] - } - }, - "handedness": { - "pin": "B5" - }, - "soft_serial_pin": "D2", "transport": { - "protocol": "serial", "sync": { "indicators": true, "layer_state": true, @@ -78,9 +52,6 @@ "pid": "0x23B0", "vid": "0xFEED" }, - "ws2812": { - "pin": "D3" - }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/tweetydabird/lotus58/nanoboot/info.json b/keyboards/tweetydabird/lotus58/nanoboot/info.json new file mode 100644 index 00000000000..e7586e6f2f2 --- /dev/null +++ b/keyboards/tweetydabird/lotus58/nanoboot/info.json @@ -0,0 +1,32 @@ +{ + "build": { + "lto": true + }, + "pin_compatible": "promicro", + "processor": "atmega32u4", + "encoder": { + "rotary": [ + {"pin_a": "F5", "pin_b": "F4", "resolution": 2} + ] + }, + "matrix_pins": { + "cols": ["B1", "B2", "B3", "B6", "F7", "F6"], + "rows": ["D4", "C6", "D7", "E6", "B4"] + }, + "split": { + "encoder": { + "right": { + "rotary": [ + {"pin_a": "F4", "pin_b": "F5", "resolution": 2} + ] + } + }, + "handedness": { + "pin": "B5" + }, + "soft_serial_pin": "D2", + }, + "ws2812": { + "pin": "D3" + }, +} diff --git a/keyboards/tweetydabird/lotus58/promicro/info.json b/keyboards/tweetydabird/lotus58/promicro/info.json index 56062f7ad37..62ee0355ef8 100644 --- a/keyboards/tweetydabird/lotus58/promicro/info.json +++ b/keyboards/tweetydabird/lotus58/promicro/info.json @@ -1,3 +1,31 @@ { - "bootloader": "caterina" + "build": { + "lto": true + }, + "development_board": "promicro", + "encoder": { + "rotary": [ + {"pin_a": "F5", "pin_b": "F4", "resolution": 2} + ] + }, + "matrix_pins": { + "cols": ["B1", "B2", "B3", "B6", "F7", "F6"], + "rows": ["D4", "C6", "D7", "E6", "B4"] + }, + "split": { + "encoder": { + "right": { + "rotary": [ + {"pin_a": "F4", "pin_b": "F5", "resolution": 2} + ] + } + }, + "handedness": { + "pin": "B5" + }, + "soft_serial_pin": "D2", + }, + "ws2812": { + "pin": "D3" + }, } diff --git a/keyboards/tweetydabird/lotus58/rp2040_ce/config.h b/keyboards/tweetydabird/lotus58/rp2040_ce/config.h new file mode 100644 index 00000000000..e4a23b7d7f0 --- /dev/null +++ b/keyboards/tweetydabird/lotus58/rp2040_ce/config.h @@ -0,0 +1,9 @@ +// Copyright 2024 Markus Knutsson (@TweetyDaBird) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define SERIAL_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the Serial implementation uses the PIO0 peripheral + +#define I2C_DRIVER I2CD1 +#define I2C1_SDA_PIN GP2 +#define I2C1_SCL_PIN GP3 diff --git a/keyboards/tweetydabird/lotus58/rp2040_ce/halconf.h b/keyboards/tweetydabird/lotus58/rp2040_ce/halconf.h new file mode 100644 index 00000000000..2e098f5113d --- /dev/null +++ b/keyboards/tweetydabird/lotus58/rp2040_ce/halconf.h @@ -0,0 +1,21 @@ +/* Copyright 2022 QMK + * + * 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 . + */ + +#pragma once + +#define HAL_USE_I2C TRUE + +#include_next diff --git a/keyboards/tweetydabird/lotus58/rp2040_ce/info.json b/keyboards/tweetydabird/lotus58/rp2040_ce/info.json new file mode 100644 index 00000000000..c8bf7117477 --- /dev/null +++ b/keyboards/tweetydabird/lotus58/rp2040_ce/info.json @@ -0,0 +1,29 @@ +{ + "development_board": "promicro_rp2040", + "encoder": { + "rotary": [ + {"pin_a": "GP28", "pin_b": "GP29", "resolution": 2} + ] + }, + "matrix_pins": { + "cols": ["GP22", "GP23", "GP20", "GP21", "GP26", "GP27"], + "rows": ["GP4", "GP5", "GP6", "GP7", "GP8"] + }, + "split": { + "encoder": { + "right": { + "rotary": [ + {"pin_a": "GP29", "pin_b": "GP28", "resolution": 2} + ] + } + }, + "soft_serial_pin": "GP1", + "handedness": { + "pin": "GP9" + } + }, + "ws2812": { + "driver": "vendor", + "pin": "GP0" + } +} diff --git a/keyboards/tweetydabird/lotus58/rp2040_ce/mcuconf.h b/keyboards/tweetydabird/lotus58/rp2040_ce/mcuconf.h new file mode 100644 index 00000000000..2ae39bf675d --- /dev/null +++ b/keyboards/tweetydabird/lotus58/rp2040_ce/mcuconf.h @@ -0,0 +1,22 @@ +/* Copyright 2022 QMK + * + * 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 . + */ + +#pragma once + +#include_next + +#undef RP_I2C_USE_I2C1 +#define RP_I2C_USE_I2C1 TRUE diff --git a/keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk b/keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk new file mode 100644 index 00000000000..161ec22b16e --- /dev/null +++ b/keyboards/tweetydabird/lotus58/rp2040_ce/rules.mk @@ -0,0 +1 @@ +SERIAL_DRIVER = vendor From 1919644934478939af3977b546da217c02617566 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Mon, 4 Mar 2024 11:40:16 -0800 Subject: [PATCH 037/107] Iron180 V2 S: correct ANSI Enter key sizes (#23215) --- keyboards/smithrune/iron180v2/v2s/info.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/keyboards/smithrune/iron180v2/v2s/info.json b/keyboards/smithrune/iron180v2/v2s/info.json index aae84fd9566..82744159912 100644 --- a/keyboards/smithrune/iron180v2/v2s/info.json +++ b/keyboards/smithrune/iron180v2/v2s/info.json @@ -229,7 +229,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -336,7 +336,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -443,7 +443,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -549,7 +549,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -655,7 +655,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -759,7 +759,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, From 73bddf0ea6fc867b8401c7b09d7f3d07099b1944 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Mon, 4 Mar 2024 11:41:55 -0800 Subject: [PATCH 038/107] `mntre_v3`: correct layout data (#23216) --- keyboards/mntre_v3/info.json | 70 ++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/keyboards/mntre_v3/info.json b/keyboards/mntre_v3/info.json index eeef7575ff1..d9cee6aede8 100644 --- a/keyboards/mntre_v3/info.json +++ b/keyboards/mntre_v3/info.json @@ -75,45 +75,45 @@ {"matrix": [2, 13], "x": 13.5, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, - {"matrix": [3, 1], "x": 1, "y": 3}, - {"matrix": [3, 2], "x": 2, "y": 3}, - {"matrix": [3, 3], "x": 3, "y": 3}, - {"matrix": [3, 4], "x": 4, "y": 3}, - {"matrix": [3, 5], "x": 5, "y": 3}, - {"matrix": [3, 6], "x": 6, "y": 3}, - {"matrix": [3, 7], "x": 7, "y": 3}, - {"matrix": [3, 8], "x": 8, "y": 3}, - {"matrix": [3, 9], "x": 9, "y": 3}, - {"matrix": [3, 10], "x": 10, "y": 3}, - {"matrix": [3, 11], "x": 11, "y": 3}, - {"matrix": [3, 12], "x": 12, "y": 3, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3}, + {"matrix": [3, 2], "x": 2.75, "y": 3}, + {"matrix": [3, 3], "x": 3.75, "y": 3}, + {"matrix": [3, 4], "x": 4.75, "y": 3}, + {"matrix": [3, 5], "x": 5.75, "y": 3}, + {"matrix": [3, 6], "x": 6.75, "y": 3}, + {"matrix": [3, 7], "x": 7.75, "y": 3}, + {"matrix": [3, 8], "x": 8.75, "y": 3}, + {"matrix": [3, 9], "x": 9.75, "y": 3}, + {"matrix": [3, 10], "x": 10.75, "y": 3}, + {"matrix": [3, 11], "x": 11.75, "y": 3}, + {"matrix": [3, 12], "x": 12.75, "y": 3, "w": 1.75}, {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 1], "x": 1.5, "y": 4}, - {"matrix": [4, 2], "x": 2.5, "y": 4}, - {"matrix": [4, 3], "x": 3.5, "y": 4}, - {"matrix": [4, 4], "x": 4.5, "y": 4}, - {"matrix": [4, 5], "x": 5.5, "y": 4}, - {"matrix": [4, 6], "x": 6.5, "y": 4}, - {"matrix": [4, 7], "x": 7.5, "y": 4}, - {"matrix": [4, 8], "x": 8.5, "y": 4}, - {"matrix": [4, 9], "x": 9.5, "y": 4}, - {"matrix": [4, 10], "x": 10.5, "y": 4}, - {"matrix": [4, 11], "x": 11.5, "y": 4}, - {"matrix": [4, 12], "x": 12.5, "y": 4}, - {"matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 12], "x": 12.25, "y": 4}, + {"matrix": [4, 13], "x": 13.25, "y": 4, "w": 1.25}, {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, - {"matrix": [5, 1], "x": 1.5, "y": 5, "w": 1.5}, - {"matrix": [5, 2], "x": 3, "y": 5, "w": 1.5}, - {"matrix": [5, 3], "x": 4.5, "y": 5, "w": 1.5}, - {"matrix": [5, 4], "x": 6, "y": 5,"w": 2}, - {"matrix": [5, 5], "x": 7, "y": 5,"w": 1.5}, - {"matrix": [5, 6], "x": 8, "y": 5}, - {"matrix": [5, 7], "x": 9.5, "y": 5}, - {"matrix": [5, 8], "x": 10.5, "y": 5}, - {"matrix": [5, 9], "x": 11.5, "y": 5}, - {"matrix": [5, 10], "x": 12.5, "y": 5,"w": 1.25} + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.5}, + {"matrix": [5, 2], "x": 2.75, "y": 5, "w": 1.5}, + {"matrix": [5, 3], "x": 4.25, "y": 5, "w": 1.5}, + {"matrix": [5, 4], "x": 5.75, "y": 5,"w": 2}, + {"matrix": [5, 5], "x": 7.75, "y": 5,"w": 1.5}, + {"matrix": [5, 6], "x": 9.25, "y": 5}, + {"matrix": [5, 7], "x": 10.25, "y": 5}, + {"matrix": [5, 8], "x": 11.25, "y": 5}, + {"matrix": [5, 9], "x": 12.25, "y": 5}, + {"matrix": [5, 10], "x": 13.25, "y": 5,"w": 1.25} ] } } From 9ae4d01e33eb00fa509da23ce1e1f2e9de50cf41 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Mon, 4 Mar 2024 11:42:37 -0800 Subject: [PATCH 039/107] Iron180 V2 H: correct key sizes (#23214) --- keyboards/smithrune/iron180v2/v2h/info.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/keyboards/smithrune/iron180v2/v2h/info.json b/keyboards/smithrune/iron180v2/v2h/info.json index 67eaf0501b0..a41c9d7e952 100644 --- a/keyboards/smithrune/iron180v2/v2h/info.json +++ b/keyboards/smithrune/iron180v2/v2h/info.json @@ -111,7 +111,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -218,7 +218,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -325,7 +325,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -431,7 +431,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -537,7 +537,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, @@ -641,7 +641,7 @@ {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 3.25}, {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 3.25}, {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 3.25}, - {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.25, "w": 1.25}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 3.25, "w": 2.25}, {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25}, {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 4.25}, From 7836906f3ea7e8f25b4eacbd11f67b8d38745089 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 22:48:25 +1100 Subject: [PATCH 040/107] Bump peter-evans/create-pull-request from 5 to 6 (#22995) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/format_push.yml | 2 +- .github/workflows/regen_push.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format_push.yml b/.github/workflows/format_push.yml index 61b4caf422d..ea60fc95b45 100644 --- a/.github/workflows/format_push.yml +++ b/.github/workflows/format_push.yml @@ -47,7 +47,7 @@ jobs: git config user.email 'hello@qmk.fm' - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 if: ${{ github.repository == 'qmk/qmk_firmware'}} with: token: ${{ secrets.QMK_BOT_TOKEN }} diff --git a/.github/workflows/regen_push.yml b/.github/workflows/regen_push.yml index f1b78129376..0f014111413 100644 --- a/.github/workflows/regen_push.yml +++ b/.github/workflows/regen_push.yml @@ -34,7 +34,7 @@ jobs: git config user.email 'hello@qmk.fm' - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 if: ${{ github.repository == 'qmk/qmk_firmware'}} with: token: ${{ secrets.QMK_BOT_TOKEN }} From 4443fa8a328c8b6fcef9b00017fe673567222168 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 5 Mar 2024 16:59:09 +0000 Subject: [PATCH 041/107] Attempt to fix changed files on CI workflow (#23205) --- .github/workflows/format.yml | 2 ++ .github/workflows/lint.yml | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 81da72046c8..df080cfe8ce 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -36,6 +36,8 @@ jobs: - name: Get changed files id: file_changes uses: tj-actions/changed-files@v42 + with: + use_rest_api: true - name: Run qmk formatters shell: 'bash {0}' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 67823103f1b..a008ebb829f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,6 +28,8 @@ jobs: - name: Get changed files id: file_changes uses: tj-actions/changed-files@v42 + with: + use_rest_api: true - name: Print info run: | @@ -62,10 +64,12 @@ jobs: qmk format-text ${{ steps.file_changes.outputs.all_changed_files}} || true for file in ${{ steps.file_changes.outputs.all_changed_files}}; do - if ! git diff --quiet $file; then - echo "File '${file}' Requires Formatting" - echo "::error file=${file}::Requires Formatting" - exit_code=$(($exit_code + 1)) + if [[ -f $file ]]; then + if ! git diff --quiet $file; then + echo "File '${file}' Requires Formatting" + echo "::error file=${file}::Requires Formatting" + exit_code=$(($exit_code + 1)) + fi fi done From a2c23e9419478cc49d06634732e626a55eec6d66 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 5 Mar 2024 16:59:30 +0000 Subject: [PATCH 042/107] Initial 'qmk test-c' functionality (#23038) --- .github/workflows/unit_test.yml | 2 +- docs/cli_commands.md | 36 ++++++++++++++++++++++ lib/python/qmk/cli/__init__.py | 1 + lib/python/qmk/cli/test/__init__.py | 0 lib/python/qmk/cli/test/c.py | 47 +++++++++++++++++++++++++++++ 5 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 lib/python/qmk/cli/test/__init__.py create mode 100644 lib/python/qmk/cli/test/c.py diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index eec8c8b5fc2..a834053a76c 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -32,4 +32,4 @@ jobs: - name: Install dependencies run: pip3 install -r requirements-dev.txt - name: Run tests - run: make test:all + run: qmk test-c diff --git a/docs/cli_commands.md b/docs/cli_commands.md index cf174949afb..60268122caf 100644 --- a/docs/cli_commands.md +++ b/docs/cli_commands.md @@ -791,3 +791,39 @@ This command converts a TTF font to an intermediate format for editing, before c This command converts an intermediate font image to the QFF File Format. See the [Quantum Painter](quantum_painter.md?id=quantum-painter-cli) documentation for more information on this command. +## `qmk test-c` + +This command runs the C unit test suite. If you make changes to C code you should ensure this runs successfully. + +**Usage**: + +``` +qmk test-c [-h] [-t TEST] [-l] [-c] [-e ENV] [-j PARALLEL] + +options: + -h, --help show this help message and exit + -t TEST, --test TEST Test to run from the available list. Supports wildcard globs. May be passed multiple times. + -l, --list List available tests. + -c, --clean Remove object files before compiling. + -e ENV, --env ENV Set a variable to be passed to make. May be passed multiple times. + -j PARALLEL, --parallel PARALLEL + Set the number of parallel make jobs; 0 means unlimited. +``` + +**Examples**: + +Run entire test suite: + + qmk test-c + +List available tests: + + qmk test-c --list + +Run matching test: + + qmk test-c --test unicode* + +Run single test: + + qmk test-c --test basic diff --git a/lib/python/qmk/cli/__init__.py b/lib/python/qmk/cli/__init__.py index e4a8166349b..6d05a5fc21c 100644 --- a/lib/python/qmk/cli/__init__.py +++ b/lib/python/qmk/cli/__init__.py @@ -81,6 +81,7 @@ subcommands = [ 'qmk.cli.new.keymap', 'qmk.cli.painter', 'qmk.cli.pytest', + 'qmk.cli.test.c', 'qmk.cli.userspace.add', 'qmk.cli.userspace.compile', 'qmk.cli.userspace.doctor', diff --git a/lib/python/qmk/cli/test/__init__.py b/lib/python/qmk/cli/test/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/lib/python/qmk/cli/test/c.py b/lib/python/qmk/cli/test/c.py new file mode 100644 index 00000000000..7a4e20d5e69 --- /dev/null +++ b/lib/python/qmk/cli/test/c.py @@ -0,0 +1,47 @@ +import fnmatch +import re +from subprocess import DEVNULL + +from milc import cli + +from qmk.commands import find_make, get_make_parallel_args, build_environment + + +@cli.argument('-j', '--parallel', type=int, default=1, help="Set the number of parallel make jobs; 0 means unlimited.") +@cli.argument('-e', '--env', arg_only=True, action='append', default=[], help="Set a variable to be passed to make. May be passed multiple times.") +@cli.argument('-c', '--clean', arg_only=True, action='store_true', help="Remove object files before compiling.") +@cli.argument('-l', '--list', arg_only=True, action='store_true', help='List available tests.') +@cli.argument('-t', '--test', arg_only=True, action='append', default=[], help="Test to run from the available list. Supports wildcard globs. May be passed multiple times.") +@cli.subcommand("QMK C Unit Tests.", hidden=False if cli.config.user.developer else True) +def test_c(cli): + """Run native unit tests. + """ + list_tests = cli.run([find_make(), 'list-tests', 'SILENT=true']) + available_tests = sorted(list_tests.stdout.strip().split()) + + if cli.args.list: + return print("\n".join(available_tests)) + + # expand any wildcards + filtered_tests = set() + for test in cli.args.test: + regex = re.compile(fnmatch.translate(test)) + filtered_tests |= set(filter(regex.match, available_tests)) + + for invalid in filtered_tests - set(available_tests): + cli.log.warning(f'Invalid test provided: {invalid}') + + # convert test names to build targets + targets = list(map(lambda x: f'test:{x}', filtered_tests or ['all'])) + + if cli.args.clean: + targets.insert(0, 'clean') + + # Add in the environment vars + for key, value in build_environment(cli.args.env).items(): + targets.append(f'{key}={value}') + + command = [find_make(), *get_make_parallel_args(cli.config.test_c.parallel), *targets] + + cli.log.info('Compiling tests with {fg_cyan}%s', ' '.join(command)) + return cli.run(command, capture_output=False, stdin=DEVNULL).returncode From 83e6ddbbb4c8e715bfe419c4d7fc0ae305ea5bd5 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Wed, 6 Mar 2024 03:02:37 -0800 Subject: [PATCH 043/107] [Audio] Add support for audio shutdown pin (#22731) Co-authored-by: Ryan --- data/mappings/info_config.hjson | 2 + data/schemas/keyboard.jsonschema | 8 ++++ docs/feature_audio.md | 48 ++++++++++--------- docs/reference_info_json.md | 7 +++ keyboards/adafruit/macropad/config.h | 2 - keyboards/adafruit/macropad/info.json | 5 ++ keyboards/adafruit/macropad/macropad.c | 42 ---------------- platforms/avr/drivers/audio_pwm_hardware.c | 6 +-- .../chibios/drivers/audio_dac_additive.c | 6 +-- platforms/chibios/drivers/audio_dac_basic.c | 6 +-- .../chibios/drivers/audio_pwm_hardware.c | 6 +-- .../chibios/drivers/audio_pwm_software.c | 6 +-- platforms/test/drivers/audio_pwm_hardware.c | 6 +-- quantum/audio/audio.c | 27 +++++++++++ quantum/audio/audio.h | 6 +-- 15 files changed, 95 insertions(+), 88 deletions(-) delete mode 100644 keyboards/adafruit/macropad/macropad.c diff --git a/data/mappings/info_config.hjson b/data/mappings/info_config.hjson index e2e9569372e..c0417b88396 100644 --- a/data/mappings/info_config.hjson +++ b/data/mappings/info_config.hjson @@ -19,6 +19,8 @@ // Audio "AUDIO_DEFAULT_ON": {"info_key": "audio.default.on", "value_type": "bool"}, "AUDIO_DEFAULT_CLICKY_ON": {"info_key": "audio.default.clicky", "value_type": "bool"}, + "AUDIO_POWER_CONTROL_PIN": {"info_key": "audio.power_control.pin"}, + "AUDIO_POWER_CONTROL_PIN_ON_STATE": {"info_key": "audio.power_control.on_state", "value_type": "int" }, "AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "flag"}, "SENDSTRING_BELL": {"info_key": "audio.macro_beep", "value_type": "flag"}, diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 340eb64ba1a..5c6788913b0 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -135,6 +135,14 @@ }, "macro_beep": {"type": "boolean"}, "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}, + "power_control": { + "type": "object", + "additionalProperties": false, + "properties": { + "on_state": {"$ref": "qmk.definitions.v1#/bit"}, + "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"} + } + }, "voices": {"type": "boolean"} } }, diff --git a/docs/feature_audio.md b/docs/feature_audio.md index 5227d063c3a..05f32e98401 100644 --- a/docs/feature_audio.md +++ b/docs/feature_audio.md @@ -171,29 +171,31 @@ The available keycodes for audio are: ## Audio Config -| Settings | Default | Description | -|---------------------------------|----------------------|-------------------------------------------------------------------------------| -|`AUDIO_PIN` | *Not defined* |Configures the pin that the speaker is connected to. | -|`AUDIO_PIN_ALT` | *Not defined* |Configures the pin for a second speaker or second pin connected to one speaker.| -|`AUDIO_PIN_ALT_AS_NEGATIVE` | *Not defined* |Enables support for one speaker connected to two pins. | -|`AUDIO_INIT_DELAY` | *Not defined* |Enables delay during startup song to accomidate for USB startup issues. | -|`AUDIO_ENABLE_TONE_MULTIPLEXING` | *Not defined* |Enables time splicing/multiplexing to create multiple tones simutaneously. | -|`STARTUP_SONG` | `STARTUP_SOUND` |Plays when the keyboard starts up (audio.c) | -|`GOODBYE_SONG` | `GOODBYE_SOUND` |Plays when you press the QK_BOOT key (quantum.c) | -|`AG_NORM_SONG` | `AG_NORM_SOUND` |Plays when you press AG_NORM (process_magic.c) | -|`AG_SWAP_SONG` | `AG_SWAP_SOUND` |Plays when you press AG_SWAP (process_magic.c) | -|`CG_NORM_SONG` | `AG_NORM_SOUND` |Plays when you press CG_NORM (process_magic.c) | -|`CG_SWAP_SONG` | `AG_SWAP_SOUND` |Plays when you press CG_SWAP (process_magic.c) | -|`MUSIC_ON_SONG` | `MUSIC_ON_SOUND` |Plays when music mode is activated (process_music.c) | -|`MUSIC_OFF_SONG` | `MUSIC_OFF_SOUND` |Plays when music mode is deactivated (process_music.c) | -|`MIDI_ON_SONG` | `MUSIC_ON_SOUND` |Plays when midi mode is activated (process_music.c) | -|`MIDI_OFF_SONG` | `MUSIC_OFF_SOUND` |Plays when midi mode is deactivated (process_music.c) | -|`CHROMATIC_SONG` | `CHROMATIC_SOUND` |Plays when the chromatic music mode is selected (process_music.c) | -|`GUITAR_SONG` | `GUITAR_SOUND` |Plays when the guitar music mode is selected (process_music.c) | -|`VIOLIN_SONG` | `VIOLIN_SOUND` |Plays when the violin music mode is selected (process_music.c) | -|`MAJOR_SONG` | `MAJOR_SOUND` |Plays when the major music mode is selected (process_music.c) | -|`DEFAULT_LAYER_SONGS` | *Not defined* |Plays song when switched default layers with [`set_single_persistent_default_layer(layer)`](ref_functions.md#setting-the-persistent-default-layer)(quantum.c) | -|`SENDSTRING_BELL` | *Not defined* |Plays chime when the "enter" ("\a") character is sent (send_string.c) | +| Settings | Default | Description | +|----------------------------------|----------------------|---------------------------------------------------------------------------------------------| +|`AUDIO_PIN` | *Not defined* |Configures the pin that the speaker is connected to. | +|`AUDIO_PIN_ALT` | *Not defined* |Configures the pin for a second speaker or second pin connected to one speaker. | +|`AUDIO_PIN_ALT_AS_NEGATIVE` | *Not defined* |Enables support for one speaker connected to two pins. | +|`AUDIO_INIT_DELAY` | *Not defined* |Enables delay during startup song to accomidate for USB startup issues. | +|`AUDIO_ENABLE_TONE_MULTIPLEXING` | *Not defined* |Enables time splicing/multiplexing to create multiple tones simutaneously. | +|`AUDIO_POWER_CONTROL_PIN` | *Not defined* |Enables power control code to enable or cut off power to speaker (such as with PAM8302 amp). | +|`AUDIO_POWER_CONTROL_PIN_ON_STATE`| `1` |The state of the audio power control pin when audio is "on" - `1` for high, `0` for low. | +|`STARTUP_SONG` | `STARTUP_SOUND` |Plays when the keyboard starts up (audio.c) | +|`GOODBYE_SONG` | `GOODBYE_SOUND` |Plays when you press the QK_BOOT key (quantum.c) | +|`AG_NORM_SONG` | `AG_NORM_SOUND` |Plays when you press AG_NORM (process_magic.c) | +|`AG_SWAP_SONG` | `AG_SWAP_SOUND` |Plays when you press AG_SWAP (process_magic.c) | +|`CG_NORM_SONG` | `AG_NORM_SOUND` |Plays when you press CG_NORM (process_magic.c) | +|`CG_SWAP_SONG` | `AG_SWAP_SOUND` |Plays when you press CG_SWAP (process_magic.c) | +|`MUSIC_ON_SONG` | `MUSIC_ON_SOUND` |Plays when music mode is activated (process_music.c) | +|`MUSIC_OFF_SONG` | `MUSIC_OFF_SOUND` |Plays when music mode is deactivated (process_music.c) | +|`MIDI_ON_SONG` | `MUSIC_ON_SOUND` |Plays when midi mode is activated (process_music.c) | +|`MIDI_OFF_SONG` | `MUSIC_OFF_SOUND` |Plays when midi mode is deactivated (process_music.c) | +|`CHROMATIC_SONG` | `CHROMATIC_SOUND` |Plays when the chromatic music mode is selected (process_music.c) | +|`GUITAR_SONG` | `GUITAR_SOUND` |Plays when the guitar music mode is selected (process_music.c) | +|`VIOLIN_SONG` | `VIOLIN_SOUND` |Plays when the violin music mode is selected (process_music.c) | +|`MAJOR_SONG` | `MAJOR_SOUND` |Plays when the major music mode is selected (process_music.c) | +|`DEFAULT_LAYER_SONGS` | *Not defined* |Plays song when switched default layers with [`set_single_persistent_default_layer(layer)`](ref_functions.md#setting-the-persistent-default-layer)(quantum.c). | +|`SENDSTRING_BELL` | *Not defined* |Plays chime when the "enter" ("\a") character is sent (send_string.c) | ## Tempo the 'speed' at which SONGs are played is dictated by the set Tempo, which is measured in beats-per-minute. Note lengths are defined relative to that. diff --git a/docs/reference_info_json.md b/docs/reference_info_json.md index 796db1f2446..b715c14041c 100644 --- a/docs/reference_info_json.md +++ b/docs/reference_info_json.md @@ -123,10 +123,17 @@ Configures the [Audio](feature_audio.md) feature. * Default: `false` * `pins` (Required) * The GPIO pin(s) connected to the speaker(s). + * `power_control` + * `on_state` + * The logical GPIO state required to turn the speaker on. + * Default: `1` (on = high) + * `pin` + * The GPIO pin connected to speaker power circuit. * `voices` * Use multiple audio voices. * Default: `false` + ## Backlight :id=backlight Configures the [Backlight](feature_backlight.md) feature. diff --git a/keyboards/adafruit/macropad/config.h b/keyboards/adafruit/macropad/config.h index 7f2e9ab6f96..725530a512b 100644 --- a/keyboards/adafruit/macropad/config.h +++ b/keyboards/adafruit/macropad/config.h @@ -48,5 +48,3 @@ #define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_A #define AUDIO_INIT_DELAY #define AUDIO_CLICKY - -#define SPEAKER_SHUTDOWN GP14 diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json index 0facf7e0f66..295af783398 100644 --- a/keyboards/adafruit/macropad/info.json +++ b/keyboards/adafruit/macropad/info.json @@ -8,6 +8,11 @@ "pid": "0x0108", "device_version": "0.0.1" }, + "audio": { + "power_control": { + "pin": "GP14" + } + }, "encoder": { "rotary": [ {"pin_a": "GP18", "pin_b": "GP17"} diff --git a/keyboards/adafruit/macropad/macropad.c b/keyboards/adafruit/macropad/macropad.c deleted file mode 100644 index 5c1d2ba5930..00000000000 --- a/keyboards/adafruit/macropad/macropad.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2022 Jose Pablo Ramirez - * - * 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 . - */ - -#include "quantum.h" - -#ifdef AUDIO_ENABLE -void keyboard_pre_init_kb(void) { - // ensure pin is set and enabled pre-audio init - setPinOutput(SPEAKER_SHUTDOWN); - writePinHigh(SPEAKER_SHUTDOWN); - keyboard_pre_init_user(); -} - -void keyboard_post_init_kb(void) { - // set pin based on active status - writePin(SPEAKER_SHUTDOWN, audio_is_on()); - keyboard_post_init_user(); -} - -void audio_on_user(void) { - writePinHigh(SPEAKER_SHUTDOWN); -} - -void audio_off_user(void) { - // needs a delay or it runs right after play note. - wait_ms(200); - writePinLow(SPEAKER_SHUTDOWN); -} -#endif diff --git a/platforms/avr/drivers/audio_pwm_hardware.c b/platforms/avr/drivers/audio_pwm_hardware.c index d484fba00fb..16264cf0a22 100644 --- a/platforms/avr/drivers/audio_pwm_hardware.c +++ b/platforms/avr/drivers/audio_pwm_hardware.c @@ -213,7 +213,7 @@ void channel_2_stop(void) { } #endif -void audio_driver_initialize(void) { +void audio_driver_initialize_impl(void) { #ifdef AUDIO1_PIN_SET channel_1_stop(); gpio_set_pin_output(AUDIO1_PIN); @@ -254,7 +254,7 @@ void audio_driver_initialize(void) { #endif } -void audio_driver_stop(void) { +void audio_driver_stop_impl(void) { #ifdef AUDIO1_PIN_SET channel_1_stop(); #endif @@ -264,7 +264,7 @@ void audio_driver_stop(void) { #endif } -void audio_driver_start(void) { +void audio_driver_start_impl(void) { #ifdef AUDIO1_PIN_SET channel_1_start(); if (playing_note) { diff --git a/platforms/chibios/drivers/audio_dac_additive.c b/platforms/chibios/drivers/audio_dac_additive.c index d6fde42b68f..8e29053301f 100644 --- a/platforms/chibios/drivers/audio_dac_additive.c +++ b/platforms/chibios/drivers/audio_dac_additive.c @@ -303,7 +303,7 @@ static const DACConfig dac_conf = {.init = AUDIO_DAC_OFF_VALUE, .datamode = DAC_ */ static const DACConversionGroup dac_conv_cfg = {.num_channels = 1U, .end_cb = dac_end, .error_cb = dac_error, .trigger = DAC_TRG(0b000)}; -void audio_driver_initialize(void) { +void audio_driver_initialize_impl(void) { if ((AUDIO_PIN == A4) || (AUDIO_PIN_ALT == A4)) { palSetLineMode(A4, PAL_MODE_INPUT_ANALOG); dacStart(&DACD1, &dac_conf); @@ -350,11 +350,11 @@ void audio_driver_initialize(void) { gptStart(&GPTD6, &gpt6cfg1); } -void audio_driver_stop(void) { +void audio_driver_stop_impl(void) { state = OUTPUT_SHOULD_STOP; } -void audio_driver_start(void) { +void audio_driver_start_impl(void) { gptStartContinuous(&GPTD6, 2U); for (uint8_t i = 0; i < AUDIO_MAX_SIMULTANEOUS_TONES; i++) { diff --git a/platforms/chibios/drivers/audio_dac_basic.c b/platforms/chibios/drivers/audio_dac_basic.c index 9a3f3fea1f3..99b938e610a 100644 --- a/platforms/chibios/drivers/audio_dac_basic.c +++ b/platforms/chibios/drivers/audio_dac_basic.c @@ -190,7 +190,7 @@ static void gpt_audio_state_cb(GPTDriver *gptp) { } } -void audio_driver_initialize(void) { +void audio_driver_initialize_impl(void) { if ((AUDIO_PIN == A4) || (AUDIO_PIN_ALT == A4)) { palSetPadMode(GPIOA, 4, PAL_MODE_INPUT_ANALOG); dacStart(&DACD1, &dac_conf_ch1); @@ -223,7 +223,7 @@ void audio_driver_initialize(void) { gptStart(&AUDIO_STATE_TIMER, &gptStateUpdateCfg); } -void audio_driver_stop(void) { +void audio_driver_stop_impl(void) { if ((AUDIO_PIN == A4) || (AUDIO_PIN_ALT == A4)) { gptStopTimer(&GPTD6); @@ -241,7 +241,7 @@ void audio_driver_stop(void) { gptStopTimer(&AUDIO_STATE_TIMER); } -void audio_driver_start(void) { +void audio_driver_start_impl(void) { if ((AUDIO_PIN == A4) || (AUDIO_PIN_ALT == A4)) { dacStartConversion(&DACD1, &dac_conv_grp_ch1, (dacsample_t *)dac_buffer_1, AUDIO_DAC_BUFFER_SIZE); } diff --git a/platforms/chibios/drivers/audio_pwm_hardware.c b/platforms/chibios/drivers/audio_pwm_hardware.c index 21b5c6892cd..1ba7ec13bcf 100644 --- a/platforms/chibios/drivers/audio_pwm_hardware.c +++ b/platforms/chibios/drivers/audio_pwm_hardware.c @@ -87,7 +87,7 @@ static void audio_callback(virtual_timer_t *vtp, void *p) { chSysUnlockFromISR(); } -void audio_driver_initialize(void) { +void audio_driver_initialize_impl(void) { pwmStart(&AUDIO_PWM_DRIVER, &pwmCFG); // connect the AUDIO_PIN to the PWM hardware @@ -100,7 +100,7 @@ void audio_driver_initialize(void) { chVTObjectInit(&audio_vt); } -void audio_driver_start(void) { +void audio_driver_start_impl(void) { channel_1_stop(); channel_1_start(); @@ -115,7 +115,7 @@ void audio_driver_start(void) { } } -void audio_driver_stop(void) { +void audio_driver_stop_impl(void) { channel_1_stop(); chVTReset(&audio_vt); } diff --git a/platforms/chibios/drivers/audio_pwm_software.c b/platforms/chibios/drivers/audio_pwm_software.c index 663a9eca165..f48323900b4 100644 --- a/platforms/chibios/drivers/audio_pwm_software.c +++ b/platforms/chibios/drivers/audio_pwm_software.c @@ -121,7 +121,7 @@ GPTConfig gptCFG = { .callback = gpt_callback, }; -void audio_driver_initialize(void) { +void audio_driver_initialize_impl(void) { pwmStart(&AUDIO_PWM_DRIVER, &pwmCFG); palSetLineMode(AUDIO_PIN, PAL_MODE_OUTPUT_PUSHPULL); @@ -138,7 +138,7 @@ void audio_driver_initialize(void) { gptStart(&AUDIO_STATE_TIMER, &gptCFG); } -void audio_driver_start(void) { +void audio_driver_start_impl(void) { channel_1_stop(); channel_1_start(); @@ -147,7 +147,7 @@ void audio_driver_start(void) { } } -void audio_driver_stop(void) { +void audio_driver_stop_impl(void) { channel_1_stop(); gptStopTimer(&AUDIO_STATE_TIMER); } diff --git a/platforms/test/drivers/audio_pwm_hardware.c b/platforms/test/drivers/audio_pwm_hardware.c index 336e4f58449..3a0384117a4 100644 --- a/platforms/test/drivers/audio_pwm_hardware.c +++ b/platforms/test/drivers/audio_pwm_hardware.c @@ -15,6 +15,6 @@ #include "audio.h" -void audio_driver_initialize(void) {} -void audio_driver_start() {} -void audio_driver_stop() {} +void audio_driver_initialize_impl(void) {} +void audio_driver_start_impl() {} +void audio_driver_stop_impl() {} diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c index c1a15004930..b2611c5f099 100644 --- a/quantum/audio/audio.c +++ b/quantum/audio/audio.c @@ -20,6 +20,7 @@ #include "debug.h" #include "wait.h" #include "util.h" +#include "gpio.h" /* audio system: * @@ -121,6 +122,32 @@ static bool audio_initialized = false; static bool audio_driver_stopped = true; audio_config_t audio_config; +#ifndef AUDIO_POWER_CONTROL_PIN_ON_STATE +# define AUDIO_POWER_CONTROL_PIN_ON_STATE 1 +#endif + +void audio_driver_initialize(void) { +#ifdef AUDIO_POWER_CONTROL_PIN + gpio_set_pin_output_push_pull(AUDIO_POWER_CONTROL_PIN); + gpio_write_pin(AUDIO_POWER_CONTROL_PIN, !AUDIO_POWER_CONTROL_PIN_ON_STATE); +#endif + audio_driver_initialize_impl(); +} + +void audio_driver_stop(void) { + audio_driver_stop_impl(); +#ifdef AUDIO_POWER_CONTROL_PIN + gpio_write_pin(AUDIO_POWER_CONTROL_PIN, !AUDIO_POWER_CONTROL_PIN_ON_STATE); +#endif +} + +void audio_driver_start(void) { +#ifdef AUDIO_POWER_CONTROL_PIN + gpio_write_pin(AUDIO_POWER_CONTROL_PIN, AUDIO_POWER_CONTROL_PIN_ON_STATE); +#endif + audio_driver_start_impl(); +} + void eeconfig_update_audio_current(void) { eeconfig_update_audio(audio_config.raw); } diff --git a/quantum/audio/audio.h b/quantum/audio/audio.h index eb0bedc6f9f..054331d6f33 100644 --- a/quantum/audio/audio.h +++ b/quantum/audio/audio.h @@ -215,9 +215,9 @@ void audio_startup(void); // hardware interface // implementation in the driver_avr/arm_* respective parts -void audio_driver_initialize(void); -void audio_driver_start(void); -void audio_driver_stop(void); +void audio_driver_initialize_impl(void); +void audio_driver_start_impl(void); +void audio_driver_stop_impl(void); /** * @brief get the number of currently active tones From c48f372c8756fda10b5045c620da7a4c1f16584f Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 6 Mar 2024 17:02:52 +0000 Subject: [PATCH 044/107] Migrate annepro2 away from custom matrix (#23221) * Migrate annepro2 away from custom matrix * LTO --- keyboards/annepro2/c15/config.h | 15 -------- keyboards/annepro2/c15/info.json | 5 +++ keyboards/annepro2/c15/rules.mk | 4 -- keyboards/annepro2/c18/config.h | 13 ------- keyboards/annepro2/c18/info.json | 5 +++ keyboards/annepro2/c18/rules.mk | 4 -- keyboards/annepro2/info.json | 3 ++ keyboards/annepro2/matrix.c | 63 -------------------------------- 8 files changed, 13 insertions(+), 99 deletions(-) delete mode 100644 keyboards/annepro2/matrix.c diff --git a/keyboards/annepro2/c15/config.h b/keyboards/annepro2/c15/config.h index 9ffce919579..9745cf50cce 100644 --- a/keyboards/annepro2/c15/config.h +++ b/keyboards/annepro2/c15/config.h @@ -19,27 +19,12 @@ #include "pin_defs.h" -// key matrix size -#define MATRIX_ROWS 5 -#define MATRIX_COLS 14 -// layer size: MATRIX_ROWS * MATRIX_COLS * sizeof(uint16_t) = 140 bytes - #define LINE_UART_TX B0 // Master TX, LED RX #define LINE_UART_RX B1 // Master RX, LED TX #define LINE_BT_UART_TX A4 // Master TX, BLE RX #define LINE_BT_UART_RX A5 // Master RX, BLE TX -// outputs (rows are pulled low) -#define MATRIX_ROW_PINS \ - { C2, C1, B5, B4, C3 } - -// inputs (columns are sampled) -// PORTA 12,13 conflict with SWD - -#define MATRIX_COL_PINS \ - { C4, C5, B10, B11, C0, A15, A8, A10, A11, A12, A13, A14, B2, B3 } - // Obins stock firmware has something similar to this already enabled, but disabled by default in QMK #define PERMISSIVE_HOLD diff --git a/keyboards/annepro2/c15/info.json b/keyboards/annepro2/c15/info.json index b92b446e4e9..091d0b1c5b7 100644 --- a/keyboards/annepro2/c15/info.json +++ b/keyboards/annepro2/c15/info.json @@ -10,6 +10,11 @@ "backing_size": 2048 } }, + "diode_direction": "COL2ROW", + "matrix_pins": { + "cols": ["C4", "C5", "B10", "B11", "C0", "A15", "A8", "A10", "A11", "A12", "A13", "A14", "B2", "B3"], + "rows": ["C2", "C1", "B5", "B4", "C3"] + }, "rgb_matrix": { "animations":{ "alphas_mods": true, diff --git a/keyboards/annepro2/c15/rules.mk b/keyboards/annepro2/c15/rules.mk index 374d8443385..c3bf551e4b6 100644 --- a/keyboards/annepro2/c15/rules.mk +++ b/keyboards/annepro2/c15/rules.mk @@ -26,12 +26,8 @@ NKRO_ENABLE = no # Enable N-Key Rollover # Custom RGB matrix handling RGB_MATRIX_ENABLE = yes -# Keys -CUSTOM_MATRIX = lite - # Anne Pro 2 SRC = \ - matrix.c \ annepro2_ble.c \ ap2_led.c \ protocol.c \ diff --git a/keyboards/annepro2/c18/config.h b/keyboards/annepro2/c18/config.h index 7010f19a3fc..dfc550160c3 100644 --- a/keyboards/annepro2/c18/config.h +++ b/keyboards/annepro2/c18/config.h @@ -19,25 +19,12 @@ #include "pin_defs.h" -// key matrix size -#define MATRIX_ROWS 5 -#define MATRIX_COLS 14 -// layer size: MATRIX_ROWS * MATRIX_COLS * sizeof(uint16_t) = 140 bytes - #define LINE_UART_TX B0 #define LINE_UART_RX B1 #define LINE_BT_UART_TX A4 // Master TX, BLE RX #define LINE_BT_UART_RX A5 // Master RX, BLE TX -// outputs (rows are pulled low) -#define MATRIX_ROW_PINS \ - { B5, B4, B3, B2, D1 } - -// inputs (columns are sampled) -#define MATRIX_COL_PINS \ - { C4, C5, D0, B15, C11, A15, C12, C13, A8, A10, A11, A14, D2, D3 } - // Obins stock firmware has something similar to this already enabled, but disabled by default in QMK #define PERMISSIVE_HOLD diff --git a/keyboards/annepro2/c18/info.json b/keyboards/annepro2/c18/info.json index 390dd819416..8c765338a5a 100644 --- a/keyboards/annepro2/c18/info.json +++ b/keyboards/annepro2/c18/info.json @@ -10,6 +10,11 @@ "backing_size": 2048 } }, + "diode_direction": "COL2ROW", + "matrix_pins": { + "cols": ["C4", "C5", "D0", "B15", "C11", "A15", "C12", "C13", "A8", "A10", "A11", "A14", "D2", "D3"], + "rows": ["B5", "B4", "B3", "B2", "D1"] + }, "rgb_matrix": { "animations":{ "alphas_mods": true, diff --git a/keyboards/annepro2/c18/rules.mk b/keyboards/annepro2/c18/rules.mk index 2c9a9077da5..484099b3aea 100644 --- a/keyboards/annepro2/c18/rules.mk +++ b/keyboards/annepro2/c18/rules.mk @@ -26,12 +26,8 @@ NKRO_ENABLE = no # Enable N-Key Rollover # Custom RGB matrix handling RGB_MATRIX_ENABLE = yes -# Keys -CUSTOM_MATRIX = lite - # Anne Pro 2 SRC = \ - matrix.c \ annepro2_ble.c \ ap2_led.c \ protocol.c \ diff --git a/keyboards/annepro2/info.json b/keyboards/annepro2/info.json index d06fe5bed49..f90edcfa835 100644 --- a/keyboards/annepro2/info.json +++ b/keyboards/annepro2/info.json @@ -6,6 +6,9 @@ "vid": "0xAC20", "device_version": "13.3.7" }, + "build": { + "lto": true + }, "layouts": { "LAYOUT_60_ansi": { "layout": [ diff --git a/keyboards/annepro2/matrix.c b/keyboards/annepro2/matrix.c deleted file mode 100644 index a1585e4ddf1..00000000000 --- a/keyboards/annepro2/matrix.c +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2018 Charlie Waters - * - * 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 . - */ - -#include -#include -#include -#include -#include "timer.h" -#include "wait.h" -#include "print.h" -#include "matrix.h" -#include "annepro2.h" - -pin_t row_list[MATRIX_ROWS] = MATRIX_ROW_PINS; -pin_t col_list[MATRIX_COLS] = MATRIX_COL_PINS; - -bool matrix_scan_custom(matrix_row_t current_matrix[]) { - bool matrix_has_changed = false; - // cache of input ports for columns - static uint16_t port_cache[4]; - // scan each row - for (int row = 0; row < MATRIX_ROWS; row++) { - palClearLine(row_list[row]); - __NOP(); - __NOP(); - __NOP(); - __NOP(); - // read i/o ports - port_cache[0] = palReadPort(IOPORTA); - port_cache[1] = palReadPort(IOPORTB); - port_cache[2] = palReadPort(IOPORTC); - port_cache[3] = palReadPort(IOPORTD); - palSetLine(row_list[row]); - - // get columns from ports - matrix_row_t data = 0; - for (int col = 0; col < MATRIX_COLS; ++col) { - pin_t line = col_list[col]; - uint16_t port = port_cache[HT32_PAL_IDX(PAL_PORT(line))]; - data |= (((port & (1 << PAL_PAD(line))) ? 0 : 1) << col); - } - - if (current_matrix[row] != data) { - current_matrix[row] = data; - matrix_has_changed = true; - } - } - return matrix_has_changed; -} \ No newline at end of file From 30b0600ea2f8e0f0d1768fb417f723b8d8b46dcb Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Fri, 8 Mar 2024 11:51:00 +0100 Subject: [PATCH 045/107] [Keyboard] Add 60XT (#23210) Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/cipulot/60xt/info.json | 118 ++++++++++++++++++ .../cipulot/60xt/keymaps/default/keymap.c | 43 +++++++ keyboards/cipulot/60xt/keymaps/via/keymap.c | 43 +++++++ keyboards/cipulot/60xt/keymaps/via/rules.mk | 1 + keyboards/cipulot/60xt/readme.md | 27 ++++ keyboards/cipulot/60xt/rules.mk | 0 6 files changed, 232 insertions(+) create mode 100644 keyboards/cipulot/60xt/info.json create mode 100644 keyboards/cipulot/60xt/keymaps/default/keymap.c create mode 100644 keyboards/cipulot/60xt/keymaps/via/keymap.c create mode 100644 keyboards/cipulot/60xt/keymaps/via/rules.mk create mode 100644 keyboards/cipulot/60xt/readme.md create mode 100644 keyboards/cipulot/60xt/rules.mk diff --git a/keyboards/cipulot/60xt/info.json b/keyboards/cipulot/60xt/info.json new file mode 100644 index 00000000000..606e6b33633 --- /dev/null +++ b/keyboards/cipulot/60xt/info.json @@ -0,0 +1,118 @@ +{ + "manufacturer": "Cipulot", + "keyboard_name": "60XT", + "maintainer": "Cipulot", + "bootloader": "stm32-dfu", + "build": { + "lto": true + }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "indicators": { + "caps_lock": "A1" + }, + "matrix_pins": { + "cols": ["A5", "A2", "A0", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], + "rows": ["B1", "B2", "A6", "A7", "B0"] + }, + "processor": "STM32F072", + "usb": { + "device_version": "0.0.1", + "pid": "0x6BC2", + "shared_endpoint": { + "keyboard": true + }, + "vid": "0x6369" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + {"matrix": [0, 5], "x": 5.25, "y": 0}, + {"matrix": [0, 6], "x": 6.25, "y": 0}, + {"matrix": [0, 7], "x": 7.25, "y": 0}, + {"matrix": [0, 8], "x": 8.25, "y": 0}, + {"matrix": [0, 9], "x": 9.25, "y": 0}, + {"matrix": [0, 10], "x": 10.25, "y": 0}, + {"matrix": [0, 11], "x": 11.25, "y": 0}, + {"matrix": [0, 12], "x": 12.25, "y": 0}, + {"matrix": [0, 13], "x": 13.25, "y": 0}, + {"matrix": [0, 14], "x": 14.25, "y": 0}, + {"matrix": [0, 15], "x": 15.25, "y": 0}, + {"matrix": [1, 15], "x": 16.5, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1.25, "y": 1, "w": 1.5}, + {"matrix": [1, 2], "x": 2.75, "y": 1}, + {"matrix": [1, 3], "x": 3.75, "y": 1}, + {"matrix": [1, 4], "x": 4.75, "y": 1}, + {"matrix": [1, 5], "x": 5.75, "y": 1}, + {"matrix": [1, 6], "x": 6.75, "y": 1}, + {"matrix": [1, 7], "x": 7.75, "y": 1}, + {"matrix": [1, 8], "x": 8.75, "y": 1}, + {"matrix": [1, 9], "x": 9.75, "y": 1}, + {"matrix": [1, 10], "x": 10.75, "y": 1}, + {"matrix": [1, 11], "x": 11.75, "y": 1}, + {"matrix": [1, 12], "x": 12.75, "y": 1}, + {"matrix": [1, 13], "x": 13.75, "y": 1}, + {"matrix": [1, 14], "x": 14.75, "y": 1, "w": 1.5}, + {"matrix": [2, 15], "x": 16.5, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1.25, "y": 2, "w": 1.75}, + {"matrix": [2, 2], "x": 3, "y": 2}, + {"matrix": [2, 3], "x": 4, "y": 2}, + {"matrix": [2, 4], "x": 5, "y": 2}, + {"matrix": [2, 5], "x": 6, "y": 2}, + {"matrix": [2, 6], "x": 7, "y": 2}, + {"matrix": [2, 7], "x": 8, "y": 2}, + {"matrix": [2, 8], "x": 9, "y": 2}, + {"matrix": [2, 9], "x": 10, "y": 2}, + {"matrix": [2, 10], "x": 11, "y": 2}, + {"matrix": [2, 11], "x": 12, "y": 2}, + {"matrix": [2, 12], "x": 13, "y": 2}, + {"matrix": [2, 13], "x": 14, "y": 2}, + {"matrix": [2, 14], "x": 15, "y": 2, "w": 1.25}, + {"matrix": [3, 15], "x": 16.5, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25}, + {"matrix": [3, 2], "x": 2.5, "y": 3}, + {"matrix": [3, 3], "x": 3.5, "y": 3}, + {"matrix": [3, 4], "x": 4.5, "y": 3}, + {"matrix": [3, 5], "x": 5.5, "y": 3}, + {"matrix": [3, 6], "x": 6.5, "y": 3}, + {"matrix": [3, 7], "x": 7.5, "y": 3}, + {"matrix": [3, 8], "x": 8.5, "y": 3}, + {"matrix": [3, 9], "x": 9.5, "y": 3}, + {"matrix": [3, 10], "x": 10.5, "y": 3}, + {"matrix": [3, 11], "x": 11.5, "y": 3}, + {"matrix": [3, 12], "x": 12.5, "y": 3}, + {"matrix": [3, 13], "x": 13.5, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 15.25, "y": 3}, + {"matrix": [4, 14], "x": 16.5, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.5}, + {"matrix": [4, 2], "x": 2.75, "y": 4}, + {"matrix": [4, 3], "x": 3.75, "y": 4, "w": 1.5}, + {"matrix": [4, 8], "x": 5.25, "y": 4, "w": 7}, + {"matrix": [4, 11], "x": 12.25, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13.75, "y": 4}, + {"matrix": [4, 13], "x": 14.75, "y": 4, "w": 1.5}, + {"matrix": [4, 15], "x": 16.5, "y": 4} + ] + } + } +} diff --git a/keyboards/cipulot/60xt/keymaps/default/keymap.c b/keyboards/cipulot/60xt/keymaps/default/keymap.c new file mode 100644 index 00000000000..41008ef92ad --- /dev/null +++ b/keyboards/cipulot/60xt/keymaps/default/keymap.c @@ -0,0 +1,43 @@ +/* Copyright 2023 Cipulot + * + * 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 3 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + // clang-format off + [0] = LAYOUT( + KC_F1, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_F6, + KC_F2, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_F7, + KC_F3, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_F8, + KC_F4, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_F9, + KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_F10 + ), + [1] = LAYOUT( + _______, KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______, + _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, _______, _______, _______, _______, + _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, MO(2), _______ + ), + [2] = LAYOUT( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) + // clang-format on +}; diff --git a/keyboards/cipulot/60xt/keymaps/via/keymap.c b/keyboards/cipulot/60xt/keymaps/via/keymap.c new file mode 100644 index 00000000000..41008ef92ad --- /dev/null +++ b/keyboards/cipulot/60xt/keymaps/via/keymap.c @@ -0,0 +1,43 @@ +/* Copyright 2023 Cipulot + * + * 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 3 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + // clang-format off + [0] = LAYOUT( + KC_F1, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_F6, + KC_F2, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_F7, + KC_F3, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_F8, + KC_F4, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_F9, + KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_F10 + ), + [1] = LAYOUT( + _______, KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______, + _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, _______, _______, _______, _______, + _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, MO(2), _______ + ), + [2] = LAYOUT( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) + // clang-format on +}; diff --git a/keyboards/cipulot/60xt/keymaps/via/rules.mk b/keyboards/cipulot/60xt/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/cipulot/60xt/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/cipulot/60xt/readme.md b/keyboards/cipulot/60xt/readme.md new file mode 100644 index 00000000000..19abf2340cc --- /dev/null +++ b/keyboards/cipulot/60xt/readme.md @@ -0,0 +1,27 @@ +# 60XT + +![60XT](https://i.imgur.com/7lAvjpmh.png) + +A 60% XT solder and hot swap PCB. + +* Keyboard Maintainer: [cipulot](https://github.com/cipulot) +* Hardware Supported: 60XT +* Hardware Availability: [Eloquent Clicks](https://eloquentclicks.com/) + +Make example for this keyboard (after setting up your build environment): + + make cipulot/60xt:default + +Flashing example for this keyboard: + + make cipulot/60xt: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 + +Enter the bootloader in 3 ways: + +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is configured. +* **Physical reset button**: Long press the reset button soldered on the PCB. +* **Bootmagic reset**: Hold down the top left key and plug in the controller. diff --git a/keyboards/cipulot/60xt/rules.mk b/keyboards/cipulot/60xt/rules.mk new file mode 100644 index 00000000000..e69de29bb2d From 0a03fc512c471d3836d071686afafda0f62be62f Mon Sep 17 00:00:00 2001 From: takashicompany Date: Fri, 8 Mar 2024 19:51:37 +0900 Subject: [PATCH 046/107] [Keyboard] Add Ejectix (#23204) Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Duncan Sutherland Co-authored-by: Drashna Jaelre --- keyboards/takashicompany/ejectix/info.json | 90 +++++++++++++++++++ .../ejectix/keymaps/default/keymap.c | 69 ++++++++++++++ .../ejectix/keymaps/via/keymap.c | 69 ++++++++++++++ .../ejectix/keymaps/via/rules.mk | 1 + keyboards/takashicompany/ejectix/readme.md | 33 +++++++ keyboards/takashicompany/ejectix/rules.mk | 1 + 6 files changed, 263 insertions(+) create mode 100644 keyboards/takashicompany/ejectix/info.json create mode 100644 keyboards/takashicompany/ejectix/keymaps/default/keymap.c create mode 100644 keyboards/takashicompany/ejectix/keymaps/via/keymap.c create mode 100644 keyboards/takashicompany/ejectix/keymaps/via/rules.mk create mode 100644 keyboards/takashicompany/ejectix/readme.md create mode 100644 keyboards/takashicompany/ejectix/rules.mk diff --git a/keyboards/takashicompany/ejectix/info.json b/keyboards/takashicompany/ejectix/info.json new file mode 100644 index 00000000000..560c2533263 --- /dev/null +++ b/keyboards/takashicompany/ejectix/info.json @@ -0,0 +1,90 @@ +{ + "manufacturer": "takashicompany", + "keyboard_name": "Ejectix", + "maintainer": "takashicompany", + "development_board": "promicro", + "diode_direction": "COL2ROW", + "dynamic_keymap": { + "layer_count": 11 + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, + "matrix_pins": { + "cols": ["D4", "C6", "D7", "E6", "B4", "B5"], + "rows": ["F4", "F5", "F6", "F7", "B1", "B3"] + }, + "rgblight": { + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + }, + "led_count": 11, + "sleep": true + }, + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0049", + "vid": "0x7463" + }, + "ws2812": { + "pin": "D3" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 3], "x": 1, "y": 0}, + {"matrix": [1, 0], "x": 2, "y": 0}, + {"matrix": [1, 3], "x": 3, "y": 0}, + {"matrix": [2, 0], "x": 4, "y": 0}, + {"matrix": [2, 3], "x": 5, "y": 0}, + {"matrix": [3, 0], "x": 6, "y": 0}, + {"matrix": [3, 3], "x": 7, "y": 0}, + {"matrix": [4, 0], "x": 8, "y": 0}, + {"matrix": [4, 3], "x": 9, "y": 0}, + {"matrix": [4, 5], "x": 10, "y": 0}, + {"matrix": [0, 1], "x": 0.5, "y": 1}, + {"matrix": [0, 4], "x": 1.5, "y": 1}, + {"matrix": [1, 1], "x": 2.5, "y": 1}, + {"matrix": [1, 4], "x": 3.5, "y": 1}, + {"matrix": [2, 1], "x": 4.5, "y": 1}, + {"matrix": [2, 4], "x": 5.5, "y": 1}, + {"matrix": [3, 1], "x": 6.5, "y": 1}, + {"matrix": [3, 4], "x": 7.5, "y": 1}, + {"matrix": [4, 1], "x": 8.5, "y": 1}, + {"matrix": [4, 4], "x": 9.5, "y": 1}, + {"matrix": [0, 2], "x": 1, "y": 2}, + {"matrix": [0, 5], "x": 2, "y": 2}, + {"matrix": [1, 2], "x": 3, "y": 2}, + {"matrix": [1, 5], "x": 4, "y": 2}, + {"matrix": [2, 2], "x": 5, "y": 2}, + {"matrix": [2, 5], "x": 6, "y": 2}, + {"matrix": [3, 2], "x": 7, "y": 2}, + {"matrix": [3, 5], "x": 8, "y": 2}, + {"matrix": [4, 2], "x": 9, "y": 2}, + {"matrix": [5, 0], "x": 1.75, "y": 3}, + {"matrix": [5, 1], "x": 3, "y": 3}, + {"matrix": [5, 2], "x": 4.25, "y": 3}, + {"matrix": [5, 3], "x": 5.5, "y": 3}, + {"matrix": [5, 4], "x": 6.75, "y": 3}, + {"matrix": [5, 5], "x": 8, "y": 3} + ] + } + } +} diff --git a/keyboards/takashicompany/ejectix/keymaps/default/keymap.c b/keyboards/takashicompany/ejectix/keymaps/default/keymap.c new file mode 100644 index 00000000000..b2c94317642 --- /dev/null +++ b/keyboards/takashicompany/ejectix/keymaps/default/keymap.c @@ -0,0 +1,69 @@ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + LT(7, KC_Q), KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_A, KC_S, LT(6, KC_D), KC_F, KC_G, KC_H, KC_J, LT(6, KC_K), KC_L, KC_ENT, + LSFT_T(KC_Z), LGUI_T(KC_X), KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, LCTL_T(KC_DOT), + KC_LGUI, LALT_T(KC_LNG2), LSFT_T(KC_TAB), LT(2, KC_SPC), LT(1, KC_LNG1), KC_BSPC + ), + + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + LCTL_T(KC_EQL), KC_LBRC, KC_SLSH, KC_MINS, KC_INT1, KC_SCLN, KC_QUOT, KC_RBRC, KC_NUHS, KC_INT3, + LSFT_T(KC_PLUS), KC_LCBR, KC_QUES, KC_UNDS, LSFT(KC_INT1), KC_COLN, KC_DQUO, KC_RCBR, LSFT(KC_NUHS), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [2] = LAYOUT( + KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, LGUI(KC_INT3), KC_TRNS, + KC_PLUS, KC_LCBR, KC_QUES, KC_UNDS, LSFT(KC_INT1), KC_COLN, KC_DQUO, KC_RCBR, LSFT(KC_NUHS), LSFT(KC_INT3), + KC_LSFT, KC_LGUI, KC_LALT, KC_LNG2, KC_LSFT, KC_SPC, KC_LNG1, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [3] = LAYOUT( + LT(7, KC_Q), KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_TRNS, + KC_A, KC_S, LT(6, KC_D), KC_F, KC_G, KC_H, KC_J, LT(6, KC_K), KC_L, KC_ENT, + LSFT_T(KC_Z), LGUI_T(KC_X), KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, LCTL_T(KC_DOT), + KC_LGUI, LALT_T(KC_LNG2), LSFT_T(KC_TAB), LT(4, KC_SPC), LT(4, KC_LNG1), KC_BSPC + ), + + [4] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + KC_CIRC, KC_AT, KC_SLSH, KC_MINS, KC_UNDS, KC_SCLN, KC_COLN, KC_LBRC, KC_RBRC, KC_INT3, + LT(5, KC_TILD), KC_GRV, KC_QUES, KC_EQL, KC_UNDS, KC_PLUS, KC_ASTR, KC_LCBR, KC_RCBR, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [5] = LAYOUT( + KC_EXLM, KC_DQUO, KC_HASH, KC_DLR, KC_PERC, KC_AMPR, KC_QUOT, KC_LPRN, KC_RPRN, KC_BSLS, KC_TRNS, + KC_TILD, KC_GRV, KC_QUES, KC_EQL, KC_UNDS, KC_PLUS, KC_ASTR, KC_LCBR, KC_RCBR, KC_PIPE, + KC_LSFT, KC_LGUI, KC_LALT, KC_LNG2, KC_LSFT, KC_SPC, KC_LNG1, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [6] = LAYOUT( + KC_ESC, KC_TAB, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, KC_NO, KC_TRNS, + KC_LCTL, KC_TRNS, KC_QUES, KC_EXLM, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, + KC_LSFT, KC_LGUI, KC_LALT, KC_LNG2, KC_TRNS, KC_NO, KC_LNG1, KC_NO, KC_NO, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [7] = LAYOUT( + KC_NO, KC_TAB, KC_NO, KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_LSFT, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, MO(8), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [8] = LAYOUT( + RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_NO, KC_NO, KC_NO, DF(0), DF(3), KC_TRNS, + RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + RGB_M_K, RGB_M_X, RGB_M_G, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/takashicompany/ejectix/keymaps/via/keymap.c b/keyboards/takashicompany/ejectix/keymaps/via/keymap.c new file mode 100644 index 00000000000..b2c94317642 --- /dev/null +++ b/keyboards/takashicompany/ejectix/keymaps/via/keymap.c @@ -0,0 +1,69 @@ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + LT(7, KC_Q), KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_A, KC_S, LT(6, KC_D), KC_F, KC_G, KC_H, KC_J, LT(6, KC_K), KC_L, KC_ENT, + LSFT_T(KC_Z), LGUI_T(KC_X), KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, LCTL_T(KC_DOT), + KC_LGUI, LALT_T(KC_LNG2), LSFT_T(KC_TAB), LT(2, KC_SPC), LT(1, KC_LNG1), KC_BSPC + ), + + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + LCTL_T(KC_EQL), KC_LBRC, KC_SLSH, KC_MINS, KC_INT1, KC_SCLN, KC_QUOT, KC_RBRC, KC_NUHS, KC_INT3, + LSFT_T(KC_PLUS), KC_LCBR, KC_QUES, KC_UNDS, LSFT(KC_INT1), KC_COLN, KC_DQUO, KC_RCBR, LSFT(KC_NUHS), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [2] = LAYOUT( + KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, LGUI(KC_INT3), KC_TRNS, + KC_PLUS, KC_LCBR, KC_QUES, KC_UNDS, LSFT(KC_INT1), KC_COLN, KC_DQUO, KC_RCBR, LSFT(KC_NUHS), LSFT(KC_INT3), + KC_LSFT, KC_LGUI, KC_LALT, KC_LNG2, KC_LSFT, KC_SPC, KC_LNG1, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [3] = LAYOUT( + LT(7, KC_Q), KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_TRNS, + KC_A, KC_S, LT(6, KC_D), KC_F, KC_G, KC_H, KC_J, LT(6, KC_K), KC_L, KC_ENT, + LSFT_T(KC_Z), LGUI_T(KC_X), KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, LCTL_T(KC_DOT), + KC_LGUI, LALT_T(KC_LNG2), LSFT_T(KC_TAB), LT(4, KC_SPC), LT(4, KC_LNG1), KC_BSPC + ), + + [4] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + KC_CIRC, KC_AT, KC_SLSH, KC_MINS, KC_UNDS, KC_SCLN, KC_COLN, KC_LBRC, KC_RBRC, KC_INT3, + LT(5, KC_TILD), KC_GRV, KC_QUES, KC_EQL, KC_UNDS, KC_PLUS, KC_ASTR, KC_LCBR, KC_RCBR, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [5] = LAYOUT( + KC_EXLM, KC_DQUO, KC_HASH, KC_DLR, KC_PERC, KC_AMPR, KC_QUOT, KC_LPRN, KC_RPRN, KC_BSLS, KC_TRNS, + KC_TILD, KC_GRV, KC_QUES, KC_EQL, KC_UNDS, KC_PLUS, KC_ASTR, KC_LCBR, KC_RCBR, KC_PIPE, + KC_LSFT, KC_LGUI, KC_LALT, KC_LNG2, KC_LSFT, KC_SPC, KC_LNG1, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [6] = LAYOUT( + KC_ESC, KC_TAB, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, KC_NO, KC_TRNS, + KC_LCTL, KC_TRNS, KC_QUES, KC_EXLM, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, + KC_LSFT, KC_LGUI, KC_LALT, KC_LNG2, KC_TRNS, KC_NO, KC_LNG1, KC_NO, KC_NO, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [7] = LAYOUT( + KC_NO, KC_TAB, KC_NO, KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_LSFT, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, MO(8), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [8] = LAYOUT( + RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_NO, KC_NO, KC_NO, DF(0), DF(3), KC_TRNS, + RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + RGB_M_K, RGB_M_X, RGB_M_G, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/takashicompany/ejectix/keymaps/via/rules.mk b/keyboards/takashicompany/ejectix/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/takashicompany/ejectix/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/takashicompany/ejectix/readme.md b/keyboards/takashicompany/ejectix/readme.md new file mode 100644 index 00000000000..3a731808d60 --- /dev/null +++ b/keyboards/takashicompany/ejectix/readme.md @@ -0,0 +1,33 @@ +# Ejectix + +![takashicompany/ejectix](https://i.imgur.com/gGk5UVdh.jpg) + +Ejectix is a 36-key, low-staggered keyboard. +Its layout is similar to that of a conventional keyboard, making it suitable for an introductory keyboard of 30% size. +Its relatively simple structure makes it easy to assemble, and it is recommended for those who are just starting to build their own keyboards. +Since the firmware is VIA-compatible, it is possible to write the firmware and change the keymap from a web browser by using Remap. +The MX socket is also supported, making it easy to replace the keyswitch for long-lasting use. +Underglow LEDs can also be used to decorate your desk. + +* Keyboard Maintainer: [takashicompany](https://github.com/takashicompany) +* Hardware Supported: Ejectix PCB, Pro Micro +* Hardware Availability: https://github.com/takashicompany/ejectix + +Make example for this keyboard (after setting up your build environment): + + make takashicompany/ejectix:default + + +Flashing example for this keyboard: + + make takashicompany/ejectix: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 + +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**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/takashicompany/ejectix/rules.mk b/keyboards/takashicompany/ejectix/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/takashicompany/ejectix/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From 8946aace5bb3c5397b79b0e5999cc9547e0ade65 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Fri, 8 Mar 2024 22:24:11 +1100 Subject: [PATCH 047/107] Add instructions for debugging ARM with VSCode+BMP. (#11217) --- docs/other_vscode.md | 74 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/docs/other_vscode.md b/docs/other_vscode.md index 49d5035b08e..4c71a0eb1c6 100644 --- a/docs/other_vscode.md +++ b/docs/other_vscode.md @@ -117,3 +117,77 @@ Using the [standard `compile_commands.json` database](https://clang.llvm.org/doc 1. Start typing `clangd: Restart Language Server` and select it when it appears. Now you're ready to code QMK Firmware in VS Code! + +# Debugging ARM MCUs with Visual Studio Code + +**...and a Black Magic Probe.** + +Visual Studio Code has the ability to debug applications, but requires some configuration in order to get it to be able to do so for ARM targets. + +This documentation describes a known-working configuration for setting up the use of a Black Magic Probe to debug using VS Code. + +It is assumed that you've correctly set up the electrical connectivity of the Black Magic Probe with your MCU. Wiring up `NRST`, `SWDIO`, `SWCLK`, and `GND` should be enough. + +Install the following plugin into VS Code: + +* [Cortex-Debug](https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug) - + This adds debugger support for ARM Cortex targets to VS Code. + +A debugging target for the MCU for your board needs to be defined, and can be done so by adding the following to a `.vscode/launch.json` file: + +```json +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Black Magic Probe (OneKey Proton-C)", + "type": "cortex-debug", + "request": "launch", + "cwd": "${workspaceRoot}", + "executable": "${workspaceRoot}/.build/handwired_onekey_proton_c_default.elf", + "servertype": "bmp", + "BMPGDBSerialPort": "COM4", + "svdFile": "Q:\\svd\\STM32F303.svd", + "device": "STM32F303", + "v1": false, + "windows": { + "armToolchainPath": "C:\\QMK_MSYS\\mingw64\\bin" + } + } + ] +} +``` + +You'll need to perform some modifications to the file above in order to target your specific device: + +* `"name"`: Can be anything, but if you're debugging multiple targets you'll want something descriptive here. +* `"cwd"`: The path to the QMK Firmware repository root directory -- _if using the `.vscode` directory existing in the `qmk_firmware` git repository, the default above should be correct_ +* `"executable"`: The path to the `elf` file generated as part of the build for your keyboard -- _exists in `/.build`_ +* `"BMPGDBSerialPort"`: The `COM` port under Windows, or the `/dev/...` path for Linux/macOS. Two serial port devices will be created -- the Black Magic Probe debug port is *usually* the first. If it doesn't work, try the second. +* `"svdFile"`: _[Optional]_ The path to the SVD file that defines the register layout for the MCU -- the appropriate file can be downloaded from the [cmsis-svd repository](https://github.com/posborne/cmsis-svd/tree/master/data/STMicro) +* `"device"`: The name of the MCU, which matches the `` tag at the top of the downloaded `svd` file. +* `"armToolchainPath"`: _[Optional]_ The path to the ARM toolchain installation location on Windows -- under normal circumstances Linux/macOS will auto-detect this correctly and will not need to be specified. + +!> Windows builds of QMK Firmware are generally compiled using QMK MSYS, and the path to gdb's location (`C:\\QMK_MSYS\\mingw64\\bin`) needs to be specified under `armToolchainPath` for it to be detected. You may also need to change the GDB path to point at `C:\\QMK_MSYS\\mingw64\\bin\\gdb-multiarch.exe` in the VSCode Cortex-Debug user settings: ![VSCode Settings](https://i.imgur.com/EGrPM1L.png) + +Optionally, the following modifications should also be made to the keyboard's `rules.mk` file to disable optimisations -- not strictly required but will ensure breakpoints and variable viewing works correctly: +```makefile +# Disable optimisations for debugging purposes +LTO_ENABLE = no +OPT = g +DEBUG = 3 +``` + +At this point, you should build and flash your firmware through normal methods (`qmk compile ...` and `qmk flash ...`). + +Once completed, you can: +* Switch to the debug view in VS Code (in the sidebar, the Play button with a bug next to it) +* Select the newly-created debug target in the dropdown at the top of the sidebar +* Click the green play button next to the dropdown + +VS Code's debugger will then start executing the compiled firmware on the MCU. + +At this stage, you should have full debugging set up, with breakpoints and variable listings working! From bd1f1068f7aec64a606e39aad09a336fe3584879 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Fri, 8 Mar 2024 08:27:40 -0700 Subject: [PATCH 048/107] Fixup annepro2 (#23206) Co-authored-by: Joel Challis --- keyboards/annepro2/c15/info.json | 122 +---------------- keyboards/annepro2/c15/rules.mk | 13 -- keyboards/annepro2/c18/info.json | 122 +---------------- keyboards/annepro2/c18/rules.mk | 13 -- keyboards/annepro2/info.json | 126 ++++++++++++++++++ .../keymaps/default-full-caps/keymap.c | 4 +- .../keymaps/default-layer-indicators/keymap.c | 4 +- keyboards/annepro2/keymaps/default/keymap.c | 4 +- .../annepro2/keymaps/iso_default/keymap.c | 8 +- 9 files changed, 138 insertions(+), 278 deletions(-) diff --git a/keyboards/annepro2/c15/info.json b/keyboards/annepro2/c15/info.json index 091d0b1c5b7..0f738c0999e 100644 --- a/keyboards/annepro2/c15/info.json +++ b/keyboards/annepro2/c15/info.json @@ -3,129 +3,9 @@ "usb": { "pid": "0x8008" }, - "eeprom": { - "driver": "wear_leveling", - "wear_leveling": { - "driver": "spi_flash", - "backing_size": 2048 - } - }, "diode_direction": "COL2ROW", "matrix_pins": { "cols": ["C4", "C5", "B10", "B11", "C0", "A15", "A8", "A10", "A11", "A12", "A13", "A14", "B2", "B3"], "rows": ["C2", "C1", "B5", "B4", "C3"] - }, - "rgb_matrix": { - "animations":{ - "alphas_mods": true, - "gradient_up_down": true, - "gradient_left_right": true, - "breathing": true, - "band_sat": true, - "band_val": true, - "band_pinwheel_sat": true, - "band_pinwheel_val": true, - "band_spiral_sat": true, - "band_spiral_val": true, - "cycle_all": true, - "cycle_left_right": true, - "cycle_up_down": true, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": true, - "cycle_pinwheel": true, - "cycle_spiral": true, - "dual_beacon": true, - "rainbow_beacon": true, - "rainbow_pinwheels": true, - "raindrops": true, - "jellybean_raindrops": true, - "hue_breathing": true, - "hue_pendulum": true, - "hue_wave": true, - "pixel_fractal": true, - "pixel_flow": true, - "pixel_rain": true, - "typing_heatmap": true, - "digital_rain": true, - "solid_reactive_simple": true, - "solid_reactive": true, - "solid_reactive_wide": true, - "solid_reactive_multiwide": true, - "solid_reactive_cross": true, - "solid_reactive_multicross": true, - "solid_reactive_nexus": true, - "solid_reactive_multinexus": true, - "splash": true, - "multisplash": true, - "solid_splash": true, - "solid_multisplash": true - }, - "driver": "custom", - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4}, - {"matrix": [0, 1], "x": 16, "y": 0, "flags": 4}, - {"matrix": [0, 2], "x": 32, "y": 0, "flags": 4}, - {"matrix": [0, 3], "x": 48, "y": 0, "flags": 4}, - {"matrix": [0, 4], "x": 65, "y": 0, "flags": 4}, - {"matrix": [0, 5], "x": 81, "y": 0, "flags": 4}, - {"matrix": [0, 6], "x": 97, "y": 0, "flags": 4}, - {"matrix": [0, 7], "x": 113, "y": 0, "flags": 4}, - {"matrix": [0, 8], "x": 129, "y": 0, "flags": 4}, - {"matrix": [0, 9], "x": 145, "y": 0, "flags": 4}, - {"matrix": [0, 10], "x": 161, "y": 0, "flags": 4}, - {"matrix": [0, 11], "x": 178, "y": 0, "flags": 4}, - {"matrix": [0, 12], "x": 194, "y": 0, "flags": 4}, - {"matrix": [0, 13], "x": 218, "y": 0, "flags": 4}, - {"matrix": [1, 0], "x": 4, "y": 16, "flags": 4}, - {"matrix": [1, 1], "x": 24, "y": 16, "flags": 4}, - {"matrix": [1, 2], "x": 40, "y": 16, "flags": 4}, - {"matrix": [1, 3], "x": 57, "y": 16, "flags": 4}, - {"matrix": [1, 4], "x": 73, "y": 16, "flags": 4}, - {"matrix": [1, 5], "x": 89, "y": 16, "flags": 4}, - {"matrix": [1, 6], "x": 105, "y": 16, "flags": 4}, - {"matrix": [1, 7], "x": 121, "y": 16, "flags": 4}, - {"matrix": [1, 8], "x": 137, "y": 16, "flags": 4}, - {"matrix": [1, 9], "x": 153, "y": 16, "flags": 4}, - {"matrix": [1, 10], "x": 170, "y": 16, "flags": 4}, - {"matrix": [1, 11], "x": 186, "y": 16, "flags": 4}, - {"matrix": [1, 12], "x": 202, "y": 16, "flags": 4}, - {"matrix": [1, 13], "x": 222, "y": 16, "flags": 4}, - {"matrix": [2, 0], "x": 6, "y": 32, "flags": 4}, - {"matrix": [2, 1], "x": 28, "y": 32, "flags": 4}, - {"matrix": [2, 2], "x": 44, "y": 32, "flags": 4}, - {"matrix": [2, 3], "x": 61, "y": 32, "flags": 4}, - {"matrix": [2, 4], "x": 77, "y": 32, "flags": 4}, - {"matrix": [2, 5], "x": 93, "y": 32, "flags": 4}, - {"matrix": [2, 6], "x": 109, "y": 32, "flags": 4}, - {"matrix": [2, 7], "x": 125, "y": 32, "flags": 4}, - {"matrix": [2, 8], "x": 141, "y": 32, "flags": 4}, - {"matrix": [2, 9], "x": 157, "y": 32, "flags": 4}, - {"matrix": [2, 10], "x": 174, "y": 32, "flags": 4}, - {"matrix": [2, 11], "x": 190, "y": 32, "flags": 4}, - {"matrix": [2, 12], "x": 216, "y": 32, "flags": 4}, - {"matrix": [3, 0], "x": 10, "y": 48, "flags": 1}, - {"matrix": [3, 2], "x": 36, "y": 48, "flags": 4}, - {"matrix": [3, 3], "x": 52, "y": 48, "flags": 4}, - {"matrix": [3, 4], "x": 69, "y": 48, "flags": 4}, - {"matrix": [3, 5], "x": 85, "y": 48, "flags": 4}, - {"matrix": [3, 6], "x": 101, "y": 48, "flags": 4}, - {"matrix": [3, 7], "x": 117, "y": 48, "flags": 4}, - {"matrix": [3, 8], "x": 133, "y": 48, "flags": 4}, - {"matrix": [3, 9], "x": 149, "y": 48, "flags": 4}, - {"matrix": [3, 10], "x": 165, "y": 48, "flags": 4}, - {"matrix": [3, 11], "x": 182, "y": 48, "flags": 4}, - {"matrix": [3, 12], "x": 212, "y": 48, "flags": 1}, - {"matrix": [4, 0], "x": 2, "y": 64, "flags": 1}, - {"matrix": [4, 2], "x": 22, "y": 64, "flags": 1}, - {"matrix": [4, 3], "x": 42, "y": 64, "flags": 1}, - {"matrix": [4, 6], "x": 103, "y": 64, "flags": 4}, - {"matrix": [4, 9], "x": 163, "y": 64, "flags": 1}, - {"matrix": [4, 10], "x": 184, "y": 64, "flags": 1}, - {"matrix": [4, 11], "x": 204, "y": 64, "flags": 1}, - {"matrix": [4, 12], "x": 224, "y": 64, "flags": 1} - ], - "led_flush_limit": 40 - }, - "community_layouts": ["60_ansi"] + } } diff --git a/keyboards/annepro2/c15/rules.mk b/keyboards/annepro2/c15/rules.mk index c3bf551e4b6..f35d9002ef5 100644 --- a/keyboards/annepro2/c15/rules.mk +++ b/keyboards/annepro2/c15/rules.mk @@ -13,19 +13,6 @@ BOARD = ANNEPRO2_C15 BOOTLOADER = custom PROGRAM_CMD = annepro2_tools --boot $(BUILD_DIR)/$(TARGET).bin -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover - -# Custom RGB matrix handling -RGB_MATRIX_ENABLE = yes - # Anne Pro 2 SRC = \ annepro2_ble.c \ diff --git a/keyboards/annepro2/c18/info.json b/keyboards/annepro2/c18/info.json index 8c765338a5a..b3f3d367fef 100644 --- a/keyboards/annepro2/c18/info.json +++ b/keyboards/annepro2/c18/info.json @@ -3,129 +3,9 @@ "usb": { "pid": "0x8009" }, - "eeprom": { - "driver": "wear_leveling", - "wear_leveling": { - "driver": "spi_flash", - "backing_size": 2048 - } - }, "diode_direction": "COL2ROW", "matrix_pins": { "cols": ["C4", "C5", "D0", "B15", "C11", "A15", "C12", "C13", "A8", "A10", "A11", "A14", "D2", "D3"], "rows": ["B5", "B4", "B3", "B2", "D1"] - }, - "rgb_matrix": { - "animations":{ - "alphas_mods": true, - "gradient_up_down": true, - "gradient_left_right": true, - "breathing": true, - "band_sat": true, - "band_val": true, - "band_pinwheel_sat": true, - "band_pinwheel_val": true, - "band_spiral_sat": true, - "band_spiral_val": true, - "cycle_all": true, - "cycle_left_right": true, - "cycle_up_down": true, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": true, - "cycle_pinwheel": true, - "cycle_spiral": true, - "dual_beacon": true, - "rainbow_beacon": true, - "rainbow_pinwheels": true, - "raindrops": true, - "jellybean_raindrops": true, - "hue_breathing": true, - "hue_pendulum": true, - "hue_wave": true, - "pixel_fractal": true, - "pixel_flow": true, - "pixel_rain": true, - "typing_heatmap": true, - "digital_rain": true, - "solid_reactive_simple": true, - "solid_reactive": true, - "solid_reactive_wide": true, - "solid_reactive_multiwide": true, - "solid_reactive_cross": true, - "solid_reactive_multicross": true, - "solid_reactive_nexus": true, - "solid_reactive_multinexus": true, - "splash": true, - "multisplash": true, - "solid_splash": true, - "solid_multisplash": true - }, - "driver": "custom", - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4}, - {"matrix": [0, 1], "x": 16, "y": 0, "flags": 4}, - {"matrix": [0, 2], "x": 32, "y": 0, "flags": 4}, - {"matrix": [0, 3], "x": 48, "y": 0, "flags": 4}, - {"matrix": [0, 4], "x": 65, "y": 0, "flags": 4}, - {"matrix": [0, 5], "x": 81, "y": 0, "flags": 4}, - {"matrix": [0, 6], "x": 97, "y": 0, "flags": 4}, - {"matrix": [0, 7], "x": 113, "y": 0, "flags": 4}, - {"matrix": [0, 8], "x": 129, "y": 0, "flags": 4}, - {"matrix": [0, 9], "x": 145, "y": 0, "flags": 4}, - {"matrix": [0, 10], "x": 161, "y": 0, "flags": 4}, - {"matrix": [0, 11], "x": 178, "y": 0, "flags": 4}, - {"matrix": [0, 12], "x": 194, "y": 0, "flags": 4}, - {"matrix": [0, 13], "x": 218, "y": 0, "flags": 4}, - {"matrix": [1, 0], "x": 4, "y": 16, "flags": 4}, - {"matrix": [1, 1], "x": 24, "y": 16, "flags": 4}, - {"matrix": [1, 2], "x": 40, "y": 16, "flags": 4}, - {"matrix": [1, 3], "x": 57, "y": 16, "flags": 4}, - {"matrix": [1, 4], "x": 73, "y": 16, "flags": 4}, - {"matrix": [1, 5], "x": 89, "y": 16, "flags": 4}, - {"matrix": [1, 6], "x": 105, "y": 16, "flags": 4}, - {"matrix": [1, 7], "x": 121, "y": 16, "flags": 4}, - {"matrix": [1, 8], "x": 137, "y": 16, "flags": 4}, - {"matrix": [1, 9], "x": 153, "y": 16, "flags": 4}, - {"matrix": [1, 10], "x": 170, "y": 16, "flags": 4}, - {"matrix": [1, 11], "x": 186, "y": 16, "flags": 4}, - {"matrix": [1, 12], "x": 202, "y": 16, "flags": 4}, - {"matrix": [1, 13], "x": 222, "y": 16, "flags": 4}, - {"matrix": [2, 0], "x": 6, "y": 32, "flags": 4}, - {"matrix": [2, 1], "x": 28, "y": 32, "flags": 4}, - {"matrix": [2, 2], "x": 44, "y": 32, "flags": 4}, - {"matrix": [2, 3], "x": 61, "y": 32, "flags": 4}, - {"matrix": [2, 4], "x": 77, "y": 32, "flags": 4}, - {"matrix": [2, 5], "x": 93, "y": 32, "flags": 4}, - {"matrix": [2, 6], "x": 109, "y": 32, "flags": 4}, - {"matrix": [2, 7], "x": 125, "y": 32, "flags": 4}, - {"matrix": [2, 8], "x": 141, "y": 32, "flags": 4}, - {"matrix": [2, 9], "x": 157, "y": 32, "flags": 4}, - {"matrix": [2, 10], "x": 174, "y": 32, "flags": 4}, - {"matrix": [2, 11], "x": 190, "y": 32, "flags": 4}, - {"matrix": [2, 12], "x": 216, "y": 32, "flags": 4}, - {"matrix": [3, 0], "x": 10, "y": 48, "flags": 1}, - {"matrix": [3, 2], "x": 36, "y": 48, "flags": 4}, - {"matrix": [3, 3], "x": 52, "y": 48, "flags": 4}, - {"matrix": [3, 4], "x": 69, "y": 48, "flags": 4}, - {"matrix": [3, 5], "x": 85, "y": 48, "flags": 4}, - {"matrix": [3, 6], "x": 101, "y": 48, "flags": 4}, - {"matrix": [3, 7], "x": 117, "y": 48, "flags": 4}, - {"matrix": [3, 8], "x": 133, "y": 48, "flags": 4}, - {"matrix": [3, 9], "x": 149, "y": 48, "flags": 4}, - {"matrix": [3, 10], "x": 165, "y": 48, "flags": 4}, - {"matrix": [3, 11], "x": 182, "y": 48, "flags": 4}, - {"matrix": [3, 12], "x": 212, "y": 48, "flags": 1}, - {"matrix": [4, 0], "x": 2, "y": 64, "flags": 1}, - {"matrix": [4, 2], "x": 22, "y": 64, "flags": 1}, - {"matrix": [4, 3], "x": 42, "y": 64, "flags": 1}, - {"matrix": [4, 6], "x": 103, "y": 64, "flags": 4}, - {"matrix": [4, 9], "x": 163, "y": 64, "flags": 1}, - {"matrix": [4, 10], "x": 184, "y": 64, "flags": 1}, - {"matrix": [4, 11], "x": 204, "y": 64, "flags": 1}, - {"matrix": [4, 12], "x": 224, "y": 64, "flags": 1} - ], - "led_flush_limit": 40 - }, - "community_layouts": ["60_ansi", "60_iso"] + } } diff --git a/keyboards/annepro2/c18/rules.mk b/keyboards/annepro2/c18/rules.mk index 484099b3aea..b310454c5d0 100644 --- a/keyboards/annepro2/c18/rules.mk +++ b/keyboards/annepro2/c18/rules.mk @@ -13,19 +13,6 @@ BOARD = ANNEPRO2_C18 BOOTLOADER = custom PROGRAM_CMD = annepro2_tools --boot $(BUILD_DIR)/$(TARGET).bin -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover - -# Custom RGB matrix handling -RGB_MATRIX_ENABLE = yes - # Anne Pro 2 SRC = \ annepro2_ble.c \ diff --git a/keyboards/annepro2/info.json b/keyboards/annepro2/info.json index f90edcfa835..8c7041005fb 100644 --- a/keyboards/annepro2/info.json +++ b/keyboards/annepro2/info.json @@ -9,6 +9,132 @@ "build": { "lto": true }, + "eeprom": { + "driver": "wear_leveling", + "wear_leveling": { + "driver": "spi_flash", + "backing_size": 2048 + } + }, + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "rgb_matrix": true + }, + "rgb_matrix": { + "animations":{ + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_sat": true, + "band_val": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_fractal": true, + "pixel_flow": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive": true, + "solid_reactive_wide": true, + "solid_reactive_multiwide": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_nexus": true, + "solid_reactive_multinexus": true, + "splash": true, + "multisplash": true, + "solid_splash": true, + "solid_multisplash": true + }, + "driver": "custom", + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4}, + {"matrix": [0, 1], "x": 16, "y": 0, "flags": 4}, + {"matrix": [0, 2], "x": 32, "y": 0, "flags": 4}, + {"matrix": [0, 3], "x": 48, "y": 0, "flags": 4}, + {"matrix": [0, 4], "x": 65, "y": 0, "flags": 4}, + {"matrix": [0, 5], "x": 81, "y": 0, "flags": 4}, + {"matrix": [0, 6], "x": 97, "y": 0, "flags": 4}, + {"matrix": [0, 7], "x": 113, "y": 0, "flags": 4}, + {"matrix": [0, 8], "x": 129, "y": 0, "flags": 4}, + {"matrix": [0, 9], "x": 145, "y": 0, "flags": 4}, + {"matrix": [0, 10], "x": 161, "y": 0, "flags": 4}, + {"matrix": [0, 11], "x": 178, "y": 0, "flags": 4}, + {"matrix": [0, 12], "x": 194, "y": 0, "flags": 4}, + {"matrix": [0, 13], "x": 218, "y": 0, "flags": 4}, + {"matrix": [1, 0], "x": 4, "y": 16, "flags": 4}, + {"matrix": [1, 1], "x": 24, "y": 16, "flags": 4}, + {"matrix": [1, 2], "x": 40, "y": 16, "flags": 4}, + {"matrix": [1, 3], "x": 57, "y": 16, "flags": 4}, + {"matrix": [1, 4], "x": 73, "y": 16, "flags": 4}, + {"matrix": [1, 5], "x": 89, "y": 16, "flags": 4}, + {"matrix": [1, 6], "x": 105, "y": 16, "flags": 4}, + {"matrix": [1, 7], "x": 121, "y": 16, "flags": 4}, + {"matrix": [1, 8], "x": 137, "y": 16, "flags": 4}, + {"matrix": [1, 9], "x": 153, "y": 16, "flags": 4}, + {"matrix": [1, 10], "x": 170, "y": 16, "flags": 4}, + {"matrix": [1, 11], "x": 186, "y": 16, "flags": 4}, + {"matrix": [1, 12], "x": 202, "y": 16, "flags": 4}, + {"matrix": [1, 13], "x": 222, "y": 16, "flags": 4}, + {"matrix": [2, 0], "x": 6, "y": 32, "flags": 4}, + {"matrix": [2, 1], "x": 28, "y": 32, "flags": 4}, + {"matrix": [2, 2], "x": 44, "y": 32, "flags": 4}, + {"matrix": [2, 3], "x": 61, "y": 32, "flags": 4}, + {"matrix": [2, 4], "x": 77, "y": 32, "flags": 4}, + {"matrix": [2, 5], "x": 93, "y": 32, "flags": 4}, + {"matrix": [2, 6], "x": 109, "y": 32, "flags": 4}, + {"matrix": [2, 7], "x": 125, "y": 32, "flags": 4}, + {"matrix": [2, 8], "x": 141, "y": 32, "flags": 4}, + {"matrix": [2, 9], "x": 157, "y": 32, "flags": 4}, + {"matrix": [2, 10], "x": 174, "y": 32, "flags": 4}, + {"matrix": [2, 11], "x": 190, "y": 32, "flags": 4}, + {"matrix": [2, 12], "x": 216, "y": 32, "flags": 4}, + {"matrix": [3, 0], "x": 10, "y": 48, "flags": 1}, + {"matrix": [3, 2], "x": 36, "y": 48, "flags": 4}, + {"matrix": [3, 3], "x": 52, "y": 48, "flags": 4}, + {"matrix": [3, 4], "x": 69, "y": 48, "flags": 4}, + {"matrix": [3, 5], "x": 85, "y": 48, "flags": 4}, + {"matrix": [3, 6], "x": 101, "y": 48, "flags": 4}, + {"matrix": [3, 7], "x": 117, "y": 48, "flags": 4}, + {"matrix": [3, 8], "x": 133, "y": 48, "flags": 4}, + {"matrix": [3, 9], "x": 149, "y": 48, "flags": 4}, + {"matrix": [3, 10], "x": 165, "y": 48, "flags": 4}, + {"matrix": [3, 11], "x": 182, "y": 48, "flags": 4}, + {"matrix": [3, 12], "x": 212, "y": 48, "flags": 1}, + {"matrix": [4, 0], "x": 2, "y": 64, "flags": 1}, + {"matrix": [4, 2], "x": 22, "y": 64, "flags": 1}, + {"matrix": [4, 3], "x": 42, "y": 64, "flags": 1}, + {"matrix": [4, 6], "x": 103, "y": 64, "flags": 4}, + {"matrix": [4, 9], "x": 163, "y": 64, "flags": 1}, + {"matrix": [4, 10], "x": 184, "y": 64, "flags": 1}, + {"matrix": [4, 11], "x": 204, "y": 64, "flags": 1}, + {"matrix": [4, 12], "x": 224, "y": 64, "flags": 1} + ], + "led_flush_limit": 40 + }, + "community_layouts": ["60_ansi", "60_iso"], "layouts": { "LAYOUT_60_ansi": { "layout": [ diff --git a/keyboards/annepro2/keymaps/default-full-caps/keymap.c b/keyboards/annepro2/keymaps/default-full-caps/keymap.c index cb6147d40a9..7d517a179a7 100644 --- a/keyboards/annepro2/keymaps/default-full-caps/keymap.c +++ b/keyboards/annepro2/keymaps/default-full-caps/keymap.c @@ -97,10 +97,10 @@ enum anne_pro_layers { */ [FN2] = LAYOUT_60_ansi( /* FN2 */ _______, KC_AP2_BT1, KC_AP2_BT2, KC_AP2_BT3, KC_AP2_BT4, _______, _______, _______, _______, KC_AP_RGB_MOD, KC_AP_RGB_TOG, KC_AP_RGB_VAD, KC_AP_RGB_VAI, _______, - MO(FN2), _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, _______, + _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_DEL, _______, - _______, _______, _______, _______, _______, MO(FN1), MO(FN2), _______ + _______, _______, _______, _______, _______, _______, _______, _______ ), }; // clang-format on diff --git a/keyboards/annepro2/keymaps/default-layer-indicators/keymap.c b/keyboards/annepro2/keymaps/default-layer-indicators/keymap.c index ca042dcd32c..298f44398bb 100644 --- a/keyboards/annepro2/keymaps/default-layer-indicators/keymap.c +++ b/keyboards/annepro2/keymaps/default-layer-indicators/keymap.c @@ -97,10 +97,10 @@ enum anne_pro_layers { */ [FN2] = LAYOUT_60_ansi( /* FN2 */ _______, KC_AP2_BT1, KC_AP2_BT2, KC_AP2_BT3, KC_AP2_BT4, _______, _______, _______, _______, KC_AP_RGB_MOD, KC_AP_RGB_TOG, KC_AP_RGB_VAD, KC_AP_RGB_VAI, _______, - MO(FN2), _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, _______, + _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_DEL, _______, - _______, _______, _______, _______, _______, MO(FN1), MO(FN2), _______ + _______, _______, _______, _______, _______, _______, _______, _______ ), }; // clang-format on diff --git a/keyboards/annepro2/keymaps/default/keymap.c b/keyboards/annepro2/keymaps/default/keymap.c index 8af2d9a32c2..38be6ec54a6 100644 --- a/keyboards/annepro2/keymaps/default/keymap.c +++ b/keyboards/annepro2/keymaps/default/keymap.c @@ -97,10 +97,10 @@ enum anne_pro_layers { */ [FN2] = LAYOUT_60_ansi( /* FN2 */ _______, KC_AP2_BT1, KC_AP2_BT2, KC_AP2_BT3, KC_AP2_BT4, _______, _______, _______, _______, KC_AP_RGB_MOD, KC_AP_RGB_TOG, KC_AP_RGB_VAD, KC_AP_RGB_VAI, _______, - MO(FN2), _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, _______, + _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_DEL, _______, - _______, _______, _______, _______, _______, MO(FN1), MO(FN2), _______ + _______, _______, _______, _______, _______, _______, _______, _______ ), }; // clang-format on diff --git a/keyboards/annepro2/keymaps/iso_default/keymap.c b/keyboards/annepro2/keymaps/iso_default/keymap.c index 4c1b259504e..a4953906034 100644 --- a/keyboards/annepro2/keymaps/iso_default/keymap.c +++ b/keyboards/annepro2/keymaps/iso_default/keymap.c @@ -76,9 +76,9 @@ enum anne_pro_layers { [FN1] = LAYOUT_60_iso( /* FN1 */ KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, - MO(FN1), KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, + _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, _______, _______, KC_VOLU, KC_VOLD, KC_MUTE, _______, _______, _______, _______, _______, KC_INS, KC_DEL, _______, - _______, _______, _______, _______, KC_APP, MO(FN1), MO(FN2), _______ + _______, _______, _______, _______, KC_APP, _______, MO(FN2), _______ ), /* * Layer FN2 @@ -98,9 +98,9 @@ enum anne_pro_layers { [FN2] = LAYOUT_60_iso( /* FN2 */ _______, KC_AP2_BT1, KC_AP2_BT2, KC_AP2_BT3, KC_AP2_BT4, _______, _______, _______, _______, KC_AP_RGB_MOD, KC_AP_RGB_TOG, KC_AP_RGB_VAD, KC_AP_RGB_VAI, _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_HOME, KC_END, - MO(FN1), KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, + _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_DEL, _______, - _______, _______, _______, _______, KC_APP, MO(FN1), MO(FN2), _______ + _______, _______, _______, _______, KC_APP, _______, _______, _______ ), }; // clang-format on From 113d3d60016a1158d1eca8a12a55a2c330a7f498 Mon Sep 17 00:00:00 2001 From: David Hoelscher Date: Fri, 8 Mar 2024 09:40:32 -0600 Subject: [PATCH 049/107] [Keyboard] Add CMK11 (#23239) * adding cmk11 * correcting default keymap * removing rules.mk * removing unnecessary comment --- keyboards/custommk/cmk11/config.h | 29 +++++ keyboards/custommk/cmk11/halconf.h | 30 +++++ keyboards/custommk/cmk11/info.json | 121 ++++++++++++++++++ .../custommk/cmk11/keymaps/default/keymap.c | 11 ++ keyboards/custommk/cmk11/keymaps/via/config.h | 6 + keyboards/custommk/cmk11/keymaps/via/keymap.c | 11 ++ keyboards/custommk/cmk11/keymaps/via/rules.mk | 1 + keyboards/custommk/cmk11/mcuconf.h | 31 +++++ keyboards/custommk/cmk11/readme.md | 27 ++++ keyboards/custommk/cmk11/rules.mk | 1 + 10 files changed, 268 insertions(+) create mode 100644 keyboards/custommk/cmk11/config.h create mode 100644 keyboards/custommk/cmk11/halconf.h create mode 100644 keyboards/custommk/cmk11/info.json create mode 100644 keyboards/custommk/cmk11/keymaps/default/keymap.c create mode 100644 keyboards/custommk/cmk11/keymaps/via/config.h create mode 100644 keyboards/custommk/cmk11/keymaps/via/keymap.c create mode 100644 keyboards/custommk/cmk11/keymaps/via/rules.mk create mode 100644 keyboards/custommk/cmk11/mcuconf.h create mode 100644 keyboards/custommk/cmk11/readme.md create mode 100644 keyboards/custommk/cmk11/rules.mk diff --git a/keyboards/custommk/cmk11/config.h b/keyboards/custommk/cmk11/config.h new file mode 100644 index 00000000000..122d32c5da5 --- /dev/null +++ b/keyboards/custommk/cmk11/config.h @@ -0,0 +1,29 @@ +// Copyright 2024 customMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +// FRAM configuration +#define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN B7 +#define EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR 4 // 48MHz / 4 = 12MHz; max supported by MB85R64 is 20MHz + +// SPI configuration +#define SPI_DRIVER SPID1 +#define SPI_SCK_PIN B3 +#define SPI_MOSI_PIN B5 +#define SPI_MISO_PIN B4 + +// Audio configuration +#define AUDIO_PIN B8 +#define AUDIO_PWM_DRIVER PWMD4 +#define AUDIO_PWM_CHANNEL 3 +#define AUDIO_PWM_PAL_MODE 2 +#define AUDIO_STATE_TIMER GPTD5 +#define AUDIO_INIT_DELAY + +// WS2812 configuration +#define WS2812_PWM_DRIVER PWMD1 +#define WS2812_PWM_CHANNEL 3 +#define WS2812_PWM_PAL_MODE 1 +#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 +#define WS2812_DMA_CHANNEL 6 diff --git a/keyboards/custommk/cmk11/halconf.h b/keyboards/custommk/cmk11/halconf.h new file mode 100644 index 00000000000..6791d829f9b --- /dev/null +++ b/keyboards/custommk/cmk11/halconf.h @@ -0,0 +1,30 @@ +/* Copyright 2024 customMK + * + * 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 . + */ + +#pragma once + +#define HAL_USE_PWM TRUE + +#define HAL_USE_SPI TRUE + +#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD + +#define SERIAL_BUFFERS_SIZE 256 + +// This enables interrupt-driven mode +#define SPI_USE_WAIT TRUE + +#include_next diff --git a/keyboards/custommk/cmk11/info.json b/keyboards/custommk/cmk11/info.json new file mode 100644 index 00000000000..d831351aa78 --- /dev/null +++ b/keyboards/custommk/cmk11/info.json @@ -0,0 +1,121 @@ +{ + "manufacturer": "customMK", + "keyboard_name": "CMK11", + "maintainer": "customMK", + "bootloader": "stm32-dfu", + "diode_direction": "ROW2COL", + "dynamic_keymap": { + "layer_count": 32 + }, + "eeprom": { + "driver": "spi" + }, + "features": { + "audio": true, + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["B0", "A1", "A2", "A3", "A6", "B10"], + "rows": ["A5", "A4"] + }, + "processor": "STM32F411", + "qmk": { + "tap_keycode_delay": 10 + }, + "rgb_matrix": { + "animations": { + "alphas_mods": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_sat": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "band_val": true, + "breathing": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "cycle_up_down": true, + "digital_rain": true, + "dual_beacon": true, + "gradient_left_right": true, + "gradient_up_down": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "jellybean_raindrops": true, + "multisplash": true, + "pixel_flow": true, + "pixel_fractal": true, + "pixel_rain": true, + "rainbow_beacon": true, + "rainbow_moving_chevron": true, + "rainbow_pinwheels": true, + "raindrops": true, + "solid_multisplash": true, + "solid_reactive": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_multinexus": true, + "solid_reactive_multiwide": true, + "solid_reactive_nexus": true, + "solid_reactive_simple": true, + "solid_reactive_wide": true, + "solid_splash": true, + "splash": true, + "typing_heatmap": true + }, + "driver": "ws2812", + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4}, + {"matrix": [0, 1], "x": 45, "y": 0, "flags": 4}, + {"matrix": [0, 2], "x": 90, "y": 0, "flags": 4}, + {"matrix": [0, 3], "x": 134, "y": 0, "flags": 4}, + {"matrix": [0, 4], "x": 179, "y": 0, "flags": 4}, + {"matrix": [0, 5], "x": 224, "y": 0, "flags": 4}, + {"matrix": [1, 0], "x": 23, "y": 64, "flags": 4}, + {"matrix": [1, 1], "x": 68, "y": 64, "flags": 4}, + {"matrix": [1, 2], "x": 112, "y": 64, "flags": 4}, + {"matrix": [1, 3], "x": 157, "y": 64, "flags": 4}, + {"matrix": [1, 4], "x": 202, "y": 64, "flags": 4} + ], + "max_brightness": 120, + "sat_steps": 8, + "speed_steps": 10, + "val_steps": 8 + }, + "url": "https://shop.custommk.com/collections/cmk11/products/ckm11", + "usb": { + "device_version": "1.0.0", + "pid": "0xFABA", + "vid": "0xF35B" + }, + "ws2812": { + "driver": "pwm", + "pin": "A10" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [1, 0], "x": 0.5, "y": 1}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/custommk/cmk11/keymaps/default/keymap.c b/keyboards/custommk/cmk11/keymaps/default/keymap.c new file mode 100644 index 00000000000..a6d6db48c94 --- /dev/null +++ b/keyboards/custommk/cmk11/keymaps/default/keymap.c @@ -0,0 +1,11 @@ +// Copyright 2024 customMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_C, KC_V, KC_VOLU, KC_VOLD, KC_DEL, + KC_LCTL, KC_PGUP, KC_SPC, KC_PGDN, KC_ENT + ) +}; diff --git a/keyboards/custommk/cmk11/keymaps/via/config.h b/keyboards/custommk/cmk11/keymaps/via/config.h new file mode 100644 index 00000000000..c2dca382777 --- /dev/null +++ b/keyboards/custommk/cmk11/keymaps/via/config.h @@ -0,0 +1,6 @@ +// Copyright 2024 customMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define DYNAMIC_KEYMAP_MACRO_COUNT 128 diff --git a/keyboards/custommk/cmk11/keymaps/via/keymap.c b/keyboards/custommk/cmk11/keymaps/via/keymap.c new file mode 100644 index 00000000000..a4ee324f3fb --- /dev/null +++ b/keyboards/custommk/cmk11/keymaps/via/keymap.c @@ -0,0 +1,11 @@ +// Copyright 2024 customMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_C, KC_V, KC_VOLU, KC_VOLD, KC_DEL, + KC_LCTL, KC_PGUP, KC_SPC, KC_PGDN, MO(1) + ) +}; diff --git a/keyboards/custommk/cmk11/keymaps/via/rules.mk b/keyboards/custommk/cmk11/keymaps/via/rules.mk new file mode 100644 index 00000000000..036bd6d1c3e --- /dev/null +++ b/keyboards/custommk/cmk11/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/custommk/cmk11/mcuconf.h b/keyboards/custommk/cmk11/mcuconf.h new file mode 100644 index 00000000000..8151abdcba3 --- /dev/null +++ b/keyboards/custommk/cmk11/mcuconf.h @@ -0,0 +1,31 @@ +/* Copyright 2024 customMK + * + * 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 . + */ + +#pragma once + +#include_next + +// Used for audio +#undef STM32_PWM_USE_TIM4 +#define STM32_PWM_USE_TIM4 TRUE + +// Used for FRAM +#undef STM32_SPI_USE_SPI1 +#define STM32_SPI_USE_SPI1 TRUE + +// Used for RGB matrix +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/custommk/cmk11/readme.md b/keyboards/custommk/cmk11/readme.md new file mode 100644 index 00000000000..961261ac664 --- /dev/null +++ b/keyboards/custommk/cmk11/readme.md @@ -0,0 +1,27 @@ +# CMK11 + +![cmk11](https://i.imgur.com/y8MEwXYh.jpeg) + +CMK11 supports eleven 1u keys (or eight 1u keys and one 3u key). The PCB is fully compatible with the Cary Works C11 macropad. + +* Keyboard Maintainer: [customMK](https://github.com/customMK) +* Hardware Supported: CMK11 +* Hardware Availability: [customMK](https://shop.custommk.com/products/cmk11) + +Make example for this keyboard (after setting up your build environment): + + make custommk/cmk11:default + +Flashing example for this keyboard: + + make custommk/cmk11: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 + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (the key in the top left corner) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/custommk/cmk11/rules.mk b/keyboards/custommk/cmk11/rules.mk new file mode 100644 index 00000000000..72f75f4367e --- /dev/null +++ b/keyboards/custommk/cmk11/rules.mk @@ -0,0 +1 @@ +AUDIO_DRIVER = pwm_hardware From 62e2cb92861820cf64440e754cd0fed155e431fd Mon Sep 17 00:00:00 2001 From: strayfade <64668046+strayfade@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:44:32 -0500 Subject: [PATCH 050/107] [Keyboard] Add sf2040 (#23211) Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/sf2040/info.json | 105 ++++++++++++++++++++++ keyboards/sf2040/keymaps/default/keymap.c | 25 ++++++ keyboards/sf2040/keymaps/via/keymap.c | 25 ++++++ keyboards/sf2040/keymaps/via/rules.mk | 1 + keyboards/sf2040/readme.md | 22 +++++ keyboards/sf2040/rules.mk | 1 + 6 files changed, 179 insertions(+) create mode 100644 keyboards/sf2040/info.json create mode 100644 keyboards/sf2040/keymaps/default/keymap.c create mode 100644 keyboards/sf2040/keymaps/via/keymap.c create mode 100644 keyboards/sf2040/keymaps/via/rules.mk create mode 100644 keyboards/sf2040/readme.md create mode 100644 keyboards/sf2040/rules.mk diff --git a/keyboards/sf2040/info.json b/keyboards/sf2040/info.json new file mode 100644 index 00000000000..21acb322af4 --- /dev/null +++ b/keyboards/sf2040/info.json @@ -0,0 +1,105 @@ +{ + "manufacturer": "Strayfade", + "keyboard_name": "sf2040", + "maintainer": "Strayfade", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + }, + "matrix_pins": { + "cols": ["GP6", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP14", "GP15", "GP16", "GP17", "GP18", "GP19", "GP20"], + "rows": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5"] + }, + "processor": "RP2040", + "url": "https://strayfade.com/sf2040", + "usb": { + "device_version": "1.0.1", + "pid": "0x0001", + "vid": "0x5346" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1, "w": 2}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2}, + {"matrix": [2, 2], "x": 2.5, "y": 2}, + {"matrix": [2, 3], "x": 3.5, "y": 2}, + {"matrix": [2, 4], "x": 4.5, "y": 2}, + {"matrix": [2, 5], "x": 5.5, "y": 2}, + {"matrix": [2, 6], "x": 6.5, "y": 2}, + {"matrix": [2, 7], "x": 7.5, "y": 2}, + {"matrix": [2, 8], "x": 8.5, "y": 2}, + {"matrix": [2, 9], "x": 9.5, "y": 2}, + {"matrix": [2, 10], "x": 10.5, "y": 2}, + {"matrix": [2, 11], "x": 11.5, "y": 2}, + {"matrix": [2, 12], "x": 12.5, "y": 2}, + {"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3}, + {"matrix": [3, 2], "x": 2.75, "y": 3}, + {"matrix": [3, 3], "x": 3.75, "y": 3}, + {"matrix": [3, 4], "x": 4.75, "y": 3}, + {"matrix": [3, 5], "x": 5.75, "y": 3}, + {"matrix": [3, 6], "x": 6.75, "y": 3}, + {"matrix": [3, 7], "x": 7.75, "y": 3}, + {"matrix": [3, 8], "x": 8.75, "y": 3}, + {"matrix": [3, 9], "x": 9.75, "y": 3}, + {"matrix": [3, 10], "x": 10.75, "y": 3}, + {"matrix": [3, 11], "x": 11.75, "y": 3}, + {"matrix": [3, 12], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 1], "x": 2.25, "y": 4}, + {"matrix": [4, 2], "x": 3.25, "y": 4}, + {"matrix": [4, 3], "x": 4.25, "y": 4}, + {"matrix": [4, 4], "x": 5.25, "y": 4}, + {"matrix": [4, 5], "x": 6.25, "y": 4}, + {"matrix": [4, 6], "x": 7.25, "y": 4}, + {"matrix": [4, 7], "x": 8.25, "y": 4}, + {"matrix": [4, 8], "x": 9.25, "y": 4}, + {"matrix": [4, 9], "x": 10.25, "y": 4}, + {"matrix": [4, 10], "x": 11.25, "y": 4}, + {"matrix": [4, 11], "x": 12.25, "y": 4, "w": 2.75}, + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 5, "w": 1.25}, + {"matrix": [5, 2], "x": 2.75, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 4, "y": 5, "w": 6.25}, + {"matrix": [5, 4], "x": 10.25, "y": 5, "w": 1.25}, + {"matrix": [5, 5], "x": 11.5, "y": 5}, + {"matrix": [5, 6], "x": 12.5, "y": 5}, + {"matrix": [5, 7], "x": 13.5, "y": 5, "w": 1.5} + ] + } + } +} diff --git a/keyboards/sf2040/keymaps/default/keymap.c b/keyboards/sf2040/keymaps/default/keymap.c new file mode 100644 index 00000000000..ca5bcce3585 --- /dev/null +++ b/keyboards/sf2040/keymaps/default/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2024 Strayfade +// SPDX-License-Identifier: GPL-3.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESCAPE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_AUDIO_VOL_UP, KC_AUDIO_VOL_DOWN, + KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BACKSPACE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LEFT_BRACKET, KC_RIGHT_BRACKET, KC_BACKSLASH, + KC_CAPS_LOCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SEMICOLON, KC_QUOTE, KC_ENTER, + KC_LEFT_SHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_RIGHT_SHIFT, + KC_LEFT_CTRL, KC_LEFT_GUI, KC_LEFT_ALT, KC_SPACE, MO(1), KC_HOME, KC_END, KC_RIGHT_CTRL + ), + [1] = LAYOUT( + KC_TILDE, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DELETE, + _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, KC_ENTER, + KC_LEFT_SHIFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RIGHT_SHIFT, + KC_LEFT_CTRL, KC_LEFT_GUI, KC_LEFT_ALT, KC_SPACE, _______, KC_HOME, KC_END, KC_RIGHT_CTRL + ) + +}; \ No newline at end of file diff --git a/keyboards/sf2040/keymaps/via/keymap.c b/keyboards/sf2040/keymaps/via/keymap.c new file mode 100644 index 00000000000..ca5bcce3585 --- /dev/null +++ b/keyboards/sf2040/keymaps/via/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2024 Strayfade +// SPDX-License-Identifier: GPL-3.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESCAPE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_AUDIO_VOL_UP, KC_AUDIO_VOL_DOWN, + KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BACKSPACE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LEFT_BRACKET, KC_RIGHT_BRACKET, KC_BACKSLASH, + KC_CAPS_LOCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SEMICOLON, KC_QUOTE, KC_ENTER, + KC_LEFT_SHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_RIGHT_SHIFT, + KC_LEFT_CTRL, KC_LEFT_GUI, KC_LEFT_ALT, KC_SPACE, MO(1), KC_HOME, KC_END, KC_RIGHT_CTRL + ), + [1] = LAYOUT( + KC_TILDE, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DELETE, + _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, KC_ENTER, + KC_LEFT_SHIFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RIGHT_SHIFT, + KC_LEFT_CTRL, KC_LEFT_GUI, KC_LEFT_ALT, KC_SPACE, _______, KC_HOME, KC_END, KC_RIGHT_CTRL + ) + +}; \ No newline at end of file diff --git a/keyboards/sf2040/keymaps/via/rules.mk b/keyboards/sf2040/keymaps/via/rules.mk new file mode 100644 index 00000000000..036bd6d1c3e --- /dev/null +++ b/keyboards/sf2040/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/sf2040/readme.md b/keyboards/sf2040/readme.md new file mode 100644 index 00000000000..fb9ef2efe6e --- /dev/null +++ b/keyboards/sf2040/readme.md @@ -0,0 +1,22 @@ +# sf2040 + +![sf2040 Image](https://i.imgur.com/DZ9N17ph.png) + +The sf2040 is a mechanical 76-key keyboard based on the [RP2040](https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf) microcontroller from Raspberry Pi. + +* Keyboard Maintainer: [strayfade](https://github.com/strayfade) +* Hardware Availability: https://github.com/strayfade/sf2040 + +Make example for this keyboard (after setting up your build environment): + + make sf2040:default + +Flashing example for this keyboard: + + make sf2040: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 + +**Bootmagic reset**: To enter the bootloader, hold down the key at (0,0) in the matrix (the top left key or Escape) and plug in the keyboard. diff --git a/keyboards/sf2040/rules.mk b/keyboards/sf2040/rules.mk new file mode 100644 index 00000000000..7ff128fa692 --- /dev/null +++ b/keyboards/sf2040/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file From acfbfe0daeb7af478b20b7ad2484623890676e40 Mon Sep 17 00:00:00 2001 From: peepeetee <43021794+peepeetee@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:44:26 -0600 Subject: [PATCH 051/107] Change default RGB effect for momokai keypads to solid white (#23217) --- keyboards/momokai/aurora/info.json | 6 ++++++ keyboards/momokai/tap_duo/info.json | 6 ++++++ keyboards/momokai/tap_trio/info.json | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/keyboards/momokai/aurora/info.json b/keyboards/momokai/aurora/info.json index 888398aa363..84ecbdeb4a1 100644 --- a/keyboards/momokai/aurora/info.json +++ b/keyboards/momokai/aurora/info.json @@ -43,6 +43,12 @@ "pin": "C7" }, "rgb_matrix": { + "default": { + "animation": "solid_color", + "hue": 0, + "sat": 0, + "val": 200 + }, "animations": { "gradient_up_down": true, "gradient_left_right": true, diff --git a/keyboards/momokai/tap_duo/info.json b/keyboards/momokai/tap_duo/info.json index 9a0a9a2e1d1..cbf5ce94d7d 100644 --- a/keyboards/momokai/tap_duo/info.json +++ b/keyboards/momokai/tap_duo/info.json @@ -12,6 +12,12 @@ "pin": "F0" }, "rgb_matrix": { + "default": { + "animation": "solid_color", + "hue": 0, + "sat": 0, + "val": 200 + }, "animations": { "gradient_left_right": true, "breathing": true, diff --git a/keyboards/momokai/tap_trio/info.json b/keyboards/momokai/tap_trio/info.json index f995501969c..c2ff9a5ff78 100644 --- a/keyboards/momokai/tap_trio/info.json +++ b/keyboards/momokai/tap_trio/info.json @@ -12,6 +12,12 @@ "pin": "F0" }, "rgb_matrix": { + "default": { + "animation": "solid_color", + "hue": 0, + "sat": 0, + "val": 200 + }, "animations": { "gradient_up_down": true, "gradient_left_right": true, From a8991722bca6f8785495f60d7a2e910f9a5987c9 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:24:31 -0800 Subject: [PATCH 052/107] Xiudi XD96 Layout Bugfixes and Touch-Up (#23242) * Correct AliExpress Hardware Availability link in readme Previous URL linked to a Cospad listing. [chore] [docs] * Convert `info.json` to four-space indent [style] * Correct `LAYOUT_all` matrix data The right half of split Backspace is actually located at [5, 9], not [5, 3]. [bugfix] * Correct `LAYOUT_96_iso` matrix data Corrects the matrix positions of the ISO Hash/Tilde and ISO Enter keys to [3, 12] and [3, 13], respectively. [bugfix] * Add layout/matrix diagram [docs] * Refactor keymaps - remove "inline block" comments - grid-align keycodes - use four-space indent [style] --- keyboards/xiudi/xd96/info.json | 710 +++++++++--------- keyboards/xiudi/xd96/keymaps/default/keymap.c | 47 +- .../xiudi/xd96/keymaps/default_iso/keymap.c | 47 +- keyboards/xiudi/xd96/keymaps/via/keymap.c | 93 +-- keyboards/xiudi/xd96/matrix_diagram.md | 42 ++ keyboards/xiudi/xd96/readme.md | 2 +- 6 files changed, 465 insertions(+), 476 deletions(-) create mode 100644 keyboards/xiudi/xd96/matrix_diagram.md diff --git a/keyboards/xiudi/xd96/info.json b/keyboards/xiudi/xd96/info.json index 98ebfcb4831..2b4ee4aad0a 100644 --- a/keyboards/xiudi/xd96/info.json +++ b/keyboards/xiudi/xd96/info.json @@ -1,373 +1,373 @@ { - "keyboard_name": "XD96", - "manufacturer": "KPrepublic", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0x7844", - "pid": "0x9696", - "device_version": "0.0.1" - }, - "backlight": { - "pin": "B5", - "levels": 10 - }, - "rgblight": { - "led_count": 16, - "max_brightness": 50, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "indicators": { - "caps_lock": "B6", - "num_lock": "C6", - "on_state": 0 - }, - "ws2812": { - "pin": "C7" - }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", - "layouts": { - "LAYOUT_96_ansi": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - {"matrix": [0, 4], "x": 4, "y": 0}, - {"matrix": [0, 5], "x": 5, "y": 0}, - {"matrix": [0, 6], "x": 6, "y": 0}, - {"matrix": [0, 7], "x": 7, "y": 0}, - {"matrix": [0, 8], "x": 8, "y": 0}, - {"matrix": [0, 9], "x": 9, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, - {"matrix": [0, 11], "x": 11, "y": 0}, - {"matrix": [0, 12], "x": 12, "y": 0}, - {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [5, 6], "x": 14, "y": 0}, - {"matrix": [0, 14], "x": 15, "y": 0}, - {"matrix": [0, 15], "x": 16, "y": 0}, - {"matrix": [0, 16], "x": 17, "y": 0}, - {"matrix": [0, 17], "x": 18, "y": 0}, + "keyboard_name": "XD96", + "manufacturer": "KPrepublic", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0x7844", + "pid": "0x9696", + "device_version": "0.0.1" + }, + "backlight": { + "pin": "B5", + "levels": 10 + }, + "rgblight": { + "led_count": 16, + "max_brightness": 50, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "indicators": { + "caps_lock": "B6", + "num_lock": "C6", + "on_state": 0 + }, + "ws2812": { + "pin": "C7" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "layouts": { + "LAYOUT_96_ansi": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [5, 6], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [0, 15], "x": 16, "y": 0}, + {"matrix": [0, 16], "x": 17, "y": 0}, + {"matrix": [0, 17], "x": 18, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - {"matrix": [1, 4], "x": 4, "y": 1}, - {"matrix": [1, 5], "x": 5, "y": 1}, - {"matrix": [1, 6], "x": 6, "y": 1}, - {"matrix": [1, 7], "x": 7, "y": 1}, - {"matrix": [1, 8], "x": 8, "y": 1}, - {"matrix": [1, 9], "x": 9, "y": 1}, - {"matrix": [1, 10], "x": 10, "y": 1}, - {"matrix": [1, 11], "x": 11, "y": 1}, - {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 13], "x": 13, "y": 1, "w": 2}, - {"matrix": [1, 14], "x": 15, "y": 1}, - {"matrix": [1, 15], "x": 16, "y": 1}, - {"matrix": [1, 16], "x": 17, "y": 1}, - {"matrix": [1, 17], "x": 18, "y": 1}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [1, 15], "x": 16, "y": 1}, + {"matrix": [1, 16], "x": 17, "y": 1}, + {"matrix": [1, 17], "x": 18, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, - {"matrix": [2, 1], "x": 1.5, "y": 2}, - {"matrix": [2, 2], "x": 2.5, "y": 2}, - {"matrix": [2, 3], "x": 3.5, "y": 2}, - {"matrix": [2, 4], "x": 4.5, "y": 2}, - {"matrix": [2, 5], "x": 5.5, "y": 2}, - {"matrix": [2, 6], "x": 6.5, "y": 2}, - {"matrix": [2, 7], "x": 7.5, "y": 2}, - {"matrix": [2, 8], "x": 8.5, "y": 2}, - {"matrix": [2, 9], "x": 9.5, "y": 2}, - {"matrix": [2, 10], "x": 10.5, "y": 2}, - {"matrix": [2, 11], "x": 11.5, "y": 2}, - {"matrix": [2, 12], "x": 12.5, "y": 2}, - {"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5}, - {"matrix": [2, 14], "x": 15, "y": 2}, - {"matrix": [2, 15], "x": 16, "y": 2}, - {"matrix": [2, 16], "x": 17, "y": 2}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2}, + {"matrix": [2, 2], "x": 2.5, "y": 2}, + {"matrix": [2, 3], "x": 3.5, "y": 2}, + {"matrix": [2, 4], "x": 4.5, "y": 2}, + {"matrix": [2, 5], "x": 5.5, "y": 2}, + {"matrix": [2, 6], "x": 6.5, "y": 2}, + {"matrix": [2, 7], "x": 7.5, "y": 2}, + {"matrix": [2, 8], "x": 8.5, "y": 2}, + {"matrix": [2, 9], "x": 9.5, "y": 2}, + {"matrix": [2, 10], "x": 10.5, "y": 2}, + {"matrix": [2, 11], "x": 11.5, "y": 2}, + {"matrix": [2, 12], "x": 12.5, "y": 2}, + {"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [2, 15], "x": 16, "y": 2}, + {"matrix": [2, 16], "x": 17, "y": 2}, - {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, - {"matrix": [3, 1], "x": 1.75, "y": 3}, - {"matrix": [3, 2], "x": 2.75, "y": 3}, - {"matrix": [3, 3], "x": 3.75, "y": 3}, - {"matrix": [3, 4], "x": 4.75, "y": 3}, - {"matrix": [3, 5], "x": 5.75, "y": 3}, - {"matrix": [3, 6], "x": 6.75, "y": 3}, - {"matrix": [3, 7], "x": 7.75, "y": 3}, - {"matrix": [3, 8], "x": 8.75, "y": 3}, - {"matrix": [3, 9], "x": 9.75, "y": 3}, - {"matrix": [3, 10], "x": 10.75, "y": 3}, - {"matrix": [3, 11], "x": 11.75, "y": 3}, - {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, - {"matrix": [3, 14], "x": 15, "y": 3}, - {"matrix": [3, 15], "x": 16, "y": 3}, - {"matrix": [3, 16], "x": 17, "y": 3}, - {"matrix": [2, 17], "x": 18, "y": 2, "h": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3}, + {"matrix": [3, 2], "x": 2.75, "y": 3}, + {"matrix": [3, 3], "x": 3.75, "y": 3}, + {"matrix": [3, 4], "x": 4.75, "y": 3}, + {"matrix": [3, 5], "x": 5.75, "y": 3}, + {"matrix": [3, 6], "x": 6.75, "y": 3}, + {"matrix": [3, 7], "x": 7.75, "y": 3}, + {"matrix": [3, 8], "x": 8.75, "y": 3}, + {"matrix": [3, 9], "x": 9.75, "y": 3}, + {"matrix": [3, 10], "x": 10.75, "y": 3}, + {"matrix": [3, 11], "x": 11.75, "y": 3}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [3, 15], "x": 16, "y": 3}, + {"matrix": [3, 16], "x": 17, "y": 3}, + {"matrix": [2, 17], "x": 18, "y": 2, "h": 2}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, - {"matrix": [4, 2], "x": 2.25, "y": 4}, - {"matrix": [4, 3], "x": 3.25, "y": 4}, - {"matrix": [4, 4], "x": 4.25, "y": 4}, - {"matrix": [4, 5], "x": 5.25, "y": 4}, - {"matrix": [4, 6], "x": 6.25, "y": 4}, - {"matrix": [4, 7], "x": 7.25, "y": 4}, - {"matrix": [4, 8], "x": 8.25, "y": 4}, - {"matrix": [4, 9], "x": 9.25, "y": 4}, - {"matrix": [4, 10], "x": 10.25, "y": 4}, - {"matrix": [4, 11], "x": 11.25, "y": 4}, - {"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 15, "y": 4}, - {"matrix": [4, 15], "x": 16, "y": 4}, - {"matrix": [4, 16], "x": 17, "y": 4}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4}, + {"matrix": [4, 15], "x": 16, "y": 4}, + {"matrix": [4, 16], "x": 17, "y": 4}, - {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, - {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, - {"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25}, - {"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25}, - {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, - {"matrix": [5, 8], "x": 11.5, "y": 5, "w": 1.5}, - {"matrix": [5, 12], "x": 13, "y": 5}, - {"matrix": [5, 13], "x": 14, "y": 5}, - {"matrix": [5, 14], "x": 15, "y": 5}, - {"matrix": [5, 15], "x": 16, "y": 5}, - {"matrix": [5, 16], "x": 17, "y": 5}, - {"matrix": [4, 17], "x": 18, "y": 4, "h": 2} - ] - }, - "LAYOUT_96_iso": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - {"matrix": [0, 4], "x": 4, "y": 0}, - {"matrix": [0, 5], "x": 5, "y": 0}, - {"matrix": [0, 6], "x": 6, "y": 0}, - {"matrix": [0, 7], "x": 7, "y": 0}, - {"matrix": [0, 8], "x": 8, "y": 0}, - {"matrix": [0, 9], "x": 9, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, - {"matrix": [0, 11], "x": 11, "y": 0}, - {"matrix": [0, 12], "x": 12, "y": 0}, - {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [5, 6], "x": 14, "y": 0}, - {"matrix": [0, 14], "x": 15, "y": 0}, - {"matrix": [0, 15], "x": 16, "y": 0}, - {"matrix": [0, 16], "x": 17, "y": 0}, - {"matrix": [0, 17], "x": 18, "y": 0}, + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 8], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 13, "y": 5}, + {"matrix": [5, 13], "x": 14, "y": 5}, + {"matrix": [5, 14], "x": 15, "y": 5}, + {"matrix": [5, 15], "x": 16, "y": 5}, + {"matrix": [5, 16], "x": 17, "y": 5}, + {"matrix": [4, 17], "x": 18, "y": 4, "h": 2} + ] + }, + "LAYOUT_96_iso": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [5, 6], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [0, 15], "x": 16, "y": 0}, + {"matrix": [0, 16], "x": 17, "y": 0}, + {"matrix": [0, 17], "x": 18, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - {"matrix": [1, 4], "x": 4, "y": 1}, - {"matrix": [1, 5], "x": 5, "y": 1}, - {"matrix": [1, 6], "x": 6, "y": 1}, - {"matrix": [1, 7], "x": 7, "y": 1}, - {"matrix": [1, 8], "x": 8, "y": 1}, - {"matrix": [1, 9], "x": 9, "y": 1}, - {"matrix": [1, 10], "x": 10, "y": 1}, - {"matrix": [1, 11], "x": 11, "y": 1}, - {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 13], "x": 13, "y": 1, "w": 2}, - {"matrix": [1, 14], "x": 15, "y": 1}, - {"matrix": [1, 15], "x": 16, "y": 1}, - {"matrix": [1, 16], "x": 17, "y": 1}, - {"matrix": [1, 17], "x": 18, "y": 1}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [1, 15], "x": 16, "y": 1}, + {"matrix": [1, 16], "x": 17, "y": 1}, + {"matrix": [1, 17], "x": 18, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, - {"matrix": [2, 1], "x": 1.5, "y": 2}, - {"matrix": [2, 2], "x": 2.5, "y": 2}, - {"matrix": [2, 3], "x": 3.5, "y": 2}, - {"matrix": [2, 4], "x": 4.5, "y": 2}, - {"matrix": [2, 5], "x": 5.5, "y": 2}, - {"matrix": [2, 6], "x": 6.5, "y": 2}, - {"matrix": [2, 7], "x": 7.5, "y": 2}, - {"matrix": [2, 8], "x": 8.5, "y": 2}, - {"matrix": [2, 9], "x": 9.5, "y": 2}, - {"matrix": [2, 10], "x": 10.5, "y": 2}, - {"matrix": [2, 11], "x": 11.5, "y": 2}, - {"matrix": [2, 12], "x": 12.5, "y": 2}, - {"matrix": [2, 14], "x": 15, "y": 2}, - {"matrix": [2, 15], "x": 16, "y": 2}, - {"matrix": [2, 16], "x": 17, "y": 2}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2}, + {"matrix": [2, 2], "x": 2.5, "y": 2}, + {"matrix": [2, 3], "x": 3.5, "y": 2}, + {"matrix": [2, 4], "x": 4.5, "y": 2}, + {"matrix": [2, 5], "x": 5.5, "y": 2}, + {"matrix": [2, 6], "x": 6.5, "y": 2}, + {"matrix": [2, 7], "x": 7.5, "y": 2}, + {"matrix": [2, 8], "x": 8.5, "y": 2}, + {"matrix": [2, 9], "x": 9.5, "y": 2}, + {"matrix": [2, 10], "x": 10.5, "y": 2}, + {"matrix": [2, 11], "x": 11.5, "y": 2}, + {"matrix": [2, 12], "x": 12.5, "y": 2}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [2, 15], "x": 16, "y": 2}, + {"matrix": [2, 16], "x": 17, "y": 2}, - {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, - {"matrix": [3, 1], "x": 1.75, "y": 3}, - {"matrix": [3, 2], "x": 2.75, "y": 3}, - {"matrix": [3, 3], "x": 3.75, "y": 3}, - {"matrix": [3, 4], "x": 4.75, "y": 3}, - {"matrix": [3, 5], "x": 5.75, "y": 3}, - {"matrix": [3, 6], "x": 6.75, "y": 3}, - {"matrix": [3, 7], "x": 7.75, "y": 3}, - {"matrix": [3, 8], "x": 8.75, "y": 3}, - {"matrix": [3, 9], "x": 9.75, "y": 3}, - {"matrix": [3, 10], "x": 10.75, "y": 3}, - {"matrix": [3, 11], "x": 11.75, "y": 3}, - {"matrix": [3, 13], "x": 12.75, "y": 3}, - {"matrix": [2, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, - {"matrix": [3, 14], "x": 15, "y": 3}, - {"matrix": [3, 15], "x": 16, "y": 3}, - {"matrix": [3, 16], "x": 17, "y": 3}, - {"matrix": [2, 17], "x": 18, "y": 2, "h": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3}, + {"matrix": [3, 2], "x": 2.75, "y": 3}, + {"matrix": [3, 3], "x": 3.75, "y": 3}, + {"matrix": [3, 4], "x": 4.75, "y": 3}, + {"matrix": [3, 5], "x": 5.75, "y": 3}, + {"matrix": [3, 6], "x": 6.75, "y": 3}, + {"matrix": [3, 7], "x": 7.75, "y": 3}, + {"matrix": [3, 8], "x": 8.75, "y": 3}, + {"matrix": [3, 9], "x": 9.75, "y": 3}, + {"matrix": [3, 10], "x": 10.75, "y": 3}, + {"matrix": [3, 11], "x": 11.75, "y": 3}, + {"matrix": [3, 12], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [3, 15], "x": 16, "y": 3}, + {"matrix": [3, 16], "x": 17, "y": 3}, + {"matrix": [2, 17], "x": 18, "y": 2, "h": 2}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4}, - {"matrix": [4, 2], "x": 2.25, "y": 4}, - {"matrix": [4, 3], "x": 3.25, "y": 4}, - {"matrix": [4, 4], "x": 4.25, "y": 4}, - {"matrix": [4, 5], "x": 5.25, "y": 4}, - {"matrix": [4, 6], "x": 6.25, "y": 4}, - {"matrix": [4, 7], "x": 7.25, "y": 4}, - {"matrix": [4, 8], "x": 8.25, "y": 4}, - {"matrix": [4, 9], "x": 9.25, "y": 4}, - {"matrix": [4, 10], "x": 10.25, "y": 4}, - {"matrix": [4, 11], "x": 11.25, "y": 4}, - {"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 15, "y": 4}, - {"matrix": [4, 15], "x": 16, "y": 4}, - {"matrix": [4, 16], "x": 17, "y": 4}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4}, + {"matrix": [4, 15], "x": 16, "y": 4}, + {"matrix": [4, 16], "x": 17, "y": 4}, - {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, - {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, - {"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25}, - {"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25}, - {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, - {"matrix": [5, 8], "x": 11.5, "y": 5, "w": 1.5}, - {"matrix": [5, 12], "x": 13, "y": 5}, - {"matrix": [5, 13], "x": 14, "y": 5}, - {"matrix": [5, 14], "x": 15, "y": 5}, - {"matrix": [5, 15], "x": 16, "y": 5}, - {"matrix": [5, 16], "x": 17, "y": 5}, - {"matrix": [4, 17], "x": 18, "y": 4, "h": 2} - ] - }, - "LAYOUT_all": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - {"matrix": [0, 4], "x": 4, "y": 0}, - {"matrix": [0, 5], "x": 5, "y": 0}, - {"matrix": [0, 6], "x": 6, "y": 0}, - {"matrix": [0, 7], "x": 7, "y": 0}, - {"matrix": [0, 8], "x": 8, "y": 0}, - {"matrix": [0, 9], "x": 9, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, - {"matrix": [0, 11], "x": 11, "y": 0}, - {"matrix": [0, 12], "x": 12, "y": 0}, - {"matrix": [0, 13], "x": 13, "y": 0}, - {"matrix": [5, 6], "x": 14, "y": 0}, - {"matrix": [0, 14], "x": 15, "y": 0}, - {"matrix": [0, 15], "x": 16, "y": 0}, - {"matrix": [0, 16], "x": 17, "y": 0}, - {"matrix": [0, 17], "x": 18, "y": 0}, + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 8], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 13, "y": 5}, + {"matrix": [5, 13], "x": 14, "y": 5}, + {"matrix": [5, 14], "x": 15, "y": 5}, + {"matrix": [5, 15], "x": 16, "y": 5}, + {"matrix": [5, 16], "x": 17, "y": 5}, + {"matrix": [4, 17], "x": 18, "y": 4, "h": 2} + ] + }, + "LAYOUT_all": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [5, 6], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [0, 15], "x": 16, "y": 0}, + {"matrix": [0, 16], "x": 17, "y": 0}, + {"matrix": [0, 17], "x": 18, "y": 0}, - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - {"matrix": [1, 4], "x": 4, "y": 1}, - {"matrix": [1, 5], "x": 5, "y": 1}, - {"matrix": [1, 6], "x": 6, "y": 1}, - {"matrix": [1, 7], "x": 7, "y": 1}, - {"matrix": [1, 8], "x": 8, "y": 1}, - {"matrix": [1, 9], "x": 9, "y": 1}, - {"matrix": [1, 10], "x": 10, "y": 1}, - {"matrix": [1, 11], "x": 11, "y": 1}, - {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 13], "x": 13, "y": 1}, - {"matrix": [5, 3], "x": 14, "y": 1}, - {"matrix": [1, 14], "x": 15, "y": 1}, - {"matrix": [1, 15], "x": 16, "y": 1}, - {"matrix": [1, 16], "x": 17, "y": 1}, - {"matrix": [1, 17], "x": 18, "y": 1}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [5, 9], "x": 14, "y": 1}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [1, 15], "x": 16, "y": 1}, + {"matrix": [1, 16], "x": 17, "y": 1}, + {"matrix": [1, 17], "x": 18, "y": 1}, - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, - {"matrix": [2, 1], "x": 1.5, "y": 2}, - {"matrix": [2, 2], "x": 2.5, "y": 2}, - {"matrix": [2, 3], "x": 3.5, "y": 2}, - {"matrix": [2, 4], "x": 4.5, "y": 2}, - {"matrix": [2, 5], "x": 5.5, "y": 2}, - {"matrix": [2, 6], "x": 6.5, "y": 2}, - {"matrix": [2, 7], "x": 7.5, "y": 2}, - {"matrix": [2, 8], "x": 8.5, "y": 2}, - {"matrix": [2, 9], "x": 9.5, "y": 2}, - {"matrix": [2, 10], "x": 10.5, "y": 2}, - {"matrix": [2, 11], "x": 11.5, "y": 2}, - {"matrix": [2, 12], "x": 12.5, "y": 2}, - {"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5}, - {"matrix": [2, 14], "x": 15, "y": 2}, - {"matrix": [2, 15], "x": 16, "y": 2}, - {"matrix": [2, 16], "x": 17, "y": 2}, - {"matrix": [2, 17], "x": 18, "y": 2}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2}, + {"matrix": [2, 2], "x": 2.5, "y": 2}, + {"matrix": [2, 3], "x": 3.5, "y": 2}, + {"matrix": [2, 4], "x": 4.5, "y": 2}, + {"matrix": [2, 5], "x": 5.5, "y": 2}, + {"matrix": [2, 6], "x": 6.5, "y": 2}, + {"matrix": [2, 7], "x": 7.5, "y": 2}, + {"matrix": [2, 8], "x": 8.5, "y": 2}, + {"matrix": [2, 9], "x": 9.5, "y": 2}, + {"matrix": [2, 10], "x": 10.5, "y": 2}, + {"matrix": [2, 11], "x": 11.5, "y": 2}, + {"matrix": [2, 12], "x": 12.5, "y": 2}, + {"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [2, 15], "x": 16, "y": 2}, + {"matrix": [2, 16], "x": 17, "y": 2}, + {"matrix": [2, 17], "x": 18, "y": 2}, - {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, - {"matrix": [3, 1], "x": 1.75, "y": 3}, - {"matrix": [3, 2], "x": 2.75, "y": 3}, - {"matrix": [3, 3], "x": 3.75, "y": 3}, - {"matrix": [3, 4], "x": 4.75, "y": 3}, - {"matrix": [3, 5], "x": 5.75, "y": 3}, - {"matrix": [3, 6], "x": 6.75, "y": 3}, - {"matrix": [3, 7], "x": 7.75, "y": 3}, - {"matrix": [3, 8], "x": 8.75, "y": 3}, - {"matrix": [3, 9], "x": 9.75, "y": 3}, - {"matrix": [3, 10], "x": 10.75, "y": 3}, - {"matrix": [3, 11], "x": 11.75, "y": 3}, - {"matrix": [3, 12], "x": 12.75, "y": 3}, - {"matrix": [3, 13], "x": 13.75, "y": 3, "w": 1.25}, - {"matrix": [3, 14], "x": 15, "y": 3}, - {"matrix": [3, 15], "x": 16, "y": 3}, - {"matrix": [3, 16], "x": 17, "y": 3}, - {"matrix": [3, 17], "x": 18, "y": 3}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3}, + {"matrix": [3, 2], "x": 2.75, "y": 3}, + {"matrix": [3, 3], "x": 3.75, "y": 3}, + {"matrix": [3, 4], "x": 4.75, "y": 3}, + {"matrix": [3, 5], "x": 5.75, "y": 3}, + {"matrix": [3, 6], "x": 6.75, "y": 3}, + {"matrix": [3, 7], "x": 7.75, "y": 3}, + {"matrix": [3, 8], "x": 8.75, "y": 3}, + {"matrix": [3, 9], "x": 9.75, "y": 3}, + {"matrix": [3, 10], "x": 10.75, "y": 3}, + {"matrix": [3, 11], "x": 11.75, "y": 3}, + {"matrix": [3, 12], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 3, "w": 1.25}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [3, 15], "x": 16, "y": 3}, + {"matrix": [3, 16], "x": 17, "y": 3}, + {"matrix": [3, 17], "x": 18, "y": 3}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4}, - {"matrix": [4, 2], "x": 2.25, "y": 4}, - {"matrix": [4, 3], "x": 3.25, "y": 4}, - {"matrix": [4, 4], "x": 4.25, "y": 4}, - {"matrix": [4, 5], "x": 5.25, "y": 4}, - {"matrix": [4, 6], "x": 6.25, "y": 4}, - {"matrix": [4, 7], "x": 7.25, "y": 4}, - {"matrix": [4, 8], "x": 8.25, "y": 4}, - {"matrix": [4, 9], "x": 9.25, "y": 4}, - {"matrix": [4, 10], "x": 10.25, "y": 4}, - {"matrix": [4, 11], "x": 11.25, "y": 4}, - {"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 15, "y": 4}, - {"matrix": [4, 15], "x": 16, "y": 4}, - {"matrix": [4, 16], "x": 17, "y": 4}, - {"matrix": [4, 17], "x": 18, "y": 4}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4}, + {"matrix": [4, 15], "x": 16, "y": 4}, + {"matrix": [4, 16], "x": 17, "y": 4}, + {"matrix": [4, 17], "x": 18, "y": 4}, - {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, - {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, - {"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25}, - {"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25}, - {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, - {"matrix": [5, 8], "x": 11.5, "y": 5, "w": 1.5}, - {"matrix": [5, 12], "x": 13, "y": 5}, - {"matrix": [5, 13], "x": 14, "y": 5}, - {"matrix": [5, 14], "x": 15, "y": 5}, - {"matrix": [5, 15], "x": 16, "y": 5}, - {"matrix": [5, 16], "x": 17, "y": 5}, - {"matrix": [5, 17], "x": 18, "y": 5} - ] + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 8], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 13, "y": 5}, + {"matrix": [5, 13], "x": 14, "y": 5}, + {"matrix": [5, 14], "x": 15, "y": 5}, + {"matrix": [5, 15], "x": 16, "y": 5}, + {"matrix": [5, 16], "x": 17, "y": 5}, + {"matrix": [5, 17], "x": 18, "y": 5} + ] + } } - } } diff --git a/keyboards/xiudi/xd96/keymaps/default/keymap.c b/keyboards/xiudi/xd96/keymaps/default/keymap.c index 3d904759caa..d0cfbe23b16 100644 --- a/keyboards/xiudi/xd96/keymaps/default/keymap.c +++ b/keyboards/xiudi/xd96/keymaps/default/keymap.c @@ -4,35 +4,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_96_ansi( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──────────────├─────────├─────────├─────────├ ┤ */ - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, -/* ├─────────────────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───────────┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, -/* ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, L1_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ), + [0] = LAYOUT_96_ansi( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, L1_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT + ), + + [1] = LAYOUT_96_ansi( + _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) - [1] = LAYOUT_96_ansi( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──────────────├─────────├─────────├─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────────────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───────────┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ) }; diff --git a/keyboards/xiudi/xd96/keymaps/default_iso/keymap.c b/keyboards/xiudi/xd96/keymaps/default_iso/keymap.c index 7c26664b0ec..a485d2f9ef4 100644 --- a/keyboards/xiudi/xd96/keymaps/default_iso/keymap.c +++ b/keyboards/xiudi/xd96/keymaps/default_iso/keymap.c @@ -4,35 +4,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_96_iso( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_P7, KC_P8, KC_P9, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬ ├─────────├─────────├─────────├ ┤ */ - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, -/* ├───────────┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴─────────┴─┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, -/* ├───────────┼─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, L1_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ), + [0] = LAYOUT_96_iso( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, L1_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT + ), + + [1] = LAYOUT_96_iso( + _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) - [1] = LAYOUT_96_iso( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬ ├─────────├─────────├─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├───────────┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴─────────┴─┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├───────────┼─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ) }; diff --git a/keyboards/xiudi/xd96/keymaps/via/keymap.c b/keyboards/xiudi/xd96/keymaps/via/keymap.c index 8fdb8efe210..2d6524958dc 100644 --- a/keyboards/xiudi/xd96/keymaps/via/keymap.c +++ b/keyboards/xiudi/xd96/keymaps/via/keymap.c @@ -2,67 +2,40 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_96_ansi( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──────────────├─────────├─────────├─────────├ ┤ */ - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, -/* ├─────────────────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───────────┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, -/* ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ), + [0] = LAYOUT_96_ansi( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT + ), - [1] = LAYOUT_96_ansi( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──────────────├─────────├─────────├─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────────────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───────────┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ), + [1] = LAYOUT_96_ansi( + _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), - [2] = LAYOUT_96_ansi( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──────────────├─────────├─────────├─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────────────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───────────┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ), + [2] = LAYOUT_96_ansi( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + + [3] = LAYOUT_96_ansi( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), - [3] = LAYOUT_96_ansi( -/* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──────────────├─────────├─────────├─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├─────────────────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───────────┬─────────┼─────────┼─────────┼─────────┼─────────┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -/* ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴─────────┴──┬──────┴───────┬─────────┼─────────┼─────────┼─────────┼─────────┼ ┤ */ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -/* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴──────────────┴──────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ - ), }; diff --git a/keyboards/xiudi/xd96/matrix_diagram.md b/keyboards/xiudi/xd96/matrix_diagram.md new file mode 100644 index 00000000000..ba4181b0c78 --- /dev/null +++ b/keyboards/xiudi/xd96/matrix_diagram.md @@ -0,0 +1,42 @@ +# Matrix Diagram for KPrepublic XD96 + +``` +Spaced Function Row ────────────────────────────────────────┐ +┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ +│00 │ │01 │02 │03 │04 │ │06 │07 │08 │09 │ │0A │0B │0C │0D │ +└───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ + ┌───────┐ ┌───────┐ + 2u Function Row Backspace │0D │ │0G │ + └───────┘ └───────┘ +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │56 │0E │0F │0G │0H │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ ┌───────┐ ┌───┐ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │59 │1E │1F │1G │1H │ │1D │ 2u Backspace │ │ +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┼───┼───┼───┤ └─┬─────┤ ┌─────┐ │1H │ ┌───┐ +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │2E │2F │2G │2H │ │2D │ │ │ │ │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬────┼───┼───┼───┼───┤ ┌──┴─────┤ ┌──┴┐3D │ ├───┤ │2H │ 2u Numpad Plus +│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3E │3F │3G │3H │ │3D │ │3C │ │ │ │ │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┼───┼───┼───┤ └────────┘ └───┴────┘ ┌───────┐ │3H │ ├───┤ +│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4C │4D │4E │4F │4G │4H │ ANSI ISO │4E │ │ │ │ │ +├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┼───┼───┼───┤ Enter Enter └───────┘ └───┘ │4H │ 2u Numpad Enter +│50 │51 │52 │55 │5A │58 │5C │5D │5E │5F │5G │5H │ 2u Zero │ │ +└────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┴───┴───┴───┘ on Shift Row └───┘ +┌────────┐ ┌───┬──────────┬───────┐ +│40 │ 2.25u LShift 1u/2.75u RShift │4B │4D │5E │ 2u Numpad Zero +└────────┘ └───┴──────────┴───────┘ + ┌────┬────┬────┐ + 3x 1.25u RShift │4B │4C │4D │ + └────┴────┴────┘ +┌────┬────┬────┬────────────────────────┬────┬────┬────┬────┐ +│50 │51 │52 │55 │5A │58 │5C │5D │ ANSI +└────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ +┌─────┬───┬─────┬───────────────────────┬─────┬─────┬───┬───┐ +│50 │51 │52 │55 │5A │58 │5C │5D │ Tsangan +└─────┴───┴─────┴───────────────────────┴─────┴─────┴───┴───┘ +┌─────┬─────┬───────────────────────────┬─────┬─────┬───┬───┐ +│50 │51 │55 │5A │58 │5C │5D │ WKL +└─────┴─────┴───────────────────────────┴─────┴─────┴───┴───┘ + ┌───┬─────┬───────────────────────────┬─────┬───┐ + │51 │52 │55 │58 │5C │ HHKB + └───┴─────┴───────────────────────────┴─────┴───┘ +``` diff --git a/keyboards/xiudi/xd96/readme.md b/keyboards/xiudi/xd96/readme.md index 5f4038ef3fd..47a91c834d1 100644 --- a/keyboards/xiudi/xd96/readme.md +++ b/keyboards/xiudi/xd96/readme.md @@ -9,7 +9,7 @@ Keyboard with 96 Keys & RGB LED Underglow * Keyboard Maintainer: QMK Community * Hardware Supported: XD96 -* Hardware Availability: [KPrepublic](https://kprepublic.com/products/xd96-pcb-90-custom-mechanical-keyboard-supports-tkg-tools-underglow-rgb-programmed); [AliExpress](https://aliexpress.com/item/cospad-Custom-Mechanical-Keyboard-Kit-up-tp-24-keys-Supports-TKG-TOOLS-Underglow-RGB-PCB-20/32818383873.html) +* Hardware Availability: [KPrepublic](https://kprepublic.com/products/xd96-pcb-90-custom-mechanical-keyboard-supports-tkg-tools-underglow-rgb-programmed); [AliExpress](https://www.aliexpress.com/i/2251832661406145.html) Make example for this keyboard (after setting up your build environment): From fec2323089ab38262195eda4e68db7d0d6c9e7c7 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:26:33 -0800 Subject: [PATCH 053/107] Orthograph: correct layout data (#23213) * correct layout data Correct the key sizes and positions in the layout data. [chore] * remove layout offset Remove the dead space from the layout data. [chore] --- keyboards/orthograph/info.json | 176 +++++++++++++++++---------------- 1 file changed, 93 insertions(+), 83 deletions(-) diff --git a/keyboards/orthograph/info.json b/keyboards/orthograph/info.json index 19d3f6b2fbb..ad37b0c723c 100644 --- a/keyboards/orthograph/info.json +++ b/keyboards/orthograph/info.json @@ -140,90 +140,100 @@ "layouts": { "LAYOUT": { "layout": [ - {"matrix": [0, 0], "label":"Esc", "x":0.75, "y":0, "w":1.5}, - {"matrix": [0, 1], "label":"F1", "x":2.25, "y":0}, - {"matrix": [0, 2], "label":"F2", "x":3.25, "y":0}, - {"matrix": [0, 3], "label":"F3", "x":4.25, "y":0}, - {"matrix": [0, 4], "label":"F4", "x":5.25, "y":0}, - {"matrix": [0, 5], "label":"F5", "x":6.25, "y":0}, - {"matrix": [6, 0], "label":"F6", "x":12.5, "y":0}, - {"matrix": [6, 1], "label":"F7", "x":13.5, "y":0}, - {"matrix": [6, 2], "label":"F8", "x":14.5, "y":0}, - {"matrix": [6, 3], "label":"F9", "x":15.5, "y":0}, - {"matrix": [6, 4], "label":"F10", "x":16.5, "y":0}, - {"matrix": [6, 5], "label":"F11", "x":17.5, "y":0}, - {"matrix": [6, 6], "label":"F12", "x":18.5, "y":0}, - {"matrix": [1, 0], "label":"~", "x":0.75, "y":1, "w":1.5}, - {"matrix": [1, 1], "label":"1", "x":2.25, "y":1}, - {"matrix": [1, 2], "label":"2", "x":3.25, "y":1}, - {"matrix": [1, 3], "label":"3", "x":4.25, "y":1}, - {"matrix": [1, 4], "label":"4", "x":5.25, "y":1}, - {"matrix": [1, 5], "label":"5", "x":6.25, "y":1}, - {"matrix": [7, 0], "label":"^", "x":12.5, "y":1}, - {"matrix": [7, 1], "label":"&", "x":13.5, "y":1}, - {"matrix": [7, 2], "label":"*", "x":14.5, "y":1}, - {"matrix": [7, 3], "label":"(", "x":15.5, "y":1}, - {"matrix": [7, 4], "label":")", "x":16.5, "y":1}, - {"matrix": [7, 5], "label":"_", "x":17.5, "y":1}, - {"matrix": [7, 6], "label":"+", "x":18.5, "y":1}, - {"matrix": [7, 7], "label":"Backspace", "x":19.5, "y":1, "w":1.5}, - {"matrix": [2, 0], "label":"Tab", "x":0.75, "y":2, "w":1.5}, - {"matrix": [2, 1], "label":"Q", "x":2.25, "y":2}, - {"matrix": [2, 2], "label":"W", "x":3.25, "y":2}, - {"matrix": [2, 3], "label":"E", "x":4.25, "y":2}, - {"matrix": [2, 4], "label":"R", "x":5.25, "y":2}, - {"matrix": [2, 5], "label":"T", "x":6.25, "y":2}, - {"matrix": [8, 0], "label":"Y", "x":12.5, "y":2}, - {"matrix": [8, 1], "label":"U", "x":13.5, "y":2}, - {"matrix": [8, 2], "label":"I", "x":14.5, "y":2}, - {"matrix": [8, 3], "label":"O", "x":15.5, "y":2}, - {"matrix": [8, 4], "label":"P", "x":16.5, "y":2}, - {"matrix": [8, 5], "label":"{", "x":17.5, "y":2}, - {"matrix": [8, 6], "label":"}", "x":18.5, "y":2}, - {"matrix": [8, 7], "label":"|", "x":19.5, "y":2, "w":1.5}, - {"matrix": [3, 0], "label":"Caps", "x":0.75, "y":3, "w":1.5}, - {"matrix": [3, 1], "label":"A", "x":2.25, "y":3}, - {"matrix": [3, 2], "label":"S", "x":3.25, "y":3}, - {"matrix": [3, 3], "label":"D", "x":4.25, "y":3}, - {"matrix": [3, 4], "label":"F", "x":5.25, "y":3}, - {"matrix": [3, 5], "label":"G", "x":6.25, "y":3}, - {"matrix": [9, 0], "label":"H", "x":12.5, "y":3}, - {"matrix": [9, 1], "label":"J", "x":13.5, "y":3}, - {"matrix": [9, 2], "label":"K", "x":14.5, "y":3}, - {"matrix": [9, 3], "label":"L", "x":15.5, "y":3}, - {"matrix": [9, 4], "label":":", "x":16.5, "y":3}, - {"matrix": [9, 5], "label":"\"", "x":17.5, "y":3}, - {"matrix": [9, 6], "label":"Enter", "x":18.5, "y":3, "w":2.25}, - {"matrix": [4, 0], "label":"Shift", "x":0.75, "y":4, "w":1.5}, - {"matrix": [4, 1], "label":"Z", "x":2.25, "y":4}, - {"matrix": [4, 2], "label":"X", "x":3.25, "y":4}, - {"matrix": [4, 3], "label":"C", "x":4.25, "y":4}, - {"matrix": [4, 4], "label":"V", "x":5.25, "y":4}, - {"matrix": [4, 5], "label":"B", "x":6.25, "y":4}, - {"matrix": [10, 0], "label":"N", "x":12.5, "y":4}, - {"matrix": [10, 1], "label":"M", "x":13.5, "y":4}, - {"matrix": [10, 2], "label":"<", "x":14.5, "y":4}, - {"matrix": [10, 3], "label":">", "x":15.5, "y":4}, - {"matrix": [10, 4], "label":"?", "x":16.5, "y":4}, - {"matrix": [10, 5], "label":"Shift", "x":17.5, "y":4, "w":1.5}, - {"matrix": [10, 6], "label":"\u2191", "x":19, "y":4}, - {"matrix": [10, 7], "label":"mx", "x":20, "y":4}, - {"matrix": [5, 0], "label":"Ctrl", "x":1, "y":5, "w":1.25}, - {"matrix": [5, 1], "label":"Win", "x":2.25, "y":5, "w":1.25}, - {"matrix": [5, 2], "label":"Alt", "x":3.5, "y":5, "w":1.25}, - {"matrix": [5, 3], "label":"Menu", "x":4.75, "y":5, "w":1.25}, - {"matrix": [5, 4], "label":"space", "x":0, "y":4.75, "h":2}, - {"matrix": [5, 5], "label":"fn", "x":1, "y":4.75, "h":2}, - {"matrix": [11, 0], "label":"space2", "x":-2, "y":4.5, "h":2}, - {"matrix": [11, 1], "label":"fn", "x":-1.0, "y":4.5, "h":2}, - {"matrix": [11, 2], "label":"Alt", "x":14.25, "y":5, "w":1.25}, - {"matrix": [11, 3], "label":"Win", "x":15.5, "y":5, "w":1.25}, - {"matrix": [11, 4], "label":"Ctrl", "x":16.75, "y":5, "w":1.25}, - {"matrix": [11, 5], "label":"\u2190", "x":18, "y":5}, - {"matrix": [11, 6], "label":"\u2193", "x":19, "y":5}, - {"matrix": [11, 7], "label":"\u2192", "x":20, "y":5} + {"matrix": [0, 0], "label": "Esc", "x": 0, "y": 0, "w": 1.5}, + {"matrix": [0, 1], "label": "F1", "x": 1.5, "y": 0}, + {"matrix": [0, 2], "label": "F2", "x": 2.5, "y": 0}, + {"matrix": [0, 3], "label": "F3", "x": 3.5, "y": 0}, + {"matrix": [0, 4], "label": "F4", "x": 4.5, "y": 0}, + {"matrix": [0, 5], "label": "F5", "x": 5.5, "y": 0}, + {"matrix": [6, 0], "label": "F6", "x": 11.75, "y": 0}, + {"matrix": [6, 1], "label": "F7", "x": 12.75, "y": 0}, + {"matrix": [6, 2], "label": "F8", "x": 13.75, "y": 0}, + {"matrix": [6, 3], "label": "F9", "x": 14.75, "y": 0}, + {"matrix": [6, 4], "label": "F10", "x": 15.75, "y": 0}, + {"matrix": [6, 5], "label": "F11", "x": 16.75, "y": 0}, + {"matrix": [6, 6], "label": "F12", "x": 17.75, "y": 0}, + + {"matrix": [1, 0], "label": "~", "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "label": "1", "x": 1.5, "y": 1}, + {"matrix": [1, 2], "label": "2", "x": 2.5, "y": 1}, + {"matrix": [1, 3], "label": "3", "x": 3.5, "y": 1}, + {"matrix": [1, 4], "label": "4", "x": 4.5, "y": 1}, + {"matrix": [1, 5], "label": "5", "x": 5.5, "y": 1}, + + {"matrix": [7, 0], "label": "^", "x": 11.75, "y": 1}, + {"matrix": [7, 1], "label": "&", "x": 12.75, "y": 1}, + {"matrix": [7, 2], "label": "*", "x": 13.75, "y": 1}, + {"matrix": [7, 3], "label": "(", "x": 14.75, "y": 1}, + {"matrix": [7, 4], "label": ")", "x": 15.75, "y": 1}, + {"matrix": [7, 5], "label": "_", "x": 16.75, "y": 1}, + {"matrix": [7, 6], "label": "+", "x": 17.75, "y": 1}, + {"matrix": [7, 7], "label": "Backspace", "x": 18.75, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "label": "Tab", "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 1], "label": "Q", "x": 1.5, "y": 2}, + {"matrix": [2, 2], "label": "W", "x": 2.5, "y": 2}, + {"matrix": [2, 3], "label": "E", "x": 3.5, "y": 2}, + {"matrix": [2, 4], "label": "R", "x": 4.5, "y": 2}, + {"matrix": [2, 5], "label": "T", "x": 5.5, "y": 2}, + + {"matrix": [8, 0], "label": "Y", "x": 11.75, "y": 2}, + {"matrix": [8, 1], "label": "U", "x": 12.75, "y": 2}, + {"matrix": [8, 2], "label": "I", "x": 13.75, "y": 2}, + {"matrix": [8, 3], "label": "O", "x": 14.75, "y": 2}, + {"matrix": [8, 4], "label": "P", "x": 15.75, "y": 2}, + {"matrix": [8, 5], "label": "{", "x": 16.75, "y": 2}, + {"matrix": [8, 6], "label": "}", "x": 17.75, "y": 2}, + {"matrix": [8, 7], "label": "|", "x": 18.75, "y": 2, "w": 1.5}, + + {"matrix": [3, 0], "label": "Caps", "x": 0, "y": 3, "w": 1.5}, + {"matrix": [3, 1], "label": "A", "x": 1.5, "y": 3}, + {"matrix": [3, 2], "label": "S", "x": 2.5, "y": 3}, + {"matrix": [3, 3], "label": "D", "x": 3.5, "y": 3}, + {"matrix": [3, 4], "label": "F", "x": 4.5, "y": 3}, + {"matrix": [3, 5], "label": "G", "x": 5.5, "y": 3}, + + {"matrix": [9, 0], "label": "H", "x": 11.75, "y": 3}, + {"matrix": [9, 1], "label": "J", "x": 12.75, "y": 3}, + {"matrix": [9, 2], "label": "K", "x": 13.75, "y": 3}, + {"matrix": [9, 3], "label": "L", "x": 14.75, "y": 3}, + {"matrix": [9, 4], "label": ":", "x": 15.75, "y": 3}, + {"matrix": [9, 5], "label": "\"", "x": 16.75, "y": 3}, + {"matrix": [9, 6], "label": "Enter", "x": 17.75, "y": 3, "w": 2.25}, + + {"matrix": [4, 0], "label": "Shift", "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "label": "Z", "x": 1.5, "y": 4}, + {"matrix": [4, 2], "label": "X", "x": 2.5, "y": 4}, + {"matrix": [4, 3], "label": "C", "x": 3.5, "y": 4}, + {"matrix": [4, 4], "label": "V", "x": 4.5, "y": 4}, + {"matrix": [4, 5], "label": "B", "x": 5.5, "y": 4}, + + {"matrix": [10, 0], "label": "N", "x": 11.75, "y": 4}, + {"matrix": [10, 1], "label": "M", "x": 12.75, "y": 4}, + {"matrix": [10, 2], "label": "<", "x": 13.75, "y": 4}, + {"matrix": [10, 3], "label": ">", "x": 14.75, "y": 4}, + {"matrix": [10, 4], "label": "?", "x": 15.75, "y": 4}, + {"matrix": [10, 5], "label": "Shift", "x": 16.75, "y": 4, "w": 1.5}, + {"matrix": [10, 6], "label": "\u2191", "x": 18.25, "y": 4}, + {"matrix": [10, 7], "label": "mx", "x": 19.25, "y": 4}, + + {"matrix": [5, 0], "label": "Ctrl", "x": 0.25, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "label": "Win", "x": 1.5, "y": 5, "w": 1.25}, + {"matrix": [5, 2], "label": "Alt", "x": 2.75, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "label": "Menu", "x": 4, "y": 5, "w": 1.25}, + {"matrix": [5, 4], "label": "space", "x": 5.5, "y": 5.25, "h": 2}, + {"matrix": [5, 5], "label": "fn", "x": 6.5, "y": 5.25, "h": 2}, + + {"matrix": [11, 0], "label": "space2", "x": 11.25, "y": 5.25, "h": 2}, + {"matrix": [11, 1], "label": "fn", "x": 12.25, "y": 5.25, "h": 2}, + {"matrix": [11, 2], "label": "Alt", "x": 13.5, "y": 5, "w": 1.25}, + {"matrix": [11, 3], "label": "Win", "x": 14.75, "y": 5, "w": 1.25}, + {"matrix": [11, 4], "label": "Ctrl", "x": 16, "y": 5, "w": 1.25}, + {"matrix": [11, 5], "label": "\u2190", "x": 17.25, "y": 5}, + {"matrix": [11, 6], "label": "\u2193", "x": 18.25, "y": 5}, + {"matrix": [11, 7], "label": "\u2192", "x": 19.25, "y": 5} ] } } -} \ No newline at end of file +} From 58c38175e64452e309d9e74230e629b16fe661ba Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 9 Mar 2024 03:05:07 +0000 Subject: [PATCH 054/107] Remove redundant disabling of features (#22926) --- .../1upkeyboards/pi40/grid_v1_1/info.json | 5 +---- keyboards/1upkeyboards/pi40/mit_v1_0/info.json | 5 +---- keyboards/1upkeyboards/pi40/mit_v1_1/info.json | 5 +---- keyboards/1upkeyboards/pi50/info.json | 3 --- keyboards/1upkeyboards/pi60/info.json | 5 +---- keyboards/1upkeyboards/pi60_hse/info.json | 5 +---- keyboards/1upkeyboards/pi60_rgb/info.json | 5 +---- .../1upkeyboards/sweet16v2/kb2040/info.json | 5 +---- .../1upkeyboards/sweet16v2/pro_micro/info.json | 5 +---- keyboards/4pplet/steezy60/rev_a/info.json | 2 -- keyboards/4pplet/steezy60/rev_b/info.json | 2 -- .../4pplet/unextended_std/rev_a/info.json | 4 +--- keyboards/acheron/themis/87h/info.json | 3 --- keyboards/acheron/themis/87htsc/info.json | 3 --- keyboards/acheron/themis/88htsc/info.json | 3 --- keyboards/an_achronism/tetromino/info.json | 1 - keyboards/argo_works/ishi/80/mk0_avr/info.json | 3 +-- keyboards/ask55/info.json | 7 +------ keyboards/chickenman/ciel65/info.json | 5 +---- keyboards/clueboard/17/info.json | 4 +--- keyboards/clueboard/2x1800/2018/info.json | 4 +--- keyboards/clueboard/2x1800/2019/info.json | 5 +---- keyboards/clueboard/60/info.json | 1 - keyboards/clueboard/66/rev1/info.json | 8 +------- keyboards/clueboard/66/rev2/info.json | 7 +------ keyboards/clueboard/66/rev3/info.json | 6 +----- keyboards/clueboard/66/rev4/info.json | 7 +------ .../clueboard/66_hotswap/prototype/info.json | 5 +---- keyboards/clueboard/card/info.json | 5 +---- keyboards/dark/magnum_ergo_1/info.json | 5 +---- keyboards/doio/kb38/info.json | 3 +-- keyboards/fancytech/fancyalice66/info.json | 1 - keyboards/frobiac/blackbowl/info.json | 6 +----- keyboards/frobiac/blackflat/info.json | 6 +----- keyboards/frobiac/hypernano/info.json | 6 +----- keyboards/frobiac/redtilt/info.json | 6 +----- keyboards/giabalanai/info.json | 4 +--- keyboards/handwired/10k/info.json | 5 +---- keyboards/handwired/3dortho14u/rev1/info.json | 18 ++++++------------ keyboards/handwired/3dortho14u/rev2/info.json | 18 ++++++------------ keyboards/handwired/baredev/rev1/info.json | 9 +-------- keyboards/handwired/dactyl_kinesis/info.json | 5 +---- .../handwired/dactyl_lightcycle/info.json | 3 --- .../handwired/dactyl_manuform/5x6_68/info.json | 5 +---- .../handwired/dactyl_manuform/6x7/info.json | 5 +---- keyboards/handwired/onekey/info.json | 5 +---- keyboards/handwired/polly40/info.json | 6 +----- .../handwired/scottokeebs/scotto61/info.json | 3 +-- keyboards/handwired/wakizashi40/info.json | 8 +------- keyboards/idobao/id42/info.json | 4 +--- keyboards/idobao/id61/info.json | 4 +--- keyboards/idobao/id63/info.json | 4 +--- keyboards/idobao/id67/info.json | 4 +--- keyboards/idobao/id80/v3/ansi/info.json | 4 +--- keyboards/idobao/id87/v2/info.json | 4 +--- keyboards/idobao/montex/v2/info.json | 4 +--- keyboards/idyllic/tinny50_rgb/info.json | 3 --- keyboards/jels/boaty/info.json | 3 +-- keyboards/kbdfans/odinmini/info.json | 2 -- keyboards/kbdfans/tiger80/info.json | 2 -- keyboards/keebio/convolution/info.json | 4 +--- keyboards/keebio/convolution/rev1/info.json | 2 -- keyboards/keebio/sinc/info.json | 4 +--- keyboards/keebio/sinc/rev3/info.json | 2 -- keyboards/keychron/q4/info.json | 5 +---- keyboards/keyspensory/kp60/info.json | 4 +--- keyboards/kinesis/alvicstep/info.json | 4 +--- keyboards/kinesis/kint2pp/info.json | 4 +--- keyboards/kinesis/kint36/info.json | 4 +--- keyboards/kinesis/kint41/info.json | 4 +--- keyboards/kinesis/kintlc/info.json | 4 +--- keyboards/kinesis/kintwin/info.json | 4 +--- keyboards/kinesis/nguyenvietyen/info.json | 4 +--- keyboards/kinesis/stapelberg/info.json | 4 +--- keyboards/kprepublic/bm16a/v1/info.json | 3 +-- keyboards/kprepublic/bm40hsrgb/rev2/info.json | 4 +--- keyboards/kuro/kuro65/info.json | 4 ---- keyboards/laneware/raindrop/info.json | 6 +----- keyboards/linworks/fave84h/info.json | 3 +-- keyboards/maxr1998/phoebe/info.json | 1 - keyboards/mechlovin/mechlovin9/rev3/info.json | 3 --- keyboards/mechlovin/zed65/910/info.json | 1 - keyboards/miiiw/blackio83/info.json | 4 +--- keyboards/mk65/info.json | 5 +---- keyboards/mlego/m65/rev1/info.json | 2 -- keyboards/mlego/m65/rev2/info.json | 2 -- keyboards/mlego/m65/rev3/info.json | 2 -- keyboards/mlego/m65/rev4/info.json | 2 -- keyboards/montsinger/palmetto/info.json | 3 +-- keyboards/navi60/info.json | 6 +----- keyboards/novelkeys/nk_plus/info.json | 4 +--- .../sawnsprojects/eclipse/eclipse60/info.json | 5 +---- .../sawnsprojects/eclipse/tinyneko/info.json | 5 +---- keyboards/sharkoon/skiller_sgk50_s3/info.json | 3 +-- keyboards/smithrune/magnus/m75h/info.json | 3 --- keyboards/smithrune/magnus/m75s/info.json | 4 +--- keyboards/splitography/info.json | 4 +--- keyboards/stront/info.json | 1 - keyboards/synthlabs/060/info.json | 1 - keyboards/tzarc/djinn/info.json | 1 - keyboards/wolf/m60_b/info.json | 3 +-- keyboards/ymdk/melody96/hotswap/info.json | 1 - keyboards/yoichiro/lunakey_pico/info.json | 3 +-- 103 files changed, 85 insertions(+), 350 deletions(-) diff --git a/keyboards/1upkeyboards/pi40/grid_v1_1/info.json b/keyboards/1upkeyboards/pi40/grid_v1_1/info.json index c7028f4a4e3..3512838186a 100644 --- a/keyboards/1upkeyboards/pi40/grid_v1_1/info.json +++ b/keyboards/1upkeyboards/pi40/grid_v1_1/info.json @@ -18,16 +18,13 @@ "driver": "vendor" }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "matrix_pins": { "rows": ["GP21", "GP20", "GP19", "GP18"], diff --git a/keyboards/1upkeyboards/pi40/mit_v1_0/info.json b/keyboards/1upkeyboards/pi40/mit_v1_0/info.json index 6b89f2c2ab4..230ce3d8574 100644 --- a/keyboards/1upkeyboards/pi40/mit_v1_0/info.json +++ b/keyboards/1upkeyboards/pi40/mit_v1_0/info.json @@ -18,16 +18,13 @@ "driver": "vendor" }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "matrix_pins": { "rows": ["GP21", "GP20", "GP19", "GP18"], diff --git a/keyboards/1upkeyboards/pi40/mit_v1_1/info.json b/keyboards/1upkeyboards/pi40/mit_v1_1/info.json index f19ef235d51..47625ecc4dd 100644 --- a/keyboards/1upkeyboards/pi40/mit_v1_1/info.json +++ b/keyboards/1upkeyboards/pi40/mit_v1_1/info.json @@ -18,16 +18,13 @@ "driver": "vendor" }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "matrix_pins": { "rows": ["GP21", "GP20", "GP19", "GP18"], diff --git a/keyboards/1upkeyboards/pi50/info.json b/keyboards/1upkeyboards/pi50/info.json index 2a4fdef3844..2ee1aed4ccf 100644 --- a/keyboards/1upkeyboards/pi50/info.json +++ b/keyboards/1upkeyboards/pi50/info.json @@ -15,8 +15,6 @@ "layer_count": 10 }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, @@ -24,7 +22,6 @@ "mousekey": true, "nkro": false, "rgb_matrix": true, - "rgblight": false, "oled": true }, "matrix_pins": { diff --git a/keyboards/1upkeyboards/pi60/info.json b/keyboards/1upkeyboards/pi60/info.json index 06abb1a4a64..71619db3605 100644 --- a/keyboards/1upkeyboards/pi60/info.json +++ b/keyboards/1upkeyboards/pi60/info.json @@ -15,8 +15,6 @@ "layer_count": 10 }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, @@ -24,8 +22,7 @@ "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "ws2812": { "pin": "GP17", diff --git a/keyboards/1upkeyboards/pi60_hse/info.json b/keyboards/1upkeyboards/pi60_hse/info.json index 6b1fcdda411..204e42f48c7 100644 --- a/keyboards/1upkeyboards/pi60_hse/info.json +++ b/keyboards/1upkeyboards/pi60_hse/info.json @@ -15,16 +15,13 @@ "layer_count": 10 }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "ws2812": { "pin": "GP15", diff --git a/keyboards/1upkeyboards/pi60_rgb/info.json b/keyboards/1upkeyboards/pi60_rgb/info.json index 044e0e3b4b7..b6580e616a4 100644 --- a/keyboards/1upkeyboards/pi60_rgb/info.json +++ b/keyboards/1upkeyboards/pi60_rgb/info.json @@ -15,16 +15,13 @@ "layer_count": 10 }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "ws2812": { "pin": "GP19", diff --git a/keyboards/1upkeyboards/sweet16v2/kb2040/info.json b/keyboards/1upkeyboards/sweet16v2/kb2040/info.json index 40f96fb736b..0d09632a995 100644 --- a/keyboards/1upkeyboards/sweet16v2/kb2040/info.json +++ b/keyboards/1upkeyboards/sweet16v2/kb2040/info.json @@ -12,8 +12,6 @@ "vid": "0x6F75" }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, @@ -21,8 +19,7 @@ "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "ws2812": { "pin": "GP6", diff --git a/keyboards/1upkeyboards/sweet16v2/pro_micro/info.json b/keyboards/1upkeyboards/sweet16v2/pro_micro/info.json index 31805fc9678..d23bc6633d2 100644 --- a/keyboards/1upkeyboards/sweet16v2/pro_micro/info.json +++ b/keyboards/1upkeyboards/sweet16v2/pro_micro/info.json @@ -11,8 +11,6 @@ "vid": "0x6F75" }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, @@ -20,8 +18,7 @@ "extrakey": true, "mousekey": true, "nkro": false, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "ws2812": { "pin": "D7" diff --git a/keyboards/4pplet/steezy60/rev_a/info.json b/keyboards/4pplet/steezy60/rev_a/info.json index 0e00abd2155..d64779bec3f 100644 --- a/keyboards/4pplet/steezy60/rev_a/info.json +++ b/keyboards/4pplet/steezy60/rev_a/info.json @@ -30,8 +30,6 @@ "rows": ["C2", "D0", "B0", "C7", "C5"] }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, diff --git a/keyboards/4pplet/steezy60/rev_b/info.json b/keyboards/4pplet/steezy60/rev_b/info.json index 77302d5a1ab..e087ff8d1bb 100644 --- a/keyboards/4pplet/steezy60/rev_b/info.json +++ b/keyboards/4pplet/steezy60/rev_b/info.json @@ -26,8 +26,6 @@ "rows": ["B8", "A15", "C13", "A2", "A6"] }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, diff --git a/keyboards/4pplet/unextended_std/rev_a/info.json b/keyboards/4pplet/unextended_std/rev_a/info.json index 4362ab761da..5aba94b50ab 100644 --- a/keyboards/4pplet/unextended_std/rev_a/info.json +++ b/keyboards/4pplet/unextended_std/rev_a/info.json @@ -22,9 +22,7 @@ "console": false, "command": false, "nkro": true, - "backlight": false, - "rgblight": true, - "audio": false + "rgblight": true }, "ws2812": { "pin": "A8" diff --git a/keyboards/acheron/themis/87h/info.json b/keyboards/acheron/themis/87h/info.json index a7bfb899978..ce2037bfade 100644 --- a/keyboards/acheron/themis/87h/info.json +++ b/keyboards/acheron/themis/87h/info.json @@ -16,10 +16,7 @@ "mousekey": true, "extrakey": true, "console": false, - "backlight": false, "rgblight": true, - "audio": false, - "encoder": false, "nkro": true }, "diode_direction": "COL2ROW", diff --git a/keyboards/acheron/themis/87htsc/info.json b/keyboards/acheron/themis/87htsc/info.json index 5f388147892..eaf8a323abb 100644 --- a/keyboards/acheron/themis/87htsc/info.json +++ b/keyboards/acheron/themis/87htsc/info.json @@ -16,10 +16,7 @@ "mousekey": true, "extrakey": true, "console": false, - "backlight": false, "rgblight": true, - "audio": false, - "encoder": false, "nkro": true }, "diode_direction": "COL2ROW", diff --git a/keyboards/acheron/themis/88htsc/info.json b/keyboards/acheron/themis/88htsc/info.json index 20b3d38828a..f8e65afbade 100644 --- a/keyboards/acheron/themis/88htsc/info.json +++ b/keyboards/acheron/themis/88htsc/info.json @@ -16,10 +16,7 @@ "mousekey": true, "extrakey": true, "console": false, - "backlight": false, "rgblight": true, - "audio": false, - "encoder": false, "nkro": true }, "diode_direction": "COL2ROW", diff --git a/keyboards/an_achronism/tetromino/info.json b/keyboards/an_achronism/tetromino/info.json index 8087c6489c4..98cb9faf3e6 100644 --- a/keyboards/an_achronism/tetromino/info.json +++ b/keyboards/an_achronism/tetromino/info.json @@ -17,7 +17,6 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgblight": false, "rgb_matrix": true }, "ws2812": { diff --git a/keyboards/argo_works/ishi/80/mk0_avr/info.json b/keyboards/argo_works/ishi/80/mk0_avr/info.json index 6bee024fed1..47414ee0c4e 100644 --- a/keyboards/argo_works/ishi/80/mk0_avr/info.json +++ b/keyboards/argo_works/ishi/80/mk0_avr/info.json @@ -19,8 +19,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true, - "encoder": false + "nkro": true }, "matrix_pins": { "cols": ["D3", "F4", "F5", "F6", "F7", "D7", "C6", "D4", "D2"], diff --git a/keyboards/ask55/info.json b/keyboards/ask55/info.json index 61013e7f23d..d47d79612d3 100644 --- a/keyboards/ask55/info.json +++ b/keyboards/ask55/info.json @@ -5,18 +5,13 @@ "development_board": "promicro", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bluetooth": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": true, - "rgblight": true, - "sleep_led": false, - "unicode": false + "rgblight": true }, "matrix_pins": { "cols": ["E6", "D0", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], diff --git a/keyboards/chickenman/ciel65/info.json b/keyboards/chickenman/ciel65/info.json index 76578121795..8c316759a8c 100644 --- a/keyboards/chickenman/ciel65/info.json +++ b/keyboards/chickenman/ciel65/info.json @@ -22,10 +22,7 @@ "console": false, "command": false, "nkro": true, - "backlight": false, - "rgblight": true, - "audio": false, - "key_lock": false + "rgblight": true }, "rgblight": { "led_count": 14, diff --git a/keyboards/clueboard/17/info.json b/keyboards/clueboard/17/info.json index ef03bd11b16..d6aec9cfcc8 100644 --- a/keyboards/clueboard/17/info.json +++ b/keyboards/clueboard/17/info.json @@ -11,11 +11,9 @@ "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, "nkro": true, - "rgblight": true, - "unicode": false + "rgblight": true }, "matrix_pins": { "cols": ["F4", "E6", "B1", "D2"], diff --git a/keyboards/clueboard/2x1800/2018/info.json b/keyboards/clueboard/2x1800/2018/info.json index 49e0ae17a84..fe0b5210343 100644 --- a/keyboards/clueboard/2x1800/2018/info.json +++ b/keyboards/clueboard/2x1800/2018/info.json @@ -11,11 +11,9 @@ "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, "nkro": true, - "rgblight": true, - "unicode": false + "rgblight": true }, "indicators": { "num_lock": "B4", diff --git a/keyboards/clueboard/2x1800/2019/info.json b/keyboards/clueboard/2x1800/2019/info.json index fc613d61002..6f33a11ca75 100644 --- a/keyboards/clueboard/2x1800/2019/info.json +++ b/keyboards/clueboard/2x1800/2019/info.json @@ -12,11 +12,8 @@ "console": true, "encoder": true, "extrakey": true, - "midi": false, "mousekey": true, - "nkro": true, - "rgblight": false, - "unicode": false + "nkro": true }, "matrix_pins": { "cols": ["D2", "D3", "D4", "D5", "D7", "E0", "E1", "B0", "E6", "B3", "B2"], diff --git a/keyboards/clueboard/60/info.json b/keyboards/clueboard/60/info.json index 322f8426802..d0b4d34999e 100644 --- a/keyboards/clueboard/60/info.json +++ b/keyboards/clueboard/60/info.json @@ -9,7 +9,6 @@ "diode_direction": "COL2ROW", "features": { "audio": true, - "backlight": false, "bootmagic": false, "command": false, "console": true, diff --git a/keyboards/clueboard/66/rev1/info.json b/keyboards/clueboard/66/rev1/info.json index fc186d9894c..ca1e3a6553b 100644 --- a/keyboards/clueboard/66/rev1/info.json +++ b/keyboards/clueboard/66/rev1/info.json @@ -6,18 +6,12 @@ "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bluetooth": false, "bootmagic": false, "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, - "nkro": true, - "rgblight": false, - "unicode": false + "nkro": true }, "indicators": { "caps_lock": "F0" diff --git a/keyboards/clueboard/66/rev2/info.json b/keyboards/clueboard/66/rev2/info.json index e4a8c5a03b2..fea4f8d39bc 100644 --- a/keyboards/clueboard/66/rev2/info.json +++ b/keyboards/clueboard/66/rev2/info.json @@ -6,18 +6,13 @@ "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": true, - "bluetooth": false, "bootmagic": false, "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, "nkro": true, - "rgblight": true, - "unicode": false + "rgblight": true }, "indicators": { "caps_lock": "B4" diff --git a/keyboards/clueboard/66/rev3/info.json b/keyboards/clueboard/66/rev3/info.json index f0881e5be65..0aa3e7096fc 100644 --- a/keyboards/clueboard/66/rev3/info.json +++ b/keyboards/clueboard/66/rev3/info.json @@ -6,18 +6,14 @@ "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", "features": { - "audio": false, "backlight": true, - "bluetooth": false, "bootmagic": false, "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, "nkro": true, - "rgblight": true, - "unicode": false + "rgblight": true }, "indicators": { "caps_lock": "B4" diff --git a/keyboards/clueboard/66/rev4/info.json b/keyboards/clueboard/66/rev4/info.json index e90ec9788e6..dbc1b94915d 100644 --- a/keyboards/clueboard/66/rev4/info.json +++ b/keyboards/clueboard/66/rev4/info.json @@ -8,17 +8,12 @@ "diode_direction": "COL2ROW", "features": { "audio": true, - "backlight": false, - "bluetooth": false, "bootmagic": false, "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, - "nkro": true, - "rgblight": false, - "unicode": false + "nkro": true }, "matrix_pins": { "cols": ["B10", "B2", "B1", "B0", "A7", "B4", "B3", "B5"], diff --git a/keyboards/clueboard/66_hotswap/prototype/info.json b/keyboards/clueboard/66_hotswap/prototype/info.json index 779540a8c4a..2ef1fbec1eb 100644 --- a/keyboards/clueboard/66_hotswap/prototype/info.json +++ b/keyboards/clueboard/66_hotswap/prototype/info.json @@ -8,16 +8,13 @@ "features": { "audio": true, "backlight": true, - "bluetooth": false, "bootmagic": false, "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": false, "nkro": true, - "rgblight": true, - "unicode": false + "rgblight": true }, "indicators": { "caps_lock": "B4" diff --git a/keyboards/clueboard/card/info.json b/keyboards/clueboard/card/info.json index 7799110ba6d..106b6f823da 100644 --- a/keyboards/clueboard/card/info.json +++ b/keyboards/clueboard/card/info.json @@ -9,16 +9,13 @@ "features": { "audio": true, "backlight": true, - "bluetooth": false, "bootmagic": false, "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, "nkro": false, - "rgblight": true, - "unicode": false + "rgblight": true }, "build": { "lto": true diff --git a/keyboards/dark/magnum_ergo_1/info.json b/keyboards/dark/magnum_ergo_1/info.json index cdabceec7f9..1aecfe86305 100644 --- a/keyboards/dark/magnum_ergo_1/info.json +++ b/keyboards/dark/magnum_ergo_1/info.json @@ -17,16 +17,13 @@ } }, "features": { - "audio": false, "backlight": true, "bootmagic": true, "command": false, "console": false, - "encoder": false, "extrakey": true, "mousekey": false, - "nkro": true, - "rgblight": false + "nkro": true }, "diode_direction": "COL2ROW", "backlight": { diff --git a/keyboards/doio/kb38/info.json b/keyboards/doio/kb38/info.json index 9a67e3ed5c9..a89c5951e39 100644 --- a/keyboards/doio/kb38/info.json +++ b/keyboards/doio/kb38/info.json @@ -12,8 +12,7 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "matrix_pins": { "cols": ["F5", "F4", "F1", "F0", "B7", "B6", "B5", "B4"], diff --git a/keyboards/fancytech/fancyalice66/info.json b/keyboards/fancytech/fancyalice66/info.json index b2e219c1c90..869ebe74651 100644 --- a/keyboards/fancytech/fancyalice66/info.json +++ b/keyboards/fancytech/fancyalice66/info.json @@ -14,7 +14,6 @@ }, "features": { "bootmagic": true, - "encoder": false, "extrakey": true, "mousekey": true, "nkro": true, diff --git a/keyboards/frobiac/blackbowl/info.json b/keyboards/frobiac/blackbowl/info.json index 3d5d8483dd9..2e99c5806b2 100644 --- a/keyboards/frobiac/blackbowl/info.json +++ b/keyboards/frobiac/blackbowl/info.json @@ -7,17 +7,13 @@ "processor": "atmega32u4", "diode_direction": "ROW2COL", "features": { - "audio": false, - "backlight": false, "bootmagic": false, "command": false, "console": false, "dynamic_macro": true, "extrakey": true, "mousekey": true, - "nkro": false, - "unicode": false, - "rgblight": false + "nkro": false }, "build": { "lto": true diff --git a/keyboards/frobiac/blackflat/info.json b/keyboards/frobiac/blackflat/info.json index 2227f698df8..086d90d8f8b 100644 --- a/keyboards/frobiac/blackflat/info.json +++ b/keyboards/frobiac/blackflat/info.json @@ -7,17 +7,13 @@ "processor": "atmega32u4", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, "bootmagic": false, "command": false, "console": false, "dynamic_macro": true, "extrakey": true, "mousekey": true, - "nkro": false, - "unicode": false, - "rgblight": false + "nkro": false }, "build": { "lto": true diff --git a/keyboards/frobiac/hypernano/info.json b/keyboards/frobiac/hypernano/info.json index b06b2815657..403beed952f 100644 --- a/keyboards/frobiac/hypernano/info.json +++ b/keyboards/frobiac/hypernano/info.json @@ -7,17 +7,13 @@ "processor": "atmega32u4", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, "bootmagic": false, "command": false, "console": false, "dynamic_macro": true, "extrakey": true, "mousekey": true, - "nkro": false, - "unicode": false, - "rgblight": false + "nkro": false }, "build": { "lto": true diff --git a/keyboards/frobiac/redtilt/info.json b/keyboards/frobiac/redtilt/info.json index 633ca1d32d9..f3cbd96e1c3 100644 --- a/keyboards/frobiac/redtilt/info.json +++ b/keyboards/frobiac/redtilt/info.json @@ -7,17 +7,13 @@ "processor": "atmega32u4", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, "bootmagic": false, "command": false, "console": false, "dynamic_macro": true, "extrakey": true, "mousekey": true, - "nkro": false, - "unicode": false, - "rgblight": false + "nkro": false }, "build": { "lto": true diff --git a/keyboards/giabalanai/info.json b/keyboards/giabalanai/info.json index b10cbe943ec..953e0bebc37 100644 --- a/keyboards/giabalanai/info.json +++ b/keyboards/giabalanai/info.json @@ -36,9 +36,7 @@ "bootmagic": false, "console": false, "mousekey": false, - "nkro": false, - "rgblight": false, - "audio": false + "nkro": false }, "encoder": { "rotary": [] diff --git a/keyboards/handwired/10k/info.json b/keyboards/handwired/10k/info.json index af75560e843..9c215a5e860 100644 --- a/keyboards/handwired/10k/info.json +++ b/keyboards/handwired/10k/info.json @@ -8,15 +8,12 @@ "rows": ["B6"] }, "features": { - "audio": false, - "backlight": false, "bootmagic": false, "command": false, "console": false, "extrakey": false, "mousekey": false, - "nkro": false, - "rgblight": false + "nkro": false }, "usb": { "vid": "0x6869", diff --git a/keyboards/handwired/3dortho14u/rev1/info.json b/keyboards/handwired/3dortho14u/rev1/info.json index 9179bd3a1bb..63773d405f2 100644 --- a/keyboards/handwired/3dortho14u/rev1/info.json +++ b/keyboards/handwired/3dortho14u/rev1/info.json @@ -7,18 +7,12 @@ "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bluetooth": false, - "bootmagic": true, - "command": false, - "console": true, - "extrakey": true, - "midi": false, - "mousekey": true, - "nkro": true, - "rgblight": false, - "unicode": false + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true }, "indicators": { "caps_lock": "F0" diff --git a/keyboards/handwired/3dortho14u/rev2/info.json b/keyboards/handwired/3dortho14u/rev2/info.json index 499d8603cee..9e048d643d2 100644 --- a/keyboards/handwired/3dortho14u/rev2/info.json +++ b/keyboards/handwired/3dortho14u/rev2/info.json @@ -7,18 +7,12 @@ "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bluetooth": false, - "bootmagic": true, - "command": false, - "console": true, - "extrakey": true, - "midi": false, - "mousekey": true, - "nkro": true, - "rgblight": false, - "unicode": false + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true }, "indicators": { "caps_lock": "F4" diff --git a/keyboards/handwired/baredev/rev1/info.json b/keyboards/handwired/baredev/rev1/info.json index ab7747d43aa..470b926bb40 100644 --- a/keyboards/handwired/baredev/rev1/info.json +++ b/keyboards/handwired/baredev/rev1/info.json @@ -23,19 +23,12 @@ "processor": "atmega32u4", "bootloader": "atmel-dfu", "features": { - "audio": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, - "midi": false, "mousekey": true, - "nkro": true, - "rgblight": false, - "unicode": false, - "bluetooth": false, - "backlight": false, - "sleep_led": false + "nkro": true }, "layout_aliases": { "LAYOUT": "LAYOUT_abnt2" diff --git a/keyboards/handwired/dactyl_kinesis/info.json b/keyboards/handwired/dactyl_kinesis/info.json index 91cb98e0409..ee68a2c515f 100644 --- a/keyboards/handwired/dactyl_kinesis/info.json +++ b/keyboards/handwired/dactyl_kinesis/info.json @@ -14,10 +14,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": false, - "audio": false, - "backlight": false, - "rgblight": false + "nkro": false }, "rgblight": { "led_count": 12 diff --git a/keyboards/handwired/dactyl_lightcycle/info.json b/keyboards/handwired/dactyl_lightcycle/info.json index 4d581b974e0..1b5f2dd39a3 100644 --- a/keyboards/handwired/dactyl_lightcycle/info.json +++ b/keyboards/handwired/dactyl_lightcycle/info.json @@ -14,9 +14,6 @@ "console": false, "mousekey": true, "extrakey": true, - "audio": false, - "rgblight": false, - "backlight": false, "nkro": false }, "ws2812": { diff --git a/keyboards/handwired/dactyl_manuform/5x6_68/info.json b/keyboards/handwired/dactyl_manuform/5x6_68/info.json index 78a602cb64f..59d37ec15b0 100644 --- a/keyboards/handwired/dactyl_manuform/5x6_68/info.json +++ b/keyboards/handwired/dactyl_manuform/5x6_68/info.json @@ -15,10 +15,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true, - "audio": false, - "backlight": false, - "rgblight": false + "nkro": true }, "split": { "enabled": true, diff --git a/keyboards/handwired/dactyl_manuform/6x7/info.json b/keyboards/handwired/dactyl_manuform/6x7/info.json index 529d92bd3f9..5ce0affbeea 100644 --- a/keyboards/handwired/dactyl_manuform/6x7/info.json +++ b/keyboards/handwired/dactyl_manuform/6x7/info.json @@ -14,10 +14,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": false, - "audio": false, - "backlight": false, - "rgblight": false + "nkro": false }, "ws2812": { "pin": "D3" diff --git a/keyboards/handwired/onekey/info.json b/keyboards/handwired/onekey/info.json index 17bb84a82c1..2d266f5ea3b 100644 --- a/keyboards/handwired/onekey/info.json +++ b/keyboards/handwired/onekey/info.json @@ -17,10 +17,7 @@ "extrakey": true, "console": false, "command": false, - "nkro": false, - "backlight": false, - "rgblight": false, - "audio": false + "nkro": false }, "community_layouts": ["ortho_1x1"], "layouts": { diff --git a/keyboards/handwired/polly40/info.json b/keyboards/handwired/polly40/info.json index 63856fa7394..9ff34b339ef 100644 --- a/keyboards/handwired/polly40/info.json +++ b/keyboards/handwired/polly40/info.json @@ -21,11 +21,7 @@ "extrakey": true, "console": false, "command": false, - "nkro": true, - "backlight": false, - "rgblight": false, - "audio": false, - "key_lock": false + "nkro": true }, "layouts": { "LAYOUT": { diff --git a/keyboards/handwired/scottokeebs/scotto61/info.json b/keyboards/handwired/scottokeebs/scotto61/info.json index 8614ec81ebe..cf321a2e976 100644 --- a/keyboards/handwired/scottokeebs/scotto61/info.json +++ b/keyboards/handwired/scottokeebs/scotto61/info.json @@ -10,8 +10,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true, - "rgblight": false + "nkro": true }, "matrix_pins": { "cols": ["GP6", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP22", "GP20", "GP19", "GP18", "GP17", "GP16"], diff --git a/keyboards/handwired/wakizashi40/info.json b/keyboards/handwired/wakizashi40/info.json index 3a72e5d3102..495d9a0376a 100644 --- a/keyboards/handwired/wakizashi40/info.json +++ b/keyboards/handwired/wakizashi40/info.json @@ -6,18 +6,12 @@ "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, - "bluetooth": false, "bootmagic": true, "command": false, "console": true, "extrakey": true, - "midi": false, "mousekey": true, - "nkro": true, - "rgblight": false, - "unicode": false + "nkro": true }, "matrix_pins": { "cols": ["F4", "F6", "F7", "B1", "B3", "B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4"], diff --git a/keyboards/idobao/id42/info.json b/keyboards/idobao/id42/info.json index b0702aaa94d..ace2033493b 100644 --- a/keyboards/idobao/id42/info.json +++ b/keyboards/idobao/id42/info.json @@ -10,9 +10,7 @@ "extrakey": true, "console": false, "command": false, - "nkro": true, - "backlight": false, - "rgblight": false + "nkro": true }, "ws2812": { "pin": "B3" diff --git a/keyboards/idobao/id61/info.json b/keyboards/idobao/id61/info.json index 255e88fc056..0b1c51279de 100644 --- a/keyboards/idobao/id61/info.json +++ b/keyboards/idobao/id61/info.json @@ -10,9 +10,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true, - "backlight": false, - "rgblight": false + "nkro": true }, "ws2812": { "pin": "F0" diff --git a/keyboards/idobao/id63/info.json b/keyboards/idobao/id63/info.json index 02c4d41bf4b..573fb440303 100644 --- a/keyboards/idobao/id63/info.json +++ b/keyboards/idobao/id63/info.json @@ -10,9 +10,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true, - "backlight": false, - "rgblight": false + "nkro": true }, "ws2812": { "pin": "B7" diff --git a/keyboards/idobao/id67/info.json b/keyboards/idobao/id67/info.json index 5618311141f..7c5308d3156 100644 --- a/keyboards/idobao/id67/info.json +++ b/keyboards/idobao/id67/info.json @@ -10,9 +10,7 @@ "extrakey": true, "command": false, "console": false, - "nkro": true, - "backlight": false, - "rgblight": false + "nkro": true }, "ws2812": { "pin": "F0" diff --git a/keyboards/idobao/id80/v3/ansi/info.json b/keyboards/idobao/id80/v3/ansi/info.json index 5cca0260ea0..19dc8c67a70 100644 --- a/keyboards/idobao/id80/v3/ansi/info.json +++ b/keyboards/idobao/id80/v3/ansi/info.json @@ -10,9 +10,7 @@ "extrakey": true, "console": false, "command": false, - "nkro": true, - "backlight": false, - "rgblight": false + "nkro": true }, "rgb_matrix": { "animations": { diff --git a/keyboards/idobao/id87/v2/info.json b/keyboards/idobao/id87/v2/info.json index cb94ee763e9..4a6099207c2 100644 --- a/keyboards/idobao/id87/v2/info.json +++ b/keyboards/idobao/id87/v2/info.json @@ -10,9 +10,7 @@ "extrakey": true, "console": false, "command": false, - "nkro": true, - "backlight": false, - "rgblight": false + "nkro": true }, "ws2812": { "pin": "E2" diff --git a/keyboards/idobao/montex/v2/info.json b/keyboards/idobao/montex/v2/info.json index 774cde114f9..aefc3e45611 100755 --- a/keyboards/idobao/montex/v2/info.json +++ b/keyboards/idobao/montex/v2/info.json @@ -10,9 +10,7 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true, - "backlight": false, - "rgblight": false + "nkro": true }, "ws2812": { "pin": "B1" diff --git a/keyboards/idyllic/tinny50_rgb/info.json b/keyboards/idyllic/tinny50_rgb/info.json index 5407bd9c26a..b3eb34a4c0c 100644 --- a/keyboards/idyllic/tinny50_rgb/info.json +++ b/keyboards/idyllic/tinny50_rgb/info.json @@ -16,9 +16,6 @@ "console": false, "command": false, "nkro": true, - "backlight": false, - "rgblight": false, - "audio": false, "rgb_matrix": true }, "diode_direction": "COL2ROW", diff --git a/keyboards/jels/boaty/info.json b/keyboards/jels/boaty/info.json index ca6257f6ef6..6d85c5bd4f7 100644 --- a/keyboards/jels/boaty/info.json +++ b/keyboards/jels/boaty/info.json @@ -16,8 +16,7 @@ "mousekey": false, "extrakey": true, "console": false, - "command": false, - "backlight": false + "command": false }, "matrix_pins": { "cols": ["B1", "C0", "C1", "C2", "D4", "D1", "D0", "C5", "C4", "C3", "D5"], diff --git a/keyboards/kbdfans/odinmini/info.json b/keyboards/kbdfans/odinmini/info.json index 19a854c4ce4..a9cb1a798fc 100644 --- a/keyboards/kbdfans/odinmini/info.json +++ b/keyboards/kbdfans/odinmini/info.json @@ -5,8 +5,6 @@ "bootloader": "rp2040", "diode_direction": "COL2ROW", "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "extrakey": true, diff --git a/keyboards/kbdfans/tiger80/info.json b/keyboards/kbdfans/tiger80/info.json index 1a2258deea8..9761cb892d0 100644 --- a/keyboards/kbdfans/tiger80/info.json +++ b/keyboards/kbdfans/tiger80/info.json @@ -4,8 +4,6 @@ "maintainer": "kbdfans", "bootloader": "atmel-dfu", "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, diff --git a/keyboards/keebio/convolution/info.json b/keyboards/keebio/convolution/info.json index 5e05d70ace3..9ea761c1a9f 100644 --- a/keyboards/keebio/convolution/info.json +++ b/keyboards/keebio/convolution/info.json @@ -10,9 +10,7 @@ "console": true, "extrakey": true, "mousekey": false, - "nkro": false, - "unicode": false, - "backlight": false + "nkro": false }, "layout_aliases": {"LAYOUT": "LAYOUT_all"} } diff --git a/keyboards/keebio/convolution/rev1/info.json b/keyboards/keebio/convolution/rev1/info.json index 5ff7c1f8f02..68ac532620b 100644 --- a/keyboards/keebio/convolution/rev1/info.json +++ b/keyboards/keebio/convolution/rev1/info.json @@ -9,8 +9,6 @@ "diode_direction": "COL2ROW", "features": { "console": true, - "rgblight": false, - "backlight": false, "rgb_matrix": true }, "matrix_pins": { diff --git a/keyboards/keebio/sinc/info.json b/keyboards/keebio/sinc/info.json index a55f42649e6..aa1e08f39dd 100644 --- a/keyboards/keebio/sinc/info.json +++ b/keyboards/keebio/sinc/info.json @@ -6,14 +6,12 @@ "vid": "0xCB10" }, "features": { - "audio": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": false, - "nkro": false, - "unicode": false + "nkro": false }, "split": { "enabled": true diff --git a/keyboards/keebio/sinc/rev3/info.json b/keyboards/keebio/sinc/rev3/info.json index e20cd24f192..da828dbb35f 100644 --- a/keyboards/keebio/sinc/rev3/info.json +++ b/keyboards/keebio/sinc/rev3/info.json @@ -9,8 +9,6 @@ "diode_direction": "COL2ROW", "features": { "console": true, - "rgblight": false, - "backlight": false, "rgb_matrix": true }, "split": { diff --git a/keyboards/keychron/q4/info.json b/keyboards/keychron/q4/info.json index e314477ab94..59f6caef923 100644 --- a/keyboards/keychron/q4/info.json +++ b/keyboards/keychron/q4/info.json @@ -16,16 +16,13 @@ } }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9"], diff --git a/keyboards/keyspensory/kp60/info.json b/keyboards/keyspensory/kp60/info.json index 469faa2cd26..1172e14d455 100644 --- a/keyboards/keyspensory/kp60/info.json +++ b/keyboards/keyspensory/kp60/info.json @@ -22,9 +22,7 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgblight": true, - "backlight": false, - "audio": false + "rgblight": true }, "rgblight": { "led_count": 8, diff --git a/keyboards/kinesis/alvicstep/info.json b/keyboards/kinesis/alvicstep/info.json index 293b0168a40..951f01203ca 100644 --- a/keyboards/kinesis/alvicstep/info.json +++ b/keyboards/kinesis/alvicstep/info.json @@ -12,9 +12,7 @@ "command": false, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "processor": "at90usb1286", "bootloader": "halfkay", diff --git a/keyboards/kinesis/kint2pp/info.json b/keyboards/kinesis/kint2pp/info.json index ecf86658a84..48d77942db0 100644 --- a/keyboards/kinesis/kint2pp/info.json +++ b/keyboards/kinesis/kint2pp/info.json @@ -13,9 +13,7 @@ "command": false, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "build": { "debounce_type": "sym_eager_pk" diff --git a/keyboards/kinesis/kint36/info.json b/keyboards/kinesis/kint36/info.json index 969f819f80e..592fade4cb4 100644 --- a/keyboards/kinesis/kint36/info.json +++ b/keyboards/kinesis/kint36/info.json @@ -13,9 +13,7 @@ "command": false, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "build": { "debounce_type": "sym_eager_pk" diff --git a/keyboards/kinesis/kint41/info.json b/keyboards/kinesis/kint41/info.json index eec726cf51e..c1eb7b84652 100644 --- a/keyboards/kinesis/kint41/info.json +++ b/keyboards/kinesis/kint41/info.json @@ -13,9 +13,7 @@ "command": false, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "build": { "debounce_type": "sym_eager_pk" diff --git a/keyboards/kinesis/kintlc/info.json b/keyboards/kinesis/kintlc/info.json index 13c2f9a55c5..07c81e1c896 100644 --- a/keyboards/kinesis/kintlc/info.json +++ b/keyboards/kinesis/kintlc/info.json @@ -13,9 +13,7 @@ "command": false, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "build": { "debounce_type": "sym_eager_pk" diff --git a/keyboards/kinesis/kintwin/info.json b/keyboards/kinesis/kintwin/info.json index ed67c36af39..92727e9ecb9 100644 --- a/keyboards/kinesis/kintwin/info.json +++ b/keyboards/kinesis/kintwin/info.json @@ -18,9 +18,7 @@ "command": false, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "matrix_pins": { "rows": ["A0", "A1", "A2", "A3", "A4", "A5", "A6"], diff --git a/keyboards/kinesis/nguyenvietyen/info.json b/keyboards/kinesis/nguyenvietyen/info.json index 123b42e9bfc..2a99a4e6003 100644 --- a/keyboards/kinesis/nguyenvietyen/info.json +++ b/keyboards/kinesis/nguyenvietyen/info.json @@ -12,9 +12,7 @@ "command": true, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "indicators": { "caps_lock": "E6", diff --git a/keyboards/kinesis/stapelberg/info.json b/keyboards/kinesis/stapelberg/info.json index 44e2a331575..6ad972d2472 100644 --- a/keyboards/kinesis/stapelberg/info.json +++ b/keyboards/kinesis/stapelberg/info.json @@ -12,9 +12,7 @@ "command": false, "mousekey": true, "extrakey": true, - "nkro": true, - "audio": false, - "backlight": false + "nkro": true }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B4", "B5", "B6"], diff --git a/keyboards/kprepublic/bm16a/v1/info.json b/keyboards/kprepublic/bm16a/v1/info.json index 9e99832b3e6..85173a89ccb 100644 --- a/keyboards/kprepublic/bm16a/v1/info.json +++ b/keyboards/kprepublic/bm16a/v1/info.json @@ -18,8 +18,7 @@ "command": false, "nkro": true, "backlight": true, - "rgblight": true, - "audio": false + "rgblight": true }, "matrix_pins": { "rows": ["D3", "D5", "D1", "D2"], diff --git a/keyboards/kprepublic/bm40hsrgb/rev2/info.json b/keyboards/kprepublic/bm40hsrgb/rev2/info.json index 64b35fc25c2..cfaabd5c9ef 100644 --- a/keyboards/kprepublic/bm40hsrgb/rev2/info.json +++ b/keyboards/kprepublic/bm40hsrgb/rev2/info.json @@ -12,9 +12,7 @@ "tri_layer": true, "console": false, "command": false, - "nkro": false, - "backlight": false, - "audio": false + "nkro": false }, "usb": { "vid": "0x4B50", diff --git a/keyboards/kuro/kuro65/info.json b/keyboards/kuro/kuro65/info.json index fc89b989d3e..72549735d96 100644 --- a/keyboards/kuro/kuro65/info.json +++ b/keyboards/kuro/kuro65/info.json @@ -25,10 +25,6 @@ "console": false, "command": false, "nkro": true, - "backlight": false, - "rgblight": false, - "audio": false, - "key_lock": false, "rgb_matrix": true }, "ws2812": { diff --git a/keyboards/laneware/raindrop/info.json b/keyboards/laneware/raindrop/info.json index bc67d437fa3..d1896a41b45 100644 --- a/keyboards/laneware/raindrop/info.json +++ b/keyboards/laneware/raindrop/info.json @@ -21,11 +21,7 @@ "extrakey": true, "console": false, "command": false, - "nkro": true, - "backlight": false, - "audio": false, - "rgblight": false, - "sleep_led": false + "nkro": true }, "layout_aliases": { "LAYOUT_all": "LAYOUT_64_ansi_split_bs" diff --git a/keyboards/linworks/fave84h/info.json b/keyboards/linworks/fave84h/info.json index 11ef16f2a34..1ca6cb911ab 100644 --- a/keyboards/linworks/fave84h/info.json +++ b/keyboards/linworks/fave84h/info.json @@ -12,8 +12,7 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "ws2812": { "pin": "D2" diff --git a/keyboards/maxr1998/phoebe/info.json b/keyboards/maxr1998/phoebe/info.json index 7bb3832cbef..f6913ece0b9 100644 --- a/keyboards/maxr1998/phoebe/info.json +++ b/keyboards/maxr1998/phoebe/info.json @@ -10,7 +10,6 @@ "features": { "bootmagic": true, "nkro": true, - "backlight": false, "rgblight": true, "key_lock": true, "leader": true diff --git a/keyboards/mechlovin/mechlovin9/rev3/info.json b/keyboards/mechlovin/mechlovin9/rev3/info.json index f5efcc1f6a9..faa4cf0a877 100644 --- a/keyboards/mechlovin/mechlovin9/rev3/info.json +++ b/keyboards/mechlovin/mechlovin9/rev3/info.json @@ -6,9 +6,6 @@ "pid": "0x6509", "device_version": "0.0.3" }, - "features": { - "backlight": false - }, "bootmagic": { "matrix": [0, 13] }, diff --git a/keyboards/mechlovin/zed65/910/info.json b/keyboards/mechlovin/zed65/910/info.json index d1de863c039..3b1472014d7 100644 --- a/keyboards/mechlovin/zed65/910/info.json +++ b/keyboards/mechlovin/zed65/910/info.json @@ -9,7 +9,6 @@ "device_version": "0.0.1" }, "features": { - "backlight": false, "nkro": true, "rgblight": true }, diff --git a/keyboards/miiiw/blackio83/info.json b/keyboards/miiiw/blackio83/info.json index ef0e15efb95..24dc644405f 100644 --- a/keyboards/miiiw/blackio83/info.json +++ b/keyboards/miiiw/blackio83/info.json @@ -6,7 +6,6 @@ "debounce": 3, "diode_direction": "COL2ROW", "features": { - "backlight": false, "bootmagic": true, "command": false, "console": false, @@ -15,8 +14,7 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "indicators": { "caps_lock": "B2", diff --git a/keyboards/mk65/info.json b/keyboards/mk65/info.json index 44a8e15f153..9135deaf199 100644 --- a/keyboards/mk65/info.json +++ b/keyboards/mk65/info.json @@ -30,10 +30,7 @@ "console": false, "command": false, "nkro": true, - "backlight": false, - "rgblight": true, - "audio": false, - "key_lock": false + "rgblight": true }, "rgblight": { "led_count": 7, diff --git a/keyboards/mlego/m65/rev1/info.json b/keyboards/mlego/m65/rev1/info.json index d8bb91de300..2f77137eec9 100644 --- a/keyboards/mlego/m65/rev1/info.json +++ b/keyboards/mlego/m65/rev1/info.json @@ -11,8 +11,6 @@ ] }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, diff --git a/keyboards/mlego/m65/rev2/info.json b/keyboards/mlego/m65/rev2/info.json index e8575e23e85..00147673091 100644 --- a/keyboards/mlego/m65/rev2/info.json +++ b/keyboards/mlego/m65/rev2/info.json @@ -10,8 +10,6 @@ ] }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": true, "console": false, diff --git a/keyboards/mlego/m65/rev3/info.json b/keyboards/mlego/m65/rev3/info.json index d48d52d9d97..4b7980b63bf 100644 --- a/keyboards/mlego/m65/rev3/info.json +++ b/keyboards/mlego/m65/rev3/info.json @@ -11,8 +11,6 @@ ] }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, diff --git a/keyboards/mlego/m65/rev4/info.json b/keyboards/mlego/m65/rev4/info.json index 56fed15317f..ab2a708ba88 100644 --- a/keyboards/mlego/m65/rev4/info.json +++ b/keyboards/mlego/m65/rev4/info.json @@ -11,8 +11,6 @@ ] }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": true, diff --git a/keyboards/montsinger/palmetto/info.json b/keyboards/montsinger/palmetto/info.json index efe81dd9c30..9ff29ba893f 100755 --- a/keyboards/montsinger/palmetto/info.json +++ b/keyboards/montsinger/palmetto/info.json @@ -8,8 +8,7 @@ "bootmagic": true, "extrakey": true, "mousekey": true, - "nkro": true, - "rgblight": false + "nkro": true }, "matrix_pins": { "cols": ["GP28", "GP27", "GP29", "GP0", "GP1", "GP9", "GP26", "GP18", "GP10", "GP11", "GP25", "GP24", "GP12", "GP21", "GP13"], diff --git a/keyboards/navi60/info.json b/keyboards/navi60/info.json index dde3b09ff86..42c3e5da1d1 100644 --- a/keyboards/navi60/info.json +++ b/keyboards/navi60/info.json @@ -21,11 +21,7 @@ "extrakey": true, "console": false, "command": false, - "nkro": true, - "backlight": false, - "rgblight": false, - "audio": false, - "key_lock": false + "nkro": true }, "layouts": { "LAYOUT": { diff --git a/keyboards/novelkeys/nk_plus/info.json b/keyboards/novelkeys/nk_plus/info.json index 41beca36824..b823d2808b8 100755 --- a/keyboards/novelkeys/nk_plus/info.json +++ b/keyboards/novelkeys/nk_plus/info.json @@ -14,15 +14,13 @@ "rows": ["B2", "B1", "B0", "B10", "B3"] }, "features": { - "backlight": false, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "processor": "STM32F072", "bootloader": "stm32-dfu", diff --git a/keyboards/sawnsprojects/eclipse/eclipse60/info.json b/keyboards/sawnsprojects/eclipse/eclipse60/info.json index ad6c9741366..7586ed5a347 100644 --- a/keyboards/sawnsprojects/eclipse/eclipse60/info.json +++ b/keyboards/sawnsprojects/eclipse/eclipse60/info.json @@ -22,10 +22,7 @@ "console": false, "command": false, "nkro": false, - "backlight": false, - "rgblight": true, - "audio": false, - "key_lock": false + "rgblight": true }, "rgblight": { "led_count": 18, diff --git a/keyboards/sawnsprojects/eclipse/tinyneko/info.json b/keyboards/sawnsprojects/eclipse/tinyneko/info.json index 387532d58bf..80ae2558f2d 100644 --- a/keyboards/sawnsprojects/eclipse/tinyneko/info.json +++ b/keyboards/sawnsprojects/eclipse/tinyneko/info.json @@ -22,10 +22,7 @@ "console": false, "command": false, "nkro": false, - "backlight": false, - "rgblight": true, - "audio": false, - "key_lock": false + "rgblight": true }, "rgblight": { "led_count": 18, diff --git a/keyboards/sharkoon/skiller_sgk50_s3/info.json b/keyboards/sharkoon/skiller_sgk50_s3/info.json index 0b228b034b6..6535ec63b77 100644 --- a/keyboards/sharkoon/skiller_sgk50_s3/info.json +++ b/keyboards/sharkoon/skiller_sgk50_s3/info.json @@ -18,8 +18,7 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "matrix_pins": { "cols": ["C0", "C1", "C2", "C3", "A6", "B1", "B10", "B11", "B12", "B13", "B14", "B15", "C6", "C7", "C8", "C9"], diff --git a/keyboards/smithrune/magnus/m75h/info.json b/keyboards/smithrune/magnus/m75h/info.json index a4f2ce57682..325db7d1da1 100644 --- a/keyboards/smithrune/magnus/m75h/info.json +++ b/keyboards/smithrune/magnus/m75h/info.json @@ -17,12 +17,9 @@ } }, "features": { - "audio": false, - "backlight": false, "bootmagic": true, "command": false, "console": false, - "encoder": false, "extrakey": true, "mousekey": true, "nkro": true, diff --git a/keyboards/smithrune/magnus/m75s/info.json b/keyboards/smithrune/magnus/m75s/info.json index 5b834631f78..352b529bb06 100644 --- a/keyboards/smithrune/magnus/m75s/info.json +++ b/keyboards/smithrune/magnus/m75s/info.json @@ -17,12 +17,10 @@ } }, "features": { - "audio": false, "backlight": true, "bootmagic": true, "command": false, "console": false, - "encoder": false, "extrakey": true, "mousekey": true, "nkro": true, @@ -36,7 +34,7 @@ }, "indicators": { "caps_lock": "A10" - } + }, "ws2812": { "pin": "B15" }, diff --git a/keyboards/splitography/info.json b/keyboards/splitography/info.json index 45ee7beed8d..3805f1ca2b0 100644 --- a/keyboards/splitography/info.json +++ b/keyboards/splitography/info.json @@ -11,9 +11,7 @@ "mousekey": false, "extrakey": true, "console": false, - "audio": false, - "command": false, - "backlight": false + "command": false }, "matrix_pins": { "rows": ["D0", "D1", "D2", "D3"], diff --git a/keyboards/stront/info.json b/keyboards/stront/info.json index 88ccb2c6d03..d2726c85f0e 100644 --- a/keyboards/stront/info.json +++ b/keyboards/stront/info.json @@ -85,7 +85,6 @@ "encoder": true, "backlight": true, "extrakey": true, - "rgblight": false, "rgb_matrix": true, "nkro": false }, diff --git a/keyboards/synthlabs/060/info.json b/keyboards/synthlabs/060/info.json index 0c5870b46aa..2fe90c96fda 100644 --- a/keyboards/synthlabs/060/info.json +++ b/keyboards/synthlabs/060/info.json @@ -13,7 +13,6 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgblight": false, "rgb_matrix": true }, "ws2812": { diff --git a/keyboards/tzarc/djinn/info.json b/keyboards/tzarc/djinn/info.json index 64ed1da6904..fddee1c21fd 100644 --- a/keyboards/tzarc/djinn/info.json +++ b/keyboards/tzarc/djinn/info.json @@ -23,7 +23,6 @@ "nkro": true, "quantum_painter": true, "rgb_matrix": true, - "unicode": false, "usbpd": true, "wpm": true }, diff --git a/keyboards/wolf/m60_b/info.json b/keyboards/wolf/m60_b/info.json index 6d39d0bbf87..474974d3835 100644 --- a/keyboards/wolf/m60_b/info.json +++ b/keyboards/wolf/m60_b/info.json @@ -11,8 +11,7 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false + "rgb_matrix": true }, "ws2812": { "pin": "D1" diff --git a/keyboards/ymdk/melody96/hotswap/info.json b/keyboards/ymdk/melody96/hotswap/info.json index 61112d88ab3..6a00e050502 100644 --- a/keyboards/ymdk/melody96/hotswap/info.json +++ b/keyboards/ymdk/melody96/hotswap/info.json @@ -14,7 +14,6 @@ }, "diode_direction": "ROW2COL", "features": { - "audio": false, "backlight": true, "bootmagic": true, "command": false, diff --git a/keyboards/yoichiro/lunakey_pico/info.json b/keyboards/yoichiro/lunakey_pico/info.json index bf4b2a25109..d80aaf06129 100644 --- a/keyboards/yoichiro/lunakey_pico/info.json +++ b/keyboards/yoichiro/lunakey_pico/info.json @@ -11,8 +11,7 @@ "console": false, "command": false, "nkro": false, - "rgblight": true, - "audio": false + "rgblight": true }, "matrix_pins": { "cols": ["GP21", "GP20", "GP19", "GP18", "GP17", "GP16"], From bb691bed9646c31300eb85f0db4ec1e4978a5c46 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 9 Mar 2024 04:12:44 +0000 Subject: [PATCH 055/107] Fixes for idobao vendor keymaps (#23246) --- keyboards/idobao/id61/keymaps/idobao/keymap.c | 3 ++- keyboards/idobao/id63/keymaps/idobao/keymap.c | 2 +- keyboards/idobao/id87/v2/keymaps/idobao/keymap.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/keyboards/idobao/id61/keymaps/idobao/keymap.c b/keyboards/idobao/id61/keymaps/idobao/keymap.c index bd0b500615e..3bfe1db6f43 100644 --- a/keyboards/idobao/id61/keymaps/idobao/keymap.c +++ b/keyboards/idobao/id61/keymaps/idobao/keymap.c @@ -186,7 +186,7 @@ void eeconfig_init_user(void) { ID61_update_rgb_mode(); } -void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { +bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { // Caps Lock key stuff if (host_keyboard_led_state().caps_lock) { @@ -204,6 +204,7 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { } else if (user_config.rgb_disable_perkey) { rgb_matrix_set_color(ID61_CAPS_LOCK_KEY_INDEX, HSV_OFF); // off } + return false; } #endif // RGB_MATRIX_ENABLE diff --git a/keyboards/idobao/id63/keymaps/idobao/keymap.c b/keyboards/idobao/id63/keymaps/idobao/keymap.c index 9213e4ffcf1..912da634268 100644 --- a/keyboards/idobao/id63/keymaps/idobao/keymap.c +++ b/keyboards/idobao/id63/keymaps/idobao/keymap.c @@ -98,7 +98,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), [_FN2] = LAYOUT_60_ansi_arrow( - KC_ESC, KC_BRID, KC_BRIU, KC_MCON, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_PWR, + KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_PWR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, diff --git a/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c b/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c index 53871f9161c..4f7dec65b69 100644 --- a/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c +++ b/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c @@ -77,7 +77,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ └───┴───┴───┘ */ [1] = LAYOUT_tkl_ansi( - QK_BOOT, KC_BRID, KC_BRIU, KC_MCON, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, + QK_BOOT, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, _______, _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAD, RGB_HUD, RGB_SAI, _______, _______, RGB_RMOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, From 1db7ff7f18b7d6922dec6e8746850e0f41cef984 Mon Sep 17 00:00:00 2001 From: Danny Date: Sat, 9 Mar 2024 02:39:08 -0500 Subject: [PATCH 056/107] Update BAMFK-1 (#23236) * Bump version number so VIA doesn't choke due to reconfiguration of keys/encoders * Move rules.mk stuff into info.json, convert RGBLIGHT TO RGB_MATRIX * Run format-json on info.json --- keyboards/keebio/bamfk1/config.h | 22 ------ keyboards/keebio/bamfk1/info.json | 124 ++++++++++++++++++++++-------- keyboards/keebio/bamfk1/rules.mk | 15 +--- 3 files changed, 93 insertions(+), 68 deletions(-) diff --git a/keyboards/keebio/bamfk1/config.h b/keyboards/keebio/bamfk1/config.h index 6fd93072f52..46fd4d73169 100644 --- a/keyboards/keebio/bamfk1/config.h +++ b/keyboards/keebio/bamfk1/config.h @@ -8,25 +8,3 @@ # define STARTUP_SONG SONG(STARTUP_SOUND) #endif -#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/keebio/bamfk1/info.json b/keyboards/keebio/bamfk1/info.json index 4fa563f0e88..09e7edbd185 100644 --- a/keyboards/keebio/bamfk1/info.json +++ b/keyboards/keebio/bamfk1/info.json @@ -1,52 +1,112 @@ { - "keyboard_name": "BAMFK-1", "manufacturer": "Keebio", - "url": "https://keeb.io", + "keyboard_name": "BAMFK-1", "maintainer": "nooges", - "usb": { - "vid": "0xCB10", - "pid": "0x1111", - "device_version": "0.0.1" - }, - "rgblight": { - "saturation_steps": 8, - "brightness_steps": 8, - "led_count": 16, - "sleep": true, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true - } - }, - "ws2812": { - "pin": "D3" - }, + "bootloader": "atmel-dfu", "encoder": { "rotary": [ {"pin_a": "C7", "pin_b": "B5"}, {"pin_a": "D7", "pin_b": "D4"} ] }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgb_matrix": true + }, "matrix_pins": { "direct": [ ["E6", "B6", "D6"] ] }, + "processor": "atmega32u4", + "rgb_matrix": { + "animations": { + "alphas_mods": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_sat": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "band_val": true, + "breathing": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "cycle_up_down": true, + "digital_rain": true, + "dual_beacon": true, + "gradient_left_right": true, + "gradient_up_down": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "jellybean_raindrops": true, + "multisplash": true, + "pixel_flow": true, + "pixel_fractal": true, + "pixel_rain": true, + "rainbow_beacon": true, + "rainbow_moving_chevron": true, + "rainbow_pinwheels": true, + "raindrops": true, + "solid_multisplash": true, + "solid_reactive": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_multinexus": true, + "solid_reactive_multiwide": true, + "solid_reactive_nexus": true, + "solid_reactive_simple": true, + "solid_reactive_wide": true, + "solid_splash": true, + "splash": true, + "typing_heatmap": true + }, + "default": { + "animation": "cycle_pinwheel", + "speed": 48 + }, + "driver": "ws2812", + "layout": [ + {"x": 56, "y": 0, "flags": 4}, + {"x": 168, "y": 0, "flags": 4}, + {"x": 224, "y": 16, "flags": 4}, + {"x": 224, "y": 48, "flags": 4}, + {"matrix": [0, 2], "x": 168, "y": 64, "flags": 4}, + {"matrix": [0, 1], "x": 56, "y": 64, "flags": 4}, + {"x": 0, "y": 48, "flags": 4}, + {"x": 0, "y": 16, "flags": 4}, + {"x": 0, "y": 0, "flags": 2}, + {"x": 112, "y": 0, "flags": 2}, + {"x": 224, "y": 0, "flags": 2}, + {"x": 224, "y": 32, "flags": 2}, + {"x": 224, "y": 64, "flags": 2}, + {"x": 112, "y": 64, "flags": 2}, + {"x": 224, "y": 64, "flags": 2}, + {"matrix": [0, 0], "x": 112, "y": 32, "flags": 2} + ], + "sleep": true + }, + "url": "https://keeb.io", + "usb": { + "device_version": "0.0.1", + "pid": "0x1211", + "vid": "0xCB10" + }, + "ws2812": { + "pin": "D3" + }, "layouts": { "LAYOUT": { "layout": [ - {"x": 1, "y": 0, "h": 2, "w": 2, "matrix": [0, 0]}, - {"x": 0, "y": 2.25, "matrix": [0, 1]}, - {"x": 3, "y": 2.25, "matrix": [0, 2]} + {"matrix": [0, 0], "x": 1, "y": 0, "w": 2, "h": 2}, + {"matrix": [0, 1], "x": 0, "y": 2.25}, + {"matrix": [0, 2], "x": 3, "y": 2.25} ] } } diff --git a/keyboards/keebio/bamfk1/rules.mk b/keyboards/keebio/bamfk1/rules.mk index 21df40039e9..6e7633bfe01 100644 --- a/keyboards/keebio/bamfk1/rules.mk +++ b/keyboards/keebio/bamfk1/rules.mk @@ -1,14 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output -ENCODER_ENABLE = yes -LTO_ENABLE = yes +# This file intentionally left blank From 900e79febebaa6e8c682755442a385dc6f2ed703 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 9 Mar 2024 21:40:19 +1100 Subject: [PATCH 057/107] Attempt to deal with GCC 13+ and rv32 arch extensions. (#23086) --- platforms/chibios/platform.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/platforms/chibios/platform.mk b/platforms/chibios/platform.mk index f38a888012e..b13eed39be8 100644 --- a/platforms/chibios/platform.mk +++ b/platforms/chibios/platform.mk @@ -402,6 +402,17 @@ ifeq ($(strip $(MCU)), risc-v) -mabi=$(MCU_ABI) \ -mcmodel=$(MCU_CMODEL) \ -mstrict-align + + # Deal with different arch revisions and gcc renaming them + ifneq ($(shell echo 'int main() { asm("csrc 0x300,8"); return 0; }' | $(TOOLCHAIN)gcc $(MCUFLAGS) $(TOOLCHAIN_CFLAGS) -x c -o /dev/null - 2>/dev/null >/dev/null; echo $$?),0) + MCUFLAGS = -march=$(MCU_ARCH)_zicsr \ + -mabi=$(MCU_ABI) \ + -mcmodel=$(MCU_CMODEL) \ + -mstrict-align + ifneq ($(shell echo 'int main() { asm("csrc 0x300,8"); return 0; }' | $(TOOLCHAIN)gcc $(MCUFLAGS) $(TOOLCHAIN_CFLAGS) -x c -o /dev/null - 2>/dev/null >/dev/null; echo $$?),0) + $(call CATASTROPHIC_ERROR,Incompatible toolchain,No compatible RISC-V toolchain found. Can't work out correct architecture.) + endif + endif else # ARM toolchain specific configuration TOOLCHAIN ?= arm-none-eabi- From 461eaed7aac651e4dd1abbb86c99ce20b9ddc6d0 Mon Sep 17 00:00:00 2001 From: jotix <69703151+jotix@users.noreply.github.com> Date: Sat, 9 Mar 2024 11:52:49 -0300 Subject: [PATCH 058/107] [Keyboard] update Jotanck config(#23228) --- keyboards/handwired/jotanck/info.json | 16 +++++++++++++--- keyboards/handwired/jotanck/rules.mk | 13 +------------ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/keyboards/handwired/jotanck/info.json b/keyboards/handwired/jotanck/info.json index 0e4966218ab..4c81ac1a61b 100644 --- a/keyboards/handwired/jotanck/info.json +++ b/keyboards/handwired/jotanck/info.json @@ -1,20 +1,30 @@ { "keyboard_name": "Jotanck", "manufacturer": "Jotix", - "url": "", + "url": "https://github.com/qmk/qmk_firmware/tree/master/keyboards/handwired/jotanck", "maintainer": "jotix", "usb": { "vid": "0x4A4F", "pid": "0x5458", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "tapping": { + "term": 175 + }, + "development_board": "promicro", "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "D3", "D2", "D1", "D0", "D4", "C6"], "rows": ["D7", "E6", "B6", "B2"] }, "diode_direction": "COL2ROW", - "processor": "atmega32u4", - "bootloader": "caterina", "community_layouts": ["ortho_4x12"], "layouts": { "LAYOUT_ortho_4x12": { diff --git a/keyboards/handwired/jotanck/rules.mk b/keyboards/handwired/jotanck/rules.mk index 696f3387241..6e7633bfe01 100644 --- a/keyboards/handwired/jotanck/rules.mk +++ b/keyboards/handwired/jotanck/rules.mk @@ -1,12 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. +# This file intentionally left blank From 729520f302e905e2b3e6711b1fc6d0061843e355 Mon Sep 17 00:00:00 2001 From: Thibaut CHARLES Date: Sun, 10 Mar 2024 01:06:58 +0100 Subject: [PATCH 059/107] Fix keychron q1v1 led config for iso layout (#23222) --- keyboards/keychron/q1v1/iso/iso.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/keyboards/keychron/q1v1/iso/iso.c b/keyboards/keychron/q1v1/iso/iso.c index affc41d2196..ef4f3425af0 100644 --- a/keyboards/keychron/q1v1/iso/iso.c +++ b/keyboards/keychron/q1v1/iso/iso.c @@ -121,28 +121,28 @@ led_config_t g_led_config = { // Key Matrix to LED Index { 0, __, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14 }, { 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, - { 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44 }, - { 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 71, 57, 58 }, - { 59, __, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 70, 13 }, - { 72, 73, 74, __, __, __, 75, __, __, __, 76, 77, 78, 79, 81 } + { 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 57, 43 }, + { 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 72, 56, 58 }, + { 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 81, 71, 13 }, + { 73, 74, 75, __, __, __, 76, __, __, __, 77, 78, 79, 80, 82 } }, { // LED Index to Physical Position {0,0}, {18,0}, {33,0}, {48,0}, {62,0}, {81,0}, {95,0}, {110,0}, {125,0}, {143,0}, {158,0}, {173,0}, {187,0}, {206,0}, {224,0}, {0,15}, {15,15}, {29,15}, {44,15}, {59,15}, {73,15}, {88,15}, {103,15}, {118,15}, {132,15}, {147,15}, {162,15}, {176,15}, {198,15}, {224,15}, - {4,26}, {22,26}, {37,26}, {51,26}, {66,26}, {81,26}, {95,26}, {110,26}, {125,26}, {140,26}, {154,26}, {169,26}, {184,26}, {202,26}, {224,26}, - {6,38}, {26,38}, {40,38}, {55,38}, {70,38}, {84,38}, {99,38}, {114,38}, {129,38}, {143,38}, {158,38}, {173,38}, {196,38}, {224,38}, - {9,49}, {33,49}, {48,49}, {62,49}, {77,49}, {92,49}, {106,49}, {121,49}, {136,49}, {151,49}, {165,49}, {185,49}, {209,52}, - {2,61}, {20,61}, {39,61}, {94,61}, {147,61}, {162,61}, {176,61}, {195,64}, {209,64}, {224,64} + {4,26}, {22,26}, {37,26}, {51,26}, {66,26}, {81,26}, {95,26}, {110,26}, {125,26}, {140,26}, {154,26}, {169,26}, {184,26}, {224,26}, + {6,38}, {26,38}, {40,38}, {55,38}, {70,38}, {84,38}, {99,38}, {114,38}, {129,38}, {143,38}, {158,38}, {173,38}, {187,38}, {203,32}, {224,38}, + {2,49}, {18,49}, {33,49}, {48,49}, {62,49}, {77,49}, {92,49}, {106,49}, {121,49}, {136,49}, {151,49}, {165,49}, {185,49}, {209,52}, + {2,61}, {20,61}, {39,61}, {94,61}, {147,61}, {162,61}, {176,61}, {195,64}, {209,64}, {224,64} }, { // RGB LED Index to Flag - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4, 4, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 1, 1, 4, 1, 1, 1, 1, 1, 1 + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, + 1, 1, 1, 4, 1, 1, 1, 1, 1, 1 } }; From c5225ab5009476c60a9cb27837615d4f29c9b19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Mart=C3=ADnez?= <58857054+elpekenin@users.noreply.github.com> Date: Sun, 10 Mar 2024 01:29:09 +0100 Subject: [PATCH 060/107] [Feature] Some metadata on QGF/QFF files (#20101) --- .../qmk/cli/painter/convert_graphics.py | 34 ++---- lib/python/qmk/cli/painter/make_font.py | 36 ++----- lib/python/qmk/painter.py | 102 ++++++++++++++++++ lib/python/qmk/painter_qgf.py | 26 ++++- 4 files changed, 146 insertions(+), 52 deletions(-) diff --git a/lib/python/qmk/cli/painter/convert_graphics.py b/lib/python/qmk/cli/painter/convert_graphics.py index 2519c49b25f..553c26aa5d5 100644 --- a/lib/python/qmk/cli/painter/convert_graphics.py +++ b/lib/python/qmk/cli/painter/convert_graphics.py @@ -1,10 +1,8 @@ """This script tests QGF functionality. """ -import re -import datetime from io import BytesIO from qmk.path import normpath -from qmk.painter import render_header, render_source, render_license, render_bytes, valid_formats +from qmk.painter import generate_subs, render_header, render_source, valid_formats from milc import cli from PIL import Image @@ -12,7 +10,7 @@ from PIL import Image @cli.argument('-v', '--verbose', arg_only=True, action='store_true', help='Turns on verbose output.') @cli.argument('-i', '--input', required=True, help='Specify input graphic file.') @cli.argument('-o', '--output', default='', help='Specify output directory. Defaults to same directory as input.') -@cli.argument('-f', '--format', required=True, help='Output format, valid types: %s' % (', '.join(valid_formats.keys()))) +@cli.argument('-f', '--format', required=True, help=f'Output format, valid types: {", ".join(valid_formats.keys())}') @cli.argument('-r', '--no-rle', arg_only=True, action='store_true', help='Disables the use of RLE when encoding images.') @cli.argument('-d', '--no-deltas', arg_only=True, action='store_true', help='Disables the use of delta frames when encoding animations.') @cli.argument('-w', '--raw', arg_only=True, action='store_true', help='Writes out the QGF file as raw data instead of c/h combo.') @@ -51,43 +49,31 @@ def painter_convert_graphics(cli): # Convert the image to QGF using PIL out_data = BytesIO() - input_img.save(out_data, "QGF", use_deltas=(not cli.args.no_deltas), use_rle=(not cli.args.no_rle), qmk_format=format, verbose=cli.args.verbose) + metadata = [] + input_img.save(out_data, "QGF", use_deltas=(not cli.args.no_deltas), use_rle=(not cli.args.no_rle), qmk_format=format, verbose=cli.args.verbose, metadata=metadata) out_bytes = out_data.getvalue() if cli.args.raw: - raw_file = cli.args.output / (cli.args.input.stem + ".qgf") + raw_file = cli.args.output / f"{cli.args.input.stem}.qgf" with open(raw_file, 'wb') as raw: raw.write(out_bytes) return # Work out the text substitutions for rendering the output data - subs = { - 'generated_type': 'image', - 'var_prefix': 'gfx', - 'generator_command': f'qmk painter-convert-graphics -i {cli.args.input.name} -f {cli.args.format}', - 'year': datetime.date.today().strftime("%Y"), - 'input_file': cli.args.input.name, - 'sane_name': re.sub(r"[^a-zA-Z0-9]", "_", cli.args.input.stem), - 'byte_count': len(out_bytes), - 'bytes_lines': render_bytes(out_bytes), - 'format': cli.args.format, - } - - # Render the license - subs.update({'license': render_license(subs)}) + args_str = " ".join((f"--{arg} {getattr(cli.args, arg.replace('-', '_'))}" for arg in ["input", "output", "format", "no-rle", "no-deltas"])) + command = f"qmk painter-convert-graphics {args_str}" + subs = generate_subs(cli, out_bytes, image_metadata=metadata, command=command) # Render and write the header file header_text = render_header(subs) - header_file = cli.args.output / (cli.args.input.stem + ".qgf.h") + header_file = cli.args.output / f"{cli.args.input.stem}.qgf.h" with open(header_file, 'w') as header: print(f"Writing {header_file}...") header.write(header_text) - header.close() # Render and write the source file source_text = render_source(subs) - source_file = cli.args.output / (cli.args.input.stem + ".qgf.c") + source_file = cli.args.output / f"{cli.args.input.stem}.qgf.c" with open(source_file, 'w') as source: print(f"Writing {source_file}...") source.write(source_text) - source.close() diff --git a/lib/python/qmk/cli/painter/make_font.py b/lib/python/qmk/cli/painter/make_font.py index c0189920d2d..19db8449316 100644 --- a/lib/python/qmk/cli/painter/make_font.py +++ b/lib/python/qmk/cli/painter/make_font.py @@ -1,12 +1,10 @@ """This script automates the conversion of font files into a format QMK firmware understands. """ -import re -import datetime from io import BytesIO from qmk.path import normpath -from qmk.painter_qff import QFFFont -from qmk.painter import render_header, render_source, render_license, render_bytes, valid_formats +from qmk.painter_qff import _generate_font_glyphs_list, QFFFont +from qmk.painter import generate_subs, render_header, render_source, valid_formats from milc import cli @@ -31,7 +29,7 @@ def painter_make_font_image(cli): @cli.argument('-o', '--output', default='', help='Specify output directory. Defaults to same directory as input.') @cli.argument('-n', '--no-ascii', arg_only=True, action='store_true', help='Disables output of the full ASCII character set (0x20..0x7E), exporting only the glyphs specified.') @cli.argument('-u', '--unicode-glyphs', default='', help='Also generate the specified unicode glyphs.') -@cli.argument('-f', '--format', required=True, help='Output format, valid types: %s' % (', '.join(valid_formats.keys()))) +@cli.argument('-f', '--format', required=True, help=f'Output format, valid types: {", ".join(valid_formats.keys())}') @cli.argument('-r', '--no-rle', arg_only=True, action='store_true', help='Disable the use of RLE to minimise converted image size.') @cli.argument('-w', '--raw', arg_only=True, action='store_true', help='Writes out the QFF file as raw data instead of c/h combo.') @cli.subcommand('Converts an input font image to something QMK firmware understands') @@ -53,43 +51,31 @@ def painter_convert_font_image(cli): # Render out the data out_data = BytesIO() - font.save_to_qff(format, (False if cli.args.no_rle else True), out_data) + font.save_to_qff(format, not cli.args.no_rle, out_data) out_bytes = out_data.getvalue() if cli.args.raw: - raw_file = cli.args.output / (cli.args.input.stem + ".qff") + raw_file = cli.args.output / f"{cli.args.input.stem}.qff" with open(raw_file, 'wb') as raw: raw.write(out_bytes) return # Work out the text substitutions for rendering the output data - subs = { - 'generated_type': 'font', - 'var_prefix': 'font', - 'generator_command': f'qmk painter-convert-font-image -i {cli.args.input.name} -f {cli.args.format}', - 'year': datetime.date.today().strftime("%Y"), - 'input_file': cli.args.input.name, - 'sane_name': re.sub(r"[^a-zA-Z0-9]", "_", cli.args.input.stem), - 'byte_count': len(out_bytes), - 'bytes_lines': render_bytes(out_bytes), - 'format': cli.args.format, - } - - # Render the license - subs.update({'license': render_license(subs)}) + args_str = " ".join((f"--{arg} {getattr(cli.args, arg.replace('-', '_'))}" for arg in ["input", "output", "no-ascii", "unicode-glyphs", "format", "no-rle"])) + command = f"qmk painter-convert-font-image {args_str}" + metadata = {"glyphs": _generate_font_glyphs_list(not cli.args.no_ascii, cli.args.unicode_glyphs)} + subs = generate_subs(cli, out_bytes, font_metadata=metadata, command=command) # Render and write the header file header_text = render_header(subs) - header_file = cli.args.output / (cli.args.input.stem + ".qff.h") + header_file = cli.args.output / f"{cli.args.input.stem}.qff.h" with open(header_file, 'w') as header: print(f"Writing {header_file}...") header.write(header_text) - header.close() # Render and write the source file source_text = render_source(subs) - source_file = cli.args.output / (cli.args.input.stem + ".qff.c") + source_file = cli.args.output / f"{cli.args.input.stem}.qff.c" with open(source_file, 'w') as source: print(f"Writing {source_file}...") source.write(source_text) - source.close() diff --git a/lib/python/qmk/painter.py b/lib/python/qmk/painter.py index 381a9964431..512a486ce87 100644 --- a/lib/python/qmk/painter.py +++ b/lib/python/qmk/painter.py @@ -1,5 +1,6 @@ """Functions that help us work with Quantum Painter's file formats. """ +import datetime import math import re from string import Template @@ -79,6 +80,105 @@ valid_formats = { } } + +def _render_text(values): + # FIXME: May need more chars with GIFs containing lots of frames (or longer durations) + return "|".join([f"{i:4d}" for i in values]) + + +def _render_numeration(metadata): + return _render_text(range(len(metadata))) + + +def _render_values(metadata, key): + return _render_text([i[key] for i in metadata]) + + +def _render_image_metadata(metadata): + size = metadata.pop(0) + + lines = [ + "// Image's metadata", + "// ----------------", + f"// Width: {size['width']}", + f"// Height: {size['height']}", + ] + + if len(metadata) == 1: + lines.append("// Single frame") + + else: + lines.extend([ + f"// Frame: {_render_numeration(metadata)}", + f"// Duration(ms): {_render_values(metadata, 'delay')}", + f"// Compression: {_render_values(metadata, 'compression')} >> See qp.h, painter_compression_t", + f"// Delta: {_render_values(metadata, 'delta')}", + ]) + + deltas = [] + for i, v in enumerate(metadata): + # Not a delta frame, go to next one + if not v["delta"]: + continue + + # Unpack rect's coords + l, t, r, b = v["delta_rect"] + + delta_px = (r - l) * (b - t) + px = size["width"] * size["height"] + + # FIXME: May need need more chars here too + deltas.append(f"// Frame {i:3d}: ({l:3d}, {t:3d}) - ({r:3d}, {b:3d}) >> {delta_px:4d}/{px:4d} pixels ({100*delta_px/px:.2f}%)") + + if deltas: + lines.append("// Areas on delta frames") + lines.extend(deltas) + + return "\n".join(lines) + + +def generate_subs(cli, out_bytes, *, font_metadata=None, image_metadata=None, command): + if font_metadata is not None and image_metadata is not None: + raise ValueError("Cant generate subs for font and image at the same time") + + subs = { + "year": datetime.date.today().strftime("%Y"), + "input_file": cli.args.input.name, + "sane_name": re.sub(r"[^a-zA-Z0-9]", "_", cli.args.input.stem), + "byte_count": len(out_bytes), + "bytes_lines": render_bytes(out_bytes), + "format": cli.args.format, + "generator_command": command, + } + + if font_metadata is not None: + subs.update({ + "generated_type": "font", + "var_prefix": "font", + # not using triple quotes to avoid extra indentation/weird formatted code + "metadata": "\n".join([ + "// Font's metadata", + "// ---------------", + f"// Glyphs: {', '.join([i for i in font_metadata['glyphs']])}", + ]), + }) + + elif image_metadata is not None: + subs.update({ + "generated_type": "image", + "var_prefix": "gfx", + "generator_command": command, + "metadata": _render_image_metadata(image_metadata), + }) + + else: + raise ValueError("Pass metadata for either an image or a font") + + subs.update({"license": render_license(subs)}) + + return subs + + license_template = """\ // Copyright ${year} QMK -- generated source code only, ${generated_type} retains original copyright // SPDX-License-Identifier: GPL-2.0-or-later @@ -110,6 +210,8 @@ def render_header(subs): source_file_template = """\ ${license} +${metadata} + #include const uint32_t ${var_prefix}_${sane_name}_length = ${byte_count}; diff --git a/lib/python/qmk/painter_qgf.py b/lib/python/qmk/painter_qgf.py index cc4697f1c62..67ef0dd2338 100644 --- a/lib/python/qmk/painter_qgf.py +++ b/lib/python/qmk/painter_qgf.py @@ -327,8 +327,9 @@ def _compress_image(frame, last_frame, *, use_rle, use_deltas, format_, **_kwarg # Helper function to save each frame to the output file -def _write_frame(idx, frame, last_frame, *, fp, frame_offsets, **kwargs): - # Not an argument of the function as it would consume from **kwargs +def _write_frame(idx, frame, last_frame, *, fp, frame_offsets, metadata, **kwargs): + # Not an argument of the function as it would then not be part of kwargs + # This would cause an issue with `_compress_image(**kwargs)` missing an argument format_ = kwargs["format_"] # (potentially) Apply RLE and/or delta, and work out output image's information @@ -370,6 +371,21 @@ def _write_frame(idx, frame, last_frame, *, fp, frame_offsets, **kwargs): vprint(f'{f"Frame {idx:3d} delta":26s} {fp.tell():5d}d / {fp.tell():04X}h') delta_descriptor.write(fp) + # Store metadata, showed later in a comment in the generated file + frame_metadata = { + "compression": frame_descriptor.compression, + "delta": frame_descriptor.is_delta, + "delay": frame_descriptor.delay, + } + if frame_metadata["delta"]: + frame_metadata.update({"delta_rect": [ + delta_descriptor.left, + delta_descriptor.top, + delta_descriptor.right, + delta_descriptor.bottom, + ]}) + metadata.append(frame_metadata) + # Write out the data for this frame to the output data_descriptor = QGFFrameDataDescriptorV1() data_descriptor.data = image_data @@ -383,6 +399,10 @@ def _save(im, fp, _filename): # Work out from the parameters if we need to do anything special encoderinfo = im.encoderinfo.copy() + # Store image file in metadata structure + metadata = encoderinfo.get("metadata", []) + metadata.append({"width": im.width, "height": im.height}) + # Helper for prints, noop taking any args if not verbose global vprint verbose = encoderinfo.get("verbose", False) @@ -417,7 +437,7 @@ def _save(im, fp, _filename): frame_offsets.write(fp) # Iterate over each if the input frames, writing it to the output in the process - write_frame = functools.partial(_write_frame, format_=encoderinfo["qmk_format"], fp=fp, use_deltas=encoderinfo.get("use_deltas", True), use_rle=encoderinfo.get("use_rle", True), frame_offsets=frame_offsets) + write_frame = functools.partial(_write_frame, format_=encoderinfo["qmk_format"], fp=fp, use_deltas=encoderinfo.get("use_deltas", True), use_rle=encoderinfo.get("use_rle", True), frame_offsets=frame_offsets, metadata=metadata) for_all_frames(write_frame) # Go back and update the graphics descriptor now that we can determine the final file size From 9f4a9d5826dde903aa0dcec3264cbf192b5044da Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 10 Mar 2024 05:20:25 +0000 Subject: [PATCH 061/107] Enable 'keyboard.json' as a build target (#22891) --- .gitignore | 1 + builddefs/build_keyboard.mk | 40 +++++++++++++------ data/templates/keyboard/config.h | 20 ---------- .../keyboard/{info.json => keyboard.json} | 0 data/templates/keyboard/rules.mk | 1 - .../zv48/f401/{info.json => keyboard.json} | 0 keyboards/zvecr/zv48/f401/rules.mk | 3 -- .../qmk/cli/generate/make_dependencies.py | 3 +- lib/python/qmk/cli/new/keyboard.py | 2 +- lib/python/qmk/info.py | 15 ++++++- lib/python/qmk/keyboard.py | 10 +++-- lib/python/qmk/path.py | 3 +- 12 files changed, 53 insertions(+), 45 deletions(-) delete mode 100644 data/templates/keyboard/config.h rename data/templates/keyboard/{info.json => keyboard.json} (100%) delete mode 100644 data/templates/keyboard/rules.mk rename keyboards/zvecr/zv48/f401/{info.json => keyboard.json} (100%) delete mode 100644 keyboards/zvecr/zv48/f401/rules.mk diff --git a/.gitignore b/.gitignore index ca9f00a7330..35b128606d7 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,7 @@ quantum/version.h # DD config at wrong location /keyboards/**/keymaps/*/info.json +/keyboards/**/keymaps/*/keyboard.json # Old-style QMK Makefiles /keyboards/**/Makefile diff --git a/builddefs/build_keyboard.mk b/builddefs/build_keyboard.mk index f17171fe209..0b9ab8849f7 100644 --- a/builddefs/build_keyboard.mk +++ b/builddefs/build_keyboard.mk @@ -119,7 +119,7 @@ MAIN_KEYMAP_PATH_3 := $(KEYBOARD_PATH_3)/keymaps/$(KEYMAP) MAIN_KEYMAP_PATH_4 := $(KEYBOARD_PATH_4)/keymaps/$(KEYMAP) MAIN_KEYMAP_PATH_5 := $(KEYBOARD_PATH_5)/keymaps/$(KEYMAP) -# Pull in rules from info.json +# Pull in rules from DD keyboard config INFO_RULES_MK = $(shell $(QMK_BIN) generate-rules-mk --quiet --escape --keyboard $(KEYBOARD) --output $(INTERMEDIATE_OUTPUT)/src/info_rules.mk) include $(INFO_RULES_MK) @@ -221,7 +221,7 @@ include $(BUILDDEFS_PATH)/converters.mk MCU_ORIG := $(MCU) include $(wildcard $(PLATFORM_PATH)/*/mcu_selection.mk) -# PLATFORM_KEY should be detected in info.json via key 'processor' (or rules.mk 'MCU') +# PLATFORM_KEY should be detected in DD keyboard config via key 'processor' (or rules.mk 'MCU') ifeq ($(PLATFORM_KEY),) $(call CATASTROPHIC_ERROR,Platform not defined) endif @@ -335,38 +335,54 @@ ifneq ("$(wildcard $(KEYBOARD_PATH_5)/post_config.h)","") POST_CONFIG_H += $(KEYBOARD_PATH_5)/post_config.h endif -# Pull in stuff from info.json -INFO_JSON_FILES := +# Create dependencies on DD keyboard config - structure validated elsewhere +DD_CONFIG_FILES := ifneq ("$(wildcard $(KEYBOARD_PATH_1)/info.json)","") - INFO_JSON_FILES += $(KEYBOARD_PATH_1)/info.json + DD_CONFIG_FILES += $(KEYBOARD_PATH_1)/info.json endif ifneq ("$(wildcard $(KEYBOARD_PATH_2)/info.json)","") - INFO_JSON_FILES += $(KEYBOARD_PATH_2)/info.json + DD_CONFIG_FILES += $(KEYBOARD_PATH_2)/info.json endif ifneq ("$(wildcard $(KEYBOARD_PATH_3)/info.json)","") - INFO_JSON_FILES += $(KEYBOARD_PATH_3)/info.json + DD_CONFIG_FILES += $(KEYBOARD_PATH_3)/info.json endif ifneq ("$(wildcard $(KEYBOARD_PATH_4)/info.json)","") - INFO_JSON_FILES += $(KEYBOARD_PATH_4)/info.json + DD_CONFIG_FILES += $(KEYBOARD_PATH_4)/info.json endif ifneq ("$(wildcard $(KEYBOARD_PATH_5)/info.json)","") - INFO_JSON_FILES += $(KEYBOARD_PATH_5)/info.json + DD_CONFIG_FILES += $(KEYBOARD_PATH_5)/info.json +endif + +ifneq ("$(wildcard $(KEYBOARD_PATH_1)/keyboard.json)","") + DD_CONFIG_FILES += $(KEYBOARD_PATH_1)/keyboard.json +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_2)/keyboard.json)","") + DD_CONFIG_FILES += $(KEYBOARD_PATH_2)/keyboard.json +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_3)/keyboard.json)","") + DD_CONFIG_FILES += $(KEYBOARD_PATH_3)/keyboard.json +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_4)/keyboard.json)","") + DD_CONFIG_FILES += $(KEYBOARD_PATH_4)/keyboard.json +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_5)/keyboard.json)","") + DD_CONFIG_FILES += $(KEYBOARD_PATH_5)/keyboard.json endif CONFIG_H += $(INTERMEDIATE_OUTPUT)/src/info_config.h KEYBOARD_SRC += $(INTERMEDIATE_OUTPUT)/src/default_keyboard.c -$(INTERMEDIATE_OUTPUT)/src/info_config.h: $(INFO_JSON_FILES) +$(INTERMEDIATE_OUTPUT)/src/info_config.h: $(DD_CONFIG_FILES) @$(SILENT) || printf "$(MSG_GENERATING) $@" | $(AWK_CMD) $(eval CMD=$(QMK_BIN) generate-config-h --quiet --keyboard $(KEYBOARD) --output $(INTERMEDIATE_OUTPUT)/src/info_config.h) @$(BUILD_CMD) -$(INTERMEDIATE_OUTPUT)/src/default_keyboard.c: $(INFO_JSON_FILES) +$(INTERMEDIATE_OUTPUT)/src/default_keyboard.c: $(DD_CONFIG_FILES) @$(SILENT) || printf "$(MSG_GENERATING) $@" | $(AWK_CMD) $(eval CMD=$(QMK_BIN) generate-keyboard-c --quiet --keyboard $(KEYBOARD) --output $(INTERMEDIATE_OUTPUT)/src/default_keyboard.c) @$(BUILD_CMD) -$(INTERMEDIATE_OUTPUT)/src/default_keyboard.h: $(INFO_JSON_FILES) +$(INTERMEDIATE_OUTPUT)/src/default_keyboard.h: $(DD_CONFIG_FILES) @$(SILENT) || printf "$(MSG_GENERATING) $@" | $(AWK_CMD) $(eval CMD=$(QMK_BIN) generate-keyboard-h --quiet --keyboard $(KEYBOARD) --include $(FOUND_KEYBOARD_H) --output $(INTERMEDIATE_OUTPUT)/src/default_keyboard.h) @$(BUILD_CMD) diff --git a/data/templates/keyboard/config.h b/data/templates/keyboard/config.h deleted file mode 100644 index b15c8d31f14..00000000000 --- a/data/templates/keyboard/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright %YEAR% %REAL_NAME% (@%USER_NAME%) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/data/templates/keyboard/info.json b/data/templates/keyboard/keyboard.json similarity index 100% rename from data/templates/keyboard/info.json rename to data/templates/keyboard/keyboard.json diff --git a/data/templates/keyboard/rules.mk b/data/templates/keyboard/rules.mk deleted file mode 100644 index 6e7633bfe01..00000000000 --- a/data/templates/keyboard/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank diff --git a/keyboards/zvecr/zv48/f401/info.json b/keyboards/zvecr/zv48/f401/keyboard.json similarity index 100% rename from keyboards/zvecr/zv48/f401/info.json rename to keyboards/zvecr/zv48/f401/keyboard.json diff --git a/keyboards/zvecr/zv48/f401/rules.mk b/keyboards/zvecr/zv48/f401/rules.mk deleted file mode 100644 index 4df55cd2206..00000000000 --- a/keyboards/zvecr/zv48/f401/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# Disable unsupported hardware -AUDIO_SUPPORTED = no -BACKLIGHT_SUPPORTED = no diff --git a/lib/python/qmk/cli/generate/make_dependencies.py b/lib/python/qmk/cli/generate/make_dependencies.py index 9b695e907de..331132a20f5 100755 --- a/lib/python/qmk/cli/generate/make_dependencies.py +++ b/lib/python/qmk/cli/generate/make_dependencies.py @@ -18,10 +18,11 @@ from qmk.path import normpath, FileType @cli.argument('-km', '--keymap', completer=keymap_completer, help='The keymap to build a firmware for. Ignored when a configurator export is supplied.') @cli.subcommand('Generates the list of dependencies associated with a keyboard build and its generated files.', hidden=True) def generate_make_dependencies(cli): - """Generates the list of dependent info.json, rules.mk, and config.h files for a keyboard. + """Generates the list of dependent config files for a keyboard. """ interesting_files = [ 'info.json', + 'keyboard.json', 'rules.mk', 'post_rules.mk', 'config.h', diff --git a/lib/python/qmk/cli/new/keyboard.py b/lib/python/qmk/cli/new/keyboard.py index cb50acf8bb9..700afc96a62 100644 --- a/lib/python/qmk/cli/new/keyboard.py +++ b/lib/python/qmk/cli/new/keyboard.py @@ -251,7 +251,7 @@ def new_keyboard(cli): # merge in infos community_info = Path(COMMUNITY / f'{default_layout}/info.json') - augment_community_info(community_info, keyboard(kb_name) / community_info.name) + augment_community_info(community_info, keyboard(kb_name) / 'keyboard.json') cli.log.info(f'{{fg_green}}Created a new keyboard called {{fg_cyan}}{kb_name}{{fg_green}}.{{fg_reset}}') cli.log.info(f"Build Command: {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.") diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 13588abdb85..24492846680 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -863,7 +863,17 @@ def unknown_processor_rules(info_data, rules): def merge_info_jsons(keyboard, info_data): """Return a merged copy of all the info.json files for a keyboard. """ - for info_file in find_info_json(keyboard): + config_files = find_info_json(keyboard) + + # keyboard.json can only exist at the deepest part of the tree + keyboard_json_count = 0 + for index, info_file in enumerate(config_files): + if Path(info_file).name == 'keyboard.json': + keyboard_json_count += 1 + if index != 0 or keyboard_json_count > 1: + _log_error(info_data, f'Invalid keyboard.json location detected: {info_file}.') + + for info_file in config_files: # Load and validate the JSON data new_info_data = json_load(info_file) @@ -921,7 +931,7 @@ def find_info_json(keyboard): base_path = Path('keyboards') keyboard_path = base_path / keyboard keyboard_parent = keyboard_path.parent - info_jsons = [keyboard_path / 'info.json'] + info_jsons = [keyboard_path / 'info.json', keyboard_path / 'keyboard.json'] # Add DEFAULT_FOLDER before parents, if present rules = rules_mk(keyboard) @@ -933,6 +943,7 @@ def find_info_json(keyboard): if keyboard_parent == base_path: break info_jsons.append(keyboard_parent / 'info.json') + info_jsons.append(keyboard_parent / 'keyboard.json') keyboard_parent = keyboard_parent.parent # Return a list of the info.json files that actually exist diff --git a/lib/python/qmk/keyboard.py b/lib/python/qmk/keyboard.py index b56505d649c..0fcc2e868d1 100644 --- a/lib/python/qmk/keyboard.py +++ b/lib/python/qmk/keyboard.py @@ -166,9 +166,9 @@ def keyboard_folder_or_all(keyboard): def _find_name(path): - """Determine the keyboard name by stripping off the base_path and rules.mk. + """Determine the keyboard name by stripping off the base_path and filename. """ - return path.replace(base_path, "").replace(os.path.sep + "rules.mk", "") + return path.replace(base_path, "").rsplit(os.path.sep, 1)[0] def keyboard_completer(prefix, action, parser, parsed_args): @@ -181,8 +181,10 @@ def list_keyboards(resolve_defaults=True): """Returns a list of all keyboards - optionally processing any DEFAULT_FOLDER. """ # We avoid pathlib here because this is performance critical code. - kb_wildcard = os.path.join(base_path, "**", "rules.mk") - paths = [path for path in glob(kb_wildcard, recursive=True) if os.path.sep + 'keymaps' + os.path.sep not in path] + paths = [] + for marker in ['rules.mk', 'keyboard.json']: + kb_wildcard = os.path.join(base_path, "**", marker) + paths += [path for path in glob(kb_wildcard, recursive=True) if os.path.sep + 'keymaps' + os.path.sep not in path] found = map(_find_name, paths) if resolve_defaults: diff --git a/lib/python/qmk/path.py b/lib/python/qmk/path.py index 74364ee04b0..85a8f48c4f8 100644 --- a/lib/python/qmk/path.py +++ b/lib/python/qmk/path.py @@ -15,8 +15,9 @@ def is_keyboard(keyboard_name): if keyboard_name: keyboard_path = QMK_FIRMWARE / 'keyboards' / keyboard_name rules_mk = keyboard_path / 'rules.mk' + keyboard_json = keyboard_path / 'keyboard.json' - return rules_mk.exists() + return rules_mk.exists() or keyboard_json.exists() def under_qmk_firmware(path=Path(os.environ['ORIG_CWD'])): From c0dbe9a33662a651fb91afb2e4810bae3f6a825e Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sat, 9 Mar 2024 21:34:41 -0800 Subject: [PATCH 062/107] Add utility functions for Pointing Device Auto Mouse feature (#23144) * Make is_auto_mouse_active() available globally * Add mouse key tracker functions for auto mouse layer --- docs/feature_pointing_device.md | 3 +++ .../pointing_device_auto_mouse.c | 20 ++++++++++++++++++- .../pointing_device_auto_mouse.h | 4 +++- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/feature_pointing_device.md b/docs/feature_pointing_device.md index b091dec08b9..f55b3082861 100644 --- a/docs/feature_pointing_device.md +++ b/docs/feature_pointing_device.md @@ -780,6 +780,9 @@ There are several functions that allow for more advanced interaction with the au | `get_auto_mouse_timeout(void)` | Return the current timeout for turing off the layer | | `uint16_t` | | `set_auto_mouse_debounce(uint16_t timeout)` | Change/set the debounce for preventing layer activation | | `void`(None) | | `get_auto_mouse_debounce(void)` | Return the current debounce for preventing layer activation | | `uint8_t` | +| `is_auto_mouse_active(void)` | Returns the active state of the auto mouse layer (eg if the layer has been triggered)| | `bool` | +| `get_auto_mouse_key_tracker(void)` | Gets the current count for the auto mouse key tracker. | | `int8_t` | +| `set_auto_mouse_key_tracker(int8_t key_tracker)` | Sets/Overrides the current count for the auto mouse key tracker. | | `void`(None) | _NOTES:_ - _Due to the nature of how some functions work, the `auto_mouse_trigger_reset`, and `auto_mouse_layer_off` functions should never be called in the `layer_state_set_*` stack as this can cause indefinite loops._ diff --git a/quantum/pointing_device/pointing_device_auto_mouse.c b/quantum/pointing_device/pointing_device_auto_mouse.c index 1b11fffedb7..d9f924e258e 100644 --- a/quantum/pointing_device/pointing_device_auto_mouse.c +++ b/quantum/pointing_device/pointing_device_auto_mouse.c @@ -45,7 +45,7 @@ static inline bool layer_hold_check(void) { } /* check all layer activation criteria */ -static inline bool is_auto_mouse_active(void) { +bool is_auto_mouse_active(void) { return auto_mouse_context.status.is_activated || auto_mouse_context.status.mouse_key_tracker || layer_hold_check(); } @@ -98,6 +98,15 @@ bool get_auto_mouse_toggle(void) { return auto_mouse_context.status.is_toggled; } +/** + * @brief get key tracker value + * + * @return bool of current layer_toggled state + */ +int8_t get_auto_mouse_key_tracker(void) { + return auto_mouse_context.status.mouse_key_tracker; +} + /** * @brief Reset auto mouse context * @@ -163,6 +172,15 @@ void set_auto_mouse_debounce(uint8_t debounce) { auto_mouse_reset(); } +/** + * @brief Changes the timeout for the mouse auto layer to be disabled + * + * @param key_tracker + */ +void set_auto_mouse_key_tracker(int8_t key_tracker) { + auto_mouse_context.status.mouse_key_tracker = key_tracker; +} + /** * @brief toggle mouse layer setting * diff --git a/quantum/pointing_device/pointing_device_auto_mouse.h b/quantum/pointing_device/pointing_device_auto_mouse.h index 904f18b68e2..a596c065a31 100644 --- a/quantum/pointing_device/pointing_device_auto_mouse.h +++ b/quantum/pointing_device/pointing_device_auto_mouse.h @@ -81,9 +81,11 @@ void set_auto_mouse_timeout(uint16_t timeout); // set l uint16_t get_auto_mouse_timeout(void); // get layer timeout void set_auto_mouse_debounce(uint8_t debounce); // set debounce uint8_t get_auto_mouse_debounce(void); // get debounce +void set_auto_mouse_key_tracker(int8_t key_tracker); // set key tracker +int8_t get_auto_mouse_key_tracker(void); // get key tracker void auto_mouse_layer_off(void); // disable target layer if appropriate (DO NOT USE in layer_state_set stack!!) layer_state_t remove_auto_mouse_layer(layer_state_t state, bool force); // remove auto mouse target layer from state if appropriate (can be forced) - +bool is_auto_mouse_active(void); // check if target layer is active /* ----------For custom pointing device activation----------------------------------------------------------- */ bool auto_mouse_activation(report_mouse_t mouse_report); // handles pointing device trigger conditions for target layer activation (overwritable) From be42ea306b36bf7fac8b790452536156de8efcf6 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Sat, 9 Mar 2024 23:04:00 -0800 Subject: [PATCH 063/107] KBDfans KBD19x Layout Additions (#23230) * Add layout/matrix diagram [docs] * Re-sort JSON `layouts` object Moves the `LAYOUT_all` object to be first in sequence. [refactor] * Add `LAYOUT_ansi_split_bs` [enhancement] * Add `LAYOUT_iso_split_bs` [enhancement] * Add `LAYOUT_ansi_wkl_split_bs` [enhancement] * Add `LAYOUT_ansi_wkl` [enhancement] * Add `LAYOUT_iso_wkl_split_bs` [enhancement] * Add `LAYOUT_iso_wkl` [enhancement] --- keyboards/kbdfans/kbd19x/info.json | 750 ++++++++++++++++++++- keyboards/kbdfans/kbd19x/matrix_diagram.md | 28 + 2 files changed, 761 insertions(+), 17 deletions(-) create mode 100644 keyboards/kbdfans/kbd19x/matrix_diagram.md diff --git a/keyboards/kbdfans/kbd19x/info.json b/keyboards/kbdfans/kbd19x/info.json index c37e3587e25..f2b28e4a086 100644 --- a/keyboards/kbdfans/kbd19x/info.json +++ b/keyboards/kbdfans/kbd19x/info.json @@ -46,6 +46,130 @@ "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { + "LAYOUT_all": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + + {"matrix": [6, 0], "x": 5.5, "y": 0}, + {"matrix": [6, 1], "x": 6.5, "y": 0}, + {"matrix": [6, 2], "x": 7.5, "y": 0}, + {"matrix": [6, 3], "x": 8.5, "y": 0}, + + {"matrix": [0, 5], "x": 9.75, "y": 0}, + {"matrix": [0, 6], "x": 10.75, "y": 0}, + {"matrix": [0, 7], "x": 11.75, "y": 0}, + {"matrix": [0, 8], "x": 12.75, "y": 0}, + + {"matrix": [7, 2], "x": 14, "y": 0}, + + {"matrix": [0, 9], "x": 15.5, "y": 0}, + {"matrix": [0, 10], "x": 16.5, "y": 0}, + {"matrix": [0, 11], "x": 17.5, "y": 0}, + {"matrix": [0, 12], "x": 18.5, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.5}, + {"matrix": [1, 1], "x": 1, "y": 1.5}, + {"matrix": [1, 2], "x": 2, "y": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 1.5}, + {"matrix": [1, 4], "x": 4, "y": 1.5}, + {"matrix": [6, 4], "x": 5, "y": 1.5}, + {"matrix": [6, 5], "x": 6, "y": 1.5}, + {"matrix": [6, 6], "x": 7, "y": 1.5}, + {"matrix": [6, 7], "x": 8, "y": 1.5}, + {"matrix": [1, 5], "x": 9, "y": 1.5}, + {"matrix": [1, 6], "x": 10, "y": 1.5}, + {"matrix": [1, 7], "x": 11, "y": 1.5}, + {"matrix": [1, 8], "x": 12, "y": 1.5}, + {"matrix": [7, 0], "x": 13, "y": 1.5}, + {"matrix": [7, 1], "x": 14, "y": 1.5}, + + {"matrix": [1, 9], "x": 15.5, "y": 1.5}, + {"matrix": [1, 10], "x": 16.5, "y": 1.5}, + {"matrix": [1, 11], "x": 17.5, "y": 1.5}, + {"matrix": [1, 12], "x": 18.5, "y": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.5}, + {"matrix": [2, 2], "x": 2.5, "y": 2.5}, + {"matrix": [2, 3], "x": 3.5, "y": 2.5}, + {"matrix": [2, 4], "x": 4.5, "y": 2.5}, + {"matrix": [6, 8], "x": 5.5, "y": 2.5}, + {"matrix": [6, 9], "x": 6.5, "y": 2.5}, + {"matrix": [6, 10], "x": 7.5, "y": 2.5}, + {"matrix": [6, 11], "x": 8.5, "y": 2.5}, + {"matrix": [2, 5], "x": 9.5, "y": 2.5}, + {"matrix": [2, 6], "x": 10.5, "y": 2.5}, + {"matrix": [2, 7], "x": 11.5, "y": 2.5}, + {"matrix": [2, 8], "x": 12.5, "y": 2.5}, + {"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"matrix": [2, 9], "x": 15.5, "y": 2.5}, + {"matrix": [2, 10], "x": 16.5, "y": 2.5}, + {"matrix": [2, 11], "x": 17.5, "y": 2.5}, + {"matrix": [2, 12], "x": 18.5, "y": 2.5}, + + {"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.5}, + {"matrix": [3, 2], "x": 2.75, "y": 3.5}, + {"matrix": [3, 3], "x": 3.75, "y": 3.5}, + {"matrix": [3, 4], "x": 4.75, "y": 3.5}, + {"matrix": [6, 12], "x": 5.75, "y": 3.5}, + {"matrix": [7, 5], "x": 6.75, "y": 3.5}, + {"matrix": [7, 6], "x": 7.75, "y": 3.5}, + {"matrix": [7, 7], "x": 8.75, "y": 3.5}, + {"matrix": [3, 5], "x": 9.75, "y": 3.5}, + {"matrix": [3, 6], "x": 10.75, "y": 3.5}, + {"matrix": [3, 7], "x": 11.75, "y": 3.5}, + {"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25}, + + {"matrix": [3, 9], "x": 15.5, "y": 3.5}, + {"matrix": [3, 10], "x": 16.5, "y": 3.5}, + {"matrix": [3, 11], "x": 17.5, "y": 3.5}, + {"matrix": [3, 12], "x": 18.5, "y": 3.5}, + + {"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4.5}, + {"matrix": [4, 2], "x": 2.25, "y": 4.5}, + {"matrix": [4, 3], "x": 3.25, "y": 4.5}, + {"matrix": [4, 4], "x": 4.25, "y": 4.5}, + {"matrix": [7, 8], "x": 5.25, "y": 4.5}, + {"matrix": [7, 9], "x": 6.25, "y": 4.5}, + {"matrix": [7, 10], "x": 7.25, "y": 4.5}, + {"matrix": [7, 11], "x": 8.25, "y": 4.5}, + {"matrix": [4, 5], "x": 9.25, "y": 4.5}, + {"matrix": [4, 6], "x": 10.25, "y": 4.5}, + {"matrix": [4, 7], "x": 11.25, "y": 4.5}, + {"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75}, + + {"matrix": [7, 4], "x": 14.25, "y": 4.75}, + + {"matrix": [4, 9], "x": 15.5, "y": 4.5}, + {"matrix": [4, 10], "x": 16.5, "y": 4.5}, + {"matrix": [4, 11], "x": 17.5, "y": 4.5}, + {"matrix": [4, 12], "x": 18.5, "y": 4.5}, + + {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5.5}, + {"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25}, + {"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25}, + {"matrix": [5, 5], "x": 9.75, "y": 5.5}, + {"matrix": [5, 6], "x": 10.75, "y": 5.5}, + {"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25}, + + {"matrix": [5, 8], "x": 13.25, "y": 5.75}, + {"matrix": [5, 3], "x": 14.25, "y": 5.75}, + {"matrix": [5, 4], "x": 15.25, "y": 5.75}, + + {"matrix": [5, 10], "x": 16.5, "y": 5.5}, + {"matrix": [5, 11], "x": 17.5, "y": 5.5}, + {"matrix": [5, 12], "x": 18.5, "y": 5.5} + ] + }, "LAYOUT_ansi": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, @@ -85,7 +209,367 @@ {"matrix": [1, 6], "x": 10, "y": 1.5}, {"matrix": [1, 7], "x": 11, "y": 1.5}, {"matrix": [1, 8], "x": 12, "y": 1.5}, - {"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2}, + {"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2}, + + {"matrix": [1, 9], "x": 15.5, "y": 1.5}, + {"matrix": [1, 10], "x": 16.5, "y": 1.5}, + {"matrix": [1, 11], "x": 17.5, "y": 1.5}, + {"matrix": [1, 12], "x": 18.5, "y": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.5}, + {"matrix": [2, 2], "x": 2.5, "y": 2.5}, + {"matrix": [2, 3], "x": 3.5, "y": 2.5}, + {"matrix": [2, 4], "x": 4.5, "y": 2.5}, + {"matrix": [6, 8], "x": 5.5, "y": 2.5}, + {"matrix": [6, 9], "x": 6.5, "y": 2.5}, + {"matrix": [6, 10], "x": 7.5, "y": 2.5}, + {"matrix": [6, 11], "x": 8.5, "y": 2.5}, + {"matrix": [2, 5], "x": 9.5, "y": 2.5}, + {"matrix": [2, 6], "x": 10.5, "y": 2.5}, + {"matrix": [2, 7], "x": 11.5, "y": 2.5}, + {"matrix": [2, 8], "x": 12.5, "y": 2.5}, + {"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"matrix": [2, 9], "x": 15.5, "y": 2.5}, + {"matrix": [2, 10], "x": 16.5, "y": 2.5}, + {"matrix": [2, 11], "x": 17.5, "y": 2.5}, + {"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.5}, + {"matrix": [3, 2], "x": 2.75, "y": 3.5}, + {"matrix": [3, 3], "x": 3.75, "y": 3.5}, + {"matrix": [3, 4], "x": 4.75, "y": 3.5}, + {"matrix": [6, 12], "x": 5.75, "y": 3.5}, + {"matrix": [7, 5], "x": 6.75, "y": 3.5}, + {"matrix": [7, 6], "x": 7.75, "y": 3.5}, + {"matrix": [7, 7], "x": 8.75, "y": 3.5}, + {"matrix": [3, 5], "x": 9.75, "y": 3.5}, + {"matrix": [3, 6], "x": 10.75, "y": 3.5}, + {"matrix": [3, 7], "x": 11.75, "y": 3.5}, + {"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25}, + + {"matrix": [3, 9], "x": 15.5, "y": 3.5}, + {"matrix": [3, 10], "x": 16.5, "y": 3.5}, + {"matrix": [3, 11], "x": 17.5, "y": 3.5}, + + {"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4.5}, + {"matrix": [4, 3], "x": 3.25, "y": 4.5}, + {"matrix": [4, 4], "x": 4.25, "y": 4.5}, + {"matrix": [7, 8], "x": 5.25, "y": 4.5}, + {"matrix": [7, 9], "x": 6.25, "y": 4.5}, + {"matrix": [7, 10], "x": 7.25, "y": 4.5}, + {"matrix": [7, 11], "x": 8.25, "y": 4.5}, + {"matrix": [4, 5], "x": 9.25, "y": 4.5}, + {"matrix": [4, 6], "x": 10.25, "y": 4.5}, + {"matrix": [4, 7], "x": 11.25, "y": 4.5}, + {"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75}, + + {"matrix": [7, 4], "x": 14.25, "y": 4.75}, + + {"matrix": [4, 9], "x": 15.5, "y": 4.5}, + {"matrix": [4, 10], "x": 16.5, "y": 4.5}, + {"matrix": [4, 11], "x": 17.5, "y": 4.5}, + {"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2}, + + {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5.5}, + {"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25}, + {"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25}, + {"matrix": [5, 5], "x": 9.75, "y": 5.5}, + {"matrix": [5, 6], "x": 10.75, "y": 5.5}, + {"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25}, + + {"matrix": [5, 8], "x": 13.25, "y": 5.75}, + {"matrix": [5, 3], "x": 14.25, "y": 5.75}, + {"matrix": [5, 4], "x": 15.25, "y": 5.75}, + + {"matrix": [5, 10], "x": 16.5, "y": 5.5}, + {"matrix": [5, 11], "x": 17.5, "y": 5.5} + ] + }, + "LAYOUT_ansi_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + + {"matrix": [6, 0], "x": 5.5, "y": 0}, + {"matrix": [6, 1], "x": 6.5, "y": 0}, + {"matrix": [6, 2], "x": 7.5, "y": 0}, + {"matrix": [6, 3], "x": 8.5, "y": 0}, + + {"matrix": [0, 5], "x": 9.75, "y": 0}, + {"matrix": [0, 6], "x": 10.75, "y": 0}, + {"matrix": [0, 7], "x": 11.75, "y": 0}, + {"matrix": [0, 8], "x": 12.75, "y": 0}, + + {"matrix": [7, 2], "x": 14, "y": 0}, + + {"matrix": [0, 9], "x": 15.5, "y": 0}, + {"matrix": [0, 10], "x": 16.5, "y": 0}, + {"matrix": [0, 11], "x": 17.5, "y": 0}, + {"matrix": [0, 12], "x": 18.5, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.5}, + {"matrix": [1, 1], "x": 1, "y": 1.5}, + {"matrix": [1, 2], "x": 2, "y": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 1.5}, + {"matrix": [1, 4], "x": 4, "y": 1.5}, + {"matrix": [6, 4], "x": 5, "y": 1.5}, + {"matrix": [6, 5], "x": 6, "y": 1.5}, + {"matrix": [6, 6], "x": 7, "y": 1.5}, + {"matrix": [6, 7], "x": 8, "y": 1.5}, + {"matrix": [1, 5], "x": 9, "y": 1.5}, + {"matrix": [1, 6], "x": 10, "y": 1.5}, + {"matrix": [1, 7], "x": 11, "y": 1.5}, + {"matrix": [1, 8], "x": 12, "y": 1.5}, + {"matrix": [7, 0], "x": 13, "y": 1.5}, + {"matrix": [7, 1], "x": 14, "y": 1.5}, + + {"matrix": [1, 9], "x": 15.5, "y": 1.5}, + {"matrix": [1, 10], "x": 16.5, "y": 1.5}, + {"matrix": [1, 11], "x": 17.5, "y": 1.5}, + {"matrix": [1, 12], "x": 18.5, "y": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.5}, + {"matrix": [2, 2], "x": 2.5, "y": 2.5}, + {"matrix": [2, 3], "x": 3.5, "y": 2.5}, + {"matrix": [2, 4], "x": 4.5, "y": 2.5}, + {"matrix": [6, 8], "x": 5.5, "y": 2.5}, + {"matrix": [6, 9], "x": 6.5, "y": 2.5}, + {"matrix": [6, 10], "x": 7.5, "y": 2.5}, + {"matrix": [6, 11], "x": 8.5, "y": 2.5}, + {"matrix": [2, 5], "x": 9.5, "y": 2.5}, + {"matrix": [2, 6], "x": 10.5, "y": 2.5}, + {"matrix": [2, 7], "x": 11.5, "y": 2.5}, + {"matrix": [2, 8], "x": 12.5, "y": 2.5}, + {"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"matrix": [2, 9], "x": 15.5, "y": 2.5}, + {"matrix": [2, 10], "x": 16.5, "y": 2.5}, + {"matrix": [2, 11], "x": 17.5, "y": 2.5}, + {"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.5}, + {"matrix": [3, 2], "x": 2.75, "y": 3.5}, + {"matrix": [3, 3], "x": 3.75, "y": 3.5}, + {"matrix": [3, 4], "x": 4.75, "y": 3.5}, + {"matrix": [6, 12], "x": 5.75, "y": 3.5}, + {"matrix": [7, 5], "x": 6.75, "y": 3.5}, + {"matrix": [7, 6], "x": 7.75, "y": 3.5}, + {"matrix": [7, 7], "x": 8.75, "y": 3.5}, + {"matrix": [3, 5], "x": 9.75, "y": 3.5}, + {"matrix": [3, 6], "x": 10.75, "y": 3.5}, + {"matrix": [3, 7], "x": 11.75, "y": 3.5}, + {"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25}, + + {"matrix": [3, 9], "x": 15.5, "y": 3.5}, + {"matrix": [3, 10], "x": 16.5, "y": 3.5}, + {"matrix": [3, 11], "x": 17.5, "y": 3.5}, + + {"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4.5}, + {"matrix": [4, 3], "x": 3.25, "y": 4.5}, + {"matrix": [4, 4], "x": 4.25, "y": 4.5}, + {"matrix": [7, 8], "x": 5.25, "y": 4.5}, + {"matrix": [7, 9], "x": 6.25, "y": 4.5}, + {"matrix": [7, 10], "x": 7.25, "y": 4.5}, + {"matrix": [7, 11], "x": 8.25, "y": 4.5}, + {"matrix": [4, 5], "x": 9.25, "y": 4.5}, + {"matrix": [4, 6], "x": 10.25, "y": 4.5}, + {"matrix": [4, 7], "x": 11.25, "y": 4.5}, + {"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75}, + + {"matrix": [7, 4], "x": 14.25, "y": 4.75}, + + {"matrix": [4, 9], "x": 15.5, "y": 4.5}, + {"matrix": [4, 10], "x": 16.5, "y": 4.5}, + {"matrix": [4, 11], "x": 17.5, "y": 4.5}, + {"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2}, + + {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5.5}, + {"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25}, + {"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25}, + {"matrix": [5, 5], "x": 9.75, "y": 5.5}, + {"matrix": [5, 6], "x": 10.75, "y": 5.5}, + {"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25}, + + {"matrix": [5, 8], "x": 13.25, "y": 5.75}, + {"matrix": [5, 3], "x": 14.25, "y": 5.75}, + {"matrix": [5, 4], "x": 15.25, "y": 5.75}, + + {"matrix": [5, 10], "x": 16.5, "y": 5.5}, + {"matrix": [5, 11], "x": 17.5, "y": 5.5} + ] + }, + "LAYOUT_ansi_wkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + + {"matrix": [6, 0], "x": 5.5, "y": 0}, + {"matrix": [6, 1], "x": 6.5, "y": 0}, + {"matrix": [6, 2], "x": 7.5, "y": 0}, + {"matrix": [6, 3], "x": 8.5, "y": 0}, + + {"matrix": [0, 5], "x": 9.75, "y": 0}, + {"matrix": [0, 6], "x": 10.75, "y": 0}, + {"matrix": [0, 7], "x": 11.75, "y": 0}, + {"matrix": [0, 8], "x": 12.75, "y": 0}, + + {"matrix": [7, 2], "x": 14, "y": 0}, + + {"matrix": [0, 9], "x": 15.5, "y": 0}, + {"matrix": [0, 10], "x": 16.5, "y": 0}, + {"matrix": [0, 11], "x": 17.5, "y": 0}, + {"matrix": [0, 12], "x": 18.5, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.5}, + {"matrix": [1, 1], "x": 1, "y": 1.5}, + {"matrix": [1, 2], "x": 2, "y": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 1.5}, + {"matrix": [1, 4], "x": 4, "y": 1.5}, + {"matrix": [6, 4], "x": 5, "y": 1.5}, + {"matrix": [6, 5], "x": 6, "y": 1.5}, + {"matrix": [6, 6], "x": 7, "y": 1.5}, + {"matrix": [6, 7], "x": 8, "y": 1.5}, + {"matrix": [1, 5], "x": 9, "y": 1.5}, + {"matrix": [1, 6], "x": 10, "y": 1.5}, + {"matrix": [1, 7], "x": 11, "y": 1.5}, + {"matrix": [1, 8], "x": 12, "y": 1.5}, + {"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2}, + + {"matrix": [1, 9], "x": 15.5, "y": 1.5}, + {"matrix": [1, 10], "x": 16.5, "y": 1.5}, + {"matrix": [1, 11], "x": 17.5, "y": 1.5}, + {"matrix": [1, 12], "x": 18.5, "y": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.5}, + {"matrix": [2, 2], "x": 2.5, "y": 2.5}, + {"matrix": [2, 3], "x": 3.5, "y": 2.5}, + {"matrix": [2, 4], "x": 4.5, "y": 2.5}, + {"matrix": [6, 8], "x": 5.5, "y": 2.5}, + {"matrix": [6, 9], "x": 6.5, "y": 2.5}, + {"matrix": [6, 10], "x": 7.5, "y": 2.5}, + {"matrix": [6, 11], "x": 8.5, "y": 2.5}, + {"matrix": [2, 5], "x": 9.5, "y": 2.5}, + {"matrix": [2, 6], "x": 10.5, "y": 2.5}, + {"matrix": [2, 7], "x": 11.5, "y": 2.5}, + {"matrix": [2, 8], "x": 12.5, "y": 2.5}, + {"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"matrix": [2, 9], "x": 15.5, "y": 2.5}, + {"matrix": [2, 10], "x": 16.5, "y": 2.5}, + {"matrix": [2, 11], "x": 17.5, "y": 2.5}, + {"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.5}, + {"matrix": [3, 2], "x": 2.75, "y": 3.5}, + {"matrix": [3, 3], "x": 3.75, "y": 3.5}, + {"matrix": [3, 4], "x": 4.75, "y": 3.5}, + {"matrix": [6, 12], "x": 5.75, "y": 3.5}, + {"matrix": [7, 5], "x": 6.75, "y": 3.5}, + {"matrix": [7, 6], "x": 7.75, "y": 3.5}, + {"matrix": [7, 7], "x": 8.75, "y": 3.5}, + {"matrix": [3, 5], "x": 9.75, "y": 3.5}, + {"matrix": [3, 6], "x": 10.75, "y": 3.5}, + {"matrix": [3, 7], "x": 11.75, "y": 3.5}, + {"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25}, + + {"matrix": [3, 9], "x": 15.5, "y": 3.5}, + {"matrix": [3, 10], "x": 16.5, "y": 3.5}, + {"matrix": [3, 11], "x": 17.5, "y": 3.5}, + + {"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4.5}, + {"matrix": [4, 3], "x": 3.25, "y": 4.5}, + {"matrix": [4, 4], "x": 4.25, "y": 4.5}, + {"matrix": [7, 8], "x": 5.25, "y": 4.5}, + {"matrix": [7, 9], "x": 6.25, "y": 4.5}, + {"matrix": [7, 10], "x": 7.25, "y": 4.5}, + {"matrix": [7, 11], "x": 8.25, "y": 4.5}, + {"matrix": [4, 5], "x": 9.25, "y": 4.5}, + {"matrix": [4, 6], "x": 10.25, "y": 4.5}, + {"matrix": [4, 7], "x": 11.25, "y": 4.5}, + {"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75}, + + {"matrix": [7, 4], "x": 14.25, "y": 4.75}, + + {"matrix": [4, 9], "x": 15.5, "y": 4.5}, + {"matrix": [4, 10], "x": 16.5, "y": 4.5}, + {"matrix": [4, 11], "x": 17.5, "y": 4.5}, + {"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2}, + + {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5}, + {"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7}, + {"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5}, + {"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5}, + + {"matrix": [5, 8], "x": 13.25, "y": 5.75}, + {"matrix": [5, 3], "x": 14.25, "y": 5.75}, + {"matrix": [5, 4], "x": 15.25, "y": 5.75}, + + {"matrix": [5, 10], "x": 16.5, "y": 5.5}, + {"matrix": [5, 11], "x": 17.5, "y": 5.5} + ] + }, + "LAYOUT_ansi_wkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + + {"matrix": [6, 0], "x": 5.5, "y": 0}, + {"matrix": [6, 1], "x": 6.5, "y": 0}, + {"matrix": [6, 2], "x": 7.5, "y": 0}, + {"matrix": [6, 3], "x": 8.5, "y": 0}, + + {"matrix": [0, 5], "x": 9.75, "y": 0}, + {"matrix": [0, 6], "x": 10.75, "y": 0}, + {"matrix": [0, 7], "x": 11.75, "y": 0}, + {"matrix": [0, 8], "x": 12.75, "y": 0}, + + {"matrix": [7, 2], "x": 14, "y": 0}, + + {"matrix": [0, 9], "x": 15.5, "y": 0}, + {"matrix": [0, 10], "x": 16.5, "y": 0}, + {"matrix": [0, 11], "x": 17.5, "y": 0}, + {"matrix": [0, 12], "x": 18.5, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.5}, + {"matrix": [1, 1], "x": 1, "y": 1.5}, + {"matrix": [1, 2], "x": 2, "y": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 1.5}, + {"matrix": [1, 4], "x": 4, "y": 1.5}, + {"matrix": [6, 4], "x": 5, "y": 1.5}, + {"matrix": [6, 5], "x": 6, "y": 1.5}, + {"matrix": [6, 6], "x": 7, "y": 1.5}, + {"matrix": [6, 7], "x": 8, "y": 1.5}, + {"matrix": [1, 5], "x": 9, "y": 1.5}, + {"matrix": [1, 6], "x": 10, "y": 1.5}, + {"matrix": [1, 7], "x": 11, "y": 1.5}, + {"matrix": [1, 8], "x": 12, "y": 1.5}, + {"matrix": [7, 0], "x": 13, "y": 1.5}, + {"matrix": [7, 1], "x": 14, "y": 1.5}, {"matrix": [1, 9], "x": 15.5, "y": 1.5}, {"matrix": [1, 10], "x": 16.5, "y": 1.5}, @@ -150,13 +634,11 @@ {"matrix": [4, 11], "x": 17.5, "y": 4.5}, {"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2}, - {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25}, - {"matrix": [5, 1], "x": 1.25, "y": 5.5}, - {"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25}, - {"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25}, - {"matrix": [5, 5], "x": 9.75, "y": 5.5}, - {"matrix": [5, 6], "x": 10.75, "y": 5.5}, - {"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25}, + {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5}, + {"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7}, + {"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5}, + {"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5}, {"matrix": [5, 8], "x": 13.25, "y": 5.75}, {"matrix": [5, 3], "x": 14.25, "y": 5.75}, @@ -286,7 +768,7 @@ {"matrix": [5, 11], "x": 17.5, "y": 5.5} ] }, - "LAYOUT_all": { + "LAYOUT_iso_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, @@ -346,12 +828,10 @@ {"matrix": [2, 6], "x": 10.5, "y": 2.5}, {"matrix": [2, 7], "x": 11.5, "y": 2.5}, {"matrix": [2, 8], "x": 12.5, "y": 2.5}, - {"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5}, - {"matrix": [2, 9], "x": 15.5, "y": 2.5}, {"matrix": [2, 10], "x": 16.5, "y": 2.5}, {"matrix": [2, 11], "x": 17.5, "y": 2.5}, - {"matrix": [2, 12], "x": 18.5, "y": 2.5}, + {"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2}, {"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75}, {"matrix": [3, 1], "x": 1.75, "y": 3.5}, @@ -365,12 +845,12 @@ {"matrix": [3, 5], "x": 9.75, "y": 3.5}, {"matrix": [3, 6], "x": 10.75, "y": 3.5}, {"matrix": [3, 7], "x": 11.75, "y": 3.5}, - {"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25}, + {"matrix": [7, 3], "x": 12.75, "y": 3.5}, + {"matrix": [3, 8], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2}, {"matrix": [3, 9], "x": 15.5, "y": 3.5}, {"matrix": [3, 10], "x": 16.5, "y": 3.5}, {"matrix": [3, 11], "x": 17.5, "y": 3.5}, - {"matrix": [3, 12], "x": 18.5, "y": 3.5}, {"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25}, {"matrix": [4, 1], "x": 1.25, "y": 4.5}, @@ -391,7 +871,7 @@ {"matrix": [4, 9], "x": 15.5, "y": 4.5}, {"matrix": [4, 10], "x": 16.5, "y": 4.5}, {"matrix": [4, 11], "x": 17.5, "y": 4.5}, - {"matrix": [4, 12], "x": 18.5, "y": 4.5}, + {"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2}, {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25}, {"matrix": [5, 1], "x": 1.25, "y": 5.5}, @@ -406,8 +886,244 @@ {"matrix": [5, 4], "x": 15.25, "y": 5.75}, {"matrix": [5, 10], "x": 16.5, "y": 5.5}, - {"matrix": [5, 11], "x": 17.5, "y": 5.5}, - {"matrix": [5, 12], "x": 18.5, "y": 5.5} + {"matrix": [5, 11], "x": 17.5, "y": 5.5} + ] + }, + "LAYOUT_iso_wkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + + {"matrix": [6, 0], "x": 5.5, "y": 0}, + {"matrix": [6, 1], "x": 6.5, "y": 0}, + {"matrix": [6, 2], "x": 7.5, "y": 0}, + {"matrix": [6, 3], "x": 8.5, "y": 0}, + + {"matrix": [0, 5], "x": 9.75, "y": 0}, + {"matrix": [0, 6], "x": 10.75, "y": 0}, + {"matrix": [0, 7], "x": 11.75, "y": 0}, + {"matrix": [0, 8], "x": 12.75, "y": 0}, + + {"matrix": [7, 2], "x": 14, "y": 0}, + + {"matrix": [0, 9], "x": 15.5, "y": 0}, + {"matrix": [0, 10], "x": 16.5, "y": 0}, + {"matrix": [0, 11], "x": 17.5, "y": 0}, + {"matrix": [0, 12], "x": 18.5, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.5}, + {"matrix": [1, 1], "x": 1, "y": 1.5}, + {"matrix": [1, 2], "x": 2, "y": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 1.5}, + {"matrix": [1, 4], "x": 4, "y": 1.5}, + {"matrix": [6, 4], "x": 5, "y": 1.5}, + {"matrix": [6, 5], "x": 6, "y": 1.5}, + {"matrix": [6, 6], "x": 7, "y": 1.5}, + {"matrix": [6, 7], "x": 8, "y": 1.5}, + {"matrix": [1, 5], "x": 9, "y": 1.5}, + {"matrix": [1, 6], "x": 10, "y": 1.5}, + {"matrix": [1, 7], "x": 11, "y": 1.5}, + {"matrix": [1, 8], "x": 12, "y": 1.5}, + {"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2}, + + {"matrix": [1, 9], "x": 15.5, "y": 1.5}, + {"matrix": [1, 10], "x": 16.5, "y": 1.5}, + {"matrix": [1, 11], "x": 17.5, "y": 1.5}, + {"matrix": [1, 12], "x": 18.5, "y": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.5}, + {"matrix": [2, 2], "x": 2.5, "y": 2.5}, + {"matrix": [2, 3], "x": 3.5, "y": 2.5}, + {"matrix": [2, 4], "x": 4.5, "y": 2.5}, + {"matrix": [6, 8], "x": 5.5, "y": 2.5}, + {"matrix": [6, 9], "x": 6.5, "y": 2.5}, + {"matrix": [6, 10], "x": 7.5, "y": 2.5}, + {"matrix": [6, 11], "x": 8.5, "y": 2.5}, + {"matrix": [2, 5], "x": 9.5, "y": 2.5}, + {"matrix": [2, 6], "x": 10.5, "y": 2.5}, + {"matrix": [2, 7], "x": 11.5, "y": 2.5}, + {"matrix": [2, 8], "x": 12.5, "y": 2.5}, + {"matrix": [2, 9], "x": 15.5, "y": 2.5}, + {"matrix": [2, 10], "x": 16.5, "y": 2.5}, + {"matrix": [2, 11], "x": 17.5, "y": 2.5}, + {"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.5}, + {"matrix": [3, 2], "x": 2.75, "y": 3.5}, + {"matrix": [3, 3], "x": 3.75, "y": 3.5}, + {"matrix": [3, 4], "x": 4.75, "y": 3.5}, + {"matrix": [6, 12], "x": 5.75, "y": 3.5}, + {"matrix": [7, 5], "x": 6.75, "y": 3.5}, + {"matrix": [7, 6], "x": 7.75, "y": 3.5}, + {"matrix": [7, 7], "x": 8.75, "y": 3.5}, + {"matrix": [3, 5], "x": 9.75, "y": 3.5}, + {"matrix": [3, 6], "x": 10.75, "y": 3.5}, + {"matrix": [3, 7], "x": 11.75, "y": 3.5}, + {"matrix": [7, 3], "x": 12.75, "y": 3.5}, + {"matrix": [3, 8], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2}, + + {"matrix": [3, 9], "x": 15.5, "y": 3.5}, + {"matrix": [3, 10], "x": 16.5, "y": 3.5}, + {"matrix": [3, 11], "x": 17.5, "y": 3.5}, + + {"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4.5}, + {"matrix": [4, 2], "x": 2.25, "y": 4.5}, + {"matrix": [4, 3], "x": 3.25, "y": 4.5}, + {"matrix": [4, 4], "x": 4.25, "y": 4.5}, + {"matrix": [7, 8], "x": 5.25, "y": 4.5}, + {"matrix": [7, 9], "x": 6.25, "y": 4.5}, + {"matrix": [7, 10], "x": 7.25, "y": 4.5}, + {"matrix": [7, 11], "x": 8.25, "y": 4.5}, + {"matrix": [4, 5], "x": 9.25, "y": 4.5}, + {"matrix": [4, 6], "x": 10.25, "y": 4.5}, + {"matrix": [4, 7], "x": 11.25, "y": 4.5}, + {"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75}, + + {"matrix": [7, 4], "x": 14.25, "y": 4.75}, + + {"matrix": [4, 9], "x": 15.5, "y": 4.5}, + {"matrix": [4, 10], "x": 16.5, "y": 4.5}, + {"matrix": [4, 11], "x": 17.5, "y": 4.5}, + {"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2}, + + {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5}, + {"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7}, + {"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5}, + {"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5}, + + {"matrix": [5, 8], "x": 13.25, "y": 5.75}, + {"matrix": [5, 3], "x": 14.25, "y": 5.75}, + {"matrix": [5, 4], "x": 15.25, "y": 5.75}, + + {"matrix": [5, 10], "x": 16.5, "y": 5.5}, + {"matrix": [5, 11], "x": 17.5, "y": 5.5} + ] + }, + "LAYOUT_iso_wkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + + {"matrix": [6, 0], "x": 5.5, "y": 0}, + {"matrix": [6, 1], "x": 6.5, "y": 0}, + {"matrix": [6, 2], "x": 7.5, "y": 0}, + {"matrix": [6, 3], "x": 8.5, "y": 0}, + + {"matrix": [0, 5], "x": 9.75, "y": 0}, + {"matrix": [0, 6], "x": 10.75, "y": 0}, + {"matrix": [0, 7], "x": 11.75, "y": 0}, + {"matrix": [0, 8], "x": 12.75, "y": 0}, + + {"matrix": [7, 2], "x": 14, "y": 0}, + + {"matrix": [0, 9], "x": 15.5, "y": 0}, + {"matrix": [0, 10], "x": 16.5, "y": 0}, + {"matrix": [0, 11], "x": 17.5, "y": 0}, + {"matrix": [0, 12], "x": 18.5, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.5}, + {"matrix": [1, 1], "x": 1, "y": 1.5}, + {"matrix": [1, 2], "x": 2, "y": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 1.5}, + {"matrix": [1, 4], "x": 4, "y": 1.5}, + {"matrix": [6, 4], "x": 5, "y": 1.5}, + {"matrix": [6, 5], "x": 6, "y": 1.5}, + {"matrix": [6, 6], "x": 7, "y": 1.5}, + {"matrix": [6, 7], "x": 8, "y": 1.5}, + {"matrix": [1, 5], "x": 9, "y": 1.5}, + {"matrix": [1, 6], "x": 10, "y": 1.5}, + {"matrix": [1, 7], "x": 11, "y": 1.5}, + {"matrix": [1, 8], "x": 12, "y": 1.5}, + {"matrix": [7, 0], "x": 13, "y": 1.5}, + {"matrix": [7, 1], "x": 14, "y": 1.5}, + + {"matrix": [1, 9], "x": 15.5, "y": 1.5}, + {"matrix": [1, 10], "x": 16.5, "y": 1.5}, + {"matrix": [1, 11], "x": 17.5, "y": 1.5}, + {"matrix": [1, 12], "x": 18.5, "y": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2.5}, + {"matrix": [2, 2], "x": 2.5, "y": 2.5}, + {"matrix": [2, 3], "x": 3.5, "y": 2.5}, + {"matrix": [2, 4], "x": 4.5, "y": 2.5}, + {"matrix": [6, 8], "x": 5.5, "y": 2.5}, + {"matrix": [6, 9], "x": 6.5, "y": 2.5}, + {"matrix": [6, 10], "x": 7.5, "y": 2.5}, + {"matrix": [6, 11], "x": 8.5, "y": 2.5}, + {"matrix": [2, 5], "x": 9.5, "y": 2.5}, + {"matrix": [2, 6], "x": 10.5, "y": 2.5}, + {"matrix": [2, 7], "x": 11.5, "y": 2.5}, + {"matrix": [2, 8], "x": 12.5, "y": 2.5}, + {"matrix": [2, 9], "x": 15.5, "y": 2.5}, + {"matrix": [2, 10], "x": 16.5, "y": 2.5}, + {"matrix": [2, 11], "x": 17.5, "y": 2.5}, + {"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3.5}, + {"matrix": [3, 2], "x": 2.75, "y": 3.5}, + {"matrix": [3, 3], "x": 3.75, "y": 3.5}, + {"matrix": [3, 4], "x": 4.75, "y": 3.5}, + {"matrix": [6, 12], "x": 5.75, "y": 3.5}, + {"matrix": [7, 5], "x": 6.75, "y": 3.5}, + {"matrix": [7, 6], "x": 7.75, "y": 3.5}, + {"matrix": [7, 7], "x": 8.75, "y": 3.5}, + {"matrix": [3, 5], "x": 9.75, "y": 3.5}, + {"matrix": [3, 6], "x": 10.75, "y": 3.5}, + {"matrix": [3, 7], "x": 11.75, "y": 3.5}, + {"matrix": [7, 3], "x": 12.75, "y": 3.5}, + {"matrix": [3, 8], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2}, + + {"matrix": [3, 9], "x": 15.5, "y": 3.5}, + {"matrix": [3, 10], "x": 16.5, "y": 3.5}, + {"matrix": [3, 11], "x": 17.5, "y": 3.5}, + + {"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4.5}, + {"matrix": [4, 2], "x": 2.25, "y": 4.5}, + {"matrix": [4, 3], "x": 3.25, "y": 4.5}, + {"matrix": [4, 4], "x": 4.25, "y": 4.5}, + {"matrix": [7, 8], "x": 5.25, "y": 4.5}, + {"matrix": [7, 9], "x": 6.25, "y": 4.5}, + {"matrix": [7, 10], "x": 7.25, "y": 4.5}, + {"matrix": [7, 11], "x": 8.25, "y": 4.5}, + {"matrix": [4, 5], "x": 9.25, "y": 4.5}, + {"matrix": [4, 6], "x": 10.25, "y": 4.5}, + {"matrix": [4, 7], "x": 11.25, "y": 4.5}, + {"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75}, + + {"matrix": [7, 4], "x": 14.25, "y": 4.75}, + + {"matrix": [4, 9], "x": 15.5, "y": 4.5}, + {"matrix": [4, 10], "x": 16.5, "y": 4.5}, + {"matrix": [4, 11], "x": 17.5, "y": 4.5}, + {"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2}, + + {"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5}, + {"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7}, + {"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5}, + {"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5}, + + {"matrix": [5, 8], "x": 13.25, "y": 5.75}, + {"matrix": [5, 3], "x": 14.25, "y": 5.75}, + {"matrix": [5, 4], "x": 15.25, "y": 5.75}, + + {"matrix": [5, 10], "x": 16.5, "y": 5.5}, + {"matrix": [5, 11], "x": 17.5, "y": 5.5} ] } } diff --git a/keyboards/kbdfans/kbd19x/matrix_diagram.md b/keyboards/kbdfans/kbd19x/matrix_diagram.md new file mode 100644 index 00000000000..5c7aa98557b --- /dev/null +++ b/keyboards/kbdfans/kbd19x/matrix_diagram.md @@ -0,0 +1,28 @@ +# Matrix Diagram for KBDfans KBD19x + +``` +┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┬───┬───┬───┐ +│00 ││01 │02 │03 │04 ││60 │61 │62 │63 ││05 │06 │07 │08 ││72 │ │09 │0A │0B │0C │ +└───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┴───┴───┴───┘ +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───────┐ +│10 │11 │12 │13 │14 │64 │65 │66 │67 │15 │16 │17 │18 │70 │71 │ │19 │1A │1B │1C │ │71 │ 2u Backspace +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ├───┼───┼───┼───┤ └─┬─────┤ ┌───┐ +│20 │21 │22 │23 │24 │68 │69 │6A │6B │25 │26 │27 │28 │73 │ │29 │2A │2B │2C │ │ │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┼───┼───┤ ┌──┴┐38 │ ISO Enter │2C │ 2u Numpad Plus +│30 │31 │32 │33 │34 │6C │75 │76 │77 │35 │36 │37 │38 │ │39 │3A │3B │3C │ │73 │ │ │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├───┼───┼───┼───┤ └───┴────┘ ├───┤ +│40 │41 │42 │43 │44 │78 │79 │7A │7B │45 │46 │47 │48 │┌───┐│49 │4A │4B │4C │ │ │ +├────┼───┼───┴┬──┴───┴───┴───┴───┴───┴─┬─┴─┬─┴─┬─┴──┬───┘│74 │└───┼───┼───┼───┤ │4C │ 2u Numpad Enter +│50 │51 │52 │59 │55 │56 │57 │┌───┼───┼───┐│5A │5B │5C │ │ │ +└────┴───┴────┴────────────────────────┴───┴───┴────┘│58 │53 │54 │└───┴───┴───┘ └───┘ + └───┴───┴───┘ +┌────────┐ +│40 │ 2.25u LShift +└────────┘ +┌────┬───┬────┬───────────────────────┬────┬───┬────┐ +│50 │51 │52 │59 │55 │56 │57 │ 6u Space +└────┴───┴────┴───────────────────────┴────┴───┴────┘ +┌─────┬─────┬───────────────────────────┬─────┬─────┐ +│50 │52 │59 │55 │57 │ WKL (7u Space) +└─────┴─────┴───────────────────────────┴─────┴─────┘ +``` From 3e1ac7a38fa4e6885053a762bc75f7c4e068eccb Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sun, 10 Mar 2024 22:24:17 +1100 Subject: [PATCH 064/107] Fixes for encoder abstraction. (#23195) --- quantum/encoder.c | 92 ++++++++++++++------ quantum/encoder.h | 13 ++- quantum/split_common/transaction_id_define.h | 2 +- quantum/split_common/transactions.c | 32 +++++-- 4 files changed, 101 insertions(+), 38 deletions(-) diff --git a/quantum/encoder.c b/quantum/encoder.c index 735eb1cd71f..0a48ac9a07b 100644 --- a/quantum/encoder.c +++ b/quantum/encoder.c @@ -15,34 +15,39 @@ __attribute__((weak)) bool should_process_encoder(void) { } static encoder_events_t encoder_events; +static bool signal_queue_drain = false; void encoder_init(void) { memset(&encoder_events, 0, sizeof(encoder_events)); encoder_driver_init(); } -static bool encoder_handle_queue(void) { - bool changed = false; - while (encoder_events.tail != encoder_events.head) { - encoder_event_t event = encoder_events.queue[encoder_events.tail]; - encoder_events.tail = (encoder_events.tail + 1) % MAX_QUEUED_ENCODER_EVENTS; +static void encoder_queue_drain(void) { + encoder_events.tail = encoder_events.head; + encoder_events.dequeued = encoder_events.enqueued; +} +static bool encoder_handle_queue(void) { + bool changed = false; + uint8_t index; + bool clockwise; + while (encoder_dequeue_event(&index, &clockwise)) { #ifdef ENCODER_MAP_ENABLE // The delays below cater for Windows and its wonderful requirements. - action_exec(event.clockwise ? MAKE_ENCODER_CW_EVENT(event.index, true) : MAKE_ENCODER_CCW_EVENT(event.index, true)); + action_exec(clockwise ? MAKE_ENCODER_CW_EVENT(index, true) : MAKE_ENCODER_CCW_EVENT(index, true)); # if ENCODER_MAP_KEY_DELAY > 0 wait_ms(ENCODER_MAP_KEY_DELAY); # endif // ENCODER_MAP_KEY_DELAY > 0 - action_exec(event.clockwise ? MAKE_ENCODER_CW_EVENT(event.index, false) : MAKE_ENCODER_CCW_EVENT(event.index, false)); + action_exec(clockwise ? MAKE_ENCODER_CW_EVENT(index, false) : MAKE_ENCODER_CCW_EVENT(index, false)); # if ENCODER_MAP_KEY_DELAY > 0 wait_ms(ENCODER_MAP_KEY_DELAY); # endif // ENCODER_MAP_KEY_DELAY > 0 #else // ENCODER_MAP_ENABLE - encoder_update_kb(event.index, event.clockwise ? true : false); + encoder_update_kb(index, clockwise); #endif // ENCODER_MAP_ENABLE @@ -61,6 +66,11 @@ bool encoder_task(void) { } #endif // SPLIT_KEYBOARD + if (signal_queue_drain) { + signal_queue_drain = false; + encoder_queue_drain(); + } + // Let the encoder driver produce events encoder_driver_task(); @@ -72,39 +82,71 @@ bool encoder_task(void) { return changed; } -bool encoder_queue_event(uint8_t index, bool clockwise) { +bool encoder_queue_full_advanced(encoder_events_t *events) { + return events->head == (events->tail - 1) % MAX_QUEUED_ENCODER_EVENTS; +} + +bool encoder_queue_full(void) { + return encoder_queue_full_advanced(&encoder_events); +} + +bool encoder_queue_empty_advanced(encoder_events_t *events) { + return events->head == events->tail; +} + +bool encoder_queue_empty(void) { + return encoder_queue_empty_advanced(&encoder_events); +} + +bool encoder_queue_event_advanced(encoder_events_t *events, uint8_t index, bool clockwise) { // Drop out if we're full - if ((encoder_events.head + 1) % MAX_QUEUED_ENCODER_EVENTS == encoder_events.tail) { + if (encoder_queue_full_advanced(events)) { return false; } // Append the event - encoder_event_t new_event = {.index = index, .clockwise = clockwise ? 1 : 0}; - encoder_events.queue[encoder_events.head] = new_event; + encoder_event_t new_event = {.index = index, .clockwise = clockwise ? 1 : 0}; + events->queue[events->head] = new_event; // Increment the head index - encoder_events.head = (encoder_events.head + 1) % MAX_QUEUED_ENCODER_EVENTS; + events->head = (events->head + 1) % MAX_QUEUED_ENCODER_EVENTS; + events->enqueued++; return true; } -void encoder_retrieve_events(encoder_events_t *events) { - memcpy(events, &encoder_events, sizeof(encoder_events)); +bool encoder_dequeue_event_advanced(encoder_events_t *events, uint8_t *index, bool *clockwise) { + if (encoder_queue_empty_advanced(events)) { + return false; + } + + // Retrieve the event + encoder_event_t event = events->queue[events->tail]; + *index = event.index; + *clockwise = event.clockwise; + + // Increment the tail index + events->tail = (events->tail + 1) % MAX_QUEUED_ENCODER_EVENTS; + events->dequeued++; + + return true; } -#ifdef SPLIT_KEYBOARD -void encoder_set_tail_index(uint8_t tail_index) { - encoder_events.tail = tail_index; +bool encoder_queue_event(uint8_t index, bool clockwise) { + return encoder_queue_event_advanced(&encoder_events, index, clockwise); } -void encoder_handle_slave_events(encoder_events_t *events) { - while (events->tail != events->head) { - encoder_event_t event = events->queue[events->tail]; - events->tail = (events->tail + 1) % MAX_QUEUED_ENCODER_EVENTS; - encoder_queue_event(event.index, event.clockwise ? true : false); - } +bool encoder_dequeue_event(uint8_t *index, bool *clockwise) { + return encoder_dequeue_event_advanced(&encoder_events, index, clockwise); +} + +void encoder_retrieve_events(encoder_events_t *events) { + memcpy(events, &encoder_events, sizeof(encoder_events)); +} + +void encoder_signal_queue_drain(void) { + signal_queue_drain = true; } -#endif // SPLIT_KEYBOARD __attribute__((weak)) bool encoder_update_user(uint8_t index, bool clockwise) { return true; diff --git a/quantum/encoder.h b/quantum/encoder.h index 90414a43a06..317a91f1da5 100644 --- a/quantum/encoder.h +++ b/quantum/encoder.h @@ -29,6 +29,7 @@ __attribute__((weak)) bool should_process_encoder(void); void encoder_init(void); bool encoder_task(void); bool encoder_queue_event(uint8_t index, bool clockwise); +bool encoder_dequeue_event(uint8_t *index, bool *clockwise); bool encoder_update_kb(uint8_t index, bool clockwise); bool encoder_update_user(uint8_t index, bool clockwise); @@ -82,6 +83,8 @@ typedef struct encoder_event_t { } encoder_event_t; typedef struct encoder_events_t { + uint8_t enqueued; + uint8_t dequeued; uint8_t head; uint8_t tail; encoder_event_t queue[MAX_QUEUED_ENCODER_EVENTS]; @@ -90,10 +93,12 @@ typedef struct encoder_events_t { // Get the current queued events void encoder_retrieve_events(encoder_events_t *events); -# ifdef SPLIT_KEYBOARD -void encoder_set_tail_index(uint8_t tail_index); -void encoder_handle_slave_events(encoder_events_t *events); -# endif // SPLIT_KEYBOARD +// Encoder event queue management +bool encoder_queue_event_advanced(encoder_events_t *events, uint8_t index, bool clockwise); +bool encoder_dequeue_event_advanced(encoder_events_t *events, uint8_t *index, bool *clockwise); + +// Reset the queue to be empty +void encoder_signal_queue_drain(void); # ifdef ENCODER_MAP_ENABLE # define NUM_DIRECTIONS 2 diff --git a/quantum/split_common/transaction_id_define.h b/quantum/split_common/transaction_id_define.h index 05b3bf7b625..5bfbe2aec79 100644 --- a/quantum/split_common/transaction_id_define.h +++ b/quantum/split_common/transaction_id_define.h @@ -31,7 +31,7 @@ enum serial_transaction_id { #ifdef ENCODER_ENABLE GET_ENCODERS_CHECKSUM, GET_ENCODERS_DATA, - PUT_ENCODER_TAIL, + CMD_ENCODER_DRAIN, #endif // ENCODER_ENABLE #ifndef DISABLE_SYNC_TIMER diff --git a/quantum/split_common/transactions.c b/quantum/split_common/transactions.c index 2cfa83e7a3f..33bc9e9f575 100644 --- a/quantum/split_common/transactions.c +++ b/quantum/split_common/transactions.c @@ -14,6 +14,7 @@ * along with this program. If not, see . */ +#include #include #include @@ -80,8 +81,12 @@ { 0, 0, sizeof_member(split_shared_memory_t, member), offsetof(split_shared_memory_t, member), cb } #define trans_target2initiator_initializer(member) trans_target2initiator_initializer_cb(member, NULL) +#define trans_initiator2target_cb(cb) \ + { 0, 0, 0, 0, cb } + #define transport_write(id, data, length) transport_execute_transaction(id, data, length, NULL, 0) #define transport_read(id, data, length) transport_execute_transaction(id, NULL, 0, data, length) +#define transport_exec(id) transport_execute_transaction(id, NULL, 0, NULL, 0) #if defined(SPLIT_TRANSACTION_IDS_KB) || defined(SPLIT_TRANSACTION_IDS_USER) // Forward-declare the RPC callback handlers @@ -234,14 +239,26 @@ static void master_matrix_handlers_slave(matrix_row_t master_matrix[], matrix_ro #ifdef ENCODER_ENABLE static bool encoder_handlers_master(matrix_row_t master_matrix[], matrix_row_t slave_matrix[]) { - static uint32_t last_update = 0; + static uint32_t last_update = 0; + static uint8_t last_checksum = 0; encoder_events_t temp_events; bool okay = read_if_checksum_mismatch(GET_ENCODERS_CHECKSUM, GET_ENCODERS_DATA, &last_update, &temp_events, &split_shmem->encoders.events, sizeof(temp_events)); if (okay) { - encoder_handle_slave_events(&split_shmem->encoders.events); - transport_write(PUT_ENCODER_TAIL, &split_shmem->encoders.events.tail, sizeof(split_shmem->encoders.events.tail)); - split_shmem->encoders.checksum = crc8(&split_shmem->encoders.events, sizeof(split_shmem->encoders.events)); + if (last_checksum != split_shmem->encoders.checksum) { + bool actioned = false; + uint8_t index; + bool clockwise; + while (okay && encoder_dequeue_event_advanced(&split_shmem->encoders.events, &index, &clockwise)) { + okay &= encoder_queue_event(index, clockwise); + actioned = true; + } + + if (actioned) { + okay &= transport_exec(CMD_ENCODER_DRAIN); + } + last_checksum = split_shmem->encoders.checksum; + } } return okay; } @@ -253,9 +270,8 @@ static void encoder_handlers_slave(matrix_row_t master_matrix[], matrix_row_t sl split_shmem->encoders.checksum = crc8(&split_shmem->encoders.events, sizeof(split_shmem->encoders.events)); } -static void encoder_handlers_slave_reset(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) { - uint8_t tail_index = *(uint8_t *)initiator2target_buffer; - encoder_set_tail_index(tail_index); +static void encoder_handlers_slave_drain(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) { + encoder_signal_queue_drain(); } // clang-format off @@ -264,7 +280,7 @@ static void encoder_handlers_slave_reset(uint8_t initiator2target_buffer_size, c # define TRANSACTIONS_ENCODERS_REGISTRATIONS \ [GET_ENCODERS_CHECKSUM] = trans_target2initiator_initializer(encoders.checksum), \ [GET_ENCODERS_DATA] = trans_target2initiator_initializer(encoders.events), \ - [PUT_ENCODER_TAIL] = trans_initiator2target_initializer_cb(encoders.events.tail, encoder_handlers_slave_reset), + [CMD_ENCODER_DRAIN] = trans_initiator2target_cb(encoder_handlers_slave_drain), // clang-format on #else // ENCODER_ENABLE From abf65049035976687dd677cb743c833fe2457c39 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Sun, 10 Mar 2024 10:40:11 -0700 Subject: [PATCH 065/107] kb-elmo AEK II USB: correct Configurator data (#23252) Correct the QMK Configurator / `qmk info -m` data. [chore] --- keyboards/kb_elmo/aek2_usb/info.json | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/keyboards/kb_elmo/aek2_usb/info.json b/keyboards/kb_elmo/aek2_usb/info.json index 8a091a494c1..884390278d1 100644 --- a/keyboards/kb_elmo/aek2_usb/info.json +++ b/keyboards/kb_elmo/aek2_usb/info.json @@ -134,22 +134,22 @@ {"matrix": [7, 11], "x": 19, "y": 5}, {"matrix": [6, 10], "x": 20, "y": 5}, {"matrix": [6, 9], "x": 21, "y": 5}, - {"matrix": [5, 0], "x": 22, "y": 5, "h": 2}, - - {"matrix": [5, 1], "x": 0, "y": 6, "w": 1.5}, - {"matrix": [5, 2], "x": 1.5, "y": 6, "w": 1.25}, - {"matrix": [5, 5], "x": 2.75, "y": 6, "w": 1.5}, - {"matrix": [5, 10], "x": 4.25, "y": 6, "w": 6.5}, - {"matrix": [5, 11], "x": 10.75, "y": 6, "w": 1.5}, - {"matrix": [5, 13], "x": 12.25, "y": 6, "w": 1.25}, - {"matrix": [5, 7], "x": 13.5, "y": 6, "w": 1.5}, - - {"matrix": [5, 9], "x": 15.5, "y": 6}, - {"matrix": [5, 6], "x": 16.5, "y": 6}, - {"matrix": [7, 10], "x": 17.5, "y": 6}, - - {"matrix": [7, 9], "x": 19, "y": 6, "w": 2}, - {"matrix": [7, 8], "x": 21, "y": 6} + + {"matrix": [5, 0], "x": 0, "y": 6, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 6, "w": 1.25}, + {"matrix": [5, 2], "x": 2.75, "y": 6, "w": 1.5}, + {"matrix": [5, 5], "x": 4.25, "y": 6, "w": 6.5}, + {"matrix": [5, 10], "x": 10.75, "y": 6, "w": 1.5}, + {"matrix": [5, 11], "x": 12.25, "y": 6, "w": 1.25}, + {"matrix": [5, 13], "x": 13.5, "y": 6, "w": 1.5}, + + {"matrix": [5, 7], "x": 15.5, "y": 6}, + {"matrix": [5, 9], "x": 16.5, "y": 6}, + {"matrix": [5, 6], "x": 17.5, "y": 6}, + + {"matrix": [7, 10], "x": 19, "y": 6, "w": 2}, + {"matrix": [7, 9], "x": 21, "y": 6}, + {"matrix": [7, 8], "x": 22, "y": 5, "h": 2} ] } } From ae38bdd5dc720e307266ba4cedd92933069024d8 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 12 Mar 2024 04:28:02 +0000 Subject: [PATCH 066/107] Flag LAYOUT macros still defined in .h files (#23260) --- lib/python/qmk/info.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 13588abdb85..815b8514742 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -78,7 +78,7 @@ def _find_invalid_encoder_index(info_data): return ret -def _validate_layouts(keyboard, info_data): +def _validate_layouts(keyboard, info_data): # noqa C901 """Non schema checks """ col_num = info_data.get('matrix_size', {}).get('cols', 0) @@ -92,6 +92,11 @@ def _validate_layouts(keyboard, info_data): if len(layouts) == 0 or all(not layout.get('json_layout', False) for layout in layouts.values()): _log_error(info_data, 'No LAYOUTs defined! Need at least one layout defined in info.json.') + # Make sure all layouts are DD + for layout_name, layout_data in layouts.items(): + if layout_data.get('c_macro', False): + _log_error(info_data, f'{layout_name}: Layout macro should not be defined within ".h" files.') + # Make sure all matrix values are in bounds for layout_name, layout_data in layouts.items(): for index, key_data in enumerate(layout_data['layout']): From 654dc267db5c34d5b9beb49c21966f08ebe358c2 Mon Sep 17 00:00:00 2001 From: Allie <25503691+GalaxyAllie@users.noreply.github.com> Date: Tue, 12 Mar 2024 17:28:20 +0000 Subject: [PATCH 067/107] Fix Magicforce MF17 RGB matrix (#23263) --- keyboards/magic_force/mf17/info.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/keyboards/magic_force/mf17/info.json b/keyboards/magic_force/mf17/info.json index 2619c5f8b41..705318e71e0 100644 --- a/keyboards/magic_force/mf17/info.json +++ b/keyboards/magic_force/mf17/info.json @@ -74,23 +74,23 @@ }, "driver": "ws2812", "layout": [ - {"flags": 1, "matrix": [0, 0], "x": 0, "y": 0}, - {"flags": 1, "matrix": [0, 1], "x": 75, "y": 0}, - {"flags": 1, "matrix": [0, 2], "x": 150, "y": 0}, - {"flags": 1, "matrix": [0, 3], "x": 224, "y": 0}, - {"flags": 1, "matrix": [1, 0], "x": 0, "y": 16}, - {"flags": 1, "matrix": [1, 1], "x": 75, "y": 16}, - {"flags": 1, "matrix": [1, 2], "x": 150, "y": 16}, + {"flags": 1, "matrix": [4, 1], "x": 37, "y": 64}, + {"flags": 1, "matrix": [4, 2], "x": 150, "y": 64}, + {"flags": 1, "matrix": [4, 3], "x": 224, "y": 56}, + {"flags": 1, "matrix": [3, 0], "x": 0, "y": 48}, + {"flags": 1, "matrix": [3, 1], "x": 75, "y": 48}, + {"flags": 1, "matrix": [3, 2], "x": 150, "y": 48}, {"flags": 1, "matrix": [2, 0], "x": 0, "y": 32}, {"flags": 1, "matrix": [2, 1], "x": 75, "y": 32}, {"flags": 1, "matrix": [2, 2], "x": 150, "y": 32}, {"flags": 1, "matrix": [2, 3], "x": 224, "y": 24}, - {"flags": 1, "matrix": [3, 0], "x": 0, "y": 48}, - {"flags": 1, "matrix": [3, 1], "x": 75, "y": 48}, - {"flags": 1, "matrix": [3, 2], "x": 150, "y": 48}, - {"flags": 1, "matrix": [4, 0], "x": 32, "y": 64}, - {"flags": 1, "matrix": [4, 1], "x": 150, "y": 64}, - {"flags": 1, "matrix": [4, 2], "x": 224, "y": 64} + {"flags": 1, "matrix": [1, 0], "x": 0, "y": 16}, + {"flags": 1, "matrix": [1, 1], "x": 75, "y": 16}, + {"flags": 1, "matrix": [1, 2], "x": 150, "y": 16}, + {"flags": 1, "matrix": [0, 0], "x": 0, "y": 0}, + {"flags": 1, "matrix": [0, 1], "x": 75, "y": 0}, + {"flags": 1, "matrix": [0, 2], "x": 150, "y": 0}, + {"flags": 1, "matrix": [0, 3], "x": 224, "y": 0} ], "max_brightness": 180, "sleep": true From 7cbbcdc5d41ca0bf00dff330131c3f68f8817af3 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:13:37 -0700 Subject: [PATCH 068/107] KBDfans KBD75 Layout Additions (#23234) --- keyboards/kbdfans/kbd75/readme.md | 10 +- keyboards/kbdfans/kbd75/rev1/info.json | 603 +++++++++++++++++- .../kbdfans/kbd75/rev1/matrix_diagram.md | 32 + keyboards/kbdfans/kbd75/rev2/info.json | 603 +++++++++++++++++- .../kbdfans/kbd75/rev2/matrix_diagram.md | 35 + 5 files changed, 1235 insertions(+), 48 deletions(-) create mode 100644 keyboards/kbdfans/kbd75/rev1/matrix_diagram.md create mode 100644 keyboards/kbdfans/kbd75/rev2/matrix_diagram.md diff --git a/keyboards/kbdfans/kbd75/readme.md b/keyboards/kbdfans/kbd75/readme.md index 60e71fdc943..834a70ce813 100644 --- a/keyboards/kbdfans/kbd75/readme.md +++ b/keyboards/kbdfans/kbd75/readme.md @@ -1,20 +1,18 @@ # KBD75 -The KBD75 was sold through various rounds, with various PCB changes between them. +The KBD75 was sold through various rounds, with various PCB changes between them. * **Round 1 (2017)**: Black PCB - Bootmapper Client, atmega32a MCU (Use [Winkeyless.kr B.mini](../../winkeyless/bmini/) firmware) * **Round 2 (2018)**: White PCB - Bootmapper Client, atmega32a MCU (Use [ymdk/ymd75/rev1](../../ymdk/ymd75/rev1/) firmware) -* **Round 3-5 (2018)**: White PCB - QMK Firmware, atmega32u4 MCU (Use KBD75 rev1 or rev2(without numpad support)) +* **Round 3-5 (2018)**: White PCB - QMK Firmware, atmega32u4 MCU (Use KBD75 rev1 or rev2(without numpad support)) * **Round 6 (2019)**: White PCB with USB C - QMK Firmware, atmega32u4 MCU (Use KBD75 rev1 or rev2(with numpad support)) * **V2 (2019-)**: Same as **Round 6** (above). -**Firmware files are SPECIFIC to each board. Firmware files from one, will not work on the other.** +**Firmware files are SPECIFIC to each board. Firmware files from one, will not work on the others.** * Keyboard Maintainer: [The QMK Community](https://github.com/qmk) * Hardware Supported: KBD75 PCB [rev1](./rev1) and [rev2](./rev2) -* Hardware Availability: - * [KBD75 rev2 Kit – KBDfans.com](https://kbdfans.com/collections/75-diy-kit/products/kbd75v2-custom-keyboard-diy-kit) - * [KBD75 rev2 PCB – KBDfans.com](https://kbdfans.com/collections/pcb/products/kbdfans-75-pcb-75) +* Hardware Availability: no longer available Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/kbdfans/kbd75/rev1/info.json b/keyboards/kbdfans/kbd75/rev1/info.json index d9d149f1e1a..efbfbe60ddc 100644 --- a/keyboards/kbdfans/kbd75/rev1/info.json +++ b/keyboards/kbdfans/kbd75/rev1/info.json @@ -239,7 +239,7 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_iso": { + "LAYOUT_75_ansi_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -271,7 +271,8 @@ {"matrix": [1, 10], "x": 10, "y": 1}, {"matrix": [1, 11], "x": 11, "y": 1}, {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, {"matrix": [1, 15], "x": 15, "y": 1}, {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, @@ -287,6 +288,7 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -301,12 +303,10 @@ {"matrix": [3, 10], "x": 9.75, "y": 3}, {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, - {"matrix": [2, 14], "x": 12.75, "y": 3}, - {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, {"matrix": [3, 15], "x": 15, "y": 3}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4}, {"matrix": [4, 3], "x": 3.25, "y": 4}, {"matrix": [4, 4], "x": 4.25, "y": 4}, @@ -333,6 +333,191 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, + "LAYOUT_75_ansi_rwkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_ansi_rwkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, "LAYOUT_75_ansi_wkl": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, @@ -424,7 +609,7 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_iso_wkl": { + "LAYOUT_75_ansi_wkl_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -456,7 +641,8 @@ {"matrix": [1, 10], "x": 10, "y": 1}, {"matrix": [1, 11], "x": 11, "y": 1}, {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, {"matrix": [1, 15], "x": 15, "y": 1}, {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, @@ -472,7 +658,7 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, - {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -487,11 +673,10 @@ {"matrix": [3, 10], "x": 9.75, "y": 3}, {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, - {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, {"matrix": [3, 15], "x": 15, "y": 3}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4}, {"matrix": [4, 3], "x": 3.25, "y": 4}, {"matrix": [4, 4], "x": 4.25, "y": 4}, @@ -516,7 +701,7 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_ansi_rwkl": { + "LAYOUT_75_iso": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -564,7 +749,6 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, - {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -579,10 +763,12 @@ {"matrix": [3, 10], "x": 9.75, "y": 3}, {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, - {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, {"matrix": [3, 15], "x": 15, "y": 3}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, {"matrix": [4, 2], "x": 2.25, "y": 4}, {"matrix": [4, 3], "x": 3.25, "y": 4}, {"matrix": [4, 4], "x": 4.25, "y": 4}, @@ -601,14 +787,15 @@ {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, - {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, - {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 10], "x": 10, "y": 5}, + {"matrix": [5, 11], "x": 11, "y": 5}, + {"matrix": [5, 12], "x": 12, "y": 5}, {"matrix": [5, 13], "x": 13, "y": 5}, {"matrix": [5, 14], "x": 14, "y": 5}, {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_iso_rwkl": { + "LAYOUT_75_iso_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -640,7 +827,8 @@ {"matrix": [1, 10], "x": 10, "y": 1}, {"matrix": [1, 11], "x": 11, "y": 1}, {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, {"matrix": [1, 15], "x": 15, "y": 1}, {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, @@ -656,7 +844,6 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, - {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -672,6 +859,7 @@ {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, {"matrix": [3, 15], "x": 15, "y": 3}, {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, @@ -694,6 +882,379 @@ {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5}, + {"matrix": [5, 11], "x": 11, "y": 5}, + {"matrix": [5, 12], "x": 12, "y": 5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_rwkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_rwkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_wkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 5, "w": 1.5}, + {"matrix": [5, 6], "x": 3, "y": 5, "w": 7}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_wkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 5, "w": 1.5}, + {"matrix": [5, 6], "x": 3, "y": 5, "w": 7}, {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, {"matrix": [5, 13], "x": 13, "y": 5}, diff --git a/keyboards/kbdfans/kbd75/rev1/matrix_diagram.md b/keyboards/kbdfans/kbd75/rev1/matrix_diagram.md new file mode 100644 index 00000000000..82bc199b538 --- /dev/null +++ b/keyboards/kbdfans/kbd75/rev1/matrix_diagram.md @@ -0,0 +1,32 @@ +# Matrix Diagram for KBDfans KBD75 rev1 + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │0E │0F │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ ┌───────┐ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E │1F │ │1E │ 2u Backspace +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ └─┬─────┤ +│20 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │2E │2F │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ ┌──┴┐3D │ ISO Enter +│30 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3F │ │2E │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ └───┴────┘ +│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4D │4E │4F │ +├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ +│50 │51 │53 │54 │56 │58 │5A │5B │5C │5D │5E │5F │ +└────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───┴───┴───┘ +┌────────┐ +│40 │ 2.25u LShift +└────────┘ +┌────┬────┬────┬────────────────────────┬───┬───┬───┐ +│50 │51 │53 │56 │5A │5B │5C │ Standard +└────┴────┴────┴────────────────────────┴───┴───┴───┘ +┌────┬────┬────┬────────────────────────┬─────┬─────┐ +│50 │51 │53 │56 │5A │5C │ RWKL +└────┴────┴────┴────────────────────────┴─────┴─────┘ +┌─────┬─────┬───────────────────────────┬───┬───┬───┐ +│50 │51 │56 │5A │5B │5C │ LWKL +└─────┴─────┴───────────────────────────┴───┴───┴───┘ +┌─────┬─────┬───────────────────────────┬─────┬─────┐ +│50 │51 │56 │5A │5C │ WKL +└─────┴─────┴───────────────────────────┴─────┴─────┘ +``` diff --git a/keyboards/kbdfans/kbd75/rev2/info.json b/keyboards/kbdfans/kbd75/rev2/info.json index 7cf43b93a76..12a1737eadd 100644 --- a/keyboards/kbdfans/kbd75/rev2/info.json +++ b/keyboards/kbdfans/kbd75/rev2/info.json @@ -239,7 +239,7 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_iso": { + "LAYOUT_75_ansi_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -271,7 +271,8 @@ {"matrix": [1, 10], "x": 10, "y": 1}, {"matrix": [1, 11], "x": 11, "y": 1}, {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, {"matrix": [1, 15], "x": 15, "y": 1}, {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, @@ -287,6 +288,7 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -301,12 +303,10 @@ {"matrix": [3, 10], "x": 9.75, "y": 3}, {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, - {"matrix": [2, 14], "x": 12.75, "y": 3}, - {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, {"matrix": [3, 15], "x": 15, "y": 3}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4}, {"matrix": [4, 3], "x": 3.25, "y": 4}, {"matrix": [4, 4], "x": 4.25, "y": 4}, @@ -333,6 +333,191 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, + "LAYOUT_75_ansi_rwkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_ansi_rwkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, "LAYOUT_75_ansi_wkl": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, @@ -424,7 +609,7 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_iso_wkl": { + "LAYOUT_75_ansi_wkl_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -456,7 +641,8 @@ {"matrix": [1, 10], "x": 10, "y": 1}, {"matrix": [1, 11], "x": 11, "y": 1}, {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, {"matrix": [1, 15], "x": 15, "y": 1}, {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, @@ -472,7 +658,7 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, - {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -487,11 +673,10 @@ {"matrix": [3, 10], "x": 9.75, "y": 3}, {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, - {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, {"matrix": [3, 15], "x": 15, "y": 3}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, {"matrix": [4, 2], "x": 2.25, "y": 4}, {"matrix": [4, 3], "x": 3.25, "y": 4}, {"matrix": [4, 4], "x": 4.25, "y": 4}, @@ -516,7 +701,7 @@ {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_ansi_rwkl": { + "LAYOUT_75_iso": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -564,7 +749,6 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, - {"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -579,10 +763,12 @@ {"matrix": [3, 10], "x": 9.75, "y": 3}, {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, - {"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, {"matrix": [3, 15], "x": 15, "y": 3}, - {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, {"matrix": [4, 2], "x": 2.25, "y": 4}, {"matrix": [4, 3], "x": 3.25, "y": 4}, {"matrix": [4, 4], "x": 4.25, "y": 4}, @@ -601,14 +787,15 @@ {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, - {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, - {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 10], "x": 10, "y": 5}, + {"matrix": [5, 11], "x": 11, "y": 5}, + {"matrix": [5, 12], "x": 12, "y": 5}, {"matrix": [5, 13], "x": 13, "y": 5}, {"matrix": [5, 14], "x": 14, "y": 5}, {"matrix": [5, 15], "x": 15, "y": 5} ] }, - "LAYOUT_75_iso_rwkl": { + "LAYOUT_75_iso_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -640,7 +827,8 @@ {"matrix": [1, 10], "x": 10, "y": 1}, {"matrix": [1, 11], "x": 11, "y": 1}, {"matrix": [1, 12], "x": 12, "y": 1}, - {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, {"matrix": [1, 15], "x": 15, "y": 1}, {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, @@ -656,7 +844,6 @@ {"matrix": [2, 11], "x": 10.5, "y": 2}, {"matrix": [2, 12], "x": 11.5, "y": 2}, {"matrix": [2, 13], "x": 12.5, "y": 2}, - {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, {"matrix": [2, 15], "x": 15, "y": 2}, {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, @@ -672,6 +859,7 @@ {"matrix": [3, 11], "x": 10.75, "y": 3}, {"matrix": [3, 12], "x": 11.75, "y": 3}, {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, {"matrix": [3, 15], "x": 15, "y": 3}, {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, @@ -694,6 +882,379 @@ {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5}, + {"matrix": [5, 11], "x": 11, "y": 5}, + {"matrix": [5, 12], "x": 12, "y": 5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_rwkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_rwkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 6], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_wkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 14], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 5, "w": 1.5}, + {"matrix": [5, 6], "x": 3, "y": 5, "w": 7}, + {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [5, 13], "x": 13, "y": 5}, + {"matrix": [5, 14], "x": 14, "y": 5}, + {"matrix": [5, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_75_iso_wkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 2], "x": 1.5, "y": 2}, + {"matrix": [2, 3], "x": 2.5, "y": 2}, + {"matrix": [2, 4], "x": 3.5, "y": 2}, + {"matrix": [2, 5], "x": 4.5, "y": 2}, + {"matrix": [2, 6], "x": 5.5, "y": 2}, + {"matrix": [2, 7], "x": 6.5, "y": 2}, + {"matrix": [2, 8], "x": 7.5, "y": 2}, + {"matrix": [2, 9], "x": 8.5, "y": 2}, + {"matrix": [2, 10], "x": 9.5, "y": 2}, + {"matrix": [2, 11], "x": 10.5, "y": 2}, + {"matrix": [2, 12], "x": 11.5, "y": 2}, + {"matrix": [2, 13], "x": 12.5, "y": 2}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 2], "x": 1.75, "y": 3}, + {"matrix": [3, 3], "x": 2.75, "y": 3}, + {"matrix": [3, 4], "x": 3.75, "y": 3}, + {"matrix": [3, 5], "x": 4.75, "y": 3}, + {"matrix": [3, 6], "x": 5.75, "y": 3}, + {"matrix": [3, 7], "x": 6.75, "y": 3}, + {"matrix": [3, 8], "x": 7.75, "y": 3}, + {"matrix": [3, 9], "x": 8.75, "y": 3}, + {"matrix": [3, 10], "x": 9.75, "y": 3}, + {"matrix": [3, 11], "x": 10.75, "y": 3}, + {"matrix": [3, 12], "x": 11.75, "y": 3}, + {"matrix": [2, 14], "x": 12.75, "y": 3}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 13], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4}, + + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.5}, + {"matrix": [5, 1], "x": 1.5, "y": 5, "w": 1.5}, + {"matrix": [5, 6], "x": 3, "y": 5, "w": 7}, {"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5}, {"matrix": [5, 12], "x": 11.5, "y": 5, "w": 1.5}, {"matrix": [5, 13], "x": 13, "y": 5}, diff --git a/keyboards/kbdfans/kbd75/rev2/matrix_diagram.md b/keyboards/kbdfans/kbd75/rev2/matrix_diagram.md new file mode 100644 index 00000000000..0de62fbefde --- /dev/null +++ b/keyboards/kbdfans/kbd75/rev2/matrix_diagram.md @@ -0,0 +1,35 @@ +# Matrix Diagram for KBDfans KBD75 rev2 + +``` + ┌───────┬───────┐ + Numpad 2u Backspace │1C │1E │ 2u Backspace + └───────┴───────┘ +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │0E │0F │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E │1F │ +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ ┌───┬───┬─────┐ ┌─────┬───┬───┐ ┌─────┬───┬───┐ +│20 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │2E │2F │ │2C │2D │ │ │2C │2D │2E │ │ │2D │2E │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ ┌──┴┬──┴┬──┴┐3D │ ┌──┴─────┼───┼───┤ ┌──┴┐3B ├───┼───┤ +│30 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3F │ │3B │3C │2E │ │ │3B │3C │3D │ │2C │ │3C │3D │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ └───┴───┴───┴────┘ └────────┴───┴───┘ └───┴────┴───┴───┘ +│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4D │4E │4F │ ISO Enter Numpad ANSI Enter Numpad ISO Enter +├────┼───┴┬──┴─┬─┴───┴──┬┴───┼───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ +│50 │51 │53 │54 │56 │58 │5A │5B │5C │5D │5E │5F │ +└────┴────┴────┴────────┴────┴──────────┴───┴───┴───┴───┴───┴───┘ +┌────────┐ ┌──────┬───┬───┐ +│40 │ 2.25u LShift │4A │4B │4D │ Numpad RShift (1/1/1.75u) +└────────┘ └──────┴───┴───┘ +┌────┬────┬────┬────────────────────────┬───┬───┬───┐ +│50 │51 │53 │56 │5A │5B │5C │ Standard +└────┴────┴────┴────────────────────────┴───┴───┴───┘ +┌────┬────┬────┬────────────────────────┬─────┬─────┐ +│50 │51 │53 │56 │5A │5C │ RWKL +└────┴────┴────┴────────────────────────┴─────┴─────┘ +┌─────┬─────┬───────────────────────────┬───┬───┬───┐ +│50 │51 │56 │5A │5B │5C │ LWKL +└─────┴─────┴───────────────────────────┴───┴───┴───┘ +┌─────┬─────┬───────────────────────────┬─────┬─────┐ +│50 │51 │56 │5A │5C │ WKL +└─────┴─────┴───────────────────────────┴─────┴─────┘ +``` From 2121931e34b54e5d648dbba2b41db4b70daaba17 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:16:22 -0700 Subject: [PATCH 069/107] Aero 75 Hotswap: correct layout data (#23253) --- keyboards/gray_studio/aero75/info.json | 16 ++++++++-------- keyboards/gray_studio/aero75/matrix_diagram.md | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/keyboards/gray_studio/aero75/info.json b/keyboards/gray_studio/aero75/info.json index 06d11e8467b..f6de1b9f966 100644 --- a/keyboards/gray_studio/aero75/info.json +++ b/keyboards/gray_studio/aero75/info.json @@ -57,15 +57,15 @@ {"label": "F3", "matrix": [0, 3], "x": 3.5, "y": 0}, {"label": "F4", "matrix": [0, 4], "x": 4.5, "y": 0}, - {"label": "F5", "matrix": [0, 5], "x": 6, "y": 0}, - {"label": "F6", "matrix": [0, 6], "x": 7, "y": 0}, - {"label": "F7", "matrix": [0, 7], "x": 8, "y": 0}, - {"label": "F8", "matrix": [0, 8], "x": 9, "y": 0}, + {"label": "F5", "matrix": [0, 5], "x": 5.75, "y": 0}, + {"label": "F6", "matrix": [0, 6], "x": 6.75, "y": 0}, + {"label": "F7", "matrix": [0, 7], "x": 7.75, "y": 0}, + {"label": "F8", "matrix": [0, 8], "x": 8.75, "y": 0}, - {"label": "F9", "matrix": [0, 9], "x": 10.5, "y": 0}, - {"label": "F10", "matrix": [0, 10], "x": 11.5, "y": 0}, - {"label": "F11", "matrix": [0, 11], "x": 12.5, "y": 0}, - {"label": "F12", "matrix": [0, 13], "x": 13.5, "y": 0}, + {"label": "F9", "matrix": [0, 9], "x": 10, "y": 0}, + {"label": "F10", "matrix": [0, 10], "x": 11, "y": 0}, + {"label": "F11", "matrix": [0, 11], "x": 12, "y": 0}, + {"label": "F12", "matrix": [0, 13], "x": 13, "y": 0}, {"label": "PrtSc", "matrix": [0, 15], "x": 15, "y": 0}, diff --git a/keyboards/gray_studio/aero75/matrix_diagram.md b/keyboards/gray_studio/aero75/matrix_diagram.md index 64bb3af675c..d777c6cd447 100644 --- a/keyboards/gray_studio/aero75/matrix_diagram.md +++ b/keyboards/gray_studio/aero75/matrix_diagram.md @@ -1,9 +1,9 @@ # Matrix Diagram for GrayStudio Aero 75 Hotswap ``` -┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┐ -│00 │ │01 │02 │03 │04 │ │05 │06 │07 │08 │ │09 │0A │0B │0D │ │0F │ -└───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┘ +┌───┐ ┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐ ┌───┐ +│00 │ │01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0A │0B │0D │ │0F │ +└───┘ └───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘ └───┘ ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1F │ ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ From 3a3b4d155eb3b84eb101c85b559f1cc0a5d9a934 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:18:19 -0700 Subject: [PATCH 070/107] Ares Layout Additions (#23254) --- keyboards/ares/info.json | 765 ++++++++++++++++++++++++++++++- keyboards/ares/matrix_diagram.md | 27 ++ 2 files changed, 789 insertions(+), 3 deletions(-) create mode 100644 keyboards/ares/matrix_diagram.md diff --git a/keyboards/ares/info.json b/keyboards/ares/info.json index dceb80da043..125db97ed28 100644 --- a/keyboards/ares/info.json +++ b/keyboards/ares/info.json @@ -45,7 +45,7 @@ "layout_aliases": { "LAYOUT": "LAYOUT_all" }, - "community_layouts": ["60_ansi_split_bs_rshift", "60_hhkb"], + "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_ansi_tsangan", "60_tsangan_hhkb", "60_ansi_wkl", "60_ansi_wkl_split_bs_rshift", "60_hhkb", "60_iso", "60_iso_split_bs_rshift", "60_iso_tsangan", "60_iso_tsangan_split_bs_rshift", "60_iso_wkl", "60_iso_wkl_split_bs_rshift"], "layouts": { "LAYOUT_all": { "layout": [ @@ -120,6 +120,75 @@ {"matrix": [0, 13], "x": 13.75, "y": 4, "w": 1.25} ] }, + "LAYOUT_60_ansi": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 14], "x": 13, "y": 0, "w": 2}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + {"matrix": [3, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [0, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [0, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [0, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [0, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [0, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"matrix": [0, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, "LAYOUT_60_ansi_split_bs_rshift": { "layout": [ {"matrix": [4, 0], "x": 0, "y": 0}, @@ -191,7 +260,75 @@ {"matrix": [0, 13], "x": 13.75, "y": 4, "w": 1.25} ] }, - "LAYOUT_60_hhkb": { + "LAYOUT_60_ansi_tsangan": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0, "w": 2}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + {"matrix": [3, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [0, 1], "x": 1.5, "y": 4}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 12], "x": 12.5, "y": 4}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_tsangan_hhkb": { "layout": [ {"matrix": [4, 0], "x": 0, "y": 0}, {"matrix": [4, 1], "x": 1, "y": 0}, @@ -252,11 +389,633 @@ {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 1.75}, {"matrix": [1, 13], "x": 14, "y": 3}, + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, {"matrix": [0, 1], "x": 1.5, "y": 4}, {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, - {"matrix": [0, 12], "x": 12.5, "y": 4} + {"matrix": [0, 12], "x": 12.5, "y": 4}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_ansi_wkl": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0, "w": 2}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + {"matrix": [3, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_ansi_wkl_split_bs_rshift": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0}, + {"matrix": [4, 14], "x": 14, "y": 0}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + {"matrix": [3, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [1, 13], "x": 14, "y": 3}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_hhkb": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0}, + {"matrix": [4, 14], "x": 14, "y": 0}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + {"matrix": [3, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [1, 13], "x": 14, "y": 3}, + + {"matrix": [0, 1], "x": 1.5, "y": 4}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 12], "x": 12.5, "y": 4} + ] + }, + "LAYOUT_60_iso": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0, "w": 2}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 3}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [0, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [0, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [0, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [0, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [0, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"matrix": [0, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_iso_split_bs_rshift": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0}, + {"matrix": [4, 14], "x": 14, "y": 0}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 3}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [1, 13], "x": 14, "y": 3}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [0, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [0, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [0, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [0, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [0, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"matrix": [0, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_iso_tsangan": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0, "w": 2}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 3}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [0, 1], "x": 1.5, "y": 4}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 12], "x": 12.5, "y": 4}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_iso_tsangan_split_bs_rshift": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0}, + {"matrix": [4, 14], "x": 14, "y": 0}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 3}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [1, 13], "x": 14, "y": 3}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [0, 1], "x": 1.5, "y": 4}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 12], "x": 12.5, "y": 4}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_iso_wkl": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0, "w": 2}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 3}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_iso_wkl_split_bs_rshift": { + "layout": [ + {"matrix": [4, 0], "x": 0, "y": 0}, + {"matrix": [4, 1], "x": 1, "y": 0}, + {"matrix": [4, 2], "x": 2, "y": 0}, + {"matrix": [4, 3], "x": 3, "y": 0}, + {"matrix": [4, 4], "x": 4, "y": 0}, + {"matrix": [4, 5], "x": 5, "y": 0}, + {"matrix": [4, 6], "x": 6, "y": 0}, + {"matrix": [4, 7], "x": 7, "y": 0}, + {"matrix": [4, 8], "x": 8, "y": 0}, + {"matrix": [4, 9], "x": 9, "y": 0}, + {"matrix": [4, 10], "x": 10, "y": 0}, + {"matrix": [4, 11], "x": 11, "y": 0}, + {"matrix": [4, 12], "x": 12, "y": 0}, + {"matrix": [4, 13], "x": 13, "y": 0}, + {"matrix": [4, 14], "x": 14, "y": 0}, + + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 1}, + {"matrix": [3, 2], "x": 2.5, "y": 1}, + {"matrix": [3, 3], "x": 3.5, "y": 1}, + {"matrix": [3, 4], "x": 4.5, "y": 1}, + {"matrix": [3, 5], "x": 5.5, "y": 1}, + {"matrix": [3, 6], "x": 6.5, "y": 1}, + {"matrix": [3, 7], "x": 7.5, "y": 1}, + {"matrix": [3, 8], "x": 8.5, "y": 1}, + {"matrix": [3, 9], "x": 9.5, "y": 1}, + {"matrix": [3, 10], "x": 10.5, "y": 1}, + {"matrix": [3, 11], "x": 11.5, "y": 1}, + {"matrix": [3, 12], "x": 12.5, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [1, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 3}, + {"matrix": [1, 2], "x": 2.25, "y": 3}, + {"matrix": [1, 3], "x": 3.25, "y": 3}, + {"matrix": [1, 4], "x": 4.25, "y": 3}, + {"matrix": [1, 5], "x": 5.25, "y": 3}, + {"matrix": [1, 6], "x": 6.25, "y": 3}, + {"matrix": [1, 7], "x": 7.25, "y": 3}, + {"matrix": [1, 8], "x": 8.25, "y": 3}, + {"matrix": [1, 9], "x": 9.25, "y": 3}, + {"matrix": [1, 10], "x": 10.25, "y": 3}, + {"matrix": [1, 11], "x": 11.25, "y": 3}, + {"matrix": [1, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [1, 13], "x": 14, "y": 3}, + + {"matrix": [0, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [0, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [0, 6], "x": 4, "y": 4, "w": 7}, + {"matrix": [0, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [0, 13], "x": 13.5, "y": 4, "w": 1.5} ] } } diff --git a/keyboards/ares/matrix_diagram.md b/keyboards/ares/matrix_diagram.md new file mode 100644 index 00000000000..5be61c98899 --- /dev/null +++ b/keyboards/ares/matrix_diagram.md @@ -0,0 +1,27 @@ +# Matrix Diagram for LSJ Ares + +``` + ┌───────┐ + 2u Backspace │4E │ + └───────┘ +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4C │4D │4E │ +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ┌─────┐ +│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ┌──┴┐2D │ ISO Enter +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2D │ │2C │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ └───┴────┘ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │ +├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴───┤ +│00 │01 │02 │06 │0A │0B │0C │0D │ +└────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ +┌────────┐ ┌──────────┐ +│10 │ 2.25u LShift 2.75u RShift │1C │ +└────────┘ └──────────┘ +┌─────┬───┬─────┬───────────────────────────┬─────┬───┬─────┐ +│00 │01 │02 │06 │0B │0C │0D │ Tsangan/WKL/HHKB +└─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ +┌─────┬───┬─────┬───────────────────────┬─────┬───┬───┬─────┐ +│00 │01 │02 │06 │0A │0B │0C │0D │ True HHKB +└─────┴───┴─────┴───────────────────────┴─────┴───┴───┴─────┘ +``` From aa33d8ba8e9ca78b7738eadd5401348c51d3d9d9 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Tue, 12 Mar 2024 16:31:51 -0600 Subject: [PATCH 071/107] Fixup work_board (#23266) * initial * Update keyboards/work_louder/work_board/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre --------- Co-authored-by: Drashna Jaelre --- keyboards/work_louder/work_board/config.h | 16 ------------ keyboards/work_louder/work_board/info.json | 12 +++++++++ .../work_board/keymaps/default/keymap.c | 11 ++------ .../work_board/keymaps/default/readme.md | 1 - .../work_board/keymaps/default/rules.mk | 1 + .../work_board/keymaps/via/config.h | 2 ++ .../work_board/keymaps/via/keymap.c | 26 ++++++++++--------- keyboards/work_louder/work_board/rules.mk | 17 ------------ 8 files changed, 31 insertions(+), 55 deletions(-) delete mode 100644 keyboards/work_louder/work_board/keymaps/default/readme.md diff --git a/keyboards/work_louder/work_board/config.h b/keyboards/work_louder/work_board/config.h index 57f309513b2..2514a63ddec 100644 --- a/keyboards/work_louder/work_board/config.h +++ b/keyboards/work_louder/work_board/config.h @@ -24,20 +24,4 @@ along with this program. If not, see . #define RGB_MATRIX_LED_COUNT 49 #define RGB_MATRIX_DISABLE_KEYCODES -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - #define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x1 diff --git a/keyboards/work_louder/work_board/info.json b/keyboards/work_louder/work_board/info.json index 8714133ae7e..dc412fdabd1 100644 --- a/keyboards/work_louder/work_board/info.json +++ b/keyboards/work_louder/work_board/info.json @@ -8,6 +8,18 @@ "pid": "0xDCD1", "max_power": 100 }, + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "nkro": true, + "rgblight": true, + "rgb_matrix": true, + "encoder": true + }, + "build": { + "lto": true + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/work_louder/work_board/keymaps/default/keymap.c b/keyboards/work_louder/work_board/keymaps/default/keymap.c index 56c4a2ce1d3..e55cd5c5987 100644 --- a/keyboards/work_louder/work_board/keymaps/default/keymap.c +++ b/keyboards/work_louder/work_board/keymaps/default/keymap.c @@ -16,7 +16,7 @@ #include QMK_KEYBOARD_H -enum planck_layers { +enum layers { _QWERTY, _LOWER, _RAISE, @@ -27,15 +27,12 @@ enum tap_dances { ENC_TAP, }; -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_QWERTY] = LAYOUT( KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, TD(ENC_TAP), KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT, - MO(3), KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_SLSH, KC_LEFT, KC_DOWN, KC_RGHT + MO(3), KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_SLSH, KC_LEFT, KC_DOWN, KC_RGHT ), [_LOWER] = LAYOUT( @@ -85,7 +82,3 @@ void dance_enc_reset(tap_dance_state_t *state, void *user_data) { tap_dance_action_t tap_dance_actions[] = { [ENC_TAP] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_enc_finished, dance_enc_reset), }; - -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); -} diff --git a/keyboards/work_louder/work_board/keymaps/default/readme.md b/keyboards/work_louder/work_board/keymaps/default/readme.md deleted file mode 100644 index 3b2d89b9a6a..00000000000 --- a/keyboards/work_louder/work_board/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for work diff --git a/keyboards/work_louder/work_board/keymaps/default/rules.mk b/keyboards/work_louder/work_board/keymaps/default/rules.mk index e5ddcae8d92..ec22b308f75 100644 --- a/keyboards/work_louder/work_board/keymaps/default/rules.mk +++ b/keyboards/work_louder/work_board/keymaps/default/rules.mk @@ -1 +1,2 @@ TAP_DANCE_ENABLE = yes +TRI_LAYER_ENABLE = yes diff --git a/keyboards/work_louder/work_board/keymaps/via/config.h b/keyboards/work_louder/work_board/keymaps/via/config.h index d383467be7b..7aa3bebe9b8 100644 --- a/keyboards/work_louder/work_board/keymaps/via/config.h +++ b/keyboards/work_louder/work_board/keymaps/via/config.h @@ -2,3 +2,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #define NO_ACTION_ONESHOT +#undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS +#undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL diff --git a/keyboards/work_louder/work_board/keymaps/via/keymap.c b/keyboards/work_louder/work_board/keymaps/via/keymap.c index e920c2f9bd0..7f0627eb672 100644 --- a/keyboards/work_louder/work_board/keymaps/via/keymap.c +++ b/keyboards/work_louder/work_board/keymaps/via/keymap.c @@ -16,22 +16,24 @@ #include QMK_KEYBOARD_H -enum planck_layers { _QWERTY, _LOWER, _RAISE, _ADJUST }; +enum layers { + _QWERTY, + _LOWER, + _RAISE, + _ADJUST +}; enum tap_dances { - ENC_TAP, + ENC_TAP }; -#define LOWER TL_LOWR -#define RAISE TL_UPPR - // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_QWERTY] = LAYOUT( KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, QK_KB_9, KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - MO(3), KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + MO(3), KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), [_LOWER] = LAYOUT( KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, _______, @@ -158,9 +160,9 @@ void wl_config_set_value(uint8_t *data) { work_louder_config.led_level = (bool)*value_data; layer_state_set_kb(layer_state); break; - // case id_wl_layer: - // layer_move(*value_data); - // break; + // case id_wl_layer: + // layer_move(*value_data); + // break; } } @@ -173,9 +175,9 @@ void wl_config_get_value(uint8_t *data) { case id_wl_brightness: *value_data = work_louder_config.led_level; break; - // case id_wl_layer: - // *value_data = get_highest_layer(layer_state); - // break; + // case id_wl_layer: + // *value_data = get_highest_layer(layer_state); + // break; } } diff --git a/keyboards/work_louder/work_board/rules.mk b/keyboards/work_louder/work_board/rules.mk index 9f4b9a4bc5c..a4c45393c01 100644 --- a/keyboards/work_louder/work_board/rules.mk +++ b/keyboards/work_louder/work_board/rules.mk @@ -1,20 +1,3 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -LTO_ENABLE = yes - -RGB_MATRIX_ENABLE = yes - SRC += rgb_functions.c DEFAULT_FOLDER = work_louder/work_board/rev3 From 6788a5eb27b1db5d25ef6388bb8b698899de2f9e Mon Sep 17 00:00:00 2001 From: LLLKST <160975620+LLLKST@users.noreply.github.com> Date: Tue, 12 Mar 2024 23:51:42 +0100 Subject: [PATCH 072/107] [Keyboard] Add PetruziaMini (#23201) * Uploading the PetruziaMini My first try on uploading somethings on github. Hoping it works, this is my handwired PetruziaMini. I don't know if it will be visible on qmk configurator now * 36 key hhbk inspired kb * Required changes done I compiled it locally and works * Last changes requested Added a imgur image (first time using, hoping i did it right) and summarized the description as requeste * Fixed imegur link * Ops, i've lost this. Here it comes Thanks for helping! I'll take notes for next time :) --- keyboards/handwired/petruziamini/info.json | 66 +++++++++++++++++++ .../petruziamini/keymaps/default/keymap.c | 30 +++++++++ keyboards/handwired/petruziamini/readme.md | 26 ++++++++ keyboards/handwired/petruziamini/rules.mk | 1 + 4 files changed, 123 insertions(+) create mode 100644 keyboards/handwired/petruziamini/info.json create mode 100644 keyboards/handwired/petruziamini/keymaps/default/keymap.c create mode 100644 keyboards/handwired/petruziamini/readme.md create mode 100644 keyboards/handwired/petruziamini/rules.mk diff --git a/keyboards/handwired/petruziamini/info.json b/keyboards/handwired/petruziamini/info.json new file mode 100644 index 00000000000..dcd60f2dc7a --- /dev/null +++ b/keyboards/handwired/petruziamini/info.json @@ -0,0 +1,66 @@ +{ + "manufacturer": "LLLKST", + "keyboard_name": "PetruziaMini", + "maintainer": "LLLKST", + "development_board": "promicro", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["D7", "C6", "D4", "D0", "D1", "F4", "F5", "F6", "F7", "B1"], + "rows": ["B4", "E6", "B3", "B2"] + }, + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0xFEED" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/handwired/petruziamini/keymaps/default/keymap.c b/keyboards/handwired/petruziamini/keymaps/default/keymap.c new file mode 100644 index 00000000000..c0972785d42 --- /dev/null +++ b/keyboards/handwired/petruziamini/keymaps/default/keymap.c @@ -0,0 +1,30 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │ A │ B │ │ D │ │ │ G │ │ I │ J │ + * └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, + KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, + KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, + KC_A, KC_B, KC_C, KC_D, LT(1, KC_E), KC_F + ), + [1] = LAYOUT( + KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO +) +}; diff --git a/keyboards/handwired/petruziamini/readme.md b/keyboards/handwired/petruziamini/readme.md new file mode 100644 index 00000000000..1b303c49c63 --- /dev/null +++ b/keyboards/handwired/petruziamini/readme.md @@ -0,0 +1,26 @@ +# PetruziaMini + +![PetruziaMini](https://i.imgur.com/uk2BSazh.jpeg) + +36 key ortholinear keyboard intended to be mapped as a split keyboard. + +* Keyboard Maintainer: [LLLKST](https://github.com/LLLKST) +* Hardware Supported: *promicro compatible controller* +* Hardware Availability: [Aliexpress Pro Micro](https://www.aliexpress.us/item/3256805781371913.html) + + +Make example for this keyboard (after setting up your build environment): + + make handwired/petruziamini:default + +Flashing example for this keyboard: + + make handwired/petruziamini: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 + +Enter the bootloader with: + +* **Keycode in layout**: Press the key mapped to `QK_BOOT` (3,5) + (0,1) in the matrix \ No newline at end of file diff --git a/keyboards/handwired/petruziamini/rules.mk b/keyboards/handwired/petruziamini/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/handwired/petruziamini/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From fb11330eab2b459d5e510c66a9bdf3961c8e639a Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 13 Mar 2024 00:28:08 +0000 Subject: [PATCH 073/107] Absolute paths for -kb argument should error consistently (#23262) --- lib/python/qmk/path.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/python/qmk/path.py b/lib/python/qmk/path.py index 74364ee04b0..bb588d2e1c3 100644 --- a/lib/python/qmk/path.py +++ b/lib/python/qmk/path.py @@ -12,11 +12,19 @@ from qmk.errors import NoSuchKeyboardError def is_keyboard(keyboard_name): """Returns True if `keyboard_name` is a keyboard we can compile. """ - if keyboard_name: - keyboard_path = QMK_FIRMWARE / 'keyboards' / keyboard_name - rules_mk = keyboard_path / 'rules.mk' + if not keyboard_name: + return False + + # keyboard_name values of 'c:/something' or '/something' trigger append issues + # due to "If the argument is an absolute path, the previous path is ignored" + # however it should always be a folder located under qmk_firmware/keyboards + if Path(keyboard_name).is_absolute(): + return False + + keyboard_path = QMK_FIRMWARE / 'keyboards' / keyboard_name + rules_mk = keyboard_path / 'rules.mk' - return rules_mk.exists() + return rules_mk.exists() def under_qmk_firmware(path=Path(os.environ['ORIG_CWD'])): From 49596b0692c557e0278f54d1a03314d42b3031da Mon Sep 17 00:00:00 2001 From: wind <108604699+yelishang@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:20:46 +0800 Subject: [PATCH 074/107] Add KM113 keyboard (#22669) --- keyboards/jidohun/km113/config.h | 15 + keyboards/jidohun/km113/halconf.h | 10 + keyboards/jidohun/km113/info.json | 269 ++++++++++++++++++ .../jidohun/km113/keymaps/default/keymap.c | 43 +++ keyboards/jidohun/km113/keymaps/via/keymap.c | 53 ++++ keyboards/jidohun/km113/keymaps/via/rules.mk | 2 + keyboards/jidohun/km113/mcuconf.h | 9 + keyboards/jidohun/km113/readme.md | 23 ++ keyboards/jidohun/km113/rules.mk | 1 + 9 files changed, 425 insertions(+) create mode 100644 keyboards/jidohun/km113/config.h create mode 100644 keyboards/jidohun/km113/halconf.h create mode 100644 keyboards/jidohun/km113/info.json create mode 100644 keyboards/jidohun/km113/keymaps/default/keymap.c create mode 100644 keyboards/jidohun/km113/keymaps/via/keymap.c create mode 100644 keyboards/jidohun/km113/keymaps/via/rules.mk create mode 100644 keyboards/jidohun/km113/mcuconf.h create mode 100644 keyboards/jidohun/km113/readme.md create mode 100644 keyboards/jidohun/km113/rules.mk diff --git a/keyboards/jidohun/km113/config.h b/keyboards/jidohun/km113/config.h new file mode 100644 index 00000000000..aaf717eca42 --- /dev/null +++ b/keyboards/jidohun/km113/config.h @@ -0,0 +1,15 @@ +// Copyright 2023 wind (@yelishang) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* SPI Config */ +#define SPI_DRIVER SPIDQ +#define SPI_SCK_PIN B3 +#define SPI_MOSI_PIN B5 +#define SPI_MISO_PIN B4 +#define SPI_MOSI_PAL_MODE 5 + +/* SPI Flash Config */ +#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12 + diff --git a/keyboards/jidohun/km113/halconf.h b/keyboards/jidohun/km113/halconf.h new file mode 100644 index 00000000000..6ff2f1ec677 --- /dev/null +++ b/keyboards/jidohun/km113/halconf.h @@ -0,0 +1,10 @@ +// Copyright 2023 wind (@yelishang) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define HAL_USE_SPI TRUE +#define SPI_USE_WAIT TRUE +#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD + +#include_next diff --git a/keyboards/jidohun/km113/info.json b/keyboards/jidohun/km113/info.json new file mode 100644 index 00000000000..05fb901d4c6 --- /dev/null +++ b/keyboards/jidohun/km113/info.json @@ -0,0 +1,269 @@ +{ + "manufacturer": "JIDOHUN", + "keyboard_name": "KM113", + "maintainer": "wind", + "bootloader": "wb32-dfu", + "diode_direction": "ROW2COL", + "eeprom": { + "wear_leveling": { + "backing_size": 4096, + "driver": "spi_flash" + } + }, + "encoder": { + "rotary": [ + {"pin_a": "A10", "pin_b": "A9"} + ] + }, + "features": { + "bootmagic": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["C0", "C1", "C2", "C3", "A5", "B1", "B10", "B11", "B12", "B13", "B14", "B15", "C6", "C7", "C8", "C9"], + "rows": ["A0", "A1", "A2", "A3", "A4", "C13"] + }, + "processor": "WB32FQ95", + "rgb_matrix": { + "animations": { + "alphas_mods": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_sat": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "band_val": true, + "breathing": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "cycle_up_down": true, + "digital_rain": true, + "dual_beacon": true, + "gradient_left_right": true, + "gradient_up_down": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "jellybean_raindrops": true, + "multisplash": true, + "pixel_flow": true, + "pixel_fractal": true, + "pixel_rain": true, + "rainbow_beacon": true, + "rainbow_moving_chevron": true, + "rainbow_pinwheels": true, + "raindrops": true, + "solid_multisplash": true, + "solid_reactive": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_multinexus": true, + "solid_reactive_multiwide": true, + "solid_reactive_nexus": true, + "solid_reactive_simple": true, + "solid_reactive_wide": true, + "solid_splash": true, + "splash": true, + "typing_heatmap": true + }, + "driver": "ws2812", + "layout": [ + {"matrix": [5, 8], "x": 119, "y": 64, "flags": 4}, + {"matrix": [5, 9], "x": 134, "y": 64, "flags": 4}, + {"matrix": [5, 10], "x": 149, "y": 64, "flags": 4}, + {"matrix": [5, 11], "x": 164, "y": 64, "flags": 4}, + {"matrix": [5, 12], "x": 179, "y": 64, "flags": 4}, + {"matrix": [5, 13], "x": 194, "y": 64, "flags": 4}, + {"matrix": [5, 14], "x": 209, "y": 64, "flags": 4}, + {"matrix": [5, 15], "x": 224, "y": 64, "flags": 4}, + {"matrix": [4, 15], "x": 224, "y": 51, "flags": 4}, + {"matrix": [4, 14], "x": 209, "y": 51, "flags": 4}, + {"matrix": [4, 13], "x": 194, "y": 51, "flags": 4}, + {"matrix": [4, 12], "x": 179, "y": 51, "flags": 4}, + {"matrix": [4, 11], "x": 164, "y": 51, "flags": 4}, + {"matrix": [4, 10], "x": 149, "y": 51, "flags": 4}, + {"matrix": [4, 9], "x": 134, "y": 51, "flags": 4}, + {"matrix": [4, 8], "x": 119, "y": 51, "flags": 4}, + {"matrix": [4, 7], "x": 105, "y": 51, "flags": 4}, + {"matrix": [4, 6], "x": 90, "y": 51, "flags": 4}, + {"matrix": [4, 5], "x": 75, "y": 51, "flags": 4}, + {"matrix": [4, 4], "x": 60, "y": 51, "flags": 4}, + {"matrix": [4, 3], "x": 45, "y": 51, "flags": 4}, + {"matrix": [4, 2], "x": 30, "y": 51, "flags": 4}, + {"matrix": [3, 1], "x": 15, "y": 38, "flags": 4}, + {"matrix": [3, 2], "x": 30, "y": 38, "flags": 4}, + {"matrix": [3, 3], "x": 45, "y": 38, "flags": 4}, + {"matrix": [3, 4], "x": 60, "y": 38, "flags": 4}, + {"matrix": [3, 5], "x": 75, "y": 38, "flags": 4}, + {"matrix": [3, 6], "x": 90, "y": 38, "flags": 4}, + {"matrix": [3, 7], "x": 105, "y": 38, "flags": 4}, + {"matrix": [3, 8], "x": 119, "y": 38, "flags": 4}, + {"matrix": [3, 9], "x": 134, "y": 38, "flags": 4}, + {"matrix": [3, 10], "x": 149, "y": 38, "flags": 4}, + {"matrix": [3, 11], "x": 164, "y": 38, "flags": 4}, + {"matrix": [3, 12], "x": 179, "y": 38, "flags": 4}, + {"matrix": [3, 14], "x": 209, "y": 38, "flags": 4}, + {"matrix": [3, 15], "x": 224, "y": 38, "flags": 4}, + {"matrix": [2, 15], "x": 224, "y": 26, "flags": 4}, + {"matrix": [2, 14], "x": 209, "y": 26, "flags": 4}, + {"matrix": [2, 13], "x": 194, "y": 26, "flags": 4}, + {"matrix": [2, 12], "x": 179, "y": 26, "flags": 4}, + {"matrix": [2, 11], "x": 164, "y": 26, "flags": 4}, + {"matrix": [2, 10], "x": 149, "y": 26, "flags": 4}, + {"matrix": [2, 9], "x": 134, "y": 26, "flags": 4}, + {"matrix": [2, 8], "x": 119, "y": 26, "flags": 4}, + {"matrix": [2, 7], "x": 105, "y": 26, "flags": 4}, + {"matrix": [2, 6], "x": 90, "y": 26, "flags": 4}, + {"matrix": [2, 5], "x": 75, "y": 26, "flags": 4}, + {"matrix": [2, 4], "x": 60, "y": 26, "flags": 4}, + {"matrix": [2, 3], "x": 45, "y": 26, "flags": 4}, + {"matrix": [2, 2], "x": 30, "y": 26, "flags": 4}, + {"matrix": [2, 1], "x": 15, "y": 26, "flags": 4}, + {"matrix": [1, 1], "x": 15, "y": 13, "flags": 4}, + {"matrix": [1, 2], "x": 30, "y": 13, "flags": 4}, + {"matrix": [1, 3], "x": 45, "y": 13, "flags": 4}, + {"matrix": [1, 4], "x": 60, "y": 13, "flags": 4}, + {"matrix": [1, 5], "x": 75, "y": 13, "flags": 4}, + {"matrix": [1, 6], "x": 90, "y": 13, "flags": 4}, + {"matrix": [1, 7], "x": 105, "y": 13, "flags": 4}, + {"matrix": [1, 8], "x": 119, "y": 13, "flags": 4}, + {"matrix": [1, 9], "x": 134, "y": 13, "flags": 4}, + {"matrix": [1, 10], "x": 149, "y": 13, "flags": 4}, + {"matrix": [1, 11], "x": 164, "y": 13, "flags": 4}, + {"matrix": [1, 12], "x": 179, "y": 13, "flags": 4}, + {"matrix": [1, 13], "x": 194, "y": 13, "flags": 4}, + {"matrix": [0, 13], "x": 194, "y": 0, "flags": 4}, + {"matrix": [0, 12], "x": 179, "y": 0, "flags": 4}, + {"matrix": [0, 11], "x": 164, "y": 0, "flags": 4}, + {"matrix": [0, 10], "x": 149, "y": 0, "flags": 4}, + {"matrix": [0, 9], "x": 134, "y": 0, "flags": 4}, + {"matrix": [0, 8], "x": 119, "y": 0, "flags": 4}, + {"matrix": [0, 7], "x": 105, "y": 0, "flags": 4}, + {"matrix": [0, 6], "x": 90, "y": 0, "flags": 4}, + {"matrix": [0, 5], "x": 75, "y": 0, "flags": 4}, + {"matrix": [0, 4], "x": 60, "y": 0, "flags": 4}, + {"matrix": [0, 3], "x": 45, "y": 0, "flags": 4}, + {"matrix": [0, 2], "x": 30, "y": 0, "flags": 4}, + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4}, + {"matrix": [1, 0], "x": 0, "y": 13, "flags": 4}, + {"matrix": [2, 0], "x": 0, "y": 26, "flags": 4}, + {"matrix": [3, 0], "x": 0, "y": 38, "flags": 4}, + {"matrix": [4, 0], "x": 0, "y": 51, "flags": 4}, + {"matrix": [5, 0], "x": 0, "y": 64, "flags": 4}, + {"matrix": [5, 1], "x": 15, "y": 64, "flags": 4}, + {"matrix": [5, 2], "x": 30, "y": 64, "flags": 4}, + {"matrix": [5, 5], "x": 75, "y": 64, "flags": 4} + ], + "max_brightness": 108 + }, + "url": "http://www.frscn.com", + "usb": { + "device_version": "1.0.0", + "pid": "0x3671", + "suspend_wakeup_delay": 1000, + "vid": "0x3555" + }, + "ws2812": { + "pin": "A8" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6.5, "y": 0}, + {"matrix": [0, 7], "x": 7.5, "y": 0}, + {"matrix": [0, 8], "x": 8.5, "y": 0}, + {"matrix": [0, 9], "x": 9.5, "y": 0}, + {"matrix": [0, 10], "x": 11, "y": 0}, + {"matrix": [0, 11], "x": 12, "y": 0}, + {"matrix": [0, 12], "x": 13, "y": 0}, + {"matrix": [0, 13], "x": 14, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1, "w": 2}, + {"matrix": [1, 14], "x": 17, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [2, 1], "x": 1.5, "y": 2}, + {"matrix": [2, 2], "x": 2.5, "y": 2}, + {"matrix": [2, 3], "x": 3.5, "y": 2}, + {"matrix": [2, 4], "x": 4.5, "y": 2}, + {"matrix": [2, 5], "x": 5.5, "y": 2}, + {"matrix": [2, 6], "x": 6.5, "y": 2}, + {"matrix": [2, 7], "x": 7.5, "y": 2}, + {"matrix": [2, 8], "x": 8.5, "y": 2}, + {"matrix": [2, 9], "x": 9.5, "y": 2}, + {"matrix": [2, 10], "x": 10.5, "y": 2}, + {"matrix": [2, 11], "x": 11.5, "y": 2}, + {"matrix": [2, 12], "x": 12.5, "y": 2}, + {"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [2, 14], "x": 16.5, "y": 2}, + {"matrix": [2, 15], "x": 17.5, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3}, + {"matrix": [3, 2], "x": 2.75, "y": 3}, + {"matrix": [3, 3], "x": 3.75, "y": 3}, + {"matrix": [3, 4], "x": 4.75, "y": 3}, + {"matrix": [3, 5], "x": 5.75, "y": 3}, + {"matrix": [3, 6], "x": 6.75, "y": 3}, + {"matrix": [3, 7], "x": 7.75, "y": 3}, + {"matrix": [3, 8], "x": 8.75, "y": 3}, + {"matrix": [3, 9], "x": 9.75, "y": 3}, + {"matrix": [3, 10], "x": 10.75, "y": 3}, + {"matrix": [3, 11], "x": 11.75, "y": 3}, + {"matrix": [3, 12], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [3, 14], "x": 16.5, "y": 3}, + {"matrix": [3, 15], "x": 17.5, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [4, 2], "x": 2.25, "y": 4}, + {"matrix": [4, 3], "x": 3.25, "y": 4}, + {"matrix": [4, 4], "x": 4.25, "y": 4}, + {"matrix": [4, 5], "x": 5.25, "y": 4}, + {"matrix": [4, 6], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 7.25, "y": 4}, + {"matrix": [4, 8], "x": 8.25, "y": 4}, + {"matrix": [4, 9], "x": 9.25, "y": 4}, + {"matrix": [4, 10], "x": 10.25, "y": 4}, + {"matrix": [4, 11], "x": 11.25, "y": 4}, + {"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [4, 13], "x": 14.25, "y": 4.25}, + {"matrix": [4, 14], "x": 16.5, "y": 4}, + {"matrix": [4, 15], "x": 17.5, "y": 4}, + {"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [5, 8], "x": 10, "y": 5}, + {"matrix": [5, 9], "x": 11, "y": 5}, + {"matrix": [5, 10], "x": 12, "y": 5}, + {"matrix": [5, 11], "x": 13.25, "y": 5.25}, + {"matrix": [5, 12], "x": 14.25, "y": 5.25}, + {"matrix": [5, 13], "x": 15.25, "y": 5.25}, + {"matrix": [5, 14], "x": 16.5, "y": 5}, + {"matrix": [5, 15], "x": 17.5, "y": 5} + ] + } + } +} diff --git a/keyboards/jidohun/km113/keymaps/default/keymap.c b/keyboards/jidohun/km113/keymaps/default/keymap.c new file mode 100644 index 00000000000..088adc8742c --- /dev/null +++ b/keyboards/jidohun/km113/keymaps/default/keymap.c @@ -0,0 +1,43 @@ +// Copyright 2023 wind (@yelishang) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, TO(0), KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TO(1), KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TO(2), KC_PGUP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, TO(3), KC_PGDN + ), + + [1] = LAYOUT( + EE_CLR, KC_MSEL, KC_VOLD, KC_VOLU, KC_MUTE, KC_MSTP, KC_MPRV, KC_MPLY, KC_MNXT, KC_MAIL, KC_WHOM, KC_MYCM, KC_CALC, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, RGB_MOD, _______, _______, + _______, _______, _______, _______, RGB_MOD, _______, _______, KC_PSCR, KC_PGUP, KC_DEL, _______, _______, _______, _______, TO(0), _______, + _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_PGDN, KC_END, _______, _______, _______, TO(1), _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, TO(2), _______, + _______, GU_TOGG, _______, RGB_TOG, _______, _______, _______, RGB_SPD, RGB_VAD, RGB_SPI,TO(3), _______ + ), + + [2] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, TO(0), KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TO(1), KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TO(2), KC_PGUP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, TO(3), KC_PGDN + ), + + [3] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, TO(0), _______, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TO(1), _______, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TO(2), _______, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, TO(3), _______ + ) +}; diff --git a/keyboards/jidohun/km113/keymaps/via/keymap.c b/keyboards/jidohun/km113/keymaps/via/keymap.c new file mode 100644 index 00000000000..b87dc22614d --- /dev/null +++ b/keyboards/jidohun/km113/keymaps/via/keymap.c @@ -0,0 +1,53 @@ +// Copyright 2023 wind (@yelishang) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, TO(0), KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TO(1), KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TO(2), KC_PGUP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, TO(3), KC_PGDN + ), + + [1] = LAYOUT( + EE_CLR, KC_MSEL, KC_VOLD, KC_VOLU, KC_MUTE, KC_MSTP, KC_MPRV, KC_MPLY, KC_MNXT, KC_MAIL, KC_WHOM, KC_MYCM, KC_CALC, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, RGB_MOD, _______, _______, + _______, _______, _______, _______, RGB_MOD, _______, _______, KC_PSCR, KC_PGUP, KC_DEL, _______, _______, _______, _______, TO(0), _______, + _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_PGDN, KC_END, _______, _______, _______, TO(1), _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, TO(2), _______, + _______, GU_TOGG, _______, RGB_TOG, _______, _______, _______, RGB_SPD, RGB_VAD, RGB_SPI,TO(3), _______ + ), + + [2] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, TO(0), KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TO(1), KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TO(2), KC_PGUP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, TO(3), KC_PGDN + ), + + [3] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, TO(0), _______, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TO(1), _______, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TO(2), _______, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, TO(3), _______ + ) +}; + +/* encoder; start */ +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, + [3] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, +}; +#endif diff --git a/keyboards/jidohun/km113/keymaps/via/rules.mk b/keyboards/jidohun/km113/keymaps/via/rules.mk new file mode 100644 index 00000000000..f1adcab005e --- /dev/null +++ b/keyboards/jidohun/km113/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/jidohun/km113/mcuconf.h b/keyboards/jidohun/km113/mcuconf.h new file mode 100644 index 00000000000..bdf256bc1a1 --- /dev/null +++ b/keyboards/jidohun/km113/mcuconf.h @@ -0,0 +1,9 @@ +// Copyright 2023 wind (@yelishang) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include_next + +#undef WB32_SPI_USE_QSPI +#define WB32_SPI_USE_QSPI TRUE diff --git a/keyboards/jidohun/km113/readme.md b/keyboards/jidohun/km113/readme.md new file mode 100644 index 00000000000..0951a474c0a --- /dev/null +++ b/keyboards/jidohun/km113/readme.md @@ -0,0 +1,23 @@ + +# KM113 + +* Keyboard Maintainer: [wind](https://github.com/yelishang) +* Hardware Supported: KM113 PCB + +Make example for this keyboard (after setting up your build environment): + + make jidohun/km113:default + +Flashing example for this keyboard: + + make jidohun/km113: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 + +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**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/jidohun/km113/rules.mk b/keyboards/jidohun/km113/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/jidohun/km113/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From be9fcbd5036b28afb1b52587c704d0bf523c9e12 Mon Sep 17 00:00:00 2001 From: era <73109780+eerraa@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:21:06 +0900 Subject: [PATCH 075/107] Add SIRIND Brick65 (#23245) --- keyboards/era/sirind/brick65/info.json | 201 ++++++++++++++++++ .../sirind/brick65/keymaps/default/keymap.c | 35 +++ .../era/sirind/brick65/keymaps/via/keymap.c | 21 ++ .../era/sirind/brick65/keymaps/via/rules.mk | 1 + keyboards/era/sirind/brick65/readme.md | 26 +++ keyboards/era/sirind/brick65/rules.mk | 1 + 6 files changed, 285 insertions(+) create mode 100644 keyboards/era/sirind/brick65/info.json create mode 100644 keyboards/era/sirind/brick65/keymaps/default/keymap.c create mode 100644 keyboards/era/sirind/brick65/keymaps/via/keymap.c create mode 100644 keyboards/era/sirind/brick65/keymaps/via/rules.mk create mode 100644 keyboards/era/sirind/brick65/readme.md create mode 100644 keyboards/era/sirind/brick65/rules.mk diff --git a/keyboards/era/sirind/brick65/info.json b/keyboards/era/sirind/brick65/info.json new file mode 100644 index 00000000000..3d35bc0d98f --- /dev/null +++ b/keyboards/era/sirind/brick65/info.json @@ -0,0 +1,201 @@ +{ + "manufacturer": "SR industry", + "keyboard_name": "Brick65", + "maintainer": "Syryan", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "indicators": { + "caps_lock": "C6", + "on_state": 0, + "scroll_lock": "B6" + }, + "matrix_pins": { + "cols": ["B7", "D4", "F1", "D5", "F4", "D3", "F5", "D2", "F6", "D1", "F7", "D0", "C7", "B3", "B1", "B2"], + "rows": ["D6", "D7", "B4", "B5", "F0"] + }, + "processor": "atmega32u4", + "rgb_matrix": { + "animations": { + "breathing": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "cycle_up_down": true, + "dual_beacon": true, + "multisplash": true, + "rainbow_beacon": true, + "rainbow_moving_chevron": true, + "raindrops": true, + "solid_reactive": true, + "solid_reactive_cross": true, + "solid_reactive_simple": true, + "typing_heatmap": true + }, + "driver": "ws2812", + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4}, + {"matrix": [0, 1], "x": 16, "y": 0, "flags": 4}, + {"matrix": [0, 2], "x": 32, "y": 0, "flags": 4}, + {"matrix": [0, 3], "x": 48, "y": 0, "flags": 4}, + {"matrix": [0, 4], "x": 64, "y": 0, "flags": 4}, + {"matrix": [0, 5], "x": 80, "y": 0, "flags": 4}, + {"matrix": [0, 6], "x": 80, "y": 0, "flags": 4}, + {"matrix": [0, 7], "x": 96, "y": 0, "flags": 4}, + {"matrix": [0, 8], "x": 112, "y": 0, "flags": 4}, + {"matrix": [0, 9], "x": 128, "y": 0, "flags": 4}, + {"matrix": [0, 10], "x": 144, "y": 0, "flags": 4}, + {"matrix": [0, 11], "x": 160, "y": 0, "flags": 4}, + {"matrix": [0, 12], "x": 176, "y": 0, "flags": 4}, + {"matrix": [0, 13], "x": 192, "y": 0, "flags": 4}, + {"matrix": [0, 14], "x": 208, "y": 0, "flags": 4}, + {"matrix": [0, 15], "x": 224, "y": 0, "flags": 4}, + {"matrix": [1, 15], "x": 224, "y": 16, "flags": 4}, + {"matrix": [1, 14], "x": 210, "y": 16, "flags": 4}, + {"matrix": [1, 12], "x": 197, "y": 16, "flags": 4}, + {"matrix": [1, 11], "x": 181, "y": 16, "flags": 4}, + {"matrix": [1, 10], "x": 165, "y": 16, "flags": 4}, + {"matrix": [1, 9], "x": 149, "y": 16, "flags": 4}, + {"matrix": [1, 8], "x": 133, "y": 16, "flags": 4}, + {"matrix": [1, 7], "x": 117, "y": 16, "flags": 4}, + {"matrix": [1, 6], "x": 101, "y": 16, "flags": 4}, + {"matrix": [1, 5], "x": 85, "y": 16, "flags": 4}, + {"matrix": [1, 4], "x": 69, "y": 16, "flags": 4}, + {"matrix": [1, 3], "x": 53, "y": 16, "flags": 4}, + {"matrix": [1, 2], "x": 37, "y": 16, "flags": 4}, + {"matrix": [1, 1], "x": 21, "y": 16, "flags": 4}, + {"matrix": [1, 0], "x": 4, "y": 16, "flags": 4}, + {"matrix": [2, 0], "x": 0, "y": 32, "flags": 4}, + {"matrix": [2, 1], "x": 30, "y": 32, "flags": 4}, + {"matrix": [2, 2], "x": 46, "y": 32, "flags": 4}, + {"matrix": [2, 3], "x": 62, "y": 32, "flags": 4}, + {"matrix": [2, 4], "x": 78, "y": 32, "flags": 4}, + {"matrix": [2, 5], "x": 94, "y": 32, "flags": 4}, + {"matrix": [2, 6], "x": 110, "y": 32, "flags": 4}, + {"matrix": [2, 7], "x": 126, "y": 32, "flags": 4}, + {"matrix": [2, 8], "x": 142, "y": 32, "flags": 4}, + {"matrix": [2, 9], "x": 158, "y": 32, "flags": 4}, + {"matrix": [2, 10], "x": 174, "y": 32, "flags": 4}, + {"matrix": [2, 11], "x": 190, "y": 32, "flags": 4}, + {"matrix": [2, 13], "x": 206, "y": 32, "flags": 4}, + {"matrix": [3, 14], "x": 208, "y": 48, "flags": 4}, + {"matrix": [3, 12], "x": 197, "y": 48, "flags": 4}, + {"matrix": [3, 11], "x": 176, "y": 48, "flags": 4}, + {"matrix": [3, 10], "x": 160, "y": 48, "flags": 4}, + {"matrix": [3, 9], "x": 144, "y": 48, "flags": 4}, + {"matrix": [3, 8], "x": 128, "y": 48, "flags": 4}, + {"matrix": [3, 7], "x": 112, "y": 48, "flags": 4}, + {"matrix": [3, 6], "x": 96, "y": 48, "flags": 4}, + {"matrix": [3, 5], "x": 80, "y": 48, "flags": 4}, + {"matrix": [3, 4], "x": 64, "y": 48, "flags": 4}, + {"matrix": [3, 3], "x": 48, "y": 48, "flags": 4}, + {"matrix": [3, 2], "x": 32, "y": 48, "flags": 4}, + {"matrix": [3, 0], "x": 8, "y": 48, "flags": 4}, + {"matrix": [4, 0], "x": 0, "y": 64, "flags": 4}, + {"matrix": [4, 1], "x": 19, "y": 64, "flags": 4}, + {"matrix": [4, 2], "x": 38, "y": 64, "flags": 4}, + {"matrix": [4, 5], "x": 78, "y": 64, "flags": 4}, + {"matrix": [4, 7], "x": 104, "y": 64, "flags": 4}, + {"matrix": [4, 9], "x": 136, "y": 64, "flags": 4}, + {"matrix": [4, 10], "x": 160, "y": 64, "flags": 4}, + {"matrix": [4, 11], "x": 176, "y": 64, "flags": 4}, + {"matrix": [4, 13], "x": 192, "y": 64, "flags": 4}, + {"matrix": [4, 14], "x": 208, "y": 64, "flags": 4}, + {"matrix": [4, 15], "x": 224, "y": 64, "flags": 4} + ], + "max_brightness": 200, + "val_steps": 20 + }, + "url": "https://srind.mysoho.com/", + "usb": { + "device_version": "0.0.1", + "pid": "0x0005", + "vid": "0x5943" + }, + "ws2812": { + "pin": "B0" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15.25, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 14], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 15], "x": 15.25, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14.25, "y": 3.25}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 5], "x": 4, "y": 4.25, "w": 2.75}, + {"matrix": [4, 7], "x": 6.75, "y": 4.25, "w": 1.25}, + {"matrix": [4, 9], "x": 8, "y": 4.25, "w": 2.25}, + {"matrix": [4, 10], "x": 10.5, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 11.75, "y": 4, "w": 1.25}, + {"matrix": [4, 13], "x": 13.25, "y": 4.25}, + {"matrix": [4, 14], "x": 14.25, "y": 4.25}, + {"matrix": [4, 15], "x": 15.25, "y": 4.25} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/era/sirind/brick65/keymaps/default/keymap.c b/keyboards/era/sirind/brick65/keymaps/default/keymap.c new file mode 100644 index 00000000000..f77a7aabff0 --- /dev/null +++ b/keyboards/era/sirind/brick65/keymaps/default/keymap.c @@ -0,0 +1,35 @@ +/* +Copyright 2024 PyuPyu + +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 . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_SCRL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT( + KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/era/sirind/brick65/keymaps/via/keymap.c b/keyboards/era/sirind/brick65/keymaps/via/keymap.c new file mode 100644 index 00000000000..0c895c84e41 --- /dev/null +++ b/keyboards/era/sirind/brick65/keymaps/via/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2018-2024 QMK (@qmk) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_LSCR, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT( + KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/era/sirind/brick65/keymaps/via/rules.mk b/keyboards/era/sirind/brick65/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/era/sirind/brick65/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/era/sirind/brick65/readme.md b/keyboards/era/sirind/brick65/readme.md new file mode 100644 index 00000000000..8d8f07d7c52 --- /dev/null +++ b/keyboards/era/sirind/brick65/readme.md @@ -0,0 +1,26 @@ +# Brick65 + +![Brick65](https://i.imgur.com/qyQYWfjh.jpg) + +Brick65 is a 65% ANSI layout Custom Keyboard + +* Keyboard Maintainer: Pyupyu +* Hardware Supported: Brick65 +* Hardware Availability: Syryan + +## How to enter Bootloader Mode + +Enter the bootloader in 2 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**: Briefly press the button on the back of the PCB - some may have pads you must short instead + +Make example for this keyboard (after setting up your build environment): + + make era/sirind/brick65:default + +Flashing example for this keyboard: + + make era/sirind/brick65: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). diff --git a/keyboards/era/sirind/brick65/rules.mk b/keyboards/era/sirind/brick65/rules.mk new file mode 100644 index 00000000000..7ff128fa692 --- /dev/null +++ b/keyboards/era/sirind/brick65/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file From c92277a8ae77b0ab9f70ec59ed92b4e64d16d842 Mon Sep 17 00:00:00 2001 From: DavidSannier Date: Wed, 13 Mar 2024 08:19:23 +0100 Subject: [PATCH 076/107] Remove unuseful layer_on() call (#23055) --- quantum/action.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/quantum/action.c b/quantum/action.c index 8dae32b2cb3..74ef55e5eb2 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -658,7 +658,6 @@ void process_action(keyrecord_t *record, action_t action) { layer_off(action.layer_tap.val); break; } else if (tap_count < ONESHOT_TAP_TOGGLE) { - layer_on(action.layer_tap.val); set_oneshot_layer(action.layer_tap.val, ONESHOT_START); } } else { @@ -671,7 +670,6 @@ void process_action(keyrecord_t *record, action_t action) { } # else if (event.pressed) { - layer_on(action.layer_tap.val); set_oneshot_layer(action.layer_tap.val, ONESHOT_START); } else { clear_oneshot_layer_state(ONESHOT_PRESSED); From 8c9dea0d0addf7735ceac2eb7bcf9ab3f2d02bff Mon Sep 17 00:00:00 2001 From: elmo Date: Wed, 13 Mar 2024 08:23:30 +0100 Subject: [PATCH 077/107] Add support new kb_elmo PCBs (#23138) Co-authored-by: Ryan --- keyboards/kb_elmo/bm42/info.json | 72 +++++++++++++++ .../kb_elmo/bm42/keymaps/default/keymap.c | 25 +++++ keyboards/kb_elmo/bm42/keymaps/via/keymap.c | 25 +++++ keyboards/kb_elmo/bm42/keymaps/via/rules.mk | 2 + keyboards/kb_elmo/bm42/readme.md | 28 ++++++ keyboards/kb_elmo/bm42/rules.mk | 1 + keyboards/kb_elmo/dizzy40/info.json | 91 +++++++++++++++++++ .../kb_elmo/dizzy40/keymaps/default/keymap.c | 25 +++++ .../kb_elmo/dizzy40/keymaps/via/keymap.c | 25 +++++ .../kb_elmo/dizzy40/keymaps/via/rules.mk | 2 + keyboards/kb_elmo/dizzy40/readme.md | 28 ++++++ keyboards/kb_elmo/dizzy40/rules.mk | 1 + keyboards/kb_elmo/eliza/info.json | 71 +++++++++++++++ .../kb_elmo/eliza/keymaps/default/keymap.c | 25 +++++ keyboards/kb_elmo/eliza/keymaps/via/keymap.c | 25 +++++ keyboards/kb_elmo/eliza/keymaps/via/rules.mk | 2 + keyboards/kb_elmo/eliza/readme.md | 28 ++++++ keyboards/kb_elmo/eliza/rules.mk | 1 + keyboards/kb_elmo/gamehand/info.json | 61 +++++++++++++ .../kb_elmo/gamehand/keymaps/default/keymap.c | 33 +++++++ .../kb_elmo/gamehand/keymaps/via/keymap.c | 33 +++++++ .../kb_elmo/gamehand/keymaps/via/rules.mk | 2 + keyboards/kb_elmo/gamehand/readme.md | 28 ++++++ keyboards/kb_elmo/gamehand/rules.mk | 1 + 24 files changed, 635 insertions(+) create mode 100644 keyboards/kb_elmo/bm42/info.json create mode 100644 keyboards/kb_elmo/bm42/keymaps/default/keymap.c create mode 100644 keyboards/kb_elmo/bm42/keymaps/via/keymap.c create mode 100644 keyboards/kb_elmo/bm42/keymaps/via/rules.mk create mode 100644 keyboards/kb_elmo/bm42/readme.md create mode 100644 keyboards/kb_elmo/bm42/rules.mk create mode 100644 keyboards/kb_elmo/dizzy40/info.json create mode 100644 keyboards/kb_elmo/dizzy40/keymaps/default/keymap.c create mode 100644 keyboards/kb_elmo/dizzy40/keymaps/via/keymap.c create mode 100644 keyboards/kb_elmo/dizzy40/keymaps/via/rules.mk create mode 100644 keyboards/kb_elmo/dizzy40/readme.md create mode 100644 keyboards/kb_elmo/dizzy40/rules.mk create mode 100644 keyboards/kb_elmo/eliza/info.json create mode 100644 keyboards/kb_elmo/eliza/keymaps/default/keymap.c create mode 100644 keyboards/kb_elmo/eliza/keymaps/via/keymap.c create mode 100644 keyboards/kb_elmo/eliza/keymaps/via/rules.mk create mode 100644 keyboards/kb_elmo/eliza/readme.md create mode 100644 keyboards/kb_elmo/eliza/rules.mk create mode 100644 keyboards/kb_elmo/gamehand/info.json create mode 100644 keyboards/kb_elmo/gamehand/keymaps/default/keymap.c create mode 100644 keyboards/kb_elmo/gamehand/keymaps/via/keymap.c create mode 100644 keyboards/kb_elmo/gamehand/keymaps/via/rules.mk create mode 100644 keyboards/kb_elmo/gamehand/readme.md create mode 100644 keyboards/kb_elmo/gamehand/rules.mk diff --git a/keyboards/kb_elmo/bm42/info.json b/keyboards/kb_elmo/bm42/info.json new file mode 100644 index 00000000000..a06019ca0bc --- /dev/null +++ b/keyboards/kb_elmo/bm42/info.json @@ -0,0 +1,72 @@ +{ + "manufacturer": "kb_elmo", + "keyboard_name": "BM42", + "url": "https://github.com/kb-elmo/bm42", + "maintainer": "kb-elmo", + "usb": { + "vid": "0xA68C", + "pid": "0xDC9B", + "device_version": "0.0.1" + }, + "processor": "atmega32u2", + "bootloader": "atmel-dfu", + "matrix_pins": { + "cols": ["C5", "D1", "B5", "B4", "B3", "B2", "B1", "B0", "D6", "D5", "D4"], + "rows": ["D2", "D3", "C7", "C6"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [3, 10], "x": 11, "y": 0}, + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 1}, + {"matrix": [1, 2], "x": 2.25, "y": 1}, + {"matrix": [1, 3], "x": 3.25, "y": 1}, + {"matrix": [1, 4], "x": 4.25, "y": 1}, + {"matrix": [1, 5], "x": 5.25, "y": 1}, + {"matrix": [1, 6], "x": 6.25, "y": 1}, + {"matrix": [1, 7], "x": 7.25, "y": 1}, + {"matrix": [1, 8], "x": 8.25, "y": 1}, + {"matrix": [1, 9], "x": 9.25, "y": 1}, + {"matrix": [1, 10], "x": 10.25, "y": 1, "w": 1.75}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [3, 9], "x": 10.75, "y": 2, "w": 1.25}, + {"matrix": [3, 1], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 2], "x": 1.25, "y": 3}, + {"matrix": [3, 3], "x": 2.25, "y": 3, "w": 1.25}, + {"matrix": [3, 4], "x": 3.5, "y": 3, "w": 3}, + {"matrix": [3, 5], "x": 6.5, "y": 3, "w": 2}, + {"matrix": [3, 6], "x": 8.5, "y": 3, "w": 1.25}, + {"matrix": [3, 7], "x": 9.75, "y": 3}, + {"matrix": [3, 8], "x": 10.75, "y": 3, "w": 1.25} + ] + } + } +} diff --git a/keyboards/kb_elmo/bm42/keymaps/default/keymap.c b/keyboards/kb_elmo/bm42/keymaps/default/keymap.c new file mode 100644 index 00000000000..77dac80a1e1 --- /dev/null +++ b/keyboards/kb_elmo/bm42/keymaps/default/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 kb-elmo (@kb-elmo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RGUI, MO(2) + ), + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, + KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT( + KC_GRV, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PSCR, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/kb_elmo/bm42/keymaps/via/keymap.c b/keyboards/kb_elmo/bm42/keymaps/via/keymap.c new file mode 100644 index 00000000000..77dac80a1e1 --- /dev/null +++ b/keyboards/kb_elmo/bm42/keymaps/via/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 kb-elmo (@kb-elmo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RGUI, MO(2) + ), + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, + KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT( + KC_GRV, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PSCR, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/kb_elmo/bm42/keymaps/via/rules.mk b/keyboards/kb_elmo/bm42/keymaps/via/rules.mk new file mode 100644 index 00000000000..36b7ba9cbc9 --- /dev/null +++ b/keyboards/kb_elmo/bm42/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/kb_elmo/bm42/readme.md b/keyboards/kb_elmo/bm42/readme.md new file mode 100644 index 00000000000..422d6080c5d --- /dev/null +++ b/keyboards/kb_elmo/bm42/readme.md @@ -0,0 +1,28 @@ +# BM42 + +![BM42](https://i.imgur.com/DljDoaTh.jpeg) + +A simple drop-in replacement PCB for the KPRepublic BM43 keyboard. + +* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) +* Hardware Supported: BM42 rev.1 PCB +* Hardware Availability: [Open source project](https://github.com/kb-elmo/bm42) + +Make example for this keyboard (after setting up your build environment): + + make kb_elmo/bm42:default + +Flashing example for this keyboard: + + make kb_elmo/bm42: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 + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the top left key and plug in the keyboard +* **Physical reset**: Briefly short the two contacts labeled "RESET" on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/kb_elmo/bm42/rules.mk b/keyboards/kb_elmo/bm42/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/kb_elmo/bm42/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/kb_elmo/dizzy40/info.json b/keyboards/kb_elmo/dizzy40/info.json new file mode 100644 index 00000000000..0bac157c443 --- /dev/null +++ b/keyboards/kb_elmo/dizzy40/info.json @@ -0,0 +1,91 @@ +{ + "manufacturer": "kb_elmo", + "keyboard_name": "Dizzy40", + "url": "https://github.com/kb-elmo/dizzy40", + "maintainer": "kb-elmo", + "usb": { + "vid": "0xA68C", + "pid": "0x7BB2", + "device_version": "0.0.1" + }, + "processor": "atmega32u2", + "bootloader": "atmel-dfu", + "matrix_pins": { + "cols": ["C6", "C7", "B7", "B6", "B5", "D2", "B1", "B0", "D3", "D4", "D5"], + "rows": ["C4", "C5", "C2", "B2"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgblight": true, + "nkro": false + }, + "rgblight": { + "led_count": 8, + "sleep": true, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "ws2812": { + "pin": "B4" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [3, 10], "x": 11, "y": 0}, + {"matrix": [3, 0], "x": 0, "y": 1, "w": 1.25}, + {"matrix": [1, 1], "x": 1.25, "y": 1}, + {"matrix": [1, 2], "x": 2.25, "y": 1}, + {"matrix": [1, 3], "x": 3.25, "y": 1}, + {"matrix": [1, 4], "x": 4.25, "y": 1}, + {"matrix": [1, 5], "x": 5.25, "y": 1}, + {"matrix": [1, 6], "x": 6.25, "y": 1}, + {"matrix": [1, 7], "x": 7.25, "y": 1}, + {"matrix": [1, 8], "x": 8.25, "y": 1}, + {"matrix": [1, 9], "x": 9.25, "y": 1}, + {"matrix": [1, 10], "x": 10.25, "y": 1, "w": 1.75}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [3, 9], "x": 10.75, "y": 2, "w": 1.25}, + {"matrix": [3, 1], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 2], "x": 1.25, "y": 3}, + {"matrix": [3, 3], "x": 2.25, "y": 3, "w": 1.25}, + {"matrix": [3, 4], "x": 3.5, "y": 3, "w": 3}, + {"matrix": [3, 5], "x": 6.5, "y": 3, "w": 2}, + {"matrix": [3, 6], "x": 8.5, "y": 3, "w": 1.25}, + {"matrix": [3, 7], "x": 9.75, "y": 3}, + {"matrix": [3, 8], "x": 10.75, "y": 3, "w": 1.25} + ] + } + } +} diff --git a/keyboards/kb_elmo/dizzy40/keymaps/default/keymap.c b/keyboards/kb_elmo/dizzy40/keymaps/default/keymap.c new file mode 100644 index 00000000000..77dac80a1e1 --- /dev/null +++ b/keyboards/kb_elmo/dizzy40/keymaps/default/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 kb-elmo (@kb-elmo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RGUI, MO(2) + ), + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, + KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT( + KC_GRV, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PSCR, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/kb_elmo/dizzy40/keymaps/via/keymap.c b/keyboards/kb_elmo/dizzy40/keymaps/via/keymap.c new file mode 100644 index 00000000000..77dac80a1e1 --- /dev/null +++ b/keyboards/kb_elmo/dizzy40/keymaps/via/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 kb-elmo (@kb-elmo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RGUI, MO(2) + ), + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, + KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT( + KC_GRV, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PSCR, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/kb_elmo/dizzy40/keymaps/via/rules.mk b/keyboards/kb_elmo/dizzy40/keymaps/via/rules.mk new file mode 100644 index 00000000000..36b7ba9cbc9 --- /dev/null +++ b/keyboards/kb_elmo/dizzy40/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/kb_elmo/dizzy40/readme.md b/keyboards/kb_elmo/dizzy40/readme.md new file mode 100644 index 00000000000..0fb02c36ae7 --- /dev/null +++ b/keyboards/kb_elmo/dizzy40/readme.md @@ -0,0 +1,28 @@ +# Dizzy40 + +![Dizzy40](https://i.imgur.com/TNXHaUGh.jpeg) + +A simple drop-in replacement PCB for the KPRepublic Daisy40 keyboard. + +* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) +* Hardware Supported: Dizzy40 rev.1 PCB +* Hardware Availability: [Open source project](https://github.com/kb-elmo/dizzy40) + +Make example for this keyboard (after setting up your build environment): + + make kb_elmo/dizzy40:default + +Flashing example for this keyboard: + + make kb_elmo/dizzy40: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 + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the top left key and plug in the keyboard +* **Physical reset**: Briefly short the two contacts labeled "RESET" on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/kb_elmo/dizzy40/rules.mk b/keyboards/kb_elmo/dizzy40/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/kb_elmo/dizzy40/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/kb_elmo/eliza/info.json b/keyboards/kb_elmo/eliza/info.json new file mode 100644 index 00000000000..37c12b5ca97 --- /dev/null +++ b/keyboards/kb_elmo/eliza/info.json @@ -0,0 +1,71 @@ +{ + "manufacturer": "kb_elmo", + "keyboard_name": "Eliza", + "url": "https://github.com/kb-elmo/eliza", + "maintainer": "kb-elmo", + "usb": { + "vid": "0xA68C", + "pid": "0xC762", + "device_version": "0.0.1" + }, + "processor": "atmega32u2", + "bootloader": "atmel-dfu", + "matrix_pins": { + "cols": ["C7", "B7", "B6", "B5", "B4", "B3", "D1", "B1", "B0", "D6", "D5", "D4"], + "rows": ["D0", "D2", "B2", "D3"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0.35, "y": 0}, + {"matrix": [0, 1], "x": 1.35, "y": 0}, + {"matrix": [0, 2], "x": 2.65, "y": 0}, + {"matrix": [0, 3], "x": 3.65, "y": 0}, + {"matrix": [0, 4], "x": 4.65, "y": 0}, + {"matrix": [0, 5], "x": 5.65, "y": 0}, + {"matrix": [0, 6], "x": 7.9, "y": 0}, + {"matrix": [0, 7], "x": 8.9, "y": 0}, + {"matrix": [0, 8], "x": 9.9, "y": 0}, + {"matrix": [0, 9], "x": 10.9, "y": 0}, + {"matrix": [0, 10], "x": 12.2, "y": 0}, + {"matrix": [0, 11], "x": 13.2, "y": 0}, + {"matrix": [1, 0], "x": 0.2, "y": 1, "w": 1.25}, + {"matrix": [1, 1], "x": 1.45, "y": 1}, + {"matrix": [1, 2], "x": 2.9, "y": 1}, + {"matrix": [1, 3], "x": 3.9, "y": 1}, + {"matrix": [1, 4], "x": 4.9, "y": 1}, + {"matrix": [1, 5], "x": 5.9, "y": 1}, + {"matrix": [1, 6], "x": 8.15, "y": 1}, + {"matrix": [1, 7], "x": 9.15, "y": 1}, + {"matrix": [1, 8], "x": 10.15, "y": 1}, + {"matrix": [1, 9], "x": 11.15, "y": 1}, + {"matrix": [1, 11], "x": 12.6, "y": 1, "w": 1.75}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 3.4, "y": 2}, + {"matrix": [2, 3], "x": 4.4, "y": 2}, + {"matrix": [2, 4], "x": 5.4, "y": 2}, + {"matrix": [2, 5], "x": 6.4, "y": 2}, + {"matrix": [2, 6], "x": 7.65, "y": 2}, + {"matrix": [2, 7], "x": 8.65, "y": 2}, + {"matrix": [2, 8], "x": 9.65, "y": 2}, + {"matrix": [2, 9], "x": 10.65, "y": 2}, + {"matrix": [2, 10], "x": 12.3, "y": 2}, + {"matrix": [2, 11], "x": 13.3, "y": 2, "w": 1.25}, + {"matrix": [3, 0], "x": 0.2, "y": 3, "w": 1.5}, + {"matrix": [3, 2], "x": 3.15, "y": 3, "w": 1.25}, + {"matrix": [3, 4], "x": 4.4, "y": 3, "w": 2.75}, + {"matrix": [3, 7], "x": 7.9, "y": 3, "w": 2.25}, + {"matrix": [3, 9], "x": 10.15, "y": 3, "w": 1.25}, + {"matrix": [3, 11], "x": 12.85, "y": 3, "w": 1.5} + ] + } + } +} diff --git a/keyboards/kb_elmo/eliza/keymaps/default/keymap.c b/keyboards/kb_elmo/eliza/keymaps/default/keymap.c new file mode 100644 index 00000000000..9a8b1e1965d --- /dev/null +++ b/keyboards/kb_elmo/eliza/keymaps/default/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 kb-elmo (@kb-elmo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_RALT, MO(2) + ), + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, + KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT( + KC_GRV, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PSCR, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/kb_elmo/eliza/keymaps/via/keymap.c b/keyboards/kb_elmo/eliza/keymaps/via/keymap.c new file mode 100644 index 00000000000..9a8b1e1965d --- /dev/null +++ b/keyboards/kb_elmo/eliza/keymaps/via/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2022 kb-elmo (@kb-elmo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_RALT, MO(2) + ), + [1] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, + KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT( + KC_GRV, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_PSCR, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/kb_elmo/eliza/keymaps/via/rules.mk b/keyboards/kb_elmo/eliza/keymaps/via/rules.mk new file mode 100644 index 00000000000..36b7ba9cbc9 --- /dev/null +++ b/keyboards/kb_elmo/eliza/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/kb_elmo/eliza/readme.md b/keyboards/kb_elmo/eliza/readme.md new file mode 100644 index 00000000000..fd8b9e74e52 --- /dev/null +++ b/keyboards/kb_elmo/eliza/readme.md @@ -0,0 +1,28 @@ +# Eliza + +![Eliza](https://i.imgur.com/OGpPhReh.jpeg) + +40% alice-style ergo keyboard with a seamless 3D printed gasket-mount case. + +* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) +* Hardware Supported: Eliza rev.1 PCB +* Hardware Availability: [Open source project](https://github.com/kb-elmo/eliza) + +Make example for this keyboard (after setting up your build environment): + + make kb_elmo/eliza:default + +Flashing example for this keyboard: + + make kb_elmo/eliza: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 + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the top left key and plug in the keyboard +* **Physical reset**: Briefly short the two contacts labeled "RESET" on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/kb_elmo/eliza/rules.mk b/keyboards/kb_elmo/eliza/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/kb_elmo/eliza/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/kb_elmo/gamehand/info.json b/keyboards/kb_elmo/gamehand/info.json new file mode 100644 index 00000000000..39795bf2502 --- /dev/null +++ b/keyboards/kb_elmo/gamehand/info.json @@ -0,0 +1,61 @@ +{ + "manufacturer": "kb-elmo", + "keyboard_name": "GameHand", + "url": "https://github.com/kb-elmo/gamehand", + "maintainer": "kb-elmo", + "usb": { + "vid": "0xA68C", + "pid": "0x4D90", + "device_version": "0.0.1", + "force_nkro": true + }, + "processor": "atmega32u2", + "bootloader": "atmel-dfu", + "matrix_pins": { + "cols": ["B2", "B1", "B0", "B7", "C7", "C6"], + "rows": ["D6", "D5", "D4", "D3", "D2"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + }, + "build": { + "debounce_type": "sym_defer_pk" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.25}, + {"matrix": [2, 1], "x": 1.25, "y": 2}, + {"matrix": [2, 2], "x": 2.25, "y": 2}, + {"matrix": [2, 3], "x": 3.25, "y": 2}, + {"matrix": [2, 4], "x": 4.25, "y": 2}, + {"matrix": [2, 5], "x": 5.25, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [3, 1], "x": 1.75, "y": 3}, + {"matrix": [3, 2], "x": 2.75, "y": 3}, + {"matrix": [3, 3], "x": 3.75, "y": 3}, + {"matrix": [3, 4], "x": 4.75, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.5}, + {"matrix": [4, 2], "x": 3, "y": 4, "w": 1.5}, + {"matrix": [4, 5], "x": 4.5, "y": 4, "w": 2} + ] + } + } +} diff --git a/keyboards/kb_elmo/gamehand/keymaps/default/keymap.c b/keyboards/kb_elmo/gamehand/keymaps/default/keymap.c new file mode 100644 index 00000000000..d22614cb0b2 --- /dev/null +++ b/keyboards/kb_elmo/gamehand/keymaps/default/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2021 kb-elmo + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, + MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, + KC_LCTL, KC_M, KC_H, KC_SPC + ), + [1] = LAYOUT( + KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, + KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_ENT + ) +}; diff --git a/keyboards/kb_elmo/gamehand/keymaps/via/keymap.c b/keyboards/kb_elmo/gamehand/keymaps/via/keymap.c new file mode 100644 index 00000000000..d9e5dc747c6 --- /dev/null +++ b/keyboards/kb_elmo/gamehand/keymaps/via/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2021 kb-elmo + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, + MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, + KC_LCTL, KC_M, KC_H, KC_SPC + ), + [1] = LAYOUT( + KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, + KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_ENT + ), +}; diff --git a/keyboards/kb_elmo/gamehand/keymaps/via/rules.mk b/keyboards/kb_elmo/gamehand/keymaps/via/rules.mk new file mode 100644 index 00000000000..36b7ba9cbc9 --- /dev/null +++ b/keyboards/kb_elmo/gamehand/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/kb_elmo/gamehand/readme.md b/keyboards/kb_elmo/gamehand/readme.md new file mode 100644 index 00000000000..a78e1ee205c --- /dev/null +++ b/keyboards/kb_elmo/gamehand/readme.md @@ -0,0 +1,28 @@ +# GameHand + +![gamehand](https://i.imgur.com/ia3bcUBh.jpg) + +A left-hand gaming keypad with a 3D printed case + +* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) +* Hardware Supported: GameHand rev.1 PCB +* Hardware Availability: [OpenSource Project](https://github.com/kb-elmo/GameHand) + +Make example for this keyboard (after setting up your build environment): + + make kb_elmo/gamehand:default + +Flashing example for this keyboard: + + make kb_elmo/gamehand: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 + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the top left key and plug in the keyboard +* **Physical reset**: Briefly short the two contacts labeled "RESET" on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/kb_elmo/gamehand/rules.mk b/keyboards/kb_elmo/gamehand/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/kb_elmo/gamehand/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From aa73362674028bf6603a7a2df701f4617e09f8cb Mon Sep 17 00:00:00 2001 From: galile0 <134774462+galile0-designs@users.noreply.github.com> Date: Wed, 13 Mar 2024 08:24:21 +0100 Subject: [PATCH 078/107] [Keyboard] add glyphkbd_v2 (#23131) Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan --- keyboards/galile0/glyphkbd_v2/info.json | 104 +++++++++++++++++ .../glyphkbd_v2/keymaps/default/keymap.c | 105 ++++++++++++++++++ .../galile0/glyphkbd_v2/keymaps/via/keymap.c | 105 ++++++++++++++++++ .../galile0/glyphkbd_v2/keymaps/via/rules.mk | 1 + keyboards/galile0/glyphkbd_v2/readme.md | 27 +++++ keyboards/galile0/glyphkbd_v2/rules.mk | 1 + 6 files changed, 343 insertions(+) create mode 100644 keyboards/galile0/glyphkbd_v2/info.json create mode 100644 keyboards/galile0/glyphkbd_v2/keymaps/default/keymap.c create mode 100644 keyboards/galile0/glyphkbd_v2/keymaps/via/keymap.c create mode 100644 keyboards/galile0/glyphkbd_v2/keymaps/via/rules.mk create mode 100644 keyboards/galile0/glyphkbd_v2/readme.md create mode 100644 keyboards/galile0/glyphkbd_v2/rules.mk diff --git a/keyboards/galile0/glyphkbd_v2/info.json b/keyboards/galile0/glyphkbd_v2/info.json new file mode 100644 index 00000000000..664b4c491ff --- /dev/null +++ b/keyboards/galile0/glyphkbd_v2/info.json @@ -0,0 +1,104 @@ +{ + "manufacturer": "galile0", + "keyboard_name": "glyphkbd_v2", + "maintainer": "galile0-designs", + "bootloader": "stm32-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["B1", "A1", "B0", "A0", "C5", "C3", "C4", "C2", "A7", "C1", "A6", "C0", "A5", "B12", "B13", "B14"], + "rows": ["B10", "B2", "A2", "F0", "F1"] + }, + "processor": "STM32F072", + "url": "https://github.com/galile0-designs/glyphkbd", + "usb": { + "device_version": "1.0.0", + "pid": "0x0001", + "vid": "0x4744" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13.5, "y": 0}, + {"matrix": [0, 14], "x": 14.5, "y": 0}, + {"matrix": [0, 15], "x": 15.5, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1}, + {"matrix": [1, 14], "x": 14.5, "y": 1}, + {"matrix": [1, 15], "x": 15.5, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [2, 10], "x": 10, "y": 2}, + {"matrix": [2, 11], "x": 11, "y": 2}, + {"matrix": [2, 12], "x": 12, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3}, + {"matrix": [3, 10], "x": 10, "y": 3}, + {"matrix": [3, 11], "x": 11, "y": 3}, + {"matrix": [3, 12], "x": 12, "y": 3}, + {"matrix": [3, 14], "x": 14.5, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [4, 1], "x": 1, "y": 4}, + {"matrix": [4, 2], "x": 2, "y": 4}, + {"matrix": [4, 3], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4}, + {"matrix": [4, 5], "x": 5, "y": 4, "w": 2}, + {"matrix": [4, 7], "x": 7, "y": 4}, + {"matrix": [4, 8], "x": 8, "y": 4}, + {"matrix": [4, 9], "x": 9, "y": 4}, + {"matrix": [4, 10], "x": 10, "y": 4}, + {"matrix": [4, 11], "x": 11, "y": 4}, + {"matrix": [4, 12], "x": 12, "y": 4}, + {"matrix": [4, 13], "x": 13.5, "y": 4}, + {"matrix": [4, 14], "x": 14.5, "y": 4}, + {"matrix": [4, 15], "x": 15.5, "y": 4} + ] + } + } +} diff --git a/keyboards/galile0/glyphkbd_v2/keymaps/default/keymap.c b/keyboards/galile0/glyphkbd_v2/keymaps/default/keymap.c new file mode 100644 index 00000000000..15ad99b61fb --- /dev/null +++ b/keyboards/galile0/glyphkbd_v2/keymaps/default/keymap.c @@ -0,0 +1,105 @@ +/* + *Copyright 2024 Fabian Leijström (@galile0-designs) + * + *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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /* LAYER + * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┐ + * │ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ BS │ │ INS │HOME │PGUP │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┤ + * │ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │ DEL │ END │PGDN │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ └─────┴─────┴─────┘ + * │CAPS │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ENTER│ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┐ + * │SHIFT│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │SHIFT│ │ UP │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┼─────┼─────┐ + * │CTRL │ │ SYS │ ALT │LOWER│ SPACE │SPACE│RAISE│ ALT │ SYS │ │CTRL │ │LEFT │DOWN │RIGHT│ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┘ + */ + + [0] = LAYOUT( + //******** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_NO, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_SPC, MO(2), KC_RALT, KC_RGUI, KC_NO, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + /* FUNCTION LAYER + * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┐ + * │PAUSE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ │ PRT │ │ │ + * │PLAY │ │ │ │ │ │ │ │ │ │ │ │ │ │ SCR │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ └─────┴─────┴─────┘ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┼─────┼─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┘ + */ + + [1] = LAYOUT( + //******** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** + KC_MPLY, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ), + + /* SYMBOLS LAYER + * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┐ + * │ │ │ │ │ │ │ │ │ │ ` │ = │ + │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ └─────┴─────┴─────┘ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┼─────┼─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┘ + */ + + [2] = LAYOUT( + //******** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_GRV, KC_EQL, KC_PPLS, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ) +}; diff --git a/keyboards/galile0/glyphkbd_v2/keymaps/via/keymap.c b/keyboards/galile0/glyphkbd_v2/keymaps/via/keymap.c new file mode 100644 index 00000000000..15ad99b61fb --- /dev/null +++ b/keyboards/galile0/glyphkbd_v2/keymaps/via/keymap.c @@ -0,0 +1,105 @@ +/* + *Copyright 2024 Fabian Leijström (@galile0-designs) + * + *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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /* LAYER + * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┐ + * │ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ BS │ │ INS │HOME │PGUP │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┤ + * │ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │ DEL │ END │PGDN │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ └─────┴─────┴─────┘ + * │CAPS │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ENTER│ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┐ + * │SHIFT│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │SHIFT│ │ UP │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┼─────┼─────┐ + * │CTRL │ │ SYS │ ALT │LOWER│ SPACE │SPACE│RAISE│ ALT │ SYS │ │CTRL │ │LEFT │DOWN │RIGHT│ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┘ + */ + + [0] = LAYOUT( + //******** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_NO, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_SPC, MO(2), KC_RALT, KC_RGUI, KC_NO, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + /* FUNCTION LAYER + * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┐ + * │PAUSE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ │ PRT │ │ │ + * │PLAY │ │ │ │ │ │ │ │ │ │ │ │ │ │ SCR │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ └─────┴─────┴─────┘ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┼─────┼─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┘ + */ + + [1] = LAYOUT( + //******** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** + KC_MPLY, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ), + + /* SYMBOLS LAYER + * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┐ + * │ │ │ │ │ │ │ │ │ │ ` │ = │ + │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ├─────┼─────┼─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ └─────┴─────┴─────┘ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┼─────┼─────┼─────┼─────┼─────┤ ┌─────┼─────┼─────┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * └─────┴─────┴─────┴─────┴─────┴───────────┴─────┴─────┴─────┴─────┴─────┴─────┘ └─────┴─────┴─────┘ + */ + + [2] = LAYOUT( + //******** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_GRV, KC_EQL, KC_PPLS, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO + ) +}; diff --git a/keyboards/galile0/glyphkbd_v2/keymaps/via/rules.mk b/keyboards/galile0/glyphkbd_v2/keymaps/via/rules.mk new file mode 100644 index 00000000000..036bd6d1c3e --- /dev/null +++ b/keyboards/galile0/glyphkbd_v2/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/galile0/glyphkbd_v2/readme.md b/keyboards/galile0/glyphkbd_v2/readme.md new file mode 100644 index 00000000000..378238c38d4 --- /dev/null +++ b/keyboards/galile0/glyphkbd_v2/readme.md @@ -0,0 +1,27 @@ +# glyphkbd_v2 + +![glyphkbd_v2](https://i.imgur.com/9PxLaPlh.jpeg) + +5x13 ortholinear plus TKL nav and arrow clusters. + +* Keyboard Maintainer: [Fabian Leijström](https://github.com/galile0-designs) +* Hardware Supported: glyphkbd_v2 PCB +* Hardware Availability: [Github Repository](https://github.com/galile0-designs/glyphkbd) + +Make example for this keyboard (after setting up your build environment): + + make galile0/glyphkbd_v2:default + +Flashing example for this keyboard: + + make galile0/glyphkbd_v2: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 + +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**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/galile0/glyphkbd_v2/rules.mk b/keyboards/galile0/glyphkbd_v2/rules.mk new file mode 100644 index 00000000000..7ff128fa692 --- /dev/null +++ b/keyboards/galile0/glyphkbd_v2/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file From af1ac6b1bd873986fe808dfd68420bc5f48dd43d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 13 Mar 2024 23:04:49 +0000 Subject: [PATCH 079/107] Reject duplicate matrix locations in LAYOUT macros (#23273) --- lib/python/qmk/info.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 00da4936e16..99ac254e27c 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -107,6 +107,15 @@ def _validate_layouts(keyboard, info_data): # noqa C901 if col >= col_num: _log_error(info_data, f'{layout_name}: Matrix column for key {index} ({key_name}) is {col} but must be less than {col_num}') + # Reject duplicate matrix locations + for layout_name, layout_data in layouts.items(): + seen = set() + for index, key_data in enumerate(layout_data['layout']): + key = f"{key_data['matrix']}" + if key in seen: + _log_error(info_data, f'{layout_name}: Matrix location for key {index} is not unique {key_data}') + seen.add(key) + # Warn if physical positions are offset (at least one key should be at x=0, and at least one key at y=0) for layout_name, layout_data in layouts.items(): offset_x = min([_get_key_left_position(k) for k in layout_data['layout']]) From 10800259739e1bf35db7a8d0c8acfa102f3de7a9 Mon Sep 17 00:00:00 2001 From: achim-t Date: Thu, 14 Mar 2024 04:28:54 +0100 Subject: [PATCH 080/107] Update feature_tri_layer.md - typo (#23275) --- docs/feature_tri_layer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/feature_tri_layer.md b/docs/feature_tri_layer.md index ade0040cc7b..3087fb5a550 100644 --- a/docs/feature_tri_layer.md +++ b/docs/feature_tri_layer.md @@ -45,4 +45,4 @@ Eg, if you wanted to set the "Adjust" layer to be layer 5, you'd add this to you | `get_tri_layer_upper_layer()` | Gets the current "upper" layer. | | `get_tri_layer_adjust_layer()` | Gets the current "adjust" layer. | -!> Note: these settings are not persisent, and will be reset to the default on power loss or power cycling of the controller. +!> Note: these settings are not persistent, and will be reset to the default on power loss or power cycling of the controller. From 8e5cd981e1cb8580cde65ac99f335b59d65da632 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 14 Mar 2024 03:56:42 +0000 Subject: [PATCH 081/107] Migrate features from rules.mk to DD (#23247) --- .../ellipse/rev1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/abstract/ellipse/rev1/rules.mk | 13 ------------- .../titan60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/acekeyboard/titan60/rules.mk | 12 ------------ .../87h/delta/{info.json => keyboard.json} | 9 +++++++++ keyboards/acheron/apollo/87h/delta/rules.mk | 14 -------------- .../apollo/87htsc/{info.json => keyboard.json} | 9 +++++++++ keyboards/acheron/apollo/87htsc/rules.mk | 14 -------------- .../apollo/88htsc/{info.json => keyboard.json} | 9 +++++++++ keyboards/acheron/apollo/88htsc/rules.mk | 14 -------------- .../acheron/arctic/{info.json => keyboard.json} | 8 ++++++++ keyboards/acheron/arctic/rules.mk | 13 ------------- .../acheron/austin/{info.json => keyboard.json} | 9 +++++++++ keyboards/acheron/austin/rules.mk | 12 ------------ .../elongate/delta/{info.json => keyboard.json} | 10 ++++++++++ keyboards/acheron/elongate/delta/rules.mk | 12 ------------ .../keebspcb/{info.json => keyboard.json} | 8 ++++++++ keyboards/acheron/keebspcb/rules.mk | 12 ------------ .../lasgweloth/{info.json => keyboard.json} | 8 ++++++++ keyboards/acheron/lasgweloth/rules.mk | 14 -------------- .../ada/ada1800mini/{info.json => keyboard.json} | 9 +++++++++ keyboards/ada/ada1800mini/rules.mk | 16 ---------------- .../ada/infinity81/{info.json => keyboard.json} | 9 +++++++++ keyboards/ada/infinity81/rules.mk | 12 ------------ keyboards/adelheid/{info.json => keyboard.json} | 9 +++++++++ keyboards/adelheid/rules.mk | 12 ------------ .../akemipad/{info.json => keyboard.json} | 11 +++++++++++ keyboards/adpenrose/akemipad/rules.mk | 14 -------------- .../kintsugi/{info.json => keyboard.json} | 11 +++++++++++ keyboards/adpenrose/kintsugi/rules.mk | 14 -------------- .../adpenrose/obi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/adpenrose/obi/rules.mk | 13 ------------- .../shisaku/{info.json => keyboard.json} | 8 ++++++++ keyboards/adpenrose/shisaku/rules.mk | 12 ------------ .../aeboards/aegis/{info.json => keyboard.json} | 8 ++++++++ keyboards/aeboards/aegis/rules.mk | 11 ----------- .../gust/rev1/{info.json => keyboard.json} | 8 ++++++++ keyboards/afternoonlabs/gust/rev1/rules.mk | 12 ------------ .../ai03/andromeda/{info.json => keyboard.json} | 8 ++++++++ keyboards/ai03/andromeda/rules.mk | 13 ------------- .../equinox/rev0/{info.json => keyboard.json} | 9 +++++++++ keyboards/ai03/equinox/rev0/rules.mk | 12 ------------ .../equinox/rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/ai03/equinox/rev1/rules.mk | 12 ------------ .../ai03/lunar/{info.json => keyboard.json} | 8 ++++++++ keyboards/ai03/lunar/rules.mk | 12 ------------ .../ai03/polaris/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ai03/polaris/rules.mk | 12 ------------ .../ai03/quasar/{info.json => keyboard.json} | 8 ++++++++ keyboards/ai03/quasar/rules.mk | 12 ------------ .../ai03/soyuz/{info.json => keyboard.json} | 8 ++++++++ keyboards/ai03/soyuz/rules.mk | 12 ------------ keyboards/ai03/vega/{info.json => keyboard.json} | 8 ++++++++ keyboards/ai03/vega/rules.mk | 13 ------------- .../voyager60_alps/{info.json => keyboard.json} | 9 +++++++++ keyboards/ai03/voyager60_alps/rules.mk | 12 ------------ keyboards/akb/eb46/{info.json => keyboard.json} | 8 ++++++++ keyboards/akb/eb46/rules.mk | 12 ------------ keyboards/akb/raine/{info.json => keyboard.json} | 8 ++++++++ keyboards/akb/raine/rules.mk | 12 ------------ keyboards/alf/dc60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/alf/dc60/rules.mk | 12 ------------ keyboards/alf/x2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/alf/x2/rules.mk | 12 ------------ .../swift65/hotswap/{info.json => keyboard.json} | 9 +++++++++ keyboards/alfredslab/swift65/hotswap/rules.mk | 12 ------------ .../swift65/solder/{info.json => keyboard.json} | 9 +++++++++ keyboards/alfredslab/swift65/solder/rules.mk | 12 ------------ keyboards/alpha/{info.json => keyboard.json} | 9 +++++++++ keyboards/alpha/rules.mk | 12 ------------ keyboards/alpine65/{info.json => keyboard.json} | 9 +++++++++ keyboards/alpine65/rules.mk | 13 ------------- keyboards/alps64/{info.json => keyboard.json} | 8 ++++++++ keyboards/alps64/rules.mk | 9 --------- keyboards/amag23/{info.json => keyboard.json} | 9 +++++++++ keyboards/amag23/rules.mk | 10 ---------- .../amj40/{info.json => keyboard.json} | 10 ++++++++++ keyboards/amjkeyboard/amj40/rules.mk | 12 ------------ .../amj60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/amjkeyboard/amj60/rules.mk | 12 ------------ .../amj84/{info.json => keyboard.json} | 9 +++++++++ keyboards/amjkeyboard/amj84/rules.mk | 12 ------------ .../amjpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/amjkeyboard/amjpad/rules.mk | 12 ------------ .../anavi/macropad8/{info.json => keyboard.json} | 11 +++++++++++ keyboards/anavi/macropad8/rules.mk | 13 ------------- keyboards/ano/{info.json => keyboard.json} | 9 +++++++++ keyboards/ano/rules.mk | 13 ------------- .../anomalykb/a65i/{info.json => keyboard.json} | 8 ++++++++ keyboards/anomalykb/a65i/rules.mk | 12 ------------ keyboards/aos/tkl/{info.json => keyboard.json} | 9 +++++++++ keyboards/aos/tkl/rules.mk | 12 ------------ keyboards/aozora/{info.json => keyboard.json} | 8 ++++++++ keyboards/aozora/rules.mk | 13 ------------- .../aplx6/rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/aplyard/aplx6/rev1/rules.mk | 13 ------------- .../aplx6/rev2/{info.json => keyboard.json} | 11 +++++++++++ keyboards/aplyard/aplx6/rev2/rules.mk | 15 --------------- keyboards/ares/{info.json => keyboard.json} | 9 +++++++++ keyboards/ares/rules.mk | 10 ---------- keyboards/arisu/{info.json => keyboard.json} | 8 ++++++++ keyboards/arisu/rules.mk | 12 ------------ .../1x4p1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/arrayperipherals/1x4p1/rules.mk | 14 -------------- keyboards/ash1800/{info.json => keyboard.json} | 8 ++++++++ keyboards/ash1800/rules.mk | 12 ------------ keyboards/ash_xiix/{info.json => keyboard.json} | 8 ++++++++ keyboards/ash_xiix/rules.mk | 12 ------------ keyboards/atlas_65/{info.json => keyboard.json} | 8 ++++++++ keyboards/atlas_65/rules.mk | 12 ------------ keyboards/atomic/{info.json => keyboard.json} | 9 +++++++++ keyboards/atomic/rules.mk | 12 ------------ keyboards/atreus62/{info.json => keyboard.json} | 9 +++++++++ keyboards/atreus62/rules.mk | 11 ----------- keyboards/atset/at1/{info.json => keyboard.json} | 8 ++++++++ keyboards/atset/at1/rules.mk | 12 ------------ .../atset/at12/{info.json => keyboard.json} | 8 ++++++++ keyboards/atset/at12/rules.mk | 12 ------------ .../atset/at16/{info.json => keyboard.json} | 8 ++++++++ keyboards/atset/at16/rules.mk | 12 ------------ keyboards/atset/at3/{info.json => keyboard.json} | 8 ++++++++ keyboards/atset/at3/rules.mk | 12 ------------ keyboards/atset/at6/{info.json => keyboard.json} | 8 ++++++++ keyboards/atset/at6/rules.mk | 12 ------------ keyboards/atset/at9/{info.json => keyboard.json} | 8 ++++++++ keyboards/atset/at9/rules.mk | 12 ------------ keyboards/aves60/{info.json => keyboard.json} | 8 ++++++++ keyboards/aves60/rules.mk | 12 ------------ keyboards/aves65/{info.json => keyboard.json} | 9 +++++++++ keyboards/aves65/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 8 ++++++++ keyboards/axolstudio/foundation_gamma/rules.mk | 12 ------------ .../yeti/soldered/{info.json => keyboard.json} | 8 ++++++++ keyboards/axolstudio/yeti/soldered/rules.mk | 12 ------------ .../b_sides/rev41lp/{info.json => keyboard.json} | 9 +++++++++ keyboards/b_sides/rev41lp/rules.mk | 12 ------------ keyboards/bacca70/{info.json => keyboard.json} | 8 ++++++++ keyboards/bacca70/rules.mk | 12 ------------ keyboards/baguette/{info.json => keyboard.json} | 9 +++++++++ keyboards/baguette/rules.mk | 12 ------------ keyboards/bantam44/{info.json => keyboard.json} | 8 ++++++++ keyboards/bantam44/rules.mk | 10 ---------- keyboards/barracuda/{info.json => keyboard.json} | 8 ++++++++ keyboards/barracuda/rules.mk | 12 ------------ .../trifecta/{info.json => keyboard.json} | 10 ++++++++++ keyboards/basekeys/trifecta/rules.mk | 14 -------------- keyboards/beatervan/{info.json => keyboard.json} | 9 +++++++++ keyboards/beatervan/rules.mk | 12 ------------ keyboards/bfake/{info.json => keyboard.json} | 9 +++++++++ keyboards/bfake/rules.mk | 10 ---------- .../biacco42/meishi/{info.json => keyboard.json} | 8 ++++++++ keyboards/biacco42/meishi/rules.mk | 11 ----------- .../meishi2/{info.json => keyboard.json} | 8 ++++++++ keyboards/biacco42/meishi2/rules.mk | 12 ------------ .../binepad/bn003/{info.json => keyboard.json} | 8 ++++++++ keyboards/binepad/bn003/rules.mk | 12 ------------ keyboards/bioi/f60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/bioi/f60/rules.mk | 12 ------------ keyboards/blackplum/{info.json => keyboard.json} | 9 +++++++++ keyboards/blackplum/rules.mk | 12 ------------ .../blank/blank01/{info.json => keyboard.json} | 8 ++++++++ keyboards/blank/blank01/rules.mk | 12 ------------ keyboards/blaster75/{info.json => keyboard.json} | 8 ++++++++ keyboards/blaster75/rules.mk | 13 ------------- keyboards/blockey/{info.json => keyboard.json} | 9 +++++++++ keyboards/blockey/rules.mk | 13 ------------- .../bizarre/{info.json => keyboard.json} | 9 +++++++++ keyboards/boardrun/bizarre/rules.mk | 12 ------------ .../classic/{info.json => keyboard.json} | 9 +++++++++ keyboards/boardrun/classic/rules.mk | 12 ------------ keyboards/boardwalk/{info.json => keyboard.json} | 10 ++++++++++ keyboards/boardwalk/rules.mk | 13 ------------- keyboards/bobpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/bobpad/rules.mk | 14 -------------- .../bolsa/bolsalice/{info.json => keyboard.json} | 9 +++++++++ keyboards/bolsa/bolsalice/rules.mk | 12 ------------ .../bolsa/damapad/{info.json => keyboard.json} | 10 ++++++++++ keyboards/bolsa/damapad/rules.mk | 14 -------------- keyboards/bop/{info.json => keyboard.json} | 8 ++++++++ keyboards/bop/rules.mk | 13 ------------- keyboards/boston/{info.json => keyboard.json} | 11 +++++++++++ keyboards/boston/rules.mk | 14 -------------- .../fm2u/{info.json => keyboard.json} | 8 ++++++++ keyboards/botanicalkeyboards/fm2u/rules.mk | 12 ------------ keyboards/box75/{info.json => keyboard.json} | 8 ++++++++ keyboards/box75/rules.mk | 14 -------------- .../four_banger/{info.json => keyboard.json} | 9 +++++++++ keyboards/bpiphany/four_banger/rules.mk | 12 ------------ .../sixshooter/{info.json => keyboard.json} | 8 ++++++++ keyboards/bpiphany/sixshooter/rules.mk | 11 ----------- .../bthlabs/geekpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/bthlabs/geekpad/rules.mk | 12 ------------ .../potato65/{info.json => keyboard.json} | 9 +++++++++ keyboards/buildakb/potato65/rules.mk | 12 ------------ .../potato65hs/{info.json => keyboard.json} | 9 +++++++++ keyboards/buildakb/potato65hs/rules.mk | 12 ------------ .../potato65s/{info.json => keyboard.json} | 9 +++++++++ keyboards/buildakb/potato65s/rules.mk | 12 ------------ .../cypher/rev6/{info.json => keyboard.json} | 10 ++++++++++ keyboards/cablecardesigns/cypher/rev6/rules.mk | 12 ------------ .../serpent65/{info.json => keyboard.json} | 8 ++++++++ keyboards/caffeinated/serpent65/rules.mk | 12 ------------ .../adelie/{info.json => keyboard.json} | 9 +++++++++ keyboards/cannonkeys/adelie/rules.mk | 12 ------------ .../atlas/{info.json => keyboard.json} | 9 +++++++++ keyboards/cannonkeys/atlas/rules.mk | 11 ----------- .../atlas_alps/{info.json => keyboard.json} | 9 +++++++++ keyboards/cannonkeys/atlas_alps/rules.mk | 12 ------------ .../chimera65/{info.json => keyboard.json} | 9 +++++++++ keyboards/cannonkeys/chimera65/rules.mk | 13 ------------- .../hoodrowg/{info.json => keyboard.json} | 9 +++++++++ keyboards/cannonkeys/hoodrowg/rules.mk | 12 ------------ .../iron165/{info.json => keyboard.json} | 9 +++++++++ keyboards/cannonkeys/iron165/rules.mk | 13 ------------- .../nearfield/{info.json => keyboard.json} | 8 ++++++++ keyboards/cannonkeys/nearfield/rules.mk | 12 ------------ .../ortho48/{info.json => keyboard.json} | 11 +++++++++++ keyboards/cannonkeys/ortho48/rules.mk | 13 ------------- .../ortho60/{info.json => keyboard.json} | 11 +++++++++++ keyboards/cannonkeys/ortho60/rules.mk | 13 ------------- .../ortho75/{info.json => keyboard.json} | 12 ++++++++++++ keyboards/cannonkeys/ortho75/rules.mk | 14 -------------- .../practice65/{info.json => keyboard.json} | 11 +++++++++++ keyboards/cannonkeys/practice65/rules.mk | 13 ------------- .../cu24/{info.json => keyboard.json} | 10 ++++++++++ keyboards/capsunlocked/cu24/rules.mk | 12 ------------ .../cu65/{info.json => keyboard.json} | 8 ++++++++ keyboards/capsunlocked/cu65/rules.mk | 12 ------------ .../cu7/{info.json => keyboard.json} | 10 ++++++++++ keyboards/capsunlocked/cu7/rules.mk | 13 ------------- .../cu80/v1/{info.json => keyboard.json} | 8 ++++++++ keyboards/capsunlocked/cu80/v1/rules.mk | 12 ------------ keyboards/carbo65/{info.json => keyboard.json} | 8 ++++++++ keyboards/carbo65/rules.mk | 13 ------------- keyboards/catch22/{info.json => keyboard.json} | 9 +++++++++ keyboards/catch22/rules.mk | 12 ------------ .../cest73/tkm/{info.json => keyboard.json} | 9 +++++++++ keyboards/cest73/tkm/rules.mk | 12 ------------ keyboards/chalice/{info.json => keyboard.json} | 9 +++++++++ keyboards/chalice/rules.mk | 12 ------------ keyboards/chaos65/{info.json => keyboard.json} | 8 ++++++++ keyboards/chaos65/rules.mk | 12 ------------ .../charue/charon/{info.json => keyboard.json} | 8 ++++++++ keyboards/charue/charon/rules.mk | 12 ------------ .../sunsetter/{info.json => keyboard.json} | 8 ++++++++ keyboards/charue/sunsetter/rules.mk | 13 ------------- .../sunsetter_r2/{info.json => keyboard.json} | 9 +++++++++ keyboards/charue/sunsetter_r2/rules.mk | 12 ------------ .../chavdai40/rev1/{info.json => keyboard.json} | 8 ++++++++ keyboards/chavdai40/rev1/rules.mk | 12 ------------ .../chavdai40/rev2/{info.json => keyboard.json} | 8 ++++++++ keyboards/chavdai40/rev2/rules.mk | 12 ------------ .../axon40/{info.json => keyboard.json} | 9 +++++++++ keyboards/checkerboards/axon40/rules.mk | 12 ------------ .../candybar_ortho/{info.json => keyboard.json} | 9 +++++++++ keyboards/checkerboards/candybar_ortho/rules.mk | 12 ------------ .../g_idb60/{info.json => keyboard.json} | 8 ++++++++ keyboards/checkerboards/g_idb60/rules.mk | 12 ------------ .../nop60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/checkerboards/nop60/rules.mk | 12 ------------ .../plexus75/{info.json => keyboard.json} | 10 ++++++++++ keyboards/checkerboards/plexus75/rules.mk | 13 ------------- .../plexus75_he/{info.json => keyboard.json} | 9 +++++++++ keyboards/checkerboards/plexus75_he/rules.mk | 12 ------------ .../pursuit40/{info.json => keyboard.json} | 9 +++++++++ keyboards/checkerboards/pursuit40/rules.mk | 12 ------------ .../quark_lp/{info.json => keyboard.json} | 9 +++++++++ keyboards/checkerboards/quark_lp/rules.mk | 13 ------------- .../quark_plus/{info.json => keyboard.json} | 11 +++++++++++ keyboards/checkerboards/quark_plus/rules.mk | 13 ------------- .../ud40_ortho_alt/{info.json => keyboard.json} | 10 ++++++++++ keyboards/checkerboards/ud40_ortho_alt/rules.mk | 14 -------------- .../cb1800/{info.json => keyboard.json} | 9 +++++++++ keyboards/cherrybstudio/cb1800/rules.mk | 12 ------------ .../cb65/{info.json => keyboard.json} | 9 +++++++++ keyboards/cherrybstudio/cb65/rules.mk | 13 ------------- .../cb87/{info.json => keyboard.json} | 10 ++++++++++ keyboards/cherrybstudio/cb87/rules.mk | 12 ------------ .../cb87rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/cherrybstudio/cb87rgb/rules.mk | 14 -------------- .../cb87v2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/cherrybstudio/cb87v2/rules.mk | 12 ------------ .../curiosity/{info.json => keyboard.json} | 9 +++++++++ keyboards/cheshire/curiosity/rules.mk | 11 ----------- .../chickenman/ciel/{info.json => keyboard.json} | 8 ++++++++ keyboards/chickenman/ciel/rules.mk | 12 ------------ .../chlx/merro60/{info.json => keyboard.json} | 8 ++++++++ keyboards/chlx/merro60/rules.mk | 12 ------------ .../chocofly/v1/{info.json => keyboard.json} | 9 +++++++++ keyboards/chocofly/v1/rules.mk | 14 -------------- keyboards/chocv/{info.json => keyboard.json} | 8 ++++++++ keyboards/chocv/rules.mk | 12 ------------ keyboards/ck60i/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ck60i/rules.mk | 13 ------------- .../handwire_101/{info.json => keyboard.json} | 8 ++++++++ keyboards/ckeys/handwire_101/rules.mk | 11 ----------- .../ckeys/nakey/{info.json => keyboard.json} | 8 ++++++++ keyboards/ckeys/nakey/rules.mk | 11 ----------- .../ckeys/obelus/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ckeys/obelus/rules.mk | 12 ------------ .../ckeys/thedora/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ckeys/thedora/rules.mk | 15 --------------- .../washington/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ckeys/washington/rules.mk | 14 -------------- .../bookerboard/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/bookerboard/rules.mk | 12 ------------ .../clawsome/coupe/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/coupe/rules.mk | 12 ------------ .../clawsome/doodle/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/doodle/rules.mk | 12 ------------ .../fightpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/fightpad/rules.mk | 12 ------------ .../gamebuddy/v1_0/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/gamebuddy/v1_0/rules.mk | 12 ------------ .../gamebuddy/v1_m/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/gamebuddy/v1_m/rules.mk | 12 ------------ .../hatchback/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/hatchback/rules.mk | 12 ------------ .../luggage_rack/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/luggage_rack/rules.mk | 12 ------------ .../numeros/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/numeros/rules.mk | 12 ------------ .../roadster/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/roadster/rules.mk | 12 ------------ .../clawsome/sedan/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/sedan/rules.mk | 12 ------------ .../sidekick/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/sidekick/rules.mk | 12 ------------ .../clawsome/suv/{info.json => keyboard.json} | 8 ++++++++ keyboards/clawsome/suv/rules.mk | 12 ------------ .../fuji65/{info.json => keyboard.json} | 9 +++++++++ keyboards/cmm_studio/fuji65/rules.mk | 15 --------------- .../saka68/hotswap/{info.json => keyboard.json} | 8 ++++++++ keyboards/cmm_studio/saka68/hotswap/rules.mk | 12 ------------ .../saka68/solder/{info.json => keyboard.json} | 8 ++++++++ keyboards/cmm_studio/saka68/solder/rules.mk | 12 ------------ .../cordillera/{info.json => keyboard.json} | 9 +++++++++ keyboards/coarse/cordillera/rules.mk | 13 ------------- .../coban/pad3a/{info.json => keyboard.json} | 9 +++++++++ keyboards/coban/pad3a/rules.mk | 3 --- keyboards/compound/{info.json => keyboard.json} | 8 ++++++++ keyboards/compound/rules.mk | 12 ------------ keyboards/contender/{info.json => keyboard.json} | 9 +++++++++ keyboards/contender/rules.mk | 12 ------------ .../a1200/miss1200/{info.json => keyboard.json} | 8 ++++++++ keyboards/converter/a1200/miss1200/rules.mk | 12 ------------ .../a1200/teensy2pp/{info.json => keyboard.json} | 8 ++++++++ keyboards/converter/a1200/teensy2pp/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 8 ++++++++ keyboards/converter/numeric_keypad_iie/rules.mk | 12 ------------ keyboards/cool836a/{info.json => keyboard.json} | 8 ++++++++ keyboards/cool836a/rules.mk | 12 ------------ .../click_pad_v1/{info.json => keyboard.json} | 9 +++++++++ keyboards/copenhagen_click/click_pad_v1/rules.mk | 12 ------------ .../discipad/{info.json => keyboard.json} | 8 ++++++++ keyboards/coseyfannitutti/discipad/rules.mk | 12 ------------ .../mullet/{info.json => keyboard.json} | 9 +++++++++ keyboards/coseyfannitutti/mullet/rules.mk | 12 ------------ .../mulletpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/coseyfannitutti/mulletpad/rules.mk | 12 ------------ .../romeo/{info.json => keyboard.json} | 8 ++++++++ keyboards/coseyfannitutti/romeo/rules.mk | 12 ------------ keyboards/cosmo65/{info.json => keyboard.json} | 9 +++++++++ keyboards/cosmo65/rules.mk | 12 ------------ .../bloomer/v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/cozykeys/bloomer/v2/rules.mk | 12 ------------ .../bloomer/v3/{info.json => keyboard.json} | 9 +++++++++ keyboards/cozykeys/bloomer/v3/rules.mk | 12 ------------ .../speedo/v2/{info.json => keyboard.json} | 8 ++++++++ keyboards/cozykeys/speedo/v2/rules.mk | 12 ------------ keyboards/craftwalk/{info.json => keyboard.json} | 9 +++++++++ keyboards/craftwalk/rules.mk | 12 ------------ keyboards/crawlpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/crawlpad/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 9 +++++++++ keyboards/crazy_keyboard_68/rules.mk | 12 ------------ keyboards/crbn/{info.json => keyboard.json} | 9 +++++++++ keyboards/crbn/rules.mk | 13 ------------- .../glacier/{info.json => keyboard.json} | 8 ++++++++ keyboards/creatkeebs/glacier/rules.mk | 12 ------------ .../thera/{info.json => keyboard.json} | 8 ++++++++ keyboards/creatkeebs/thera/rules.mk | 12 ------------ keyboards/crin/{info.json => keyboard.json} | 8 ++++++++ keyboards/crin/rules.mk | 13 ------------- .../borsdorf/{info.json => keyboard.json} | 8 ++++++++ keyboards/cutie_club/borsdorf/rules.mk | 12 ------------ .../giant_macro_pad/{info.json => keyboard.json} | 8 ++++++++ keyboards/cutie_club/giant_macro_pad/rules.mk | 12 ------------ .../keebcats/denis/{info.json => keyboard.json} | 8 ++++++++ keyboards/cutie_club/keebcats/denis/rules.mk | 12 ------------ .../keebcats/dougal/{info.json => keyboard.json} | 8 ++++++++ keyboards/cutie_club/keebcats/dougal/rules.mk | 12 ------------ .../novus/{info.json => keyboard.json} | 8 ++++++++ keyboards/cutie_club/novus/rules.mk | 12 ------------ .../wraith/{info.json => keyboard.json} | 8 ++++++++ keyboards/cutie_club/wraith/rules.mk | 12 ------------ keyboards/cx60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/cx60/rules.mk | 12 ------------ .../macro25/{info.json => keyboard.json} | 8 ++++++++ keyboards/cybergear/macro25/rules.mk | 12 ------------ .../dailycraft/owl8/{info.json => keyboard.json} | 9 +++++++++ keyboards/dailycraft/owl8/rules.mk | 14 -------------- .../stickey4/{info.json => keyboard.json} | 9 +++++++++ keyboards/dailycraft/stickey4/rules.mk | 14 -------------- .../daji/seis_cinco/{info.json => keyboard.json} | 8 ++++++++ keyboards/daji/seis_cinco/rules.mk | 13 ------------- keyboards/db/db63/{info.json => keyboard.json} | 10 ++++++++++ keyboards/db/db63/rules.mk | 10 ---------- .../flatbread60/{info.json => keyboard.json} | 9 +++++++++ keyboards/delikeeb/flatbread60/rules.mk | 12 ------------ .../vaguettelite/{info.json => keyboard.json} | 10 ++++++++++ keyboards/delikeeb/vaguettelite/rules.mk | 13 ------------- .../vaneela/{info.json => keyboard.json} | 8 ++++++++ keyboards/delikeeb/vaneela/rules.mk | 12 ------------ .../vaneelaex/{info.json => keyboard.json} | 8 ++++++++ keyboards/delikeeb/vaneelaex/rules.mk | 12 ------------ keyboards/deltapad/{info.json => keyboard.json} | 8 ++++++++ keyboards/deltapad/rules.mk | 12 ------------ keyboards/demiurge/{info.json => keyboard.json} | 9 +++++++++ keyboards/demiurge/rules.mk | 12 ------------ keyboards/deng/djam/{info.json => keyboard.json} | 10 ++++++++++ keyboards/deng/djam/rules.mk | 13 ------------- .../fnrow/v1/{info.json => keyboard.json} | 8 ++++++++ keyboards/dinofizz/fnrow/v1/rules.mk | 13 ------------- keyboards/dk60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/dk60/rules.mk | 14 -------------- .../dm9records/lain/{info.json => keyboard.json} | 8 ++++++++ keyboards/dm9records/lain/rules.mk | 12 ------------ .../dmqdesign/spin/{info.json => keyboard.json} | 11 +++++++++++ keyboards/dmqdesign/spin/rules.mk | 14 -------------- keyboards/do60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/do60/rules.mk | 12 ------------ keyboards/doio/kb30/{info.json => keyboard.json} | 11 +++++++++++ keyboards/doio/kb30/rules.mk | 15 --------------- .../budget96/{info.json => keyboard.json} | 10 ++++++++++ keyboards/donutcables/budget96/rules.mk | 10 ---------- .../scrabblepad/{info.json => keyboard.json} | 8 ++++++++ keyboards/donutcables/scrabblepad/rules.mk | 12 ------------ .../duckboard/{info.json => keyboard.json} | 11 +++++++++++ keyboards/doodboard/duckboard/rules.mk | 15 --------------- .../duckboard_r2/{info.json => keyboard.json} | 11 +++++++++++ keyboards/doodboard/duckboard_r2/rules.mk | 15 --------------- .../doro67/multi/{info.json => keyboard.json} | 9 +++++++++ keyboards/doro67/multi/rules.mk | 12 ------------ .../doro67/regular/{info.json => keyboard.json} | 8 ++++++++ keyboards/doro67/regular/rules.mk | 12 ------------ .../doro67/rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/doro67/rgb/rules.mk | 13 ------------- .../daisy/{info.json => keyboard.json} | 10 ++++++++++ keyboards/draytronics/daisy/rules.mk | 13 ------------- .../elise/{info.json => keyboard.json} | 9 +++++++++ keyboards/draytronics/elise/rules.mk | 12 ------------ .../elise_v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/draytronics/elise_v2/rules.mk | 12 ------------ .../dtisaac/cg108/{info.json => keyboard.json} | 8 ++++++++ keyboards/dtisaac/cg108/rules.mk | 12 ------------ .../dtisaac01/{info.json => keyboard.json} | 9 +++++++++ keyboards/dtisaac/dtisaac01/rules.mk | 12 ------------ keyboards/dyz/dyz40/{info.json => keyboard.json} | 10 ++++++++++ keyboards/dyz/dyz40/rules.mk | 13 ------------- keyboards/dyz/dyz60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/dyz/dyz60/rules.mk | 13 ------------- .../dyz/dyz60_hs/{info.json => keyboard.json} | 9 +++++++++ keyboards/dyz/dyz60_hs/rules.mk | 13 ------------- .../dyz/dyz_tkl/{info.json => keyboard.json} | 9 +++++++++ keyboards/dyz/dyz_tkl/rules.mk | 12 ------------ .../dyz/selka40/{info.json => keyboard.json} | 10 ++++++++++ keyboards/dyz/selka40/rules.mk | 13 ------------- .../dyz/synthesis60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/dyz/synthesis60/rules.mk | 14 -------------- keyboards/dz60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/dz60/rules.mk | 12 ------------ .../dztech/bocc/{info.json => keyboard.json} | 10 ++++++++++ keyboards/dztech/bocc/rules.mk | 12 ------------ .../dztech/duo_s/{info.json => keyboard.json} | 9 +++++++++ keyboards/dztech/duo_s/rules.mk | 12 ------------ .../dz65rgb/v1/{info.json => keyboard.json} | 9 +++++++++ keyboards/dztech/dz65rgb/v1/rules.mk | 13 ------------- .../dz65rgb/v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/dztech/dz65rgb/v2/rules.mk | 13 ------------- .../dztech/dz96/{info.json => keyboard.json} | 9 +++++++++ keyboards/dztech/dz96/rules.mk | 12 ------------ .../endless80/{info.json => keyboard.json} | 9 +++++++++ keyboards/dztech/endless80/rules.mk | 12 ------------ 484 files changed, 2147 insertions(+), 2980 deletions(-) rename keyboards/abstract/ellipse/rev1/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/abstract/ellipse/rev1/rules.mk rename keyboards/acekeyboard/titan60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/acekeyboard/titan60/rules.mk rename keyboards/acheron/apollo/87h/delta/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/acheron/apollo/87h/delta/rules.mk rename keyboards/acheron/apollo/87htsc/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/acheron/apollo/87htsc/rules.mk rename keyboards/acheron/apollo/88htsc/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/acheron/apollo/88htsc/rules.mk rename keyboards/acheron/arctic/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/acheron/arctic/rules.mk rename keyboards/acheron/austin/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/acheron/austin/rules.mk rename keyboards/acheron/elongate/delta/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/acheron/elongate/delta/rules.mk rename keyboards/acheron/keebspcb/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/acheron/keebspcb/rules.mk rename keyboards/acheron/lasgweloth/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/acheron/lasgweloth/rules.mk rename keyboards/ada/ada1800mini/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ada/ada1800mini/rules.mk rename keyboards/ada/infinity81/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ada/infinity81/rules.mk rename keyboards/adelheid/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/adelheid/rules.mk rename keyboards/adpenrose/akemipad/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/adpenrose/akemipad/rules.mk rename keyboards/adpenrose/kintsugi/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/adpenrose/kintsugi/rules.mk rename keyboards/adpenrose/obi/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/adpenrose/obi/rules.mk rename keyboards/adpenrose/shisaku/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/adpenrose/shisaku/rules.mk rename keyboards/aeboards/aegis/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/aeboards/aegis/rules.mk rename keyboards/afternoonlabs/gust/rev1/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/afternoonlabs/gust/rev1/rules.mk rename keyboards/ai03/andromeda/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ai03/andromeda/rules.mk rename keyboards/ai03/equinox/rev0/{info.json => keyboard.json} (65%) delete mode 100644 keyboards/ai03/equinox/rev0/rules.mk rename keyboards/ai03/equinox/rev1/{info.json => keyboard.json} (63%) delete mode 100644 keyboards/ai03/equinox/rev1/rules.mk rename keyboards/ai03/lunar/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ai03/lunar/rules.mk rename keyboards/ai03/polaris/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ai03/polaris/rules.mk rename keyboards/ai03/quasar/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ai03/quasar/rules.mk rename keyboards/ai03/soyuz/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/ai03/soyuz/rules.mk rename keyboards/ai03/vega/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ai03/vega/rules.mk rename keyboards/ai03/voyager60_alps/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ai03/voyager60_alps/rules.mk rename keyboards/akb/eb46/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/akb/eb46/rules.mk rename keyboards/akb/raine/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/akb/raine/rules.mk rename keyboards/alf/dc60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/alf/dc60/rules.mk rename keyboards/alf/x2/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/alf/x2/rules.mk rename keyboards/alfredslab/swift65/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/alfredslab/swift65/hotswap/rules.mk rename keyboards/alfredslab/swift65/solder/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/alfredslab/swift65/solder/rules.mk rename keyboards/alpha/{info.json => keyboard.json} (92%) delete mode 100755 keyboards/alpha/rules.mk rename keyboards/alpine65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/alpine65/rules.mk rename keyboards/alps64/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/alps64/rules.mk rename keyboards/amag23/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/amag23/rules.mk rename keyboards/amjkeyboard/amj40/{info.json => keyboard.json} (97%) delete mode 100755 keyboards/amjkeyboard/amj40/rules.mk rename keyboards/amjkeyboard/amj60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/amjkeyboard/amj60/rules.mk rename keyboards/amjkeyboard/amj84/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/amjkeyboard/amj84/rules.mk rename keyboards/amjkeyboard/amjpad/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/amjkeyboard/amjpad/rules.mk rename keyboards/anavi/macropad8/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/anavi/macropad8/rules.mk rename keyboards/ano/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ano/rules.mk rename keyboards/anomalykb/a65i/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/anomalykb/a65i/rules.mk rename keyboards/aos/tkl/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/aos/tkl/rules.mk rename keyboards/aozora/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/aozora/rules.mk rename keyboards/aplyard/aplx6/rev1/{info.json => keyboard.json} (76%) delete mode 100644 keyboards/aplyard/aplx6/rev1/rules.mk rename keyboards/aplyard/aplx6/rev2/{info.json => keyboard.json} (76%) delete mode 100644 keyboards/aplyard/aplx6/rev2/rules.mk rename keyboards/ares/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ares/rules.mk rename keyboards/arisu/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/arisu/rules.mk rename keyboards/arrayperipherals/1x4p1/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/arrayperipherals/1x4p1/rules.mk rename keyboards/ash1800/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/ash1800/rules.mk rename keyboards/ash_xiix/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/ash_xiix/rules.mk rename keyboards/atlas_65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/atlas_65/rules.mk rename keyboards/atomic/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/atomic/rules.mk rename keyboards/atreus62/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/atreus62/rules.mk rename keyboards/atset/at1/{info.json => keyboard.json} (74%) delete mode 100644 keyboards/atset/at1/rules.mk rename keyboards/atset/at12/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/atset/at12/rules.mk rename keyboards/atset/at16/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/atset/at16/rules.mk rename keyboards/atset/at3/{info.json => keyboard.json} (78%) delete mode 100644 keyboards/atset/at3/rules.mk rename keyboards/atset/at6/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/atset/at6/rules.mk rename keyboards/atset/at9/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/atset/at9/rules.mk rename keyboards/aves60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/aves60/rules.mk rename keyboards/aves65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/aves65/rules.mk rename keyboards/axolstudio/foundation_gamma/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/axolstudio/foundation_gamma/rules.mk rename keyboards/axolstudio/yeti/soldered/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/axolstudio/yeti/soldered/rules.mk rename keyboards/b_sides/rev41lp/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/b_sides/rev41lp/rules.mk rename keyboards/bacca70/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/bacca70/rules.mk rename keyboards/baguette/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/baguette/rules.mk rename keyboards/bantam44/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/bantam44/rules.mk rename keyboards/barracuda/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/barracuda/rules.mk rename keyboards/basekeys/trifecta/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/basekeys/trifecta/rules.mk rename keyboards/beatervan/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/beatervan/rules.mk rename keyboards/bfake/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/bfake/rules.mk rename keyboards/biacco42/meishi/{info.json => keyboard.json} (79%) delete mode 100644 keyboards/biacco42/meishi/rules.mk rename keyboards/biacco42/meishi2/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/biacco42/meishi2/rules.mk rename keyboards/binepad/bn003/{info.json => keyboard.json} (79%) delete mode 100644 keyboards/binepad/bn003/rules.mk rename keyboards/bioi/f60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/bioi/f60/rules.mk rename keyboards/blackplum/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/blackplum/rules.mk rename keyboards/blank/blank01/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/blank/blank01/rules.mk rename keyboards/blaster75/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/blaster75/rules.mk rename keyboards/blockey/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/blockey/rules.mk rename keyboards/boardrun/bizarre/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/boardrun/bizarre/rules.mk rename keyboards/boardrun/classic/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/boardrun/classic/rules.mk rename keyboards/boardwalk/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/boardwalk/rules.mk rename keyboards/bobpad/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/bobpad/rules.mk rename keyboards/bolsa/bolsalice/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/bolsa/bolsalice/rules.mk rename keyboards/bolsa/damapad/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/bolsa/damapad/rules.mk rename keyboards/bop/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/bop/rules.mk rename keyboards/boston/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/boston/rules.mk rename keyboards/botanicalkeyboards/fm2u/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/botanicalkeyboards/fm2u/rules.mk rename keyboards/box75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/box75/rules.mk rename keyboards/bpiphany/four_banger/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/bpiphany/four_banger/rules.mk rename keyboards/bpiphany/sixshooter/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/bpiphany/sixshooter/rules.mk rename keyboards/bthlabs/geekpad/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/bthlabs/geekpad/rules.mk rename keyboards/buildakb/potato65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/buildakb/potato65/rules.mk rename keyboards/buildakb/potato65hs/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/buildakb/potato65hs/rules.mk rename keyboards/buildakb/potato65s/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/buildakb/potato65s/rules.mk rename keyboards/cablecardesigns/cypher/rev6/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/cablecardesigns/cypher/rev6/rules.mk rename keyboards/caffeinated/serpent65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/caffeinated/serpent65/rules.mk rename keyboards/cannonkeys/adelie/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/cannonkeys/adelie/rules.mk rename keyboards/cannonkeys/atlas/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/cannonkeys/atlas/rules.mk rename keyboards/cannonkeys/atlas_alps/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/cannonkeys/atlas_alps/rules.mk rename keyboards/cannonkeys/chimera65/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/cannonkeys/chimera65/rules.mk rename keyboards/cannonkeys/hoodrowg/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cannonkeys/hoodrowg/rules.mk rename keyboards/cannonkeys/iron165/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/cannonkeys/iron165/rules.mk rename keyboards/cannonkeys/nearfield/{info.json => keyboard.json} (98%) delete mode 100755 keyboards/cannonkeys/nearfield/rules.mk rename keyboards/cannonkeys/ortho48/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/cannonkeys/ortho48/rules.mk rename keyboards/cannonkeys/ortho60/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/cannonkeys/ortho60/rules.mk rename keyboards/cannonkeys/ortho75/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/cannonkeys/ortho75/rules.mk rename keyboards/cannonkeys/practice65/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/cannonkeys/practice65/rules.mk rename keyboards/capsunlocked/cu24/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/capsunlocked/cu24/rules.mk rename keyboards/capsunlocked/cu65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/capsunlocked/cu65/rules.mk rename keyboards/capsunlocked/cu7/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/capsunlocked/cu7/rules.mk rename keyboards/capsunlocked/cu80/v1/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/capsunlocked/cu80/v1/rules.mk rename keyboards/carbo65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/carbo65/rules.mk rename keyboards/catch22/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/catch22/rules.mk rename keyboards/cest73/tkm/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cest73/tkm/rules.mk rename keyboards/chalice/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/chalice/rules.mk rename keyboards/chaos65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/chaos65/rules.mk rename keyboards/charue/charon/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/charue/charon/rules.mk rename keyboards/charue/sunsetter/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/charue/sunsetter/rules.mk rename keyboards/charue/sunsetter_r2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/charue/sunsetter_r2/rules.mk rename keyboards/chavdai40/rev1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/chavdai40/rev1/rules.mk rename keyboards/chavdai40/rev2/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/chavdai40/rev2/rules.mk rename keyboards/checkerboards/axon40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/checkerboards/axon40/rules.mk rename keyboards/checkerboards/candybar_ortho/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/checkerboards/candybar_ortho/rules.mk rename keyboards/checkerboards/g_idb60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/checkerboards/g_idb60/rules.mk rename keyboards/checkerboards/nop60/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/checkerboards/nop60/rules.mk rename keyboards/checkerboards/plexus75/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/checkerboards/plexus75/rules.mk rename keyboards/checkerboards/plexus75_he/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/checkerboards/plexus75_he/rules.mk rename keyboards/checkerboards/pursuit40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/checkerboards/pursuit40/rules.mk rename keyboards/checkerboards/quark_lp/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/checkerboards/quark_lp/rules.mk rename keyboards/checkerboards/quark_plus/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/checkerboards/quark_plus/rules.mk rename keyboards/checkerboards/ud40_ortho_alt/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/checkerboards/ud40_ortho_alt/rules.mk rename keyboards/cherrybstudio/cb1800/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cherrybstudio/cb1800/rules.mk rename keyboards/cherrybstudio/cb65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cherrybstudio/cb65/rules.mk rename keyboards/cherrybstudio/cb87/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/cherrybstudio/cb87/rules.mk rename keyboards/cherrybstudio/cb87rgb/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cherrybstudio/cb87rgb/rules.mk rename keyboards/cherrybstudio/cb87v2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cherrybstudio/cb87v2/rules.mk rename keyboards/cheshire/curiosity/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/cheshire/curiosity/rules.mk rename keyboards/chickenman/ciel/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/chickenman/ciel/rules.mk rename keyboards/chlx/merro60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/chlx/merro60/rules.mk rename keyboards/chocofly/v1/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/chocofly/v1/rules.mk rename keyboards/chocv/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/chocv/rules.mk rename keyboards/ck60i/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ck60i/rules.mk rename keyboards/ckeys/handwire_101/{info.json => keyboard.json} (89%) delete mode 100755 keyboards/ckeys/handwire_101/rules.mk rename keyboards/ckeys/nakey/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/ckeys/nakey/rules.mk rename keyboards/ckeys/obelus/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/ckeys/obelus/rules.mk rename keyboards/ckeys/thedora/{info.json => keyboard.json} (88%) delete mode 100755 keyboards/ckeys/thedora/rules.mk rename keyboards/ckeys/washington/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/ckeys/washington/rules.mk rename keyboards/clawsome/bookerboard/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/clawsome/bookerboard/rules.mk rename keyboards/clawsome/coupe/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/clawsome/coupe/rules.mk rename keyboards/clawsome/doodle/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/clawsome/doodle/rules.mk rename keyboards/clawsome/fightpad/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/clawsome/fightpad/rules.mk rename keyboards/clawsome/gamebuddy/v1_0/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/clawsome/gamebuddy/v1_0/rules.mk rename keyboards/clawsome/gamebuddy/v1_m/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/clawsome/gamebuddy/v1_m/rules.mk rename keyboards/clawsome/hatchback/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/clawsome/hatchback/rules.mk rename keyboards/clawsome/luggage_rack/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/clawsome/luggage_rack/rules.mk rename keyboards/clawsome/numeros/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/clawsome/numeros/rules.mk rename keyboards/clawsome/roadster/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/clawsome/roadster/rules.mk rename keyboards/clawsome/sedan/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/clawsome/sedan/rules.mk rename keyboards/clawsome/sidekick/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/clawsome/sidekick/rules.mk rename keyboards/clawsome/suv/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/clawsome/suv/rules.mk rename keyboards/cmm_studio/fuji65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cmm_studio/fuji65/rules.mk rename keyboards/cmm_studio/saka68/hotswap/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/cmm_studio/saka68/hotswap/rules.mk rename keyboards/cmm_studio/saka68/solder/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/cmm_studio/saka68/solder/rules.mk rename keyboards/coarse/cordillera/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/coarse/cordillera/rules.mk rename keyboards/coban/pad3a/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/coban/pad3a/rules.mk rename keyboards/compound/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/compound/rules.mk rename keyboards/contender/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/contender/rules.mk rename keyboards/converter/a1200/miss1200/{info.json => keyboard.json} (75%) delete mode 100644 keyboards/converter/a1200/miss1200/rules.mk rename keyboards/converter/a1200/teensy2pp/{info.json => keyboard.json} (74%) delete mode 100644 keyboards/converter/a1200/teensy2pp/rules.mk rename keyboards/converter/numeric_keypad_iie/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/converter/numeric_keypad_iie/rules.mk rename keyboards/cool836a/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/cool836a/rules.mk rename keyboards/copenhagen_click/click_pad_v1/{info.json => keyboard.json} (76%) delete mode 100755 keyboards/copenhagen_click/click_pad_v1/rules.mk rename keyboards/coseyfannitutti/discipad/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/coseyfannitutti/discipad/rules.mk rename keyboards/coseyfannitutti/mullet/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/coseyfannitutti/mullet/rules.mk rename keyboards/coseyfannitutti/mulletpad/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/coseyfannitutti/mulletpad/rules.mk rename keyboards/coseyfannitutti/romeo/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/coseyfannitutti/romeo/rules.mk rename keyboards/cosmo65/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/cosmo65/rules.mk rename keyboards/cozykeys/bloomer/v2/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/cozykeys/bloomer/v2/rules.mk rename keyboards/cozykeys/bloomer/v3/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/cozykeys/bloomer/v3/rules.mk rename keyboards/cozykeys/speedo/v2/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/cozykeys/speedo/v2/rules.mk rename keyboards/craftwalk/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/craftwalk/rules.mk rename keyboards/crawlpad/{info.json => keyboard.json} (91%) delete mode 100755 keyboards/crawlpad/rules.mk rename keyboards/crazy_keyboard_68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/crazy_keyboard_68/rules.mk rename keyboards/crbn/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/crbn/rules.mk rename keyboards/creatkeebs/glacier/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/creatkeebs/glacier/rules.mk rename keyboards/creatkeebs/thera/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/creatkeebs/thera/rules.mk rename keyboards/crin/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/crin/rules.mk rename keyboards/cutie_club/borsdorf/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/cutie_club/borsdorf/rules.mk rename keyboards/cutie_club/giant_macro_pad/{info.json => keyboard.json} (99%) delete mode 100755 keyboards/cutie_club/giant_macro_pad/rules.mk rename keyboards/cutie_club/keebcats/denis/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/cutie_club/keebcats/denis/rules.mk rename keyboards/cutie_club/keebcats/dougal/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/cutie_club/keebcats/dougal/rules.mk rename keyboards/cutie_club/novus/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/cutie_club/novus/rules.mk rename keyboards/cutie_club/wraith/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/cutie_club/wraith/rules.mk rename keyboards/cx60/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/cx60/rules.mk rename keyboards/cybergear/macro25/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/cybergear/macro25/rules.mk rename keyboards/dailycraft/owl8/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/dailycraft/owl8/rules.mk rename keyboards/dailycraft/stickey4/{info.json => keyboard.json} (79%) delete mode 100644 keyboards/dailycraft/stickey4/rules.mk rename keyboards/daji/seis_cinco/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/daji/seis_cinco/rules.mk rename keyboards/db/db63/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/db/db63/rules.mk rename keyboards/delikeeb/flatbread60/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/delikeeb/flatbread60/rules.mk rename keyboards/delikeeb/vaguettelite/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/delikeeb/vaguettelite/rules.mk rename keyboards/delikeeb/vaneela/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/delikeeb/vaneela/rules.mk rename keyboards/delikeeb/vaneelaex/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/delikeeb/vaneelaex/rules.mk rename keyboards/deltapad/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/deltapad/rules.mk rename keyboards/demiurge/{info.json => keyboard.json} (98%) delete mode 100755 keyboards/demiurge/rules.mk rename keyboards/deng/djam/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/deng/djam/rules.mk rename keyboards/dinofizz/fnrow/v1/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/dinofizz/fnrow/v1/rules.mk rename keyboards/dk60/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/dk60/rules.mk rename keyboards/dm9records/lain/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/dm9records/lain/rules.mk rename keyboards/dmqdesign/spin/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/dmqdesign/spin/rules.mk rename keyboards/do60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/do60/rules.mk rename keyboards/doio/kb30/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/doio/kb30/rules.mk rename keyboards/donutcables/budget96/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/donutcables/budget96/rules.mk rename keyboards/donutcables/scrabblepad/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/donutcables/scrabblepad/rules.mk rename keyboards/doodboard/duckboard/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/doodboard/duckboard/rules.mk rename keyboards/doodboard/duckboard_r2/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/doodboard/duckboard_r2/rules.mk rename keyboards/doro67/multi/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/doro67/multi/rules.mk rename keyboards/doro67/regular/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/doro67/regular/rules.mk rename keyboards/doro67/rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/doro67/rgb/rules.mk rename keyboards/draytronics/daisy/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/draytronics/daisy/rules.mk rename keyboards/draytronics/elise/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/draytronics/elise/rules.mk rename keyboards/draytronics/elise_v2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/draytronics/elise_v2/rules.mk rename keyboards/dtisaac/cg108/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/dtisaac/cg108/rules.mk rename keyboards/dtisaac/dtisaac01/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/dtisaac/dtisaac01/rules.mk rename keyboards/dyz/dyz40/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/dyz/dyz40/rules.mk rename keyboards/dyz/dyz60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/dyz/dyz60/rules.mk rename keyboards/dyz/dyz60_hs/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/dyz/dyz60_hs/rules.mk rename keyboards/dyz/dyz_tkl/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/dyz/dyz_tkl/rules.mk rename keyboards/dyz/selka40/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/dyz/selka40/rules.mk rename keyboards/dyz/synthesis60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/dyz/synthesis60/rules.mk rename keyboards/dz60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/dz60/rules.mk rename keyboards/dztech/bocc/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/dztech/bocc/rules.mk rename keyboards/dztech/duo_s/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/dztech/duo_s/rules.mk rename keyboards/dztech/dz65rgb/v1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/dztech/dz65rgb/v1/rules.mk rename keyboards/dztech/dz65rgb/v2/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/dztech/dz65rgb/v2/rules.mk rename keyboards/dztech/dz96/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/dztech/dz96/rules.mk rename keyboards/dztech/endless80/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/dztech/endless80/rules.mk diff --git a/keyboards/abstract/ellipse/rev1/info.json b/keyboards/abstract/ellipse/rev1/keyboard.json similarity index 85% rename from keyboards/abstract/ellipse/rev1/info.json rename to keyboards/abstract/ellipse/rev1/keyboard.json index 341b5229265..31a17301a7a 100644 --- a/keyboards/abstract/ellipse/rev1/info.json +++ b/keyboards/abstract/ellipse/rev1/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "B6", "B5"], "rows": ["D3", "C7"] diff --git a/keyboards/abstract/ellipse/rev1/rules.mk b/keyboards/abstract/ellipse/rev1/rules.mk deleted file mode 100644 index e0bcc619523..00000000000 --- a/keyboards/abstract/ellipse/rev1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable support for rotary encoders diff --git a/keyboards/acekeyboard/titan60/info.json b/keyboards/acekeyboard/titan60/keyboard.json similarity index 99% rename from keyboards/acekeyboard/titan60/info.json rename to keyboards/acekeyboard/titan60/keyboard.json index 8f11e1df071..3111e1e9d7f 100644 --- a/keyboards/acekeyboard/titan60/info.json +++ b/keyboards/acekeyboard/titan60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5449", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F7", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["B1", "B2", "B3", "F0", "F1"] diff --git a/keyboards/acekeyboard/titan60/rules.mk b/keyboards/acekeyboard/titan60/rules.mk deleted file mode 100644 index 63a5839b10b..00000000000 --- a/keyboards/acekeyboard/titan60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/acheron/apollo/87h/delta/info.json b/keyboards/acheron/apollo/87h/delta/keyboard.json similarity index 97% rename from keyboards/acheron/apollo/87h/delta/info.json rename to keyboards/acheron/apollo/87h/delta/keyboard.json index 729512839ff..c2d5e206923 100644 --- a/keyboards/acheron/apollo/87h/delta/info.json +++ b/keyboards/acheron/apollo/87h/delta/keyboard.json @@ -59,6 +59,15 @@ "driver": "ws2812", "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C8", "C9", "A8", "A10", "C7", "C6", "B14", "B12", "B10", "B1", "C5", "C4", "A7", "B0", "C11", "A3", "B4"], "rows": ["B3", "D2", "C12", "A6", "A5", "A4"] diff --git a/keyboards/acheron/apollo/87h/delta/rules.mk b/keyboards/acheron/apollo/87h/delta/rules.mk deleted file mode 100644 index 723724b7aa2..00000000000 --- a/keyboards/acheron/apollo/87h/delta/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/acheron/apollo/87htsc/info.json b/keyboards/acheron/apollo/87htsc/keyboard.json similarity index 97% rename from keyboards/acheron/apollo/87htsc/info.json rename to keyboards/acheron/apollo/87htsc/keyboard.json index 91e2cb320e2..5f7d30e65a3 100644 --- a/keyboards/acheron/apollo/87htsc/info.json +++ b/keyboards/acheron/apollo/87htsc/keyboard.json @@ -63,6 +63,15 @@ "driver": "ws2812", "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C8", "C9", "A8", "A10", "C7", "C6", "B14", "B12", "B10", "B1", "C5", "C4", "A7", "B0", "C11", "A3", "B4"], "rows": ["B3", "D2", "C12", "A6", "A5", "A4"] diff --git a/keyboards/acheron/apollo/87htsc/rules.mk b/keyboards/acheron/apollo/87htsc/rules.mk deleted file mode 100644 index 723724b7aa2..00000000000 --- a/keyboards/acheron/apollo/87htsc/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/acheron/apollo/88htsc/info.json b/keyboards/acheron/apollo/88htsc/keyboard.json similarity index 97% rename from keyboards/acheron/apollo/88htsc/info.json rename to keyboards/acheron/apollo/88htsc/keyboard.json index 17c12b3bebc..e29300019ca 100644 --- a/keyboards/acheron/apollo/88htsc/info.json +++ b/keyboards/acheron/apollo/88htsc/keyboard.json @@ -63,6 +63,15 @@ "driver": "ws2812", "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C8", "C9", "A8", "A10", "C7", "C6", "B14", "B12", "B10", "B1", "C5", "C4", "A7", "B0", "C11", "A3", "B4"], "rows": ["B3", "D2", "C12", "A6", "A5", "A4"] diff --git a/keyboards/acheron/apollo/88htsc/rules.mk b/keyboards/acheron/apollo/88htsc/rules.mk deleted file mode 100644 index 723724b7aa2..00000000000 --- a/keyboards/acheron/apollo/88htsc/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/acheron/arctic/info.json b/keyboards/acheron/arctic/keyboard.json similarity index 97% rename from keyboards/acheron/arctic/info.json rename to keyboards/acheron/arctic/keyboard.json index 22eb5763bbd..e8c9e92f61c 100644 --- a/keyboards/acheron/arctic/info.json +++ b/keyboards/acheron/arctic/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4152", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "A5", "A4", "A3", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "B9", "B8"], "rows": ["B7", "B6", "A6", "A7", "B1"] diff --git a/keyboards/acheron/arctic/rules.mk b/keyboards/acheron/arctic/rules.mk deleted file mode 100644 index 7f4f202a1b7..00000000000 --- a/keyboards/acheron/arctic/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/acheron/austin/info.json b/keyboards/acheron/austin/keyboard.json similarity index 99% rename from keyboards/acheron/austin/info.json rename to keyboards/acheron/austin/keyboard.json index d36258fb92c..6c467a7da05 100755 --- a/keyboards/acheron/austin/info.json +++ b/keyboards/acheron/austin/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4175", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A5", "A15", "B3", "B4", "B5", "B8", "A3", "C15", "C14", "F1"], "rows": ["C13", "A4", "A7", "B0", "B1", "B2"] diff --git a/keyboards/acheron/austin/rules.mk b/keyboards/acheron/austin/rules.mk deleted file mode 100644 index a5089d51a5b..00000000000 --- a/keyboards/acheron/austin/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/acheron/elongate/delta/info.json b/keyboards/acheron/elongate/delta/keyboard.json similarity index 95% rename from keyboards/acheron/elongate/delta/info.json rename to keyboards/acheron/elongate/delta/keyboard.json index 19991ecb861..33fc5b55ddd 100644 --- a/keyboards/acheron/elongate/delta/info.json +++ b/keyboards/acheron/elongate/delta/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x454D", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B14", "B12", "B11", "B10", "B2", "B1", "A7", "A5", "B9", "B8", "B7", "B6"], "rows": ["B3", "A15", "B0", "B4", "B5"] diff --git a/keyboards/acheron/elongate/delta/rules.mk b/keyboards/acheron/elongate/delta/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/acheron/elongate/delta/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/acheron/keebspcb/info.json b/keyboards/acheron/keebspcb/keyboard.json similarity index 95% rename from keyboards/acheron/keebspcb/info.json rename to keyboards/acheron/keebspcb/keyboard.json index 9609611059b..1017cf47ecf 100644 --- a/keyboards/acheron/keebspcb/info.json +++ b/keyboards/acheron/keebspcb/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4B45", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B12", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B7", "B6", "B5"], "rows": ["B4", "B3", "A2", "A3", "A4"] diff --git a/keyboards/acheron/keebspcb/rules.mk b/keyboards/acheron/keebspcb/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/acheron/keebspcb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/acheron/lasgweloth/info.json b/keyboards/acheron/lasgweloth/keyboard.json similarity index 97% rename from keyboards/acheron/lasgweloth/info.json rename to keyboards/acheron/lasgweloth/keyboard.json index 653af34452f..ccdf9d6f302 100644 --- a/keyboards/acheron/lasgweloth/info.json +++ b/keyboards/acheron/lasgweloth/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x7641", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B12", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5", "A4", "B7"], "rows": ["B9", "B8", "A3", "B0", "B1"] diff --git a/keyboards/acheron/lasgweloth/rules.mk b/keyboards/acheron/lasgweloth/rules.mk deleted file mode 100644 index 5b6b0c92991..00000000000 --- a/keyboards/acheron/lasgweloth/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no - diff --git a/keyboards/ada/ada1800mini/info.json b/keyboards/ada/ada1800mini/keyboard.json similarity index 96% rename from keyboards/ada/ada1800mini/info.json rename to keyboards/ada/ada1800mini/keyboard.json index 22cac5ade4d..80e8ee64aa5 100644 --- a/keyboards/ada/ada1800mini/info.json +++ b/keyboards/ada/ada1800mini/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "B3", "B2", "B1"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/ada/ada1800mini/rules.mk b/keyboards/ada/ada1800mini/rules.mk deleted file mode 100644 index 7d5bd18e35a..00000000000 --- a/keyboards/ada/ada1800mini/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - - -# generated by KBFirmware JSON to QMK Parser -# https://noroadsleft.github.io/kbf_qmk_converter/ diff --git a/keyboards/ada/infinity81/info.json b/keyboards/ada/infinity81/keyboard.json similarity index 96% rename from keyboards/ada/infinity81/info.json rename to keyboards/ada/infinity81/keyboard.json index f56b6f92d13..934bd6fca2c 100644 --- a/keyboards/ada/infinity81/info.json +++ b/keyboards/ada/infinity81/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "D0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F5", "F1", "F4"], "rows": ["B3", "B2", "B1", "B0", "F6", "B7"] diff --git a/keyboards/ada/infinity81/rules.mk b/keyboards/ada/infinity81/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/ada/infinity81/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/adelheid/info.json b/keyboards/adelheid/keyboard.json similarity index 96% rename from keyboards/adelheid/info.json rename to keyboards/adelheid/keyboard.json index fa203432c12..e066e5d5f18 100644 --- a/keyboards/adelheid/info.json +++ b/keyboards/adelheid/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAD78", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "F6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "F4", "D1", "D2", "D3", "D5", "F7"] diff --git a/keyboards/adelheid/rules.mk b/keyboards/adelheid/rules.mk deleted file mode 100644 index a1d35866e5c..00000000000 --- a/keyboards/adelheid/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/adpenrose/akemipad/info.json b/keyboards/adpenrose/akemipad/keyboard.json similarity index 94% rename from keyboards/adpenrose/akemipad/info.json rename to keyboards/adpenrose/akemipad/keyboard.json index 28ac8d6d4c5..50003fbb5f5 100644 --- a/keyboards/adpenrose/akemipad/info.json +++ b/keyboards/adpenrose/akemipad/keyboard.json @@ -20,6 +20,17 @@ "max_brightness": 175, "sleep": true }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D3", "D2", "F5", "F6", "B2"], "rows": ["D4", "D7", "E6", "B6", "B4", "B5"] diff --git a/keyboards/adpenrose/akemipad/rules.mk b/keyboards/adpenrose/akemipad/rules.mk deleted file mode 100644 index 084dbaec059..00000000000 --- a/keyboards/adpenrose/akemipad/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output -RGB_MATRIX_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/adpenrose/kintsugi/info.json b/keyboards/adpenrose/kintsugi/keyboard.json similarity index 95% rename from keyboards/adpenrose/kintsugi/info.json rename to keyboards/adpenrose/kintsugi/keyboard.json index 42cc69ed7fe..46504298f8a 100644 --- a/keyboards/adpenrose/kintsugi/info.json +++ b/keyboards/adpenrose/kintsugi/keyboard.json @@ -28,6 +28,17 @@ "ws2812": { "pin": "F1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "B1", "B3", "B2", "B6", "F0"], "rows": ["B0", "E6", "D7", "C6", "D4", "D2", "F4", "F5", "B5", "B4"] diff --git a/keyboards/adpenrose/kintsugi/rules.mk b/keyboards/adpenrose/kintsugi/rules.mk deleted file mode 100644 index 864f929c81e..00000000000 --- a/keyboards/adpenrose/kintsugi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Encoder functionality -OLED_ENABLE = yes # OLED functionality diff --git a/keyboards/adpenrose/obi/info.json b/keyboards/adpenrose/obi/keyboard.json similarity index 97% rename from keyboards/adpenrose/obi/info.json rename to keyboards/adpenrose/obi/keyboard.json index d11e00a50e7..8c1428ca818 100644 --- a/keyboards/adpenrose/obi/info.json +++ b/keyboards/adpenrose/obi/keyboard.json @@ -27,6 +27,16 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "B7", "B6", "B4", "B5", "D6", "D5", "D3", "D7", "D4", "D2", "D1", "D0", "B0"], "rows": ["F4", "F5", "C7", "C6"] diff --git a/keyboards/adpenrose/obi/rules.mk b/keyboards/adpenrose/obi/rules.mk deleted file mode 100644 index eef937e03ad..00000000000 --- a/keyboards/adpenrose/obi/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Encoder functionality diff --git a/keyboards/adpenrose/shisaku/info.json b/keyboards/adpenrose/shisaku/keyboard.json similarity index 94% rename from keyboards/adpenrose/shisaku/info.json rename to keyboards/adpenrose/shisaku/keyboard.json index 5ccc7e1d115..1382ee3b62c 100644 --- a/keyboards/adpenrose/shisaku/info.json +++ b/keyboards/adpenrose/shisaku/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "C3", "C4", "D4", "C0", "C1", "C2"], "rows": ["B2", "B0", "B1", "D0", "B4", "D6", "B3", "D7"] diff --git a/keyboards/adpenrose/shisaku/rules.mk b/keyboards/adpenrose/shisaku/rules.mk deleted file mode 100644 index 0fa77115165..00000000000 --- a/keyboards/adpenrose/shisaku/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/aeboards/aegis/info.json b/keyboards/aeboards/aegis/keyboard.json similarity index 99% rename from keyboards/aeboards/aegis/info.json rename to keyboards/aeboards/aegis/keyboard.json index 823e45c8e2e..26414ba55a3 100644 --- a/keyboards/aeboards/aegis/info.json +++ b/keyboards/aeboards/aegis/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0807", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "C6", "B7", "D2", "D3", "B3", "B2", "B1", "B0"], "rows": ["F5", "F6", "E6", "F7", "D1", "D0", "D6", "D4", "B4", "D7", "B6", "B5"] diff --git a/keyboards/aeboards/aegis/rules.mk b/keyboards/aeboards/aegis/rules.mk deleted file mode 100644 index 29eb5c8fbe8..00000000000 --- a/keyboards/aeboards/aegis/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/afternoonlabs/gust/rev1/info.json b/keyboards/afternoonlabs/gust/rev1/keyboard.json similarity index 84% rename from keyboards/afternoonlabs/gust/rev1/info.json rename to keyboards/afternoonlabs/gust/rev1/keyboard.json index 4cfac9dc592..93ad60ad7d6 100644 --- a/keyboards/afternoonlabs/gust/rev1/info.json +++ b/keyboards/afternoonlabs/gust/rev1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D2", "D3"], "rows": ["F5", "F4", "D0"] diff --git a/keyboards/afternoonlabs/gust/rev1/rules.mk b/keyboards/afternoonlabs/gust/rev1/rules.mk deleted file mode 100644 index b48a43e89fc..00000000000 --- a/keyboards/afternoonlabs/gust/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/ai03/andromeda/info.json b/keyboards/ai03/andromeda/keyboard.json similarity index 96% rename from keyboards/ai03/andromeda/info.json rename to keyboards/ai03/andromeda/keyboard.json index fb3cf0d78d6..5a9bf32ef15 100644 --- a/keyboards/ai03/andromeda/info.json +++ b/keyboards/ai03/andromeda/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x000A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "B5", "B8", "B9"], "rows": ["B4", "B3", "A15", "A3", "A4", "A5"] diff --git a/keyboards/ai03/andromeda/rules.mk b/keyboards/ai03/andromeda/rules.mk deleted file mode 100644 index 7f4f202a1b7..00000000000 --- a/keyboards/ai03/andromeda/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/ai03/equinox/rev0/info.json b/keyboards/ai03/equinox/rev0/keyboard.json similarity index 65% rename from keyboards/ai03/equinox/rev0/info.json rename to keyboards/ai03/equinox/rev0/keyboard.json index 396f50c3765..e38fada3338 100644 --- a/keyboards/ai03/equinox/rev0/info.json +++ b/keyboards/ai03/equinox/rev0/keyboard.json @@ -1,4 +1,13 @@ { + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C4", "B7", "C6", "C7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "D6"], "rows": ["D3", "C5", "D4", "D5"] diff --git a/keyboards/ai03/equinox/rev0/rules.mk b/keyboards/ai03/equinox/rev0/rules.mk deleted file mode 100644 index 5e28d2cc453..00000000000 --- a/keyboards/ai03/equinox/rev0/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ai03/equinox/rev1/info.json b/keyboards/ai03/equinox/rev1/keyboard.json similarity index 63% rename from keyboards/ai03/equinox/rev1/info.json rename to keyboards/ai03/equinox/rev1/keyboard.json index 9c0727f7baa..590a84b31c8 100644 --- a/keyboards/ai03/equinox/rev1/info.json +++ b/keyboards/ai03/equinox/rev1/keyboard.json @@ -1,4 +1,13 @@ { + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D2", "C6", "C7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "D6"], "rows": ["D3", "C5", "D4", "D5"] diff --git a/keyboards/ai03/equinox/rev1/rules.mk b/keyboards/ai03/equinox/rev1/rules.mk deleted file mode 100644 index 5e28d2cc453..00000000000 --- a/keyboards/ai03/equinox/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ai03/lunar/info.json b/keyboards/ai03/lunar/keyboard.json similarity index 96% rename from keyboards/ai03/lunar/info.json rename to keyboards/ai03/lunar/keyboard.json index 6e7845b136f..8a5bc145765 100644 --- a/keyboards/ai03/lunar/info.json +++ b/keyboards/ai03/lunar/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B3", "D0", "D1", "D2", "D3"] diff --git a/keyboards/ai03/lunar/rules.mk b/keyboards/ai03/lunar/rules.mk deleted file mode 100644 index 0a85fffb85c..00000000000 --- a/keyboards/ai03/lunar/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ai03/polaris/info.json b/keyboards/ai03/polaris/keyboard.json similarity index 98% rename from keyboards/ai03/polaris/info.json rename to keyboards/ai03/polaris/keyboard.json index dca6df3dbad..169118a0cf6 100644 --- a/keyboards/ai03/polaris/info.json +++ b/keyboards/ai03/polaris/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F7", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["B1", "B2", "B3", "F0", "F1"] diff --git a/keyboards/ai03/polaris/rules.mk b/keyboards/ai03/polaris/rules.mk deleted file mode 100644 index 45377383806..00000000000 --- a/keyboards/ai03/polaris/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ai03/quasar/info.json b/keyboards/ai03/quasar/keyboard.json similarity index 96% rename from keyboards/ai03/quasar/info.json rename to keyboards/ai03/quasar/keyboard.json index fc2d39cc3b2..b0514f9e9aa 100644 --- a/keyboards/ai03/quasar/info.json +++ b/keyboards/ai03/quasar/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0010", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4"], "rows": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"] diff --git a/keyboards/ai03/quasar/rules.mk b/keyboards/ai03/quasar/rules.mk deleted file mode 100644 index 3f2eac5940c..00000000000 --- a/keyboards/ai03/quasar/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ai03/soyuz/info.json b/keyboards/ai03/soyuz/keyboard.json similarity index 93% rename from keyboards/ai03/soyuz/info.json rename to keyboards/ai03/soyuz/keyboard.json index 0c1cd54810f..61e8375dd18 100644 --- a/keyboards/ai03/soyuz/info.json +++ b/keyboards/ai03/soyuz/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0018", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "B3", "D7", "B5"], "rows": ["D4", "C6", "B6", "E6", "B4"] diff --git a/keyboards/ai03/soyuz/rules.mk b/keyboards/ai03/soyuz/rules.mk deleted file mode 100644 index ed40609648d..00000000000 --- a/keyboards/ai03/soyuz/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ai03/vega/info.json b/keyboards/ai03/vega/keyboard.json similarity index 99% rename from keyboards/ai03/vega/info.json rename to keyboards/ai03/vega/keyboard.json index 35127edbc24..64eaf5eadd7 100644 --- a/keyboards/ai03/vega/info.json +++ b/keyboards/ai03/vega/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0015", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "A3", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6"], "rows": ["A1", "A2", "B3", "A15", "A10"] diff --git a/keyboards/ai03/vega/rules.mk b/keyboards/ai03/vega/rules.mk deleted file mode 100644 index 7f4f202a1b7..00000000000 --- a/keyboards/ai03/vega/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/ai03/voyager60_alps/info.json b/keyboards/ai03/voyager60_alps/keyboard.json similarity index 95% rename from keyboards/ai03/voyager60_alps/info.json rename to keyboards/ai03/voyager60_alps/keyboard.json index 440f061432f..9b8fa051b59 100644 --- a/keyboards/ai03/voyager60_alps/info.json +++ b/keyboards/ai03/voyager60_alps/keyboard.json @@ -17,6 +17,15 @@ "ws2812": { "pin": "D2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F7", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["B1", "B2", "B3", "F0", "F1"] diff --git a/keyboards/ai03/voyager60_alps/rules.mk b/keyboards/ai03/voyager60_alps/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/ai03/voyager60_alps/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/akb/eb46/info.json b/keyboards/akb/eb46/keyboard.json similarity index 94% rename from keyboards/akb/eb46/info.json rename to keyboards/akb/eb46/keyboard.json index fafd42cd907..ec00eaa44ee 100644 --- a/keyboards/akb/eb46/info.json +++ b/keyboards/akb/eb46/keyboard.json @@ -7,6 +7,14 @@ "pid": "0xFEED", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "C6"], "rows": ["B5", "B4", "D7", "B6"] diff --git a/keyboards/akb/eb46/rules.mk b/keyboards/akb/eb46/rules.mk deleted file mode 100644 index c58df49ea8f..00000000000 --- a/keyboards/akb/eb46/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/akb/raine/info.json b/keyboards/akb/raine/keyboard.json similarity index 96% rename from keyboards/akb/raine/info.json rename to keyboards/akb/raine/keyboard.json index 71490b1e6a2..f3631068fd5 100644 --- a/keyboards/akb/raine/info.json +++ b/keyboards/akb/raine/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "B1", "F1", "F0", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], "rows": ["E6", "C6", "F7", "B2", "B0"] diff --git a/keyboards/akb/raine/rules.mk b/keyboards/akb/raine/rules.mk deleted file mode 100644 index c58df49ea8f..00000000000 --- a/keyboards/akb/raine/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/alf/dc60/info.json b/keyboards/alf/dc60/keyboard.json similarity index 99% rename from keyboards/alf/dc60/info.json rename to keyboards/alf/dc60/keyboard.json index e0aa59f44f6..7fd360d726a 100644 --- a/keyboards/alf/dc60/info.json +++ b/keyboards/alf/dc60/keyboard.json @@ -7,6 +7,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/alf/dc60/rules.mk b/keyboards/alf/dc60/rules.mk deleted file mode 100644 index 16be45209b4..00000000000 --- a/keyboards/alf/dc60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/keyboard.json similarity index 98% rename from keyboards/alf/x2/info.json rename to keyboards/alf/x2/keyboard.json index a7e76061f68..fe700979327 100644 --- a/keyboards/alf/x2/info.json +++ b/keyboards/alf/x2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/alf/x2/rules.mk b/keyboards/alf/x2/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/alf/x2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/alfredslab/swift65/hotswap/info.json b/keyboards/alfredslab/swift65/hotswap/keyboard.json similarity index 96% rename from keyboards/alfredslab/swift65/hotswap/info.json rename to keyboards/alfredslab/swift65/hotswap/keyboard.json index 5be2a3798ce..7799374e7cf 100644 --- a/keyboards/alfredslab/swift65/hotswap/info.json +++ b/keyboards/alfredslab/swift65/hotswap/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "D2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "C7", "C6", "B6", "B5", "B4", "D7", "D5", "D3", "D1"], "rows": ["B1", "B2", "B3", "D6", "D4"] diff --git a/keyboards/alfredslab/swift65/hotswap/rules.mk b/keyboards/alfredslab/swift65/hotswap/rules.mk deleted file mode 100644 index bb40a3ee66c..00000000000 --- a/keyboards/alfredslab/swift65/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/alfredslab/swift65/solder/info.json b/keyboards/alfredslab/swift65/solder/keyboard.json similarity index 99% rename from keyboards/alfredslab/swift65/solder/info.json rename to keyboards/alfredslab/swift65/solder/keyboard.json index 83ca4d9b8aa..3bd15e74964 100644 --- a/keyboards/alfredslab/swift65/solder/info.json +++ b/keyboards/alfredslab/swift65/solder/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "D2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "C7", "C6", "B6", "B5", "B4", "D7", "D5", "D3", "D1", "D0"], "rows": ["B1", "B2", "B3", "D4", "D6"] diff --git a/keyboards/alfredslab/swift65/solder/rules.mk b/keyboards/alfredslab/swift65/solder/rules.mk deleted file mode 100644 index 2697ebc6d5d..00000000000 --- a/keyboards/alfredslab/swift65/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/alpha/info.json b/keyboards/alpha/keyboard.json similarity index 92% rename from keyboards/alpha/info.json rename to keyboards/alpha/keyboard.json index 61f7f9d437c..f708ad2b9f5 100644 --- a/keyboards/alpha/info.json +++ b/keyboards/alpha/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "E6", "C6", "B6", "B2", "B3", "B1", "F7", "F6", "F5"], "rows": ["D4", "B4", "B5"] diff --git a/keyboards/alpha/rules.mk b/keyboards/alpha/rules.mk deleted file mode 100755 index ec53f47e70e..00000000000 --- a/keyboards/alpha/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/alpine65/info.json b/keyboards/alpine65/keyboard.json similarity index 96% rename from keyboards/alpine65/info.json rename to keyboards/alpine65/keyboard.json index c0322f72b50..4fccb3c564e 100644 --- a/keyboards/alpine65/info.json +++ b/keyboards/alpine65/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B15" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A9", "A8", "B14", "B12", "A10", "A0", "A1"], "rows": ["C14", "C15", "C13", "A2", "A3"] diff --git a/keyboards/alpine65/rules.mk b/keyboards/alpine65/rules.mk deleted file mode 100644 index 747e719be4a..00000000000 --- a/keyboards/alpine65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = no - diff --git a/keyboards/alps64/info.json b/keyboards/alps64/keyboard.json similarity index 99% rename from keyboards/alps64/info.json rename to keyboards/alps64/keyboard.json index 87a141b53c2..72f21d0c33d 100644 --- a/keyboards/alps64/info.json +++ b/keyboards/alps64/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6464", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"], "rows": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "C2"] diff --git a/keyboards/alps64/rules.mk b/keyboards/alps64/rules.mk deleted file mode 100644 index b07ffbcaaa7..00000000000 --- a/keyboards/alps64/rules.mk +++ /dev/null @@ -1,9 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover diff --git a/keyboards/amag23/info.json b/keyboards/amag23/keyboard.json similarity index 93% rename from keyboards/amag23/info.json rename to keyboards/amag23/keyboard.json index fd8aa85bbb6..ed37a36e548 100644 --- a/keyboards/amag23/info.json +++ b/keyboards/amag23/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "driver": "i2c" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B4", "B5"], "rows": ["A0", "A1", "A2", "A3"] diff --git a/keyboards/amag23/rules.mk b/keyboards/amag23/rules.mk deleted file mode 100644 index 8bee1e931e8..00000000000 --- a/keyboards/amag23/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/amjkeyboard/amj40/info.json b/keyboards/amjkeyboard/amj40/keyboard.json similarity index 97% rename from keyboards/amjkeyboard/amj40/info.json rename to keyboards/amjkeyboard/amj40/keyboard.json index dca520375ab..8ce166728ca 100644 --- a/keyboards/amjkeyboard/amj40/info.json +++ b/keyboards/amjkeyboard/amj40/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6072", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F0", "E6", "C7", "C6", "B0", "D4", "B1", "B7", "B5", "B4", "D7"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/amjkeyboard/amj40/rules.mk b/keyboards/amjkeyboard/amj40/rules.mk deleted file mode 100755 index 3d5cb57ad50..00000000000 --- a/keyboards/amjkeyboard/amj40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/amjkeyboard/amj60/info.json b/keyboards/amjkeyboard/amj60/keyboard.json similarity index 98% rename from keyboards/amjkeyboard/amj60/info.json rename to keyboards/amjkeyboard/amj60/keyboard.json index 7c626b5a5f3..0b65c742aa4 100644 --- a/keyboards/amjkeyboard/amj60/info.json +++ b/keyboards/amjkeyboard/amj60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6066", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F0", "E6", "C7", "C6", "B0", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["F7", "F6", "F5", "F4", "D5"] diff --git a/keyboards/amjkeyboard/amj60/rules.mk b/keyboards/amjkeyboard/amj60/rules.mk deleted file mode 100644 index 262dfb657d1..00000000000 --- a/keyboards/amjkeyboard/amj60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/amjkeyboard/amj84/info.json b/keyboards/amjkeyboard/amj84/keyboard.json similarity index 99% rename from keyboards/amjkeyboard/amj84/info.json rename to keyboards/amjkeyboard/amj84/keyboard.json index 85832229a33..217b685391f 100644 --- a/keyboards/amjkeyboard/amj84/info.json +++ b/keyboards/amjkeyboard/amj84/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F1", "F0", "E6", "C7", "C6", "B0", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "D1"], "rows": ["D0", "F7", "F6", "F5", "F4", "D5"] diff --git a/keyboards/amjkeyboard/amj84/rules.mk b/keyboards/amjkeyboard/amj84/rules.mk deleted file mode 100644 index 254b0bc7bd1..00000000000 --- a/keyboards/amjkeyboard/amj84/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/amjkeyboard/amjpad/info.json b/keyboards/amjkeyboard/amjpad/keyboard.json similarity index 94% rename from keyboards/amjkeyboard/amjpad/info.json rename to keyboards/amjkeyboard/amjpad/keyboard.json index fbaa2499d62..bd960d8c8ab 100644 --- a/keyboards/amjkeyboard/amjpad/info.json +++ b/keyboards/amjkeyboard/amjpad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.3" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "E6", "C7"], "rows": ["F7", "F6", "F5", "F4", "D5", "D0"] diff --git a/keyboards/amjkeyboard/amjpad/rules.mk b/keyboards/amjkeyboard/amjpad/rules.mk deleted file mode 100644 index cd5d6b66ea5..00000000000 --- a/keyboards/amjkeyboard/amjpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/keyboard.json similarity index 85% rename from keyboards/anavi/macropad8/info.json rename to keyboards/anavi/macropad8/keyboard.json index 63f295069d4..d70d3fa0475 100644 --- a/keyboards/anavi/macropad8/info.json +++ b/keyboards/anavi/macropad8/keyboard.json @@ -35,6 +35,17 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["D4", "F6", "B5", "E6"], diff --git a/keyboards/anavi/macropad8/rules.mk b/keyboards/anavi/macropad8/rules.mk deleted file mode 100644 index 63d200481c7..00000000000 --- a/keyboards/anavi/macropad8/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -OLED_ENABLE = yes diff --git a/keyboards/ano/info.json b/keyboards/ano/keyboard.json similarity index 96% rename from keyboards/ano/info.json rename to keyboards/ano/keyboard.json index ce88965500b..c522f816ce5 100644 --- a/keyboards/ano/info.json +++ b/keyboards/ano/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0651", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "A5", "A6", "A7", "A8", "A15", "A2", "A1", "A0", "B8", "B13"], "rows": ["A4", "B14", "B15", "B9", "B10", "B11"] diff --git a/keyboards/ano/rules.mk b/keyboards/ano/rules.mk deleted file mode 100644 index f0a88209b69..00000000000 --- a/keyboards/ano/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/anomalykb/a65i/info.json b/keyboards/anomalykb/a65i/keyboard.json similarity index 99% rename from keyboards/anomalykb/a65i/info.json rename to keyboards/anomalykb/a65i/keyboard.json index 553ad35daf7..98015fcd72b 100644 --- a/keyboards/anomalykb/a65i/info.json +++ b/keyboards/anomalykb/a65i/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D7", "D6", "D4", "B4", "B6", "E6", "F1", "B7", "C6", "C7", "D5", "D3", "D2", "F0", "D1", "D0"], "rows": ["B3", "B2", "B1", "B0", "B5"] diff --git a/keyboards/anomalykb/a65i/rules.mk b/keyboards/anomalykb/a65i/rules.mk deleted file mode 100644 index 0df1feb1812..00000000000 --- a/keyboards/anomalykb/a65i/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/aos/tkl/info.json b/keyboards/aos/tkl/keyboard.json similarity index 96% rename from keyboards/aos/tkl/info.json rename to keyboards/aos/tkl/keyboard.json index 165344004bd..730a262366a 100644 --- a/keyboards/aos/tkl/info.json +++ b/keyboards/aos/tkl/keyboard.json @@ -28,6 +28,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "F4", "F5", "F6", "F7", "B6", "B5", "D7", "B4", "D6", "F0", "D1", "C6", "D4"], "rows": ["D3", "D2", "B7", "F1", "C7", "D5"] diff --git a/keyboards/aos/tkl/rules.mk b/keyboards/aos/tkl/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/aos/tkl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/aozora/info.json b/keyboards/aozora/keyboard.json similarity index 98% rename from keyboards/aozora/info.json rename to keyboards/aozora/keyboard.json index 21db981dab5..6ce231680f5 100644 --- a/keyboards/aozora/info.json +++ b/keyboards/aozora/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE86A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "D2"], "rows": ["F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/aozora/rules.mk b/keyboards/aozora/rules.mk deleted file mode 100644 index 67d4dee2c76..00000000000 --- a/keyboards/aozora/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/aplyard/aplx6/rev1/info.json b/keyboards/aplyard/aplx6/rev1/keyboard.json similarity index 76% rename from keyboards/aplyard/aplx6/rev1/info.json rename to keyboards/aplyard/aplx6/rev1/keyboard.json index 943624fb8f2..e7f59d12c60 100644 --- a/keyboards/aplyard/aplx6/rev1/info.json +++ b/keyboards/aplyard/aplx6/rev1/keyboard.json @@ -3,6 +3,15 @@ "pid": "0x0030", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["F7", "B6", "F4"], "rows": ["E6", "B3"] diff --git a/keyboards/aplyard/aplx6/rev1/rules.mk b/keyboards/aplyard/aplx6/rev1/rules.mk deleted file mode 100644 index 879e2c47a37..00000000000 --- a/keyboards/aplyard/aplx6/rev1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/aplyard/aplx6/rev2/info.json b/keyboards/aplyard/aplx6/rev2/keyboard.json similarity index 76% rename from keyboards/aplyard/aplx6/rev2/info.json rename to keyboards/aplyard/aplx6/rev2/keyboard.json index 06e0296b684..7cd8d005444 100644 --- a/keyboards/aplyard/aplx6/rev2/info.json +++ b/keyboards/aplyard/aplx6/rev2/keyboard.json @@ -3,6 +3,17 @@ "pid": "0x0040", "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "unicode": true + }, "matrix_pins": { "cols": ["C6", "D7", "E6"], "rows": ["B4", "B5"] diff --git a/keyboards/aplyard/aplx6/rev2/rules.mk b/keyboards/aplyard/aplx6/rev2/rules.mk deleted file mode 100644 index bb653a97f2b..00000000000 --- a/keyboards/aplyard/aplx6/rev2/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -OLED_ENABLE = yes -ENCODER_ENABLE = yes # Enable Support for Encoder diff --git a/keyboards/ares/info.json b/keyboards/ares/keyboard.json similarity index 99% rename from keyboards/ares/info.json rename to keyboards/ares/keyboard.json index 125db97ed28..38945657027 100644 --- a/keyboards/ares/info.json +++ b/keyboards/ares/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/ares/rules.mk b/keyboards/ares/rules.mk deleted file mode 100644 index ce73d877e7d..00000000000 --- a/keyboards/ares/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/arisu/info.json b/keyboards/arisu/keyboard.json similarity index 96% rename from keyboards/arisu/info.json rename to keyboards/arisu/keyboard.json index 4e59c2c211a..af1cb819dc9 100644 --- a/keyboards/arisu/info.json +++ b/keyboards/arisu/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/arisu/rules.mk b/keyboards/arisu/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/arisu/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/arrayperipherals/1x4p1/info.json b/keyboards/arrayperipherals/1x4p1/keyboard.json similarity index 80% rename from keyboards/arrayperipherals/1x4p1/info.json rename to keyboards/arrayperipherals/1x4p1/keyboard.json index 6d450188c96..f9344e35380 100644 --- a/keyboards/arrayperipherals/1x4p1/info.json +++ b/keyboards/arrayperipherals/1x4p1/keyboard.json @@ -15,6 +15,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "direct": [ ["C7", "B7", "D6", "F5", "F7"] diff --git a/keyboards/arrayperipherals/1x4p1/rules.mk b/keyboards/arrayperipherals/1x4p1/rules.mk deleted file mode 100644 index 125977e0276..00000000000 --- a/keyboards/arrayperipherals/1x4p1/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/ash1800/info.json b/keyboards/ash1800/keyboard.json similarity index 97% rename from keyboards/ash1800/info.json rename to keyboards/ash1800/keyboard.json index 658e76962d8..9e60de6b343 100644 --- a/keyboards/ash1800/info.json +++ b/keyboards/ash1800/keyboard.json @@ -13,6 +13,14 @@ "scroll_lock": "F7", "on_state": 0 }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "B0", "B2", "B1", "B3", "B7", "C7"], "rows": ["C6", "B6", "B5", "B4", "D7", "D0", "D1", "D2", "D3", "D5", "D4", "D6"] diff --git a/keyboards/ash1800/rules.mk b/keyboards/ash1800/rules.mk deleted file mode 100644 index d1322df0ab6..00000000000 --- a/keyboards/ash1800/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ash_xiix/info.json b/keyboards/ash_xiix/keyboard.json similarity index 97% rename from keyboards/ash_xiix/info.json rename to keyboards/ash_xiix/keyboard.json index d9f99640354..d1e32efec13 100644 --- a/keyboards/ash_xiix/info.json +++ b/keyboards/ash_xiix/keyboard.json @@ -14,6 +14,14 @@ "scroll_lock": "F7", "on_state": 0 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "B0", "B2", "B1", "B3", "B7", "C7"], "rows": ["C6", "B6", "B5", "B4", "D7", "D0", "D1", "D2", "D3", "D5", "D4", "D6"] diff --git a/keyboards/ash_xiix/rules.mk b/keyboards/ash_xiix/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/ash_xiix/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atlas_65/info.json b/keyboards/atlas_65/keyboard.json similarity index 96% rename from keyboards/atlas_65/info.json rename to keyboards/atlas_65/keyboard.json index 5ed5466d472..896ecf6f20c 100644 --- a/keyboards/atlas_65/info.json +++ b/keyboards/atlas_65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/atlas_65/rules.mk b/keyboards/atlas_65/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/atlas_65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atomic/info.json b/keyboards/atomic/keyboard.json similarity index 97% rename from keyboards/atomic/info.json rename to keyboards/atomic/keyboard.json index 8635648ea03..cb4bddceae5 100644 --- a/keyboards/atomic/info.json +++ b/keyboards/atomic/keyboard.json @@ -7,6 +7,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7", "D3", "D2", "D1"], "rows": ["D0", "D5", "B5", "B6", "C6"] diff --git a/keyboards/atomic/rules.mk b/keyboards/atomic/rules.mk deleted file mode 100644 index 2b1de65bb47..00000000000 --- a/keyboards/atomic/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atreus62/info.json b/keyboards/atreus62/keyboard.json similarity index 96% rename from keyboards/atreus62/info.json rename to keyboards/atreus62/keyboard.json index d27f97ce974..5263e799df3 100644 --- a/keyboards/atreus62/info.json +++ b/keyboards/atreus62/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6062", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "unicode": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5", "B4", "E6", "D7", "C6"], "rows": ["D2", "D3", "D1", "D0", "D4"] diff --git a/keyboards/atreus62/rules.mk b/keyboards/atreus62/rules.mk deleted file mode 100644 index d1f7ba08156..00000000000 --- a/keyboards/atreus62/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -#BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/atset/at1/info.json b/keyboards/atset/at1/keyboard.json similarity index 74% rename from keyboards/atset/at1/info.json rename to keyboards/atset/at1/keyboard.json index 6948e6bc442..e8fa5f8b5fe 100644 --- a/keyboards/atset/at1/info.json +++ b/keyboards/atset/at1/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6"], "rows": ["D2"] diff --git a/keyboards/atset/at1/rules.mk b/keyboards/atset/at1/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/atset/at1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atset/at12/info.json b/keyboards/atset/at12/keyboard.json similarity index 86% rename from keyboards/atset/at12/info.json rename to keyboards/atset/at12/keyboard.json index c80f434460c..c15ff3f46ea 100644 --- a/keyboards/atset/at12/info.json +++ b/keyboards/atset/at12/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4"], "rows": ["D3", "D2", "D1", "D0"] diff --git a/keyboards/atset/at12/rules.mk b/keyboards/atset/at12/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/atset/at12/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atset/at16/info.json b/keyboards/atset/at16/keyboard.json similarity index 88% rename from keyboards/atset/at16/info.json rename to keyboards/atset/at16/keyboard.json index abe1745e7a3..0db5ad692c7 100644 --- a/keyboards/atset/at16/info.json +++ b/keyboards/atset/at16/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4", "B2"], "rows": ["D3", "D2", "D1", "D0"] diff --git a/keyboards/atset/at16/rules.mk b/keyboards/atset/at16/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/atset/at16/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atset/at3/info.json b/keyboards/atset/at3/keyboard.json similarity index 78% rename from keyboards/atset/at3/info.json rename to keyboards/atset/at3/keyboard.json index 959bbebce8a..171faf984a0 100644 --- a/keyboards/atset/at3/info.json +++ b/keyboards/atset/at3/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4"], "rows": ["D2"] diff --git a/keyboards/atset/at3/rules.mk b/keyboards/atset/at3/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/atset/at3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atset/at6/info.json b/keyboards/atset/at6/keyboard.json similarity index 82% rename from keyboards/atset/at6/info.json rename to keyboards/atset/at6/keyboard.json index bc8c770692d..c24611f8b74 100644 --- a/keyboards/atset/at6/info.json +++ b/keyboards/atset/at6/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4"], "rows": ["D2", "D1"] diff --git a/keyboards/atset/at6/rules.mk b/keyboards/atset/at6/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/atset/at6/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/atset/at9/info.json b/keyboards/atset/at9/keyboard.json similarity index 84% rename from keyboards/atset/at9/info.json rename to keyboards/atset/at9/keyboard.json index ee263e71bb3..35bdf95550e 100644 --- a/keyboards/atset/at9/info.json +++ b/keyboards/atset/at9/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4"], "rows": ["D2", "D1", "D0"] diff --git a/keyboards/atset/at9/rules.mk b/keyboards/atset/at9/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/atset/at9/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/aves60/info.json b/keyboards/aves60/keyboard.json similarity index 99% rename from keyboards/aves60/info.json rename to keyboards/aves60/keyboard.json index 111fcab3bdc..fce12cd9f73 100644 --- a/keyboards/aves60/info.json +++ b/keyboards/aves60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xD408", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B2", "B3", "D0", "D1", "D2", "D3", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F6", "F7", "F5", "F1", "F4"] diff --git a/keyboards/aves60/rules.mk b/keyboards/aves60/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/aves60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/aves65/info.json b/keyboards/aves65/keyboard.json similarity index 99% rename from keyboards/aves65/info.json rename to keyboards/aves65/keyboard.json index 44299f80c50..fba7dcaf387 100644 --- a/keyboards/aves65/info.json +++ b/keyboards/aves65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x9038", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "B5", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6"], "rows": ["D4", "D6", "D7", "B4", "E6"] diff --git a/keyboards/aves65/rules.mk b/keyboards/aves65/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/aves65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/axolstudio/foundation_gamma/info.json b/keyboards/axolstudio/foundation_gamma/keyboard.json similarity index 98% rename from keyboards/axolstudio/foundation_gamma/info.json rename to keyboards/axolstudio/foundation_gamma/keyboard.json index 230f0cef434..86ba316268c 100644 --- a/keyboards/axolstudio/foundation_gamma/info.json +++ b/keyboards/axolstudio/foundation_gamma/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE3EB", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "B3", "F4", "F1", "F0"], "rows": ["B2", "B1", "B0", "F7", "F6", "F5"] diff --git a/keyboards/axolstudio/foundation_gamma/rules.mk b/keyboards/axolstudio/foundation_gamma/rules.mk deleted file mode 100644 index f84fabb7665..00000000000 --- a/keyboards/axolstudio/foundation_gamma/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/axolstudio/yeti/soldered/info.json b/keyboards/axolstudio/yeti/soldered/keyboard.json similarity index 98% rename from keyboards/axolstudio/yeti/soldered/info.json rename to keyboards/axolstudio/yeti/soldered/keyboard.json index a2b3097716b..9edb8083305 100644 --- a/keyboards/axolstudio/yeti/soldered/info.json +++ b/keyboards/axolstudio/yeti/soldered/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x9F9F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "F1", "F0", "F7", "D7", "D6", "D4", "B3", "B7", "D0", "D1", "D2", "D3", "D5"], "rows": ["C7", "C6", "B6", "B5", "B4"] diff --git a/keyboards/axolstudio/yeti/soldered/rules.mk b/keyboards/axolstudio/yeti/soldered/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/axolstudio/yeti/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/b_sides/rev41lp/info.json b/keyboards/b_sides/rev41lp/keyboard.json similarity index 93% rename from keyboards/b_sides/rev41lp/info.json rename to keyboards/b_sides/rev41lp/keyboard.json index 9d121083bd4..75c7affbf5e 100644 --- a/keyboards/b_sides/rev41lp/info.json +++ b/keyboards/b_sides/rev41lp/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5F10", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "B2", "F5", "B3", "F6", "B1", "F7"] diff --git a/keyboards/b_sides/rev41lp/rules.mk b/keyboards/b_sides/rev41lp/rules.mk deleted file mode 100644 index a2444417d6c..00000000000 --- a/keyboards/b_sides/rev41lp/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/bacca70/info.json b/keyboards/bacca70/keyboard.json similarity index 98% rename from keyboards/bacca70/info.json rename to keyboards/bacca70/keyboard.json index 143c19d987b..c192fb0eb23 100644 --- a/keyboards/bacca70/info.json +++ b/keyboards/bacca70/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6970", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "B12", "B13", "B14", "B15", "A8"], "rows": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "A9", "A10"] diff --git a/keyboards/bacca70/rules.mk b/keyboards/bacca70/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/bacca70/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/baguette/info.json b/keyboards/baguette/keyboard.json similarity index 97% rename from keyboards/baguette/info.json rename to keyboards/baguette/keyboard.json index 0a008f45faf..f6797dd9390 100644 --- a/keyboards/baguette/info.json +++ b/keyboards/baguette/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5050", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B0", "D0", "D1", "D2", "D3", "D5", "D4"], "rows": ["B3", "B2", "B1", "E6", "D6"] diff --git a/keyboards/baguette/rules.mk b/keyboards/baguette/rules.mk deleted file mode 100644 index a949e5d4d9a..00000000000 --- a/keyboards/baguette/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/bantam44/info.json b/keyboards/bantam44/keyboard.json similarity index 94% rename from keyboards/bantam44/info.json rename to keyboards/bantam44/keyboard.json index 62713f82d77..2a884c2524e 100644 --- a/keyboards/bantam44/info.json +++ b/keyboards/bantam44/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "B6", "F7", "F6", "F5", "F4", "F1"], "rows": ["F0", "D6", "D4", "D5"] diff --git a/keyboards/bantam44/rules.mk b/keyboards/bantam44/rules.mk deleted file mode 100644 index 34dd06e002a..00000000000 --- a/keyboards/bantam44/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality diff --git a/keyboards/barracuda/info.json b/keyboards/barracuda/keyboard.json similarity index 92% rename from keyboards/barracuda/info.json rename to keyboards/barracuda/keyboard.json index 3b68e6e3f3b..56cf8f08bb3 100644 --- a/keyboards/barracuda/info.json +++ b/keyboards/barracuda/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "D5", "D6", "B0", "B1", "B2"], "rows": ["C4", "C5", "C6", "D1", "D2", "D3"] diff --git a/keyboards/barracuda/rules.mk b/keyboards/barracuda/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/barracuda/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/basekeys/trifecta/info.json b/keyboards/basekeys/trifecta/keyboard.json similarity index 96% rename from keyboards/basekeys/trifecta/info.json rename to keyboards/basekeys/trifecta/keyboard.json index d9afe40a0c9..8777b1ffa9d 100644 --- a/keyboards/basekeys/trifecta/info.json +++ b/keyboards/basekeys/trifecta/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xEAF3", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "D1", "B2", "D0", "B3"], "rows": ["B0", "B7", "F7", "B1", "B6", "C6", "C7", "B5", "F6", "D2"] diff --git a/keyboards/basekeys/trifecta/rules.mk b/keyboards/basekeys/trifecta/rules.mk deleted file mode 100644 index 3989cc05ff0..00000000000 --- a/keyboards/basekeys/trifecta/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/beatervan/info.json b/keyboards/beatervan/keyboard.json similarity index 98% rename from keyboards/beatervan/info.json rename to keyboards/beatervan/keyboard.json index 8d4c77d2ce3..4828127d14b 100644 --- a/keyboards/beatervan/info.json +++ b/keyboards/beatervan/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6276", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5", "F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D1", "D0", "D4", "C6"] diff --git a/keyboards/beatervan/rules.mk b/keyboards/beatervan/rules.mk deleted file mode 100644 index 5cc6e14a93b..00000000000 --- a/keyboards/beatervan/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -UNICODE_ENABLE = yes # Unicode -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/bfake/info.json b/keyboards/bfake/keyboard.json similarity index 97% rename from keyboards/bfake/info.json rename to keyboards/bfake/keyboard.json index 3aae216047f..4774e282d7a 100644 --- a/keyboards/bfake/info.json +++ b/keyboards/bfake/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/bfake/rules.mk b/keyboards/bfake/rules.mk deleted file mode 100644 index 90550484a66..00000000000 --- a/keyboards/bfake/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = no diff --git a/keyboards/biacco42/meishi/info.json b/keyboards/biacco42/meishi/keyboard.json similarity index 79% rename from keyboards/biacco42/meishi/info.json rename to keyboards/biacco42/meishi/keyboard.json index 96e67d50783..d9d37d72fe4 100644 --- a/keyboards/biacco42/meishi/info.json +++ b/keyboards/biacco42/meishi/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B1", "B3", "B2", "B6"], "rows": ["B5"] diff --git a/keyboards/biacco42/meishi/rules.mk b/keyboards/biacco42/meishi/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/biacco42/meishi/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/biacco42/meishi2/info.json b/keyboards/biacco42/meishi2/keyboard.json similarity index 80% rename from keyboards/biacco42/meishi2/info.json rename to keyboards/biacco42/meishi2/keyboard.json index fb883569680..3a392442f24 100644 --- a/keyboards/biacco42/meishi2/info.json +++ b/keyboards/biacco42/meishi2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5", "F6"], "rows": ["D7", "E6"] diff --git a/keyboards/biacco42/meishi2/rules.mk b/keyboards/biacco42/meishi2/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/biacco42/meishi2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/binepad/bn003/info.json b/keyboards/binepad/bn003/keyboard.json similarity index 79% rename from keyboards/binepad/bn003/info.json rename to keyboards/binepad/bn003/keyboard.json index 408e670b957..695518828ec 100644 --- a/keyboards/binepad/bn003/info.json +++ b/keyboards/binepad/bn003/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4287", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B4", "B5", "B6"], "rows": ["C6"] diff --git a/keyboards/binepad/bn003/rules.mk b/keyboards/binepad/bn003/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/binepad/bn003/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/bioi/f60/info.json b/keyboards/bioi/f60/keyboard.json similarity index 99% rename from keyboards/bioi/f60/info.json rename to keyboards/bioi/f60/keyboard.json index 6223ba7b579..9adbb2f48ab 100644 --- a/keyboards/bioi/f60/info.json +++ b/keyboards/bioi/f60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4660", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D0", "D1"], "rows": ["B0", "E6", "F1", "F5", "F4"] diff --git a/keyboards/bioi/f60/rules.mk b/keyboards/bioi/f60/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/bioi/f60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/blackplum/info.json b/keyboards/blackplum/keyboard.json similarity index 96% rename from keyboards/blackplum/info.json rename to keyboards/blackplum/keyboard.json index ba93091bcc6..d17bc378321 100644 --- a/keyboards/blackplum/info.json +++ b/keyboards/blackplum/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "C7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "F7", "F6", "F5", "F4", "F1"], "rows": ["C6", "B6", "B4", "B5", "D6", "D7", "D5", "D3", "D4"] diff --git a/keyboards/blackplum/rules.mk b/keyboards/blackplum/rules.mk deleted file mode 100644 index 817d092c27c..00000000000 --- a/keyboards/blackplum/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/blank/blank01/info.json b/keyboards/blank/blank01/keyboard.json similarity index 97% rename from keyboards/blank/blank01/info.json rename to keyboards/blank/blank01/keyboard.json index 13b49715460..5dfa7e67ecc 100644 --- a/keyboards/blank/blank01/info.json +++ b/keyboards/blank/blank01/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4B01", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B5", "B4", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["D0", "D1", "D2", "D3", "B3"] diff --git a/keyboards/blank/blank01/rules.mk b/keyboards/blank/blank01/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/blank/blank01/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/blaster75/info.json b/keyboards/blaster75/keyboard.json similarity index 98% rename from keyboards/blaster75/info.json rename to keyboards/blaster75/keyboard.json index 406de750283..81cc789da6a 100644 --- a/keyboards/blaster75/info.json +++ b/keyboards/blaster75/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB075", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B4", "B5", "B6", "B7", "C6", "C7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/blaster75/rules.mk b/keyboards/blaster75/rules.mk deleted file mode 100644 index 997fedb0b17..00000000000 --- a/keyboards/blaster75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/blockey/info.json b/keyboards/blockey/keyboard.json similarity index 95% rename from keyboards/blockey/info.json rename to keyboards/blockey/keyboard.json index 2ed60f6e69a..0c150420dc9 100644 --- a/keyboards/blockey/info.json +++ b/keyboards/blockey/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "B1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "B4", "C6", "D7", "F4", "F5", "F7"], "rows": ["D3", "D1", "D4", "E6", "B5", "D2", "F6", "B3", "B2", "B6"] diff --git a/keyboards/blockey/rules.mk b/keyboards/blockey/rules.mk deleted file mode 100644 index 08022075e7f..00000000000 --- a/keyboards/blockey/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output - -RGBLIGHT_ENABLE = yes diff --git a/keyboards/boardrun/bizarre/info.json b/keyboards/boardrun/bizarre/keyboard.json similarity index 98% rename from keyboards/boardrun/bizarre/info.json rename to keyboards/boardrun/bizarre/keyboard.json index 428ca3bac60..6901f93625d 100644 --- a/keyboards/boardrun/bizarre/info.json +++ b/keyboards/boardrun/bizarre/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "B3", "B2", "B1"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/boardrun/bizarre/rules.mk b/keyboards/boardrun/bizarre/rules.mk deleted file mode 100644 index e027898b626..00000000000 --- a/keyboards/boardrun/bizarre/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/boardrun/classic/info.json b/keyboards/boardrun/classic/keyboard.json similarity index 96% rename from keyboards/boardrun/classic/info.json rename to keyboards/boardrun/classic/keyboard.json index 4518961b4ae..cd83ef58f06 100644 --- a/keyboards/boardrun/classic/info.json +++ b/keyboards/boardrun/classic/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "B3", "B2", "B1"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/boardrun/classic/rules.mk b/keyboards/boardrun/classic/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/boardrun/classic/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/boardwalk/info.json b/keyboards/boardwalk/keyboard.json similarity index 99% rename from keyboards/boardwalk/info.json rename to keyboards/boardwalk/keyboard.json index 82b8fb23e40..8c4ad37eb09 100644 --- a/keyboards/boardwalk/info.json +++ b/keyboards/boardwalk/keyboard.json @@ -29,6 +29,16 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/boardwalk/rules.mk b/keyboards/boardwalk/rules.mk deleted file mode 100644 index bca0082d2ed..00000000000 --- a/keyboards/boardwalk/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. diff --git a/keyboards/bobpad/info.json b/keyboards/bobpad/keyboard.json similarity index 84% rename from keyboards/bobpad/info.json rename to keyboards/bobpad/keyboard.json index eb6a25104be..feddbbf222f 100644 --- a/keyboards/bobpad/info.json +++ b/keyboards/bobpad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "F4"], "rows": ["F7", "B1"] diff --git a/keyboards/bobpad/rules.mk b/keyboards/bobpad/rules.mk deleted file mode 100644 index 453f0a34d38..00000000000 --- a/keyboards/bobpad/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/bolsa/bolsalice/info.json b/keyboards/bolsa/bolsalice/keyboard.json similarity index 97% rename from keyboards/bolsa/bolsalice/info.json rename to keyboards/bolsa/bolsalice/keyboard.json index 51e342b10b3..8ada9b55461 100644 --- a/keyboards/bolsa/bolsalice/info.json +++ b/keyboards/bolsa/bolsalice/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "B1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], "rows": ["B2", "B3", "C7", "C6", "B5"] diff --git a/keyboards/bolsa/bolsalice/rules.mk b/keyboards/bolsa/bolsalice/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/bolsa/bolsalice/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/bolsa/damapad/info.json b/keyboards/bolsa/damapad/keyboard.json similarity index 91% rename from keyboards/bolsa/damapad/info.json rename to keyboards/bolsa/damapad/keyboard.json index 2a3867c6d5c..5a47d123229 100644 --- a/keyboards/bolsa/damapad/info.json +++ b/keyboards/bolsa/damapad/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6470", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "B7"], "rows": ["E6", "F7", "C7"] diff --git a/keyboards/bolsa/damapad/rules.mk b/keyboards/bolsa/damapad/rules.mk deleted file mode 100644 index 9c75f75d52d..00000000000 --- a/keyboards/bolsa/damapad/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/bop/info.json b/keyboards/bop/keyboard.json similarity index 97% rename from keyboards/bop/info.json rename to keyboards/bop/keyboard.json index f7ae94b3bee..81bbbf33f08 100644 --- a/keyboards/bop/info.json +++ b/keyboards/bop/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x626F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "C5", "B0", "B1", "B2", "B3", "B4", "B5", "B6", "E7", "E6", "F0", "F7", "F6", "F5", "F4", "F3", "F2", "F1", "C6"], "rows": ["B7", "D0", "D1", "D2", "D3", "D4"] diff --git a/keyboards/bop/rules.mk b/keyboards/bop/rules.mk deleted file mode 100644 index 1eca777d610..00000000000 --- a/keyboards/bop/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SWAP_HANDS_ENABLE = no diff --git a/keyboards/boston/info.json b/keyboards/boston/keyboard.json similarity index 99% rename from keyboards/boston/info.json rename to keyboards/boston/keyboard.json index 39c5a7c160d..1960df6d45f 100644 --- a/keyboards/boston/info.json +++ b/keyboards/boston/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x4176", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B3", "B4", "B7", "B8", "B9", "C14", "C15", "F0", "A3"], "rows": ["B5", "B6", "A7", "B0", "B1", "B2", "A4"] diff --git a/keyboards/boston/rules.mk b/keyboards/boston/rules.mk deleted file mode 100644 index 80d17a2dfd1..00000000000 --- a/keyboards/boston/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - diff --git a/keyboards/botanicalkeyboards/fm2u/info.json b/keyboards/botanicalkeyboards/fm2u/keyboard.json similarity index 93% rename from keyboards/botanicalkeyboards/fm2u/info.json rename to keyboards/botanicalkeyboards/fm2u/keyboard.json index 3f9009625d9..907d5d46b87 100644 --- a/keyboards/botanicalkeyboards/fm2u/info.json +++ b/keyboards/botanicalkeyboards/fm2u/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u2", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "direct": [ ["C4"] diff --git a/keyboards/botanicalkeyboards/fm2u/rules.mk b/keyboards/botanicalkeyboards/fm2u/rules.mk deleted file mode 100644 index 6ff9b4e02ba..00000000000 --- a/keyboards/botanicalkeyboards/fm2u/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/box75/info.json b/keyboards/box75/keyboard.json similarity index 96% rename from keyboards/box75/info.json rename to keyboards/box75/keyboard.json index 35689400f7c..8932f81ae72 100644 --- a/keyboards/box75/info.json +++ b/keyboards/box75/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB075", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A8", "B15", "B14", "B13", "A15"], "rows": ["A10", "A9", "B12", "A2", "A1", "A0"] diff --git a/keyboards/box75/rules.mk b/keyboards/box75/rules.mk deleted file mode 100644 index 5b6b0c92991..00000000000 --- a/keyboards/box75/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no - diff --git a/keyboards/bpiphany/four_banger/info.json b/keyboards/bpiphany/four_banger/keyboard.json similarity index 85% rename from keyboards/bpiphany/four_banger/info.json rename to keyboards/bpiphany/four_banger/keyboard.json index e267922ab88..24620506849 100644 --- a/keyboards/bpiphany/four_banger/info.json +++ b/keyboards/bpiphany/four_banger/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4"], "rows": ["B2", "B6"] diff --git a/keyboards/bpiphany/four_banger/rules.mk b/keyboards/bpiphany/four_banger/rules.mk deleted file mode 100644 index 21fd8f40ee0..00000000000 --- a/keyboards/bpiphany/four_banger/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/bpiphany/sixshooter/info.json b/keyboards/bpiphany/sixshooter/keyboard.json similarity index 82% rename from keyboards/bpiphany/sixshooter/info.json rename to keyboards/bpiphany/sixshooter/keyboard.json index 9705eb2f186..21e52f3629e 100644 --- a/keyboards/bpiphany/sixshooter/info.json +++ b/keyboards/bpiphany/sixshooter/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u4", "bootloader": "halfkay", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["F7", "F6", "F1"], diff --git a/keyboards/bpiphany/sixshooter/rules.mk b/keyboards/bpiphany/sixshooter/rules.mk deleted file mode 100644 index 315dc5de534..00000000000 --- a/keyboards/bpiphany/sixshooter/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/bthlabs/geekpad/info.json b/keyboards/bthlabs/geekpad/keyboard.json similarity index 85% rename from keyboards/bthlabs/geekpad/info.json rename to keyboards/bthlabs/geekpad/keyboard.json index 5c193f9f85e..43ce11edf51 100644 --- a/keyboards/bthlabs/geekpad/info.json +++ b/keyboards/bthlabs/geekpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4257", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "D0", "D1"], "rows": ["F4", "F5", "F6"] diff --git a/keyboards/bthlabs/geekpad/rules.mk b/keyboards/bthlabs/geekpad/rules.mk deleted file mode 100644 index 4d82dff69aa..00000000000 --- a/keyboards/bthlabs/geekpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/buildakb/potato65/info.json b/keyboards/buildakb/potato65/keyboard.json similarity index 98% rename from keyboards/buildakb/potato65/info.json rename to keyboards/buildakb/potato65/keyboard.json index 7fee44a1cea..1aeba49bde2 100644 --- a/keyboards/buildakb/potato65/info.json +++ b/keyboards/buildakb/potato65/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/buildakb/potato65/rules.mk b/keyboards/buildakb/potato65/rules.mk deleted file mode 100644 index abd8c0135a9..00000000000 --- a/keyboards/buildakb/potato65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/buildakb/potato65hs/info.json b/keyboards/buildakb/potato65hs/keyboard.json similarity index 96% rename from keyboards/buildakb/potato65hs/info.json rename to keyboards/buildakb/potato65hs/keyboard.json index 2b6a22179eb..61ecd61a150 100644 --- a/keyboards/buildakb/potato65hs/info.json +++ b/keyboards/buildakb/potato65hs/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D3", "D4", "D6", "D7", "B4", "B5", "B6", "F1", "B0", "B1", "B2", "B3", "B7", "D0", "D1"], "rows": ["F5", "F4", "F6", "F0", "D2"] diff --git a/keyboards/buildakb/potato65hs/rules.mk b/keyboards/buildakb/potato65hs/rules.mk deleted file mode 100644 index 0ce88ac19eb..00000000000 --- a/keyboards/buildakb/potato65hs/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/buildakb/potato65s/info.json b/keyboards/buildakb/potato65s/keyboard.json similarity index 99% rename from keyboards/buildakb/potato65s/info.json rename to keyboards/buildakb/potato65s/keyboard.json index fcd6cbf56f1..915f9674268 100644 --- a/keyboards/buildakb/potato65s/info.json +++ b/keyboards/buildakb/potato65s/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D3", "D4", "D6", "D7", "B4", "B5", "B6", "F1", "B0", "B1", "B2", "B3", "B7", "D0", "D1"], "rows": ["F5", "F4", "F6", "F0", "D2"] diff --git a/keyboards/buildakb/potato65s/rules.mk b/keyboards/buildakb/potato65s/rules.mk deleted file mode 100644 index 0ce88ac19eb..00000000000 --- a/keyboards/buildakb/potato65s/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/cablecardesigns/cypher/rev6/info.json b/keyboards/cablecardesigns/cypher/rev6/keyboard.json similarity index 98% rename from keyboards/cablecardesigns/cypher/rev6/info.json rename to keyboards/cablecardesigns/cypher/rev6/keyboard.json index 9bc6e26814b..57bd4356351 100644 --- a/keyboards/cablecardesigns/cypher/rev6/info.json +++ b/keyboards/cablecardesigns/cypher/rev6/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xAA99", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "D7", "B4", "B5", "B6", "B7", "B3", "B2", "B1", "F0"], "rows": ["B0", "F1", "F5", "F6", "F7", "D1", "F4", "D4", "C6", "C7"] diff --git a/keyboards/cablecardesigns/cypher/rev6/rules.mk b/keyboards/cablecardesigns/cypher/rev6/rules.mk deleted file mode 100644 index d9c776a9b1d..00000000000 --- a/keyboards/cablecardesigns/cypher/rev6/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/caffeinated/serpent65/info.json b/keyboards/caffeinated/serpent65/keyboard.json similarity index 99% rename from keyboards/caffeinated/serpent65/info.json rename to keyboards/caffeinated/serpent65/keyboard.json index e4cc62c61ea..f8c7a90ce9f 100644 --- a/keyboards/caffeinated/serpent65/info.json +++ b/keyboards/caffeinated/serpent65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6501", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "B14", "B15", "A8", "A9"], "rows": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "B13", "B12"] diff --git a/keyboards/caffeinated/serpent65/rules.mk b/keyboards/caffeinated/serpent65/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/caffeinated/serpent65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cannonkeys/adelie/info.json b/keyboards/cannonkeys/adelie/keyboard.json similarity index 98% rename from keyboards/cannonkeys/adelie/info.json rename to keyboards/cannonkeys/adelie/keyboard.json index 798c5996926..f4d46b35d16 100644 --- a/keyboards/cannonkeys/adelie/info.json +++ b/keyboards/cannonkeys/adelie/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "F0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "B2"], "rows": ["F4", "F1", "B1", "B0"] diff --git a/keyboards/cannonkeys/adelie/rules.mk b/keyboards/cannonkeys/adelie/rules.mk deleted file mode 100644 index 6d85e16f920..00000000000 --- a/keyboards/cannonkeys/adelie/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cannonkeys/atlas/info.json b/keyboards/cannonkeys/atlas/keyboard.json similarity index 97% rename from keyboards/cannonkeys/atlas/info.json rename to keyboards/cannonkeys/atlas/keyboard.json index 8173ec6a8fa..86eaec2d519 100644 --- a/keyboards/cannonkeys/atlas/info.json +++ b/keyboards/cannonkeys/atlas/keyboard.json @@ -27,6 +27,15 @@ "pin": "B15", "driver": "spi" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "B9", "A15", "A10", "A9"], "rows": ["A8", "B14", "B12", "B4", "B3"] diff --git a/keyboards/cannonkeys/atlas/rules.mk b/keyboards/cannonkeys/atlas/rules.mk deleted file mode 100644 index 451e1c675c9..00000000000 --- a/keyboards/cannonkeys/atlas/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/cannonkeys/atlas_alps/info.json b/keyboards/cannonkeys/atlas_alps/keyboard.json similarity index 95% rename from keyboards/cannonkeys/atlas_alps/info.json rename to keyboards/cannonkeys/atlas_alps/keyboard.json index 7166206f051..6f8c1305c38 100644 --- a/keyboards/cannonkeys/atlas_alps/info.json +++ b/keyboards/cannonkeys/atlas_alps/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "C6", "D2", "E6", "C7", "B3", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B5", "B4", "D1", "D7", "D6"] diff --git a/keyboards/cannonkeys/atlas_alps/rules.mk b/keyboards/cannonkeys/atlas_alps/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/cannonkeys/atlas_alps/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cannonkeys/chimera65/info.json b/keyboards/cannonkeys/chimera65/keyboard.json similarity index 95% rename from keyboards/cannonkeys/chimera65/info.json rename to keyboards/cannonkeys/chimera65/keyboard.json index e9881750d9c..7cf30d2ea7b 100644 --- a/keyboards/cannonkeys/chimera65/info.json +++ b/keyboards/cannonkeys/chimera65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xC024", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "A5", "A4", "A3", "A2", "A1", "F0", "C15", "C14", "A9", "A8", "A10", "B3"], "rows": ["A13", "A14", "A15", "C13", "B8"] diff --git a/keyboards/cannonkeys/chimera65/rules.mk b/keyboards/cannonkeys/chimera65/rules.mk deleted file mode 100644 index 9bdf6b80937..00000000000 --- a/keyboards/cannonkeys/chimera65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = no - - diff --git a/keyboards/cannonkeys/hoodrowg/info.json b/keyboards/cannonkeys/hoodrowg/keyboard.json similarity index 99% rename from keyboards/cannonkeys/hoodrowg/info.json rename to keyboards/cannonkeys/hoodrowg/keyboard.json index 1c1fbf59647..231b67e244f 100644 --- a/keyboards/cannonkeys/hoodrowg/info.json +++ b/keyboards/cannonkeys/hoodrowg/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4", "D7", "F5", "F6", "F7", "F4", "D2", "D0"], "rows": ["E6", "B7", "B0", "B1", "F1", "F0", "C6", "C7", "D4", "D6", "D5", "D3"] diff --git a/keyboards/cannonkeys/hoodrowg/rules.mk b/keyboards/cannonkeys/hoodrowg/rules.mk deleted file mode 100644 index b483118606d..00000000000 --- a/keyboards/cannonkeys/hoodrowg/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cannonkeys/iron165/info.json b/keyboards/cannonkeys/iron165/keyboard.json similarity index 95% rename from keyboards/cannonkeys/iron165/info.json rename to keyboards/cannonkeys/iron165/keyboard.json index 3ec67e95b60..bc0c6af503b 100644 --- a/keyboards/cannonkeys/iron165/info.json +++ b/keyboards/cannonkeys/iron165/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5165", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A5", "B10", "A3", "A2", "B0", "A8", "C13", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"], "rows": ["B12", "B13", "B14", "B15", "A1"] diff --git a/keyboards/cannonkeys/iron165/rules.mk b/keyboards/cannonkeys/iron165/rules.mk deleted file mode 100644 index 9bdf6b80937..00000000000 --- a/keyboards/cannonkeys/iron165/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = no - - diff --git a/keyboards/cannonkeys/nearfield/info.json b/keyboards/cannonkeys/nearfield/keyboard.json similarity index 98% rename from keyboards/cannonkeys/nearfield/info.json rename to keyboards/cannonkeys/nearfield/keyboard.json index ab3a2d765dc..e516198f09e 100644 --- a/keyboards/cannonkeys/nearfield/info.json +++ b/keyboards/cannonkeys/nearfield/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D5", "C6", "C7", "B6", "B5", "B7", "F0", "F1", "F4", "F5", "F6", "F7", "B3", "B2", "D1"], "rows": ["B4", "D2", "D4", "D6", "D7"] diff --git a/keyboards/cannonkeys/nearfield/rules.mk b/keyboards/cannonkeys/nearfield/rules.mk deleted file mode 100755 index 3b6a1809db1..00000000000 --- a/keyboards/cannonkeys/nearfield/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cannonkeys/ortho48/info.json b/keyboards/cannonkeys/ortho48/keyboard.json similarity index 96% rename from keyboards/cannonkeys/ortho48/info.json rename to keyboards/cannonkeys/ortho48/keyboard.json index c995210ba4e..1f35187e291 100644 --- a/keyboards/cannonkeys/ortho48/info.json +++ b/keyboards/cannonkeys/ortho48/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x4F48", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B11", "B10", "B1", "B0", "A7", "A6", "A5", "B14", "A15", "A0", "C15", "C14"], "rows": ["B12", "C13", "A2", "A1"] diff --git a/keyboards/cannonkeys/ortho48/rules.mk b/keyboards/cannonkeys/ortho48/rules.mk deleted file mode 100644 index 7b6ddd5ad36..00000000000 --- a/keyboards/cannonkeys/ortho48/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -SLEEP_LED_ENABLE = yes - diff --git a/keyboards/cannonkeys/ortho60/info.json b/keyboards/cannonkeys/ortho60/keyboard.json similarity index 96% rename from keyboards/cannonkeys/ortho60/info.json rename to keyboards/cannonkeys/ortho60/keyboard.json index 18fcbc828be..f429bd9f405 100644 --- a/keyboards/cannonkeys/ortho60/info.json +++ b/keyboards/cannonkeys/ortho60/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x4F60", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B11", "B10", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0"], "rows": ["B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/cannonkeys/ortho60/rules.mk b/keyboards/cannonkeys/ortho60/rules.mk deleted file mode 100644 index 7b6ddd5ad36..00000000000 --- a/keyboards/cannonkeys/ortho60/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -SLEEP_LED_ENABLE = yes - diff --git a/keyboards/cannonkeys/ortho75/info.json b/keyboards/cannonkeys/ortho75/keyboard.json similarity index 95% rename from keyboards/cannonkeys/ortho75/info.json rename to keyboards/cannonkeys/ortho75/keyboard.json index 1f9fa940865..236334c5985 100644 --- a/keyboards/cannonkeys/ortho75/info.json +++ b/keyboards/cannonkeys/ortho75/keyboard.json @@ -8,6 +8,18 @@ "pid": "0x6464", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B11", "B10", "B1", "B0", "A7", "A6", "A5", "B14", "A15", "A0", "C15", "C14", "B7", "B6", "B5"], "rows": ["B12", "C13", "A2", "A1", "A3"] diff --git a/keyboards/cannonkeys/ortho75/rules.mk b/keyboards/cannonkeys/ortho75/rules.mk deleted file mode 100644 index 5a1f61bac05..00000000000 --- a/keyboards/cannonkeys/ortho75/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -SLEEP_LED_ENABLE = yes -ENCODER_ENABLE = yes - diff --git a/keyboards/cannonkeys/practice65/info.json b/keyboards/cannonkeys/practice65/keyboard.json similarity index 95% rename from keyboards/cannonkeys/practice65/info.json rename to keyboards/cannonkeys/practice65/keyboard.json index f86951bf5c9..950d1bae9ff 100644 --- a/keyboards/cannonkeys/practice65/info.json +++ b/keyboards/cannonkeys/practice65/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x6565", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B8", "B0", "A0", "B5", "B10", "B9", "A6", "B12", "A7", "A5", "A4", "A3", "A2", "A1", "B13", "B14"], "rows": ["B4", "B11", "B1", "B7", "B6"] diff --git a/keyboards/cannonkeys/practice65/rules.mk b/keyboards/cannonkeys/practice65/rules.mk deleted file mode 100644 index 7b6ddd5ad36..00000000000 --- a/keyboards/cannonkeys/practice65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -SLEEP_LED_ENABLE = yes - diff --git a/keyboards/capsunlocked/cu24/info.json b/keyboards/capsunlocked/cu24/keyboard.json similarity index 93% rename from keyboards/capsunlocked/cu24/info.json rename to keyboards/capsunlocked/cu24/keyboard.json index f5d56e383ed..c3c262734d9 100644 --- a/keyboards/capsunlocked/cu24/info.json +++ b/keyboards/capsunlocked/cu24/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "D0", "D1"], "rows": ["E6", "F5", "B4", "B6", "C6", "C7"] diff --git a/keyboards/capsunlocked/cu24/rules.mk b/keyboards/capsunlocked/cu24/rules.mk deleted file mode 100644 index 0dc735b9cd9..00000000000 --- a/keyboards/capsunlocked/cu24/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # RGB drivers diff --git a/keyboards/capsunlocked/cu65/info.json b/keyboards/capsunlocked/cu65/keyboard.json similarity index 98% rename from keyboards/capsunlocked/cu65/info.json rename to keyboards/capsunlocked/cu65/keyboard.json index 71b7fe0a9fc..eabb7694688 100644 --- a/keyboards/capsunlocked/cu65/info.json +++ b/keyboards/capsunlocked/cu65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0065", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D6", "D7", "D4", "B4", "B5", "B6", "C6", "D5", "C7", "F0", "E6", "B0", "B1", "B7", "B3", "B2"], "rows": ["F1", "F4", "F5", "F6", "D3"] diff --git a/keyboards/capsunlocked/cu65/rules.mk b/keyboards/capsunlocked/cu65/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/capsunlocked/cu65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/capsunlocked/cu7/info.json b/keyboards/capsunlocked/cu7/keyboard.json similarity index 86% rename from keyboards/capsunlocked/cu7/info.json rename to keyboards/capsunlocked/cu7/keyboard.json index 06deeacd692..6f96c00e50b 100644 --- a/keyboards/capsunlocked/cu7/info.json +++ b/keyboards/capsunlocked/cu7/keyboard.json @@ -28,6 +28,16 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F7", "F4"], "rows": ["D7", "F0", "F6"] diff --git a/keyboards/capsunlocked/cu7/rules.mk b/keyboards/capsunlocked/cu7/rules.mk deleted file mode 100644 index c5c4d8f35f1..00000000000 --- a/keyboards/capsunlocked/cu7/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/capsunlocked/cu80/v1/info.json b/keyboards/capsunlocked/cu80/v1/keyboard.json similarity index 98% rename from keyboards/capsunlocked/cu80/v1/info.json rename to keyboards/capsunlocked/cu80/v1/keyboard.json index 34b4e3c95eb..a5379a45cc9 100644 --- a/keyboards/capsunlocked/cu80/v1/info.json +++ b/keyboards/capsunlocked/cu80/v1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "F1", "F0", "C7", "C6", "B6", "B0", "E6", "B7", "B3", "B2", "D2", "D3", "D5", "D4"], "rows": ["B1", "B5", "B4", "F7", "D7", "D6"] diff --git a/keyboards/capsunlocked/cu80/v1/rules.mk b/keyboards/capsunlocked/cu80/v1/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/capsunlocked/cu80/v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/carbo65/info.json b/keyboards/carbo65/keyboard.json similarity index 96% rename from keyboards/carbo65/info.json rename to keyboards/carbo65/keyboard.json index c1a331d7be5..f2a4ce0dac9 100644 --- a/keyboards/carbo65/info.json +++ b/keyboards/carbo65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4336", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A1", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "B2", "B10", "B11", "B12", "B13", "B14", "B15"], "rows": ["A2", "B9", "B8", "B5", "B4"] diff --git a/keyboards/carbo65/rules.mk b/keyboards/carbo65/rules.mk deleted file mode 100644 index d3ca7b060e1..00000000000 --- a/keyboards/carbo65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/catch22/info.json b/keyboards/catch22/keyboard.json similarity index 91% rename from keyboards/catch22/info.json rename to keyboards/catch22/keyboard.json index baaee6ca98f..3c1d9c57779 100644 --- a/keyboards/catch22/info.json +++ b/keyboards/catch22/keyboard.json @@ -24,6 +24,15 @@ "ws2812": { "pin": "F6" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6"], "rows": ["B6", "B2", "B3", "B1", "F7"] diff --git a/keyboards/catch22/rules.mk b/keyboards/catch22/rules.mk deleted file mode 100644 index f258c568578..00000000000 --- a/keyboards/catch22/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port. diff --git a/keyboards/cest73/tkm/info.json b/keyboards/cest73/tkm/keyboard.json similarity index 99% rename from keyboards/cest73/tkm/info.json rename to keyboards/cest73/tkm/keyboard.json index 6447189b936..e9aad4461b8 100644 --- a/keyboards/cest73/tkm/info.json +++ b/keyboards/cest73/tkm/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "D4", "D5", "D6", "D7", "F0", "F1", "F4"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "C6", "C7", "D0"] diff --git a/keyboards/cest73/tkm/rules.mk b/keyboards/cest73/tkm/rules.mk deleted file mode 100644 index cb644340504..00000000000 --- a/keyboards/cest73/tkm/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/chalice/info.json b/keyboards/chalice/keyboard.json similarity index 97% rename from keyboards/chalice/info.json rename to keyboards/chalice/keyboard.json index 8e6a6f2ed63..9332431184f 100644 --- a/keyboards/chalice/info.json +++ b/keyboards/chalice/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "C6", "B1", "D2", "E6", "B3", "D7"], "rows": ["F4", "D1", "D0", "F5", "D4", "F6", "B4", "B5", "B2", "B6"] diff --git a/keyboards/chalice/rules.mk b/keyboards/chalice/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/chalice/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/chaos65/info.json b/keyboards/chaos65/keyboard.json similarity index 99% rename from keyboards/chaos65/info.json rename to keyboards/chaos65/keyboard.json index bd88ac3f5f3..ed3f33e0c30 100644 --- a/keyboards/chaos65/info.json +++ b/keyboards/chaos65/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "F7", "F6", "F5", "F4"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/chaos65/rules.mk b/keyboards/chaos65/rules.mk deleted file mode 100644 index 48888d45c99..00000000000 --- a/keyboards/chaos65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/charue/charon/info.json b/keyboards/charue/charon/keyboard.json similarity index 99% rename from keyboards/charue/charon/info.json rename to keyboards/charue/charon/keyboard.json index 12d28b14185..3dede57ba49 100644 --- a/keyboards/charue/charon/info.json +++ b/keyboards/charue/charon/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4348", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D5", "B4", "D7", "D6", "D4", "F7", "F6", "F5", "F4", "F1", "F0", "B5", "B6", "C6"], "rows": ["B0", "B1", "B2", "B3", "C7"] diff --git a/keyboards/charue/charon/rules.mk b/keyboards/charue/charon/rules.mk deleted file mode 100644 index 3f6eff7f550..00000000000 --- a/keyboards/charue/charon/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/charue/sunsetter/info.json b/keyboards/charue/sunsetter/keyboard.json similarity index 99% rename from keyboards/charue/sunsetter/info.json rename to keyboards/charue/sunsetter/keyboard.json index 0a6d7696e26..565cebf5e2d 100644 --- a/keyboards/charue/sunsetter/info.json +++ b/keyboards/charue/sunsetter/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5353", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B13", "B12", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "B9", "B8", "B7", "B6", "B5", "B4", "F0", "B3", "A15"], "rows": ["A8", "B14", "B11", "B10", "B2"] diff --git a/keyboards/charue/sunsetter/rules.mk b/keyboards/charue/sunsetter/rules.mk deleted file mode 100644 index 7f4f202a1b7..00000000000 --- a/keyboards/charue/sunsetter/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/charue/sunsetter_r2/info.json b/keyboards/charue/sunsetter_r2/keyboard.json similarity index 99% rename from keyboards/charue/sunsetter_r2/info.json rename to keyboards/charue/sunsetter_r2/keyboard.json index 9bbc6a7f94d..b961c21e26c 100644 --- a/keyboards/charue/sunsetter_r2/info.json +++ b/keyboards/charue/sunsetter_r2/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F7", "B1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["B3", "B2", "F4", "F5", "F6"] diff --git a/keyboards/charue/sunsetter_r2/rules.mk b/keyboards/charue/sunsetter_r2/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/charue/sunsetter_r2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/chavdai40/rev1/info.json b/keyboards/chavdai40/rev1/keyboard.json similarity index 96% rename from keyboards/chavdai40/rev1/info.json rename to keyboards/chavdai40/rev1/keyboard.json index 67705c25bb5..22c4ccfb7bc 100644 --- a/keyboards/chavdai40/rev1/info.json +++ b/keyboards/chavdai40/rev1/keyboard.json @@ -4,6 +4,14 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B8", "B4", "B3", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"], "rows": ["A0", "A15", "B5", "B6"] diff --git a/keyboards/chavdai40/rev1/rules.mk b/keyboards/chavdai40/rev1/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/chavdai40/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/chavdai40/rev2/info.json b/keyboards/chavdai40/rev2/keyboard.json similarity index 96% rename from keyboards/chavdai40/rev2/info.json rename to keyboards/chavdai40/rev2/keyboard.json index acefcabdc70..b43c68604fb 100644 --- a/keyboards/chavdai40/rev2/info.json +++ b/keyboards/chavdai40/rev2/keyboard.json @@ -4,6 +4,14 @@ "device_version": "0.0.2", "max_power": 100 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B7", "B4", "B3", "A8", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"], "rows": ["A0", "A15", "B5", "B6"] diff --git a/keyboards/chavdai40/rev2/rules.mk b/keyboards/chavdai40/rev2/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/chavdai40/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/checkerboards/axon40/info.json b/keyboards/checkerboards/axon40/keyboard.json similarity index 94% rename from keyboards/checkerboards/axon40/info.json rename to keyboards/checkerboards/axon40/keyboard.json index f9097042808..8a3f0d58572 100644 --- a/keyboards/checkerboards/axon40/info.json +++ b/keyboards/checkerboards/axon40/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "B7", "D4", "D6", "F0", "F1", "C6", "B6", "B5", "B4", "E6", "B0"], "rows": ["D2", "D3", "D1", "D5"] diff --git a/keyboards/checkerboards/axon40/rules.mk b/keyboards/checkerboards/axon40/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/checkerboards/axon40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/checkerboards/candybar_ortho/info.json b/keyboards/checkerboards/candybar_ortho/keyboard.json similarity index 98% rename from keyboards/checkerboards/candybar_ortho/info.json rename to keyboards/checkerboards/candybar_ortho/keyboard.json index c91f0d924d6..6067d1c2771 100644 --- a/keyboards/checkerboards/candybar_ortho/info.json +++ b/keyboards/checkerboards/candybar_ortho/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D0", "D1", "D2"], "rows": ["B4", "D4", "D7", "D6", "B5", "B6", "C7", "C6"] diff --git a/keyboards/checkerboards/candybar_ortho/rules.mk b/keyboards/checkerboards/candybar_ortho/rules.mk deleted file mode 100644 index 28c29a3b4dc..00000000000 --- a/keyboards/checkerboards/candybar_ortho/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/checkerboards/g_idb60/info.json b/keyboards/checkerboards/g_idb60/keyboard.json similarity index 98% rename from keyboards/checkerboards/g_idb60/info.json rename to keyboards/checkerboards/g_idb60/keyboard.json index 0bb9854f967..7ef5a8e0cdc 100644 --- a/keyboards/checkerboards/g_idb60/info.json +++ b/keyboards/checkerboards/g_idb60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3508", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "C6", "C7", "D4", "F6", "F0", "B0", "F1", "F4", "F5", "D1", "D0", "D3", "D5"], "rows": ["D6", "D7", "B4", "B5", "F7"] diff --git a/keyboards/checkerboards/g_idb60/rules.mk b/keyboards/checkerboards/g_idb60/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/checkerboards/g_idb60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/checkerboards/nop60/info.json b/keyboards/checkerboards/nop60/keyboard.json similarity index 97% rename from keyboards/checkerboards/nop60/info.json rename to keyboards/checkerboards/nop60/keyboard.json index f59c70ac29c..f12b7a54d28 100644 --- a/keyboards/checkerboards/nop60/info.json +++ b/keyboards/checkerboards/nop60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1416", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "D0", "D7", "D3", "D4", "D5", "D6", "F7", "C7", "B4", "B6", "B5"], "rows": ["F0", "F1", "E6", "B7", "C6"] diff --git a/keyboards/checkerboards/nop60/rules.mk b/keyboards/checkerboards/nop60/rules.mk deleted file mode 100644 index ec647701401..00000000000 --- a/keyboards/checkerboards/nop60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/checkerboards/plexus75/info.json b/keyboards/checkerboards/plexus75/keyboard.json similarity index 98% rename from keyboards/checkerboards/plexus75/info.json rename to keyboards/checkerboards/plexus75/keyboard.json index 943262b885c..1757cdeb572 100644 --- a/keyboards/checkerboards/plexus75/info.json +++ b/keyboards/checkerboards/plexus75/keyboard.json @@ -29,6 +29,16 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["B2", "B0", "D1", "F7", "F6", "F5", "F4", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["D2", "B3", "B1", "F1", "F0"] diff --git a/keyboards/checkerboards/plexus75/rules.mk b/keyboards/checkerboards/plexus75/rules.mk deleted file mode 100644 index 4f1bd7941bc..00000000000 --- a/keyboards/checkerboards/plexus75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/checkerboards/plexus75_he/info.json b/keyboards/checkerboards/plexus75_he/keyboard.json similarity index 98% rename from keyboards/checkerboards/plexus75_he/info.json rename to keyboards/checkerboards/plexus75_he/keyboard.json index d9817cbbe13..c089e58e613 100644 --- a/keyboards/checkerboards/plexus75_he/info.json +++ b/keyboards/checkerboards/plexus75_he/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "D4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C4", "C5", "D3", "C7", "B7", "B6", "B5", "B4"], "rows": ["C2", "D0", "D1", "D2", "D6", "B0", "B3", "B2", "C6", "B1"] diff --git a/keyboards/checkerboards/plexus75_he/rules.mk b/keyboards/checkerboards/plexus75_he/rules.mk deleted file mode 100644 index 5046e297d0e..00000000000 --- a/keyboards/checkerboards/plexus75_he/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/checkerboards/pursuit40/info.json b/keyboards/checkerboards/pursuit40/keyboard.json similarity index 94% rename from keyboards/checkerboards/pursuit40/info.json rename to keyboards/checkerboards/pursuit40/keyboard.json index f7a0be79e33..6e65dde2f1c 100644 --- a/keyboards/checkerboards/pursuit40/info.json +++ b/keyboards/checkerboards/pursuit40/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "F0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "E6", "B7", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["D2", "D1", "F4", "F5"] diff --git a/keyboards/checkerboards/pursuit40/rules.mk b/keyboards/checkerboards/pursuit40/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/checkerboards/pursuit40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/checkerboards/quark_lp/info.json b/keyboards/checkerboards/quark_lp/keyboard.json similarity index 97% rename from keyboards/checkerboards/quark_lp/info.json rename to keyboards/checkerboards/quark_lp/keyboard.json index 006e4548868..35b599879eb 100644 --- a/keyboards/checkerboards/quark_lp/info.json +++ b/keyboards/checkerboards/quark_lp/keyboard.json @@ -38,6 +38,15 @@ "speed_steps": 10, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4", "B3", "B0", "D6", "D5", "D4", "D3", "D2", "D1", "D0"], "rows": ["C5", "C4", "C6", "C7"] diff --git a/keyboards/checkerboards/quark_lp/rules.mk b/keyboards/checkerboards/quark_lp/rules.mk deleted file mode 100644 index f868af936dc..00000000000 --- a/keyboards/checkerboards/quark_lp/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/checkerboards/quark_plus/info.json b/keyboards/checkerboards/quark_plus/keyboard.json similarity index 97% rename from keyboards/checkerboards/quark_plus/info.json rename to keyboards/checkerboards/quark_plus/keyboard.json index dc5bc478ca4..6e7f5a8cc28 100644 --- a/keyboards/checkerboards/quark_plus/info.json +++ b/keyboards/checkerboards/quark_plus/keyboard.json @@ -29,6 +29,17 @@ "ws2812": { "pin": "C5" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "D1", "D5", "D4", "D3", "D2"], "rows": ["B4", "B1", "C2", "D0", "D6", "B0", "B6", "B5"] diff --git a/keyboards/checkerboards/quark_plus/rules.mk b/keyboards/checkerboards/quark_plus/rules.mk deleted file mode 100644 index c10c82105d5..00000000000 --- a/keyboards/checkerboards/quark_plus/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable rotary encoder diff --git a/keyboards/checkerboards/ud40_ortho_alt/info.json b/keyboards/checkerboards/ud40_ortho_alt/keyboard.json similarity index 98% rename from keyboards/checkerboards/ud40_ortho_alt/info.json rename to keyboards/checkerboards/ud40_ortho_alt/keyboard.json index c47c2c4c6bf..4e025c181fb 100644 --- a/keyboards/checkerboards/ud40_ortho_alt/info.json +++ b/keyboards/checkerboards/ud40_ortho_alt/keyboard.json @@ -29,6 +29,16 @@ "ws2812": { "pin": "D4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["B2", "B1", "F7", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F5", "F6"], "rows": ["E6", "F0", "F1", "F4"] diff --git a/keyboards/checkerboards/ud40_ortho_alt/rules.mk b/keyboards/checkerboards/ud40_ortho_alt/rules.mk deleted file mode 100644 index 653e1ef309c..00000000000 --- a/keyboards/checkerboards/ud40_ortho_alt/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode - diff --git a/keyboards/cherrybstudio/cb1800/info.json b/keyboards/cherrybstudio/cb1800/keyboard.json similarity index 99% rename from keyboards/cherrybstudio/cb1800/info.json rename to keyboards/cherrybstudio/cb1800/keyboard.json index e6819d40ee3..fedcc1c75e9 100644 --- a/keyboards/cherrybstudio/cb1800/info.json +++ b/keyboards/cherrybstudio/cb1800/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1818", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "F0", "F1", "F4"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "C6", "C7"] diff --git a/keyboards/cherrybstudio/cb1800/rules.mk b/keyboards/cherrybstudio/cb1800/rules.mk deleted file mode 100644 index 95093e241aa..00000000000 --- a/keyboards/cherrybstudio/cb1800/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cherrybstudio/cb65/info.json b/keyboards/cherrybstudio/cb65/keyboard.json similarity index 99% rename from keyboards/cherrybstudio/cb65/info.json rename to keyboards/cherrybstudio/cb65/keyboard.json index 841dae6103d..8f14ec09418 100644 --- a/keyboards/cherrybstudio/cb65/info.json +++ b/keyboards/cherrybstudio/cb65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6565", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "F7", "B5", "B6", "C6"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3"] diff --git a/keyboards/cherrybstudio/cb65/rules.mk b/keyboards/cherrybstudio/cb65/rules.mk deleted file mode 100644 index b5dd02b992c..00000000000 --- a/keyboards/cherrybstudio/cb65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Encoder support diff --git a/keyboards/cherrybstudio/cb87/info.json b/keyboards/cherrybstudio/cb87/keyboard.json similarity index 98% rename from keyboards/cherrybstudio/cb87/info.json rename to keyboards/cherrybstudio/cb87/keyboard.json index 228cc030bbe..417c40e53d5 100644 --- a/keyboards/cherrybstudio/cb87/info.json +++ b/keyboards/cherrybstudio/cb87/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x8787", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "F5", "C6", "C7", "F7"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3"] diff --git a/keyboards/cherrybstudio/cb87/rules.mk b/keyboards/cherrybstudio/cb87/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/cherrybstudio/cb87/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cherrybstudio/cb87rgb/info.json b/keyboards/cherrybstudio/cb87rgb/keyboard.json similarity index 99% rename from keyboards/cherrybstudio/cb87rgb/info.json rename to keyboards/cherrybstudio/cb87rgb/keyboard.json index e5d52993361..bba6bea541d 100644 --- a/keyboards/cherrybstudio/cb87rgb/info.json +++ b/keyboards/cherrybstudio/cb87rgb/keyboard.json @@ -61,6 +61,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "F5", "C6", "C7", "F7"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "F6"] diff --git a/keyboards/cherrybstudio/cb87rgb/rules.mk b/keyboards/cherrybstudio/cb87rgb/rules.mk deleted file mode 100644 index 2539b3f85ff..00000000000 --- a/keyboards/cherrybstudio/cb87rgb/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/cherrybstudio/cb87v2/info.json b/keyboards/cherrybstudio/cb87v2/keyboard.json similarity index 99% rename from keyboards/cherrybstudio/cb87v2/info.json rename to keyboards/cherrybstudio/cb87v2/keyboard.json index 1023cac5d18..c40bb1778f9 100644 --- a/keyboards/cherrybstudio/cb87v2/info.json +++ b/keyboards/cherrybstudio/cb87v2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x8788", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "F5", "C6", "C7", "F7"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "F6"] diff --git a/keyboards/cherrybstudio/cb87v2/rules.mk b/keyboards/cherrybstudio/cb87v2/rules.mk deleted file mode 100644 index cdde6d344ba..00000000000 --- a/keyboards/cherrybstudio/cb87v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cheshire/curiosity/info.json b/keyboards/cheshire/curiosity/keyboard.json similarity index 97% rename from keyboards/cheshire/curiosity/info.json rename to keyboards/cheshire/curiosity/keyboard.json index 678305ae329..09b01e896fe 100644 --- a/keyboards/cheshire/curiosity/info.json +++ b/keyboards/cheshire/curiosity/keyboard.json @@ -25,6 +25,15 @@ "ws2812": { "pin": "B15" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], "rows": ["B13", "B14", "A4", "A2", "A1"] diff --git a/keyboards/cheshire/curiosity/rules.mk b/keyboards/cheshire/curiosity/rules.mk deleted file mode 100644 index 5937fde2872..00000000000 --- a/keyboards/cheshire/curiosity/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/chickenman/ciel/info.json b/keyboards/chickenman/ciel/keyboard.json similarity index 98% rename from keyboards/chickenman/ciel/info.json rename to keyboards/chickenman/ciel/keyboard.json index 1dc9812187d..d6813a23aaf 100644 --- a/keyboards/chickenman/ciel/info.json +++ b/keyboards/chickenman/ciel/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "B6", "B5", "B4", "B3", "B2", "B1", "D6", "D5", "D4", "D3", "D2", "D1", "D0", "C2"], "rows": ["C5", "C4", "B0", "C7", "B7"] diff --git a/keyboards/chickenman/ciel/rules.mk b/keyboards/chickenman/ciel/rules.mk deleted file mode 100644 index 59c896dbff6..00000000000 --- a/keyboards/chickenman/ciel/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/chlx/merro60/info.json b/keyboards/chlx/merro60/keyboard.json similarity index 99% rename from keyboards/chlx/merro60/info.json rename to keyboards/chlx/merro60/keyboard.json index f9de8194bad..d34489607ac 100644 --- a/keyboards/chlx/merro60/info.json +++ b/keyboards/chlx/merro60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0601", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "D1", "D0", "B0", "B1", "E6", "B2", "B3", "D2", "D7", "B4", "B6", "C6", "C7", "D6"], "rows": ["D4", "D5", "D3", "B5", "F4"] diff --git a/keyboards/chlx/merro60/rules.mk b/keyboards/chlx/merro60/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/chlx/merro60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/chocofly/v1/info.json b/keyboards/chocofly/v1/keyboard.json similarity index 95% rename from keyboards/chocofly/v1/info.json rename to keyboards/chocofly/v1/keyboard.json index f811a6b14b2..195d1e9a9fe 100644 --- a/keyboards/chocofly/v1/info.json +++ b/keyboards/chocofly/v1/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/chocofly/v1/rules.mk b/keyboards/chocofly/v1/rules.mk deleted file mode 100644 index 70f23a97a50..00000000000 --- a/keyboards/chocofly/v1/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/chocv/info.json b/keyboards/chocv/keyboard.json similarity index 93% rename from keyboards/chocv/info.json rename to keyboards/chocv/keyboard.json index e5361b1399d..670e46f8177 100644 --- a/keyboards/chocv/info.json +++ b/keyboards/chocv/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "F5", "D1", "D0"] diff --git a/keyboards/chocv/rules.mk b/keyboards/chocv/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/chocv/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ck60i/info.json b/keyboards/ck60i/keyboard.json similarity index 95% rename from keyboards/ck60i/info.json rename to keyboards/ck60i/keyboard.json index d35eac99200..62ddd817288 100644 --- a/keyboards/ck60i/info.json +++ b/keyboards/ck60i/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6049", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B12", "A2", "A1", "A0", "F1", "F0", "B11", "B10", "B2", "B1", "B0", "A7", "C15", "C14"], "rows": ["B9", "C13", "A3", "B14", "A8"] diff --git a/keyboards/ck60i/rules.mk b/keyboards/ck60i/rules.mk deleted file mode 100644 index 3ec023e5e84..00000000000 --- a/keyboards/ck60i/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = yes - diff --git a/keyboards/ckeys/handwire_101/info.json b/keyboards/ckeys/handwire_101/keyboard.json similarity index 89% rename from keyboards/ckeys/handwire_101/info.json rename to keyboards/ckeys/handwire_101/keyboard.json index 27e43a65125..f8e2b383c23 100644 --- a/keyboards/ckeys/handwire_101/info.json +++ b/keyboards/ckeys/handwire_101/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/ckeys/handwire_101/rules.mk b/keyboards/ckeys/handwire_101/rules.mk deleted file mode 100755 index 4cbb58307a2..00000000000 --- a/keyboards/ckeys/handwire_101/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ckeys/nakey/info.json b/keyboards/ckeys/nakey/keyboard.json similarity index 89% rename from keyboards/ckeys/nakey/info.json rename to keyboards/ckeys/nakey/keyboard.json index 5971c432d0b..1454858d9d4 100644 --- a/keyboards/ckeys/nakey/info.json +++ b/keyboards/ckeys/nakey/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3"], "rows": ["F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/ckeys/nakey/rules.mk b/keyboards/ckeys/nakey/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/ckeys/nakey/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ckeys/obelus/info.json b/keyboards/ckeys/obelus/keyboard.json similarity index 86% rename from keyboards/ckeys/obelus/info.json rename to keyboards/ckeys/obelus/keyboard.json index 78ef0227c59..969e6a2d495 100644 --- a/keyboards/ckeys/obelus/info.json +++ b/keyboards/ckeys/obelus/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "midi": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "B2", "B3"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/ckeys/obelus/rules.mk b/keyboards/ckeys/obelus/rules.mk deleted file mode 100644 index 08744b16baa..00000000000 --- a/keyboards/ckeys/obelus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = yes # MIDI support -AUDIO_ENABLE = yes # Audio output diff --git a/keyboards/ckeys/thedora/info.json b/keyboards/ckeys/thedora/keyboard.json similarity index 88% rename from keyboards/ckeys/thedora/info.json rename to keyboards/ckeys/thedora/keyboard.json index e86d162ace1..0e52b24dfa6 100644 --- a/keyboards/ckeys/thedora/info.json +++ b/keyboards/ckeys/thedora/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "midi": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B4", "B3", "B2", "B1", "B0"], "rows": ["A2", "A1", "A0", "B8"] diff --git a/keyboards/ckeys/thedora/rules.mk b/keyboards/ckeys/thedora/rules.mk deleted file mode 100755 index ac8d5677b2c..00000000000 --- a/keyboards/ckeys/thedora/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output - -MIDI_ENABLE = yes # MIDI support -ENCODER_ENABLE = yes diff --git a/keyboards/ckeys/washington/info.json b/keyboards/ckeys/washington/keyboard.json similarity index 82% rename from keyboards/ckeys/washington/info.json rename to keyboards/ckeys/washington/keyboard.json index d6029eeabb8..b6952fe44af 100644 --- a/keyboards/ckeys/washington/info.json +++ b/keyboards/ckeys/washington/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x002A", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true + }, "matrix_pins": { "cols": ["F7", "B1", "B3"], "rows": ["F4", "F5", "F6"] diff --git a/keyboards/ckeys/washington/rules.mk b/keyboards/ckeys/washington/rules.mk deleted file mode 100644 index c6c08dda595..00000000000 --- a/keyboards/ckeys/washington/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable support for encoders -OLED_ENABLE = yes diff --git a/keyboards/clawsome/bookerboard/info.json b/keyboards/clawsome/bookerboard/keyboard.json similarity index 86% rename from keyboards/clawsome/bookerboard/info.json rename to keyboards/clawsome/bookerboard/keyboard.json index 8c6a4dc0f9f..a72260eb60c 100644 --- a/keyboards/clawsome/bookerboard/info.json +++ b/keyboards/clawsome/bookerboard/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x41CE", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "B2", "B3"], "rows": ["B5", "B4", "E6", "D7"] diff --git a/keyboards/clawsome/bookerboard/rules.mk b/keyboards/clawsome/bookerboard/rules.mk deleted file mode 100644 index afdf78fc5f6..00000000000 --- a/keyboards/clawsome/bookerboard/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/coupe/info.json b/keyboards/clawsome/coupe/keyboard.json similarity index 95% rename from keyboards/clawsome/coupe/info.json rename to keyboards/clawsome/coupe/keyboard.json index b68fa51029c..576b8e71641 100644 --- a/keyboards/clawsome/coupe/info.json +++ b/keyboards/clawsome/coupe/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x7E94", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B6", "B3", "B2"], "rows": ["D7", "D2", "C6", "B5", "D4", "B4", "D0", "D3", "D1", "E6"] diff --git a/keyboards/clawsome/coupe/rules.mk b/keyboards/clawsome/coupe/rules.mk deleted file mode 100644 index afdf78fc5f6..00000000000 --- a/keyboards/clawsome/coupe/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/doodle/info.json b/keyboards/clawsome/doodle/keyboard.json similarity index 82% rename from keyboards/clawsome/doodle/info.json rename to keyboards/clawsome/doodle/keyboard.json index e7883a6f1a3..0b3f4cc4e70 100644 --- a/keyboards/clawsome/doodle/info.json +++ b/keyboards/clawsome/doodle/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D7", "F4", "E6"], "rows": ["D4", "C6"] diff --git a/keyboards/clawsome/doodle/rules.mk b/keyboards/clawsome/doodle/rules.mk deleted file mode 100644 index 1ac8624bb1e..00000000000 --- a/keyboards/clawsome/doodle/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/clawsome/fightpad/info.json b/keyboards/clawsome/fightpad/keyboard.json similarity index 86% rename from keyboards/clawsome/fightpad/info.json rename to keyboards/clawsome/fightpad/keyboard.json index fbd4673dd78..73333490280 100644 --- a/keyboards/clawsome/fightpad/info.json +++ b/keyboards/clawsome/fightpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x481C", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B2", "B3", "B1", "F7"], "rows": ["B5", "B6"] diff --git a/keyboards/clawsome/fightpad/rules.mk b/keyboards/clawsome/fightpad/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/clawsome/fightpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/gamebuddy/v1_0/info.json b/keyboards/clawsome/gamebuddy/v1_0/keyboard.json similarity index 91% rename from keyboards/clawsome/gamebuddy/v1_0/info.json rename to keyboards/clawsome/gamebuddy/v1_0/keyboard.json index 269c4b86027..978a3ad9748 100644 --- a/keyboards/clawsome/gamebuddy/v1_0/info.json +++ b/keyboards/clawsome/gamebuddy/v1_0/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x17B9", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "C6", "D7", "B6"], "rows": ["D1", "D0", "E6", "B3", "B2"] diff --git a/keyboards/clawsome/gamebuddy/v1_0/rules.mk b/keyboards/clawsome/gamebuddy/v1_0/rules.mk deleted file mode 100644 index afdf78fc5f6..00000000000 --- a/keyboards/clawsome/gamebuddy/v1_0/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/gamebuddy/v1_m/info.json b/keyboards/clawsome/gamebuddy/v1_m/keyboard.json similarity index 91% rename from keyboards/clawsome/gamebuddy/v1_m/info.json rename to keyboards/clawsome/gamebuddy/v1_m/keyboard.json index 3709bbbe3c4..dd9f39f97ec 100644 --- a/keyboards/clawsome/gamebuddy/v1_m/info.json +++ b/keyboards/clawsome/gamebuddy/v1_m/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B1", "F7", "F6", "F5", "E6", "B4", "B6"], "rows": ["C6", "D7", "B5", "B3", "B2"] diff --git a/keyboards/clawsome/gamebuddy/v1_m/rules.mk b/keyboards/clawsome/gamebuddy/v1_m/rules.mk deleted file mode 100644 index 1ac8624bb1e..00000000000 --- a/keyboards/clawsome/gamebuddy/v1_m/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/clawsome/hatchback/info.json b/keyboards/clawsome/hatchback/keyboard.json similarity index 97% rename from keyboards/clawsome/hatchback/info.json rename to keyboards/clawsome/hatchback/keyboard.json index 90d1ad6ee25..6da4bd46851 100644 --- a/keyboards/clawsome/hatchback/info.json +++ b/keyboards/clawsome/hatchback/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D5", "C7", "F1"], "rows": ["B0", "B6", "D4", "B4", "D0", "B5", "D1", "E6", "D2", "D7", "D3", "C6"] diff --git a/keyboards/clawsome/hatchback/rules.mk b/keyboards/clawsome/hatchback/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/clawsome/hatchback/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/luggage_rack/info.json b/keyboards/clawsome/luggage_rack/keyboard.json similarity index 87% rename from keyboards/clawsome/luggage_rack/info.json rename to keyboards/clawsome/luggage_rack/keyboard.json index 5996c9d8f48..2f53bdf49e0 100644 --- a/keyboards/clawsome/luggage_rack/info.json +++ b/keyboards/clawsome/luggage_rack/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "D0", "D1"], "rows": ["D3", "F4", "B0", "B2", "F7", "B6", "B1", "F5", "F6"] diff --git a/keyboards/clawsome/luggage_rack/rules.mk b/keyboards/clawsome/luggage_rack/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/clawsome/luggage_rack/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/numeros/info.json b/keyboards/clawsome/numeros/keyboard.json similarity index 89% rename from keyboards/clawsome/numeros/info.json rename to keyboards/clawsome/numeros/keyboard.json index c1b3565b636..728a1a1853b 100644 --- a/keyboards/clawsome/numeros/info.json +++ b/keyboards/clawsome/numeros/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B3", "E6", "D7", "D4"], "rows": ["D0", "C6", "B2", "B6", "B5"] diff --git a/keyboards/clawsome/numeros/rules.mk b/keyboards/clawsome/numeros/rules.mk deleted file mode 100644 index afdf78fc5f6..00000000000 --- a/keyboards/clawsome/numeros/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/roadster/info.json b/keyboards/clawsome/roadster/keyboard.json similarity index 94% rename from keyboards/clawsome/roadster/info.json rename to keyboards/clawsome/roadster/keyboard.json index 2e5bc24484a..895b97721ba 100644 --- a/keyboards/clawsome/roadster/info.json +++ b/keyboards/clawsome/roadster/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"], "rows": ["D2", "D3", "D0", "D1"] diff --git a/keyboards/clawsome/roadster/rules.mk b/keyboards/clawsome/roadster/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/clawsome/roadster/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/sedan/info.json b/keyboards/clawsome/sedan/keyboard.json similarity index 96% rename from keyboards/clawsome/sedan/info.json rename to keyboards/clawsome/sedan/keyboard.json index dd116e64874..7ff4980a7c8 100644 --- a/keyboards/clawsome/sedan/info.json +++ b/keyboards/clawsome/sedan/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8C78", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "F4", "F7", "B1", "B3", "B2", "B6", "F0", "F1", "C7", "D5", "B7", "B5", "B4", "E6"], "rows": ["C6", "D4", "D0", "D1", "D3"] diff --git a/keyboards/clawsome/sedan/rules.mk b/keyboards/clawsome/sedan/rules.mk deleted file mode 100644 index afdf78fc5f6..00000000000 --- a/keyboards/clawsome/sedan/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/sidekick/info.json b/keyboards/clawsome/sidekick/keyboard.json similarity index 91% rename from keyboards/clawsome/sidekick/info.json rename to keyboards/clawsome/sidekick/keyboard.json index ee4df7538ca..4f535d09aae 100644 --- a/keyboards/clawsome/sidekick/info.json +++ b/keyboards/clawsome/sidekick/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xDB9F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "B1", "B3", "E6", "D7", "D4"], "rows": ["D0", "C6", "B2", "B6", "B5"] diff --git a/keyboards/clawsome/sidekick/rules.mk b/keyboards/clawsome/sidekick/rules.mk deleted file mode 100644 index afdf78fc5f6..00000000000 --- a/keyboards/clawsome/sidekick/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/clawsome/suv/info.json b/keyboards/clawsome/suv/keyboard.json similarity index 97% rename from keyboards/clawsome/suv/info.json rename to keyboards/clawsome/suv/keyboard.json index 2f0b2d6bfee..ec84d6117c2 100644 --- a/keyboards/clawsome/suv/info.json +++ b/keyboards/clawsome/suv/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "B4", "B5", "B7", "D5", "C7", "F1", "F5", "F4"], "rows": ["F0", "B6", "D0", "F6", "D4", "F7", "B3", "B1", "B0", "C6", "B2", "D7"] diff --git a/keyboards/clawsome/suv/rules.mk b/keyboards/clawsome/suv/rules.mk deleted file mode 100644 index 1ac8624bb1e..00000000000 --- a/keyboards/clawsome/suv/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/cmm_studio/fuji65/info.json b/keyboards/cmm_studio/fuji65/keyboard.json similarity index 99% rename from keyboards/cmm_studio/fuji65/info.json rename to keyboards/cmm_studio/fuji65/keyboard.json index 860608042f6..c4f1e5156e3 100644 --- a/keyboards/cmm_studio/fuji65/info.json +++ b/keyboards/cmm_studio/fuji65/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "B0", "B1", "B2", "B3", "D5", "D3", "D2", "D1", "D0"], "rows": ["B5", "B4", "D7", "D6", "B6"] diff --git a/keyboards/cmm_studio/fuji65/rules.mk b/keyboards/cmm_studio/fuji65/rules.mk deleted file mode 100644 index 7db37f02821..00000000000 --- a/keyboards/cmm_studio/fuji65/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# generated by KBFirmware JSON to QMK Parser -# https://noroadsleft.github.io/kbf_qmk_converter/ diff --git a/keyboards/cmm_studio/saka68/hotswap/info.json b/keyboards/cmm_studio/saka68/hotswap/keyboard.json similarity index 97% rename from keyboards/cmm_studio/saka68/hotswap/info.json rename to keyboards/cmm_studio/saka68/hotswap/keyboard.json index e2327e81451..6dc3ec639a2 100644 --- a/keyboards/cmm_studio/saka68/hotswap/info.json +++ b/keyboards/cmm_studio/saka68/hotswap/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5348", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "D3", "D5"], "rows": ["D2", "D1", "B0", "F6", "F7"] diff --git a/keyboards/cmm_studio/saka68/hotswap/rules.mk b/keyboards/cmm_studio/saka68/hotswap/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/cmm_studio/saka68/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cmm_studio/saka68/solder/info.json b/keyboards/cmm_studio/saka68/solder/keyboard.json similarity index 98% rename from keyboards/cmm_studio/saka68/solder/info.json rename to keyboards/cmm_studio/saka68/solder/keyboard.json index 145883fc1de..d5aea407638 100644 --- a/keyboards/cmm_studio/saka68/solder/info.json +++ b/keyboards/cmm_studio/saka68/solder/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x534B", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "D2", "D3", "D5"], "rows": ["D1", "D0", "B0", "F6", "F7"] diff --git a/keyboards/cmm_studio/saka68/solder/rules.mk b/keyboards/cmm_studio/saka68/solder/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/cmm_studio/saka68/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/coarse/cordillera/info.json b/keyboards/coarse/cordillera/keyboard.json similarity index 98% rename from keyboards/coarse/cordillera/info.json rename to keyboards/coarse/cordillera/keyboard.json index 7252f65f29d..de78b3027c2 100644 --- a/keyboards/coarse/cordillera/info.json +++ b/keyboards/coarse/cordillera/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1401", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"], "rows": ["A13", "B9", "F1", "A10", "A9"] diff --git a/keyboards/coarse/cordillera/rules.mk b/keyboards/coarse/cordillera/rules.mk deleted file mode 100644 index d6cd9d5f0da..00000000000 --- a/keyboards/coarse/cordillera/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/coban/pad3a/info.json b/keyboards/coban/pad3a/keyboard.json similarity index 80% rename from keyboards/coban/pad3a/info.json rename to keyboards/coban/pad3a/keyboard.json index fc5c8ee71ee..a9a78b82201 100644 --- a/keyboards/coban/pad3a/info.json +++ b/keyboards/coban/pad3a/keyboard.json @@ -14,6 +14,15 @@ {"pin_a": "GP5", "pin_b": "GP4"} ] }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["GP8", "GP7", "GP6"] diff --git a/keyboards/coban/pad3a/rules.mk b/keyboards/coban/pad3a/rules.mk deleted file mode 100644 index 62aabd36434..00000000000 --- a/keyboards/coban/pad3a/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/compound/info.json b/keyboards/compound/keyboard.json similarity index 95% rename from keyboards/compound/info.json rename to keyboards/compound/keyboard.json index 9f31c7efc1c..a0a1e1e9494 100644 --- a/keyboards/compound/info.json +++ b/keyboards/compound/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB0BA", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"], "rows": ["B0", "B7", "D0", "D1", "D2"] diff --git a/keyboards/compound/rules.mk b/keyboards/compound/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/compound/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/contender/info.json b/keyboards/contender/keyboard.json similarity index 92% rename from keyboards/contender/info.json rename to keyboards/contender/keyboard.json index b09556f3d6f..5bef1f0633c 100644 --- a/keyboards/contender/info.json +++ b/keyboards/contender/keyboard.json @@ -29,6 +29,15 @@ "alternating": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "D6", "B3", "B0", "B1"], "rows": ["D4", "D3", "B5", "B7", "B4", "B2"] diff --git a/keyboards/contender/rules.mk b/keyboards/contender/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/contender/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/converter/a1200/miss1200/info.json b/keyboards/converter/a1200/miss1200/keyboard.json similarity index 75% rename from keyboards/converter/a1200/miss1200/info.json rename to keyboards/converter/a1200/miss1200/keyboard.json index 74d569b8d95..1f7bfcda3f9 100644 --- a/keyboards/converter/a1200/miss1200/info.json +++ b/keyboards/converter/a1200/miss1200/keyboard.json @@ -6,6 +6,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "C7", "D6", "B7", "B6", "B5", "B4", "E6", "D7", "C6", "D4", "B2", "D5", "D3", "D2"], "rows": ["F7", "F6", "F5", "F4", "F1", "F0", "B1", "B3"] diff --git a/keyboards/converter/a1200/miss1200/rules.mk b/keyboards/converter/a1200/miss1200/rules.mk deleted file mode 100644 index ac2c4626d98..00000000000 --- a/keyboards/converter/a1200/miss1200/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/converter/a1200/teensy2pp/info.json b/keyboards/converter/a1200/teensy2pp/keyboard.json similarity index 74% rename from keyboards/converter/a1200/teensy2pp/info.json rename to keyboards/converter/a1200/teensy2pp/keyboard.json index e4d0c09c0fe..07661239139 100644 --- a/keyboards/converter/a1200/teensy2pp/info.json +++ b/keyboards/converter/a1200/teensy2pp/keyboard.json @@ -6,6 +6,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D2", "D3", "D4", "D5", "D6", "D7", "E0", "E1", "C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7"], "rows": ["F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"] diff --git a/keyboards/converter/a1200/teensy2pp/rules.mk b/keyboards/converter/a1200/teensy2pp/rules.mk deleted file mode 100644 index b8f2be564de..00000000000 --- a/keyboards/converter/a1200/teensy2pp/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/converter/numeric_keypad_iie/info.json b/keyboards/converter/numeric_keypad_iie/keyboard.json similarity index 91% rename from keyboards/converter/numeric_keypad_iie/info.json rename to keyboards/converter/numeric_keypad_iie/keyboard.json index abec316be71..6dcffe7e213 100644 --- a/keyboards/converter/numeric_keypad_iie/info.json +++ b/keyboards/converter/numeric_keypad_iie/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6"], "rows": ["B0", "B2", "D2", "D3"] diff --git a/keyboards/converter/numeric_keypad_iie/rules.mk b/keyboards/converter/numeric_keypad_iie/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/converter/numeric_keypad_iie/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cool836a/info.json b/keyboards/cool836a/keyboard.json similarity index 93% rename from keyboards/cool836a/info.json rename to keyboards/cool836a/keyboard.json index 8f7f688a6b1..18dd9cfcdc9 100644 --- a/keyboards/cool836a/info.json +++ b/keyboards/cool836a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5", "D0", "B2", "C6", "D7", "E6"], "rows": ["D1", "B5", "B4", "F4", "B1", "B6"] diff --git a/keyboards/cool836a/rules.mk b/keyboards/cool836a/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/cool836a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/copenhagen_click/click_pad_v1/info.json b/keyboards/copenhagen_click/click_pad_v1/keyboard.json similarity index 76% rename from keyboards/copenhagen_click/click_pad_v1/info.json rename to keyboards/copenhagen_click/click_pad_v1/keyboard.json index 9eee0f4fec8..1c402db576b 100755 --- a/keyboards/copenhagen_click/click_pad_v1/info.json +++ b/keyboards/copenhagen_click/click_pad_v1/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x27DB", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5"], "rows": ["F7"] diff --git a/keyboards/copenhagen_click/click_pad_v1/rules.mk b/keyboards/copenhagen_click/click_pad_v1/rules.mk deleted file mode 100755 index 8a6570c496a..00000000000 --- a/keyboards/copenhagen_click/click_pad_v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/coseyfannitutti/discipad/info.json b/keyboards/coseyfannitutti/discipad/keyboard.json similarity index 89% rename from keyboards/coseyfannitutti/discipad/info.json rename to keyboards/coseyfannitutti/discipad/keyboard.json index 6950e4d17c7..a169863dba2 100644 --- a/keyboards/coseyfannitutti/discipad/info.json +++ b/keyboards/coseyfannitutti/discipad/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C0", "C1", "C2", "C3"], "rows": ["B1", "B0", "D7", "D6", "D4"] diff --git a/keyboards/coseyfannitutti/discipad/rules.mk b/keyboards/coseyfannitutti/discipad/rules.mk deleted file mode 100644 index 6e0404820cd..00000000000 --- a/keyboards/coseyfannitutti/discipad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/coseyfannitutti/mullet/info.json b/keyboards/coseyfannitutti/mullet/keyboard.json similarity index 96% rename from keyboards/coseyfannitutti/mullet/info.json rename to keyboards/coseyfannitutti/mullet/keyboard.json index 3b63ece2209..1cc76eccfaf 100644 --- a/keyboards/coseyfannitutti/mullet/info.json +++ b/keyboards/coseyfannitutti/mullet/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "D5" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D3"], "rows": ["D0", "D1", "B0", "F0", "F1"] diff --git a/keyboards/coseyfannitutti/mullet/rules.mk b/keyboards/coseyfannitutti/mullet/rules.mk deleted file mode 100644 index b0ffb80ff38..00000000000 --- a/keyboards/coseyfannitutti/mullet/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/coseyfannitutti/mulletpad/info.json b/keyboards/coseyfannitutti/mulletpad/keyboard.json similarity index 89% rename from keyboards/coseyfannitutti/mulletpad/info.json rename to keyboards/coseyfannitutti/mulletpad/keyboard.json index 7de583e8a96..13e7212297b 100644 --- a/keyboards/coseyfannitutti/mulletpad/info.json +++ b/keyboards/coseyfannitutti/mulletpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6666", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "C7", "C6", "B6"], "rows": ["F4", "F1", "F5", "F6", "F7"] diff --git a/keyboards/coseyfannitutti/mulletpad/rules.mk b/keyboards/coseyfannitutti/mulletpad/rules.mk deleted file mode 100644 index 7829a2753bb..00000000000 --- a/keyboards/coseyfannitutti/mulletpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/coseyfannitutti/romeo/info.json b/keyboards/coseyfannitutti/romeo/keyboard.json similarity index 98% rename from keyboards/coseyfannitutti/romeo/info.json rename to keyboards/coseyfannitutti/romeo/keyboard.json index 54559abad67..5392cf00f1a 100644 --- a/keyboards/coseyfannitutti/romeo/info.json +++ b/keyboards/coseyfannitutti/romeo/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4069", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C5", "C4", "C3", "D0", "C2", "D1", "C1", "C0", "D4", "B0", "D7", "D6"], "rows": ["B1", "B4", "B3", "B2"] diff --git a/keyboards/coseyfannitutti/romeo/rules.mk b/keyboards/coseyfannitutti/romeo/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/coseyfannitutti/romeo/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cosmo65/info.json b/keyboards/cosmo65/keyboard.json similarity index 95% rename from keyboards/cosmo65/info.json rename to keyboards/cosmo65/keyboard.json index 1cc4ff4e637..1814b3f0d0c 100644 --- a/keyboards/cosmo65/info.json +++ b/keyboards/cosmo65/keyboard.json @@ -25,6 +25,15 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D1", "D2", "D3", "F1", "F6"], "rows": ["D5", "D0", "F0", "F5", "F4"] diff --git a/keyboards/cosmo65/rules.mk b/keyboards/cosmo65/rules.mk deleted file mode 100644 index 940a788addd..00000000000 --- a/keyboards/cosmo65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/cozykeys/bloomer/v2/info.json b/keyboards/cozykeys/bloomer/v2/keyboard.json similarity index 97% rename from keyboards/cozykeys/bloomer/v2/info.json rename to keyboards/cozykeys/bloomer/v2/keyboard.json index 1d519d7aad6..9f09db86fa0 100644 --- a/keyboards/cozykeys/bloomer/v2/info.json +++ b/keyboards/cozykeys/bloomer/v2/keyboard.json @@ -2,6 +2,15 @@ "usb": { "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "B1", "B4", "C6", "E6", "B5", "B6", "B7", "D6", "C7"], "rows": ["D0", "D1", "D3", "D2", "D4", "B2"] diff --git a/keyboards/cozykeys/bloomer/v2/rules.mk b/keyboards/cozykeys/bloomer/v2/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/cozykeys/bloomer/v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cozykeys/bloomer/v3/info.json b/keyboards/cozykeys/bloomer/v3/keyboard.json similarity index 97% rename from keyboards/cozykeys/bloomer/v3/info.json rename to keyboards/cozykeys/bloomer/v3/keyboard.json index 3b630f852a3..a0f04956af4 100644 --- a/keyboards/cozykeys/bloomer/v3/info.json +++ b/keyboards/cozykeys/bloomer/v3/keyboard.json @@ -2,6 +2,15 @@ "usb": { "device_version": "0.0.3" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "B1", "B4", "C6", "E6", "B5", "B6", "B7", "D6", "C7"], "rows": ["D0", "D1", "D3", "D2", "D4", "B2"] diff --git a/keyboards/cozykeys/bloomer/v3/rules.mk b/keyboards/cozykeys/bloomer/v3/rules.mk deleted file mode 100644 index aa4c817d2a2..00000000000 --- a/keyboards/cozykeys/bloomer/v3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cozykeys/speedo/v2/info.json b/keyboards/cozykeys/speedo/v2/keyboard.json similarity index 96% rename from keyboards/cozykeys/speedo/v2/info.json rename to keyboards/cozykeys/speedo/v2/keyboard.json index 9e70d28b41c..48412e7e7d6 100644 --- a/keyboards/cozykeys/speedo/v2/info.json +++ b/keyboards/cozykeys/speedo/v2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1192", "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B6", "B5", "D0", "B7", "B3", "B2", "B1", "B0"], "rows": ["D1", "D2", "D3", "C6", "C7"] diff --git a/keyboards/cozykeys/speedo/v2/rules.mk b/keyboards/cozykeys/speedo/v2/rules.mk deleted file mode 100644 index 59c896dbff6..00000000000 --- a/keyboards/cozykeys/speedo/v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/craftwalk/info.json b/keyboards/craftwalk/keyboard.json similarity index 89% rename from keyboards/craftwalk/info.json rename to keyboards/craftwalk/keyboard.json index 51030e9e64b..e1cee6d56b9 100644 --- a/keyboards/craftwalk/info.json +++ b/keyboards/craftwalk/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": false, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B1", "F7", "F5", "F4", "B2", "E6", "B4"], "rows": ["F6", "B3", "B5"] diff --git a/keyboards/craftwalk/rules.mk b/keyboards/craftwalk/rules.mk deleted file mode 100644 index 2ce5bcb2bb6..00000000000 --- a/keyboards/craftwalk/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/crawlpad/info.json b/keyboards/crawlpad/keyboard.json similarity index 91% rename from keyboards/crawlpad/info.json rename to keyboards/crawlpad/keyboard.json index 3eb3b329555..1e9bb74c765 100644 --- a/keyboards/crawlpad/info.json +++ b/keyboards/crawlpad/keyboard.json @@ -26,6 +26,14 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "D5", "D6", "D7"], "rows": ["F0", "F1", "F4", "F5"] diff --git a/keyboards/crawlpad/rules.mk b/keyboards/crawlpad/rules.mk deleted file mode 100755 index 516dd414797..00000000000 --- a/keyboards/crawlpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # [Crawlpad] Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # [Crawlpad] This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = no # [Crawlpad] This can be enabled if a ws2812 strip is connected to the expansion port. diff --git a/keyboards/crazy_keyboard_68/info.json b/keyboards/crazy_keyboard_68/keyboard.json similarity index 96% rename from keyboards/crazy_keyboard_68/info.json rename to keyboards/crazy_keyboard_68/keyboard.json index 704bcb5897f..fa36b106be0 100644 --- a/keyboards/crazy_keyboard_68/info.json +++ b/keyboards/crazy_keyboard_68/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x13DE", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "F4"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/crazy_keyboard_68/rules.mk b/keyboards/crazy_keyboard_68/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/crazy_keyboard_68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/crbn/info.json b/keyboards/crbn/keyboard.json similarity index 97% rename from keyboards/crbn/info.json rename to keyboards/crbn/keyboard.json index e227792440b..63c82470471 100644 --- a/keyboards/crbn/info.json +++ b/keyboards/crbn/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2"], "rows": ["B3", "B1", "F7", "F6"] diff --git a/keyboards/crbn/rules.mk b/keyboards/crbn/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/crbn/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/creatkeebs/glacier/info.json b/keyboards/creatkeebs/glacier/keyboard.json similarity index 97% rename from keyboards/creatkeebs/glacier/info.json rename to keyboards/creatkeebs/glacier/keyboard.json index 8b4aeacfcae..c6b5dccd2c1 100644 --- a/keyboards/creatkeebs/glacier/info.json +++ b/keyboards/creatkeebs/glacier/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "F6", "B0", "B6", "C6", "C7", "B1", "B2", "B3", "B7", "D3", "D2", "D1"], "rows": ["F0", "F1", "F4", "E6", "F5", "D0"] diff --git a/keyboards/creatkeebs/glacier/rules.mk b/keyboards/creatkeebs/glacier/rules.mk deleted file mode 100644 index 241d1099ca1..00000000000 --- a/keyboards/creatkeebs/glacier/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Enable keyboard RGB underglow -RGBLIGHT_ENABLE = no # Audio output diff --git a/keyboards/creatkeebs/thera/info.json b/keyboards/creatkeebs/thera/keyboard.json similarity index 99% rename from keyboards/creatkeebs/thera/info.json rename to keyboards/creatkeebs/thera/keyboard.json index ee098dfcb01..ab10fda3249 100644 --- a/keyboards/creatkeebs/thera/info.json +++ b/keyboards/creatkeebs/thera/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6061", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5"], "rows": ["B2", "B1", "B0", "E6", "B3", "B7"] diff --git a/keyboards/creatkeebs/thera/rules.mk b/keyboards/creatkeebs/thera/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/creatkeebs/thera/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/crin/info.json b/keyboards/crin/keyboard.json similarity index 99% rename from keyboards/crin/info.json rename to keyboards/crin/keyboard.json index 7e2c402a110..e6680219363 100644 --- a/keyboards/crin/info.json +++ b/keyboards/crin/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xCC11", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "B9", "B8", "B7", "B6", "B5", "B4", "B3"], "rows": ["A9", "A8", "B15", "B14", "B13"] diff --git a/keyboards/crin/rules.mk b/keyboards/crin/rules.mk deleted file mode 100644 index 7f4f202a1b7..00000000000 --- a/keyboards/crin/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/cutie_club/borsdorf/info.json b/keyboards/cutie_club/borsdorf/keyboard.json similarity index 97% rename from keyboards/cutie_club/borsdorf/info.json rename to keyboards/cutie_club/borsdorf/keyboard.json index 0d038b74c1b..ba3b6f8376e 100644 --- a/keyboards/cutie_club/borsdorf/info.json +++ b/keyboards/cutie_club/borsdorf/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6D8A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "F1", "F0"], "rows": ["A15", "A14", "B12", "B5", "B4"] diff --git a/keyboards/cutie_club/borsdorf/rules.mk b/keyboards/cutie_club/borsdorf/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/cutie_club/borsdorf/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cutie_club/giant_macro_pad/info.json b/keyboards/cutie_club/giant_macro_pad/keyboard.json similarity index 99% rename from keyboards/cutie_club/giant_macro_pad/info.json rename to keyboards/cutie_club/giant_macro_pad/keyboard.json index 8132fa62a5d..fc5ce85a2a8 100644 --- a/keyboards/cutie_club/giant_macro_pad/info.json +++ b/keyboards/cutie_club/giant_macro_pad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x74B6", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C9", "C8", "C7", "C6", "B15", "B14", "B13", "B12", "A8", "A15", "B9", "A2", "A1", "A0", "C3", "C2", "C1", "C0", "F1", "F0"], "rows": ["C10", "C11", "C12", "D2", "B3", "B4", "B5", "B6", "B7", "B8", "A3", "B2", "B1", "B0", "C5", "C4", "A7", "A6", "A5", "A4"] diff --git a/keyboards/cutie_club/giant_macro_pad/rules.mk b/keyboards/cutie_club/giant_macro_pad/rules.mk deleted file mode 100755 index ab2c49da70e..00000000000 --- a/keyboards/cutie_club/giant_macro_pad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cutie_club/keebcats/denis/info.json b/keyboards/cutie_club/keebcats/denis/keyboard.json similarity index 99% rename from keyboards/cutie_club/keebcats/denis/info.json rename to keyboards/cutie_club/keebcats/denis/keyboard.json index 3d3abea4348..9f583d9797b 100644 --- a/keyboards/cutie_club/keebcats/denis/info.json +++ b/keyboards/cutie_club/keebcats/denis/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB260", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], "rows": ["B2", "D0", "F5", "F4", "F1"] diff --git a/keyboards/cutie_club/keebcats/denis/rules.mk b/keyboards/cutie_club/keebcats/denis/rules.mk deleted file mode 100644 index b306c637e9d..00000000000 --- a/keyboards/cutie_club/keebcats/denis/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable bootmagic -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cutie_club/keebcats/dougal/info.json b/keyboards/cutie_club/keebcats/dougal/keyboard.json similarity index 98% rename from keyboards/cutie_club/keebcats/dougal/info.json rename to keyboards/cutie_club/keebcats/dougal/keyboard.json index da7f99283b5..19a422b9ba5 100644 --- a/keyboards/cutie_club/keebcats/dougal/info.json +++ b/keyboards/cutie_club/keebcats/dougal/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB265", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "B7"], "rows": ["B2", "D0", "F5", "F4", "F1"] diff --git a/keyboards/cutie_club/keebcats/dougal/rules.mk b/keyboards/cutie_club/keebcats/dougal/rules.mk deleted file mode 100644 index 8048c29cc0c..00000000000 --- a/keyboards/cutie_club/keebcats/dougal/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cutie_club/novus/info.json b/keyboards/cutie_club/novus/keyboard.json similarity index 98% rename from keyboards/cutie_club/novus/info.json rename to keyboards/cutie_club/novus/keyboard.json index ddbfad6af8b..8738fcc32c8 100644 --- a/keyboards/cutie_club/novus/info.json +++ b/keyboards/cutie_club/novus/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3F42", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "C6", "C7", "B2", "B3", "D0", "D1", "D2", "D3", "D7", "B4", "B5", "D5", "D4", "D6"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/cutie_club/novus/rules.mk b/keyboards/cutie_club/novus/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/cutie_club/novus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cutie_club/wraith/info.json b/keyboards/cutie_club/wraith/keyboard.json similarity index 98% rename from keyboards/cutie_club/wraith/info.json rename to keyboards/cutie_club/wraith/keyboard.json index 4a9809fe4a8..6f217e420f3 100644 --- a/keyboards/cutie_club/wraith/info.json +++ b/keyboards/cutie_club/wraith/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "B7"] diff --git a/keyboards/cutie_club/wraith/rules.mk b/keyboards/cutie_club/wraith/rules.mk deleted file mode 100644 index 8d97e04e77d..00000000000 --- a/keyboards/cutie_club/wraith/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cx60/info.json b/keyboards/cx60/keyboard.json similarity index 96% rename from keyboards/cx60/info.json rename to keyboards/cx60/keyboard.json index e03587e3e46..9748d934a6c 100644 --- a/keyboards/cx60/info.json +++ b/keyboards/cx60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x3630", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "F7", "F0", "B4", "D7", "D6", "B0", "B1", "B2", "B3", "D2", "D3", "D5"], "rows": ["F1", "F4", "F5", "F6", "E6"] diff --git a/keyboards/cx60/rules.mk b/keyboards/cx60/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/cx60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/cybergear/macro25/info.json b/keyboards/cybergear/macro25/keyboard.json similarity index 86% rename from keyboards/cybergear/macro25/info.json rename to keyboards/cybergear/macro25/keyboard.json index 1737c5f8fd0..a1fca494061 100644 --- a/keyboards/cybergear/macro25/info.json +++ b/keyboards/cybergear/macro25/keyboard.json @@ -28,6 +28,14 @@ ] } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "rows": ["E6", "B4"], "cols": ["B1", "F7", "F6", "F5", "F4"] diff --git a/keyboards/cybergear/macro25/rules.mk b/keyboards/cybergear/macro25/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/cybergear/macro25/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dailycraft/owl8/info.json b/keyboards/dailycraft/owl8/keyboard.json similarity index 86% rename from keyboards/dailycraft/owl8/info.json rename to keyboards/dailycraft/owl8/keyboard.json index 9dc42c8fd78..9d654b7d3fb 100644 --- a/keyboards/dailycraft/owl8/info.json +++ b/keyboards/dailycraft/owl8/keyboard.json @@ -16,6 +16,15 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["F4", "F7", "B3", "B6", "F5", "F6", "B1", "B2", "D4", "C6", "D7", "E6"] diff --git a/keyboards/dailycraft/owl8/rules.mk b/keyboards/dailycraft/owl8/rules.mk deleted file mode 100644 index 453f0a34d38..00000000000 --- a/keyboards/dailycraft/owl8/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/dailycraft/stickey4/info.json b/keyboards/dailycraft/stickey4/keyboard.json similarity index 79% rename from keyboards/dailycraft/stickey4/info.json rename to keyboards/dailycraft/stickey4/keyboard.json index 156a6d63a1f..101c796b4ea 100644 --- a/keyboards/dailycraft/stickey4/info.json +++ b/keyboards/dailycraft/stickey4/keyboard.json @@ -16,6 +16,15 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["D4", "C6", "D7", "E6"] diff --git a/keyboards/dailycraft/stickey4/rules.mk b/keyboards/dailycraft/stickey4/rules.mk deleted file mode 100644 index 453f0a34d38..00000000000 --- a/keyboards/dailycraft/stickey4/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/daji/seis_cinco/info.json b/keyboards/daji/seis_cinco/keyboard.json similarity index 97% rename from keyboards/daji/seis_cinco/info.json rename to keyboards/daji/seis_cinco/keyboard.json index 3e561061888..a358ae86a1c 100644 --- a/keyboards/daji/seis_cinco/info.json +++ b/keyboards/daji/seis_cinco/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xBF22", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B1", "B0", "A7", "B14", "A8", "B15", "A0", "C15", "C14", "C13", "B5", "B4", "B3", "A15", "A10", "A14"], "rows": ["B2", "B10", "B11", "A9", "A6"] diff --git a/keyboards/daji/seis_cinco/rules.mk b/keyboards/daji/seis_cinco/rules.mk deleted file mode 100644 index c3b8e77d77a..00000000000 --- a/keyboards/daji/seis_cinco/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/db/db63/info.json b/keyboards/db/db63/keyboard.json similarity index 95% rename from keyboards/db/db63/info.json rename to keyboards/db/db63/keyboard.json index 30a94c2b9cf..ec41b8c313a 100644 --- a/keyboards/db/db63/info.json +++ b/keyboards/db/db63/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/db/db63/rules.mk b/keyboards/db/db63/rules.mk deleted file mode 100644 index 166b3d3ec8d..00000000000 --- a/keyboards/db/db63/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/delikeeb/flatbread60/info.json b/keyboards/delikeeb/flatbread60/keyboard.json similarity index 95% rename from keyboards/delikeeb/flatbread60/info.json rename to keyboards/delikeeb/flatbread60/keyboard.json index ac581c2d0e6..8a4614e5b46 100644 --- a/keyboards/delikeeb/flatbread60/info.json +++ b/keyboards/delikeeb/flatbread60/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"], "rows": ["F6", "B1", "B3", "B2", "B6"] diff --git a/keyboards/delikeeb/flatbread60/rules.mk b/keyboards/delikeeb/flatbread60/rules.mk deleted file mode 100644 index 2eba275490a..00000000000 --- a/keyboards/delikeeb/flatbread60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/delikeeb/vaguettelite/info.json b/keyboards/delikeeb/vaguettelite/keyboard.json similarity index 97% rename from keyboards/delikeeb/vaguettelite/info.json rename to keyboards/delikeeb/vaguettelite/keyboard.json index 45e17c432a0..98311fe1155 100644 --- a/keyboards/delikeeb/vaguettelite/info.json +++ b/keyboards/delikeeb/vaguettelite/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0011", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "B1", "B2", "B6", "B5", "B4", "E6", "D7", "C6", "D0", "D4"], "rows": ["F4", "B3", "D1", "D2", "D3", "F5"] diff --git a/keyboards/delikeeb/vaguettelite/rules.mk b/keyboards/delikeeb/vaguettelite/rules.mk deleted file mode 100644 index c5c4d8f35f1..00000000000 --- a/keyboards/delikeeb/vaguettelite/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/delikeeb/vaneela/info.json b/keyboards/delikeeb/vaneela/keyboard.json similarity index 95% rename from keyboards/delikeeb/vaneela/info.json rename to keyboards/delikeeb/vaneela/keyboard.json index 0ddbf2f162d..226014b8a0b 100644 --- a/keyboards/delikeeb/vaneela/info.json +++ b/keyboards/delikeeb/vaneela/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"], "rows": ["F6", "F7", "B3", "B2", "B6"] diff --git a/keyboards/delikeeb/vaneela/rules.mk b/keyboards/delikeeb/vaneela/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/delikeeb/vaneela/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/delikeeb/vaneelaex/info.json b/keyboards/delikeeb/vaneelaex/keyboard.json similarity index 95% rename from keyboards/delikeeb/vaneelaex/info.json rename to keyboards/delikeeb/vaneelaex/keyboard.json index 1da7fbec92b..8bf40b169bc 100644 --- a/keyboards/delikeeb/vaneelaex/info.json +++ b/keyboards/delikeeb/vaneelaex/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B5", "B4", "E6", "D7", "C6", "D4"], "rows": ["D3", "D2", "D1", "D0", "B2", "B6"] diff --git a/keyboards/delikeeb/vaneelaex/rules.mk b/keyboards/delikeeb/vaneelaex/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/delikeeb/vaneelaex/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/deltapad/info.json b/keyboards/deltapad/keyboard.json similarity index 92% rename from keyboards/deltapad/info.json rename to keyboards/deltapad/keyboard.json index 1b79bf47a34..256f2ba1055 100644 --- a/keyboards/deltapad/info.json +++ b/keyboards/deltapad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0123", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5"], "rows": ["D2", "D3", "D1", "D0"] diff --git a/keyboards/deltapad/rules.mk b/keyboards/deltapad/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/deltapad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/demiurge/info.json b/keyboards/demiurge/keyboard.json similarity index 98% rename from keyboards/demiurge/info.json rename to keyboards/demiurge/keyboard.json index 8fc707be2c2..ad5264323bf 100644 --- a/keyboards/demiurge/info.json +++ b/keyboards/demiurge/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6475", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F5", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "B7", "B3", "B2"], "rows": ["F0", "F4", "F6", "F7", "C7"] diff --git a/keyboards/demiurge/rules.mk b/keyboards/demiurge/rules.mk deleted file mode 100755 index 135b7958b67..00000000000 --- a/keyboards/demiurge/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/keyboard.json similarity index 89% rename from keyboards/deng/djam/info.json rename to keyboards/deng/djam/keyboard.json index 47d9559d304..94e2aca2ecc 100644 --- a/keyboards/deng/djam/info.json +++ b/keyboards/deng/djam/keyboard.json @@ -18,6 +18,16 @@ }, "driver": "ws2812" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4"] diff --git a/keyboards/deng/djam/rules.mk b/keyboards/deng/djam/rules.mk deleted file mode 100644 index 150b7c690d8..00000000000 --- a/keyboards/deng/djam/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/dinofizz/fnrow/v1/info.json b/keyboards/dinofizz/fnrow/v1/keyboard.json similarity index 87% rename from keyboards/dinofizz/fnrow/v1/info.json rename to keyboards/dinofizz/fnrow/v1/keyboard.json index 9beff28ec89..16f80b780d0 100644 --- a/keyboards/dinofizz/fnrow/v1/info.json +++ b/keyboards/dinofizz/fnrow/v1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0100", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B3", "B4", "B5", "B6", "B7"], "rows": ["A0", "A1"] diff --git a/keyboards/dinofizz/fnrow/v1/rules.mk b/keyboards/dinofizz/fnrow/v1/rules.mk deleted file mode 100644 index a1e56ea4862..00000000000 --- a/keyboards/dinofizz/fnrow/v1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/dk60/info.json b/keyboards/dk60/keyboard.json similarity index 94% rename from keyboards/dk60/info.json rename to keyboards/dk60/keyboard.json index 5af417c2b70..3e451a5c8dc 100644 --- a/keyboards/dk60/info.json +++ b/keyboards/dk60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x56C2", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "sleep_led": true, + "unicode": true + }, "matrix_pins": { "cols": ["B0", "B3", "B2", "B1", "D3", "D5", "B5", "B7", "C6", "C7", "D0", "D1", "D2"], "rows": ["B6", "B4", "D7", "D6", "D4"] diff --git a/keyboards/dk60/rules.mk b/keyboards/dk60/rules.mk deleted file mode 100644 index 99c7eb0fa2e..00000000000 --- a/keyboards/dk60/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes -UNICODE_ENABLE = yes diff --git a/keyboards/dm9records/lain/info.json b/keyboards/dm9records/lain/keyboard.json similarity index 95% rename from keyboards/dm9records/lain/info.json rename to keyboards/dm9records/lain/keyboard.json index 250eb2ddafd..3736d04aeee 100644 --- a/keyboards/dm9records/lain/info.json +++ b/keyboards/dm9records/lain/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE8F4", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "F7", "F6", "F5", "F4", "F1", "F0", "B3", "B2", "B1", "D2", "D3", "D5"], "rows": ["C6", "D7", "D6", "D4"] diff --git a/keyboards/dm9records/lain/rules.mk b/keyboards/dm9records/lain/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/dm9records/lain/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dmqdesign/spin/info.json b/keyboards/dmqdesign/spin/keyboard.json similarity index 86% rename from keyboards/dmqdesign/spin/info.json rename to keyboards/dmqdesign/spin/keyboard.json index aeeb19299e2..a2bc050e910 100644 --- a/keyboards/dmqdesign/spin/info.json +++ b/keyboards/dmqdesign/spin/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "midi": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "C7", "C6"], "rows": ["F0", "F1", "F4"] diff --git a/keyboards/dmqdesign/spin/rules.mk b/keyboards/dmqdesign/spin/rules.mk deleted file mode 100644 index e77cf66617e..00000000000 --- a/keyboards/dmqdesign/spin/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -MIDI_ENABLE = yes # MIDI support -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable rotary encoder support diff --git a/keyboards/do60/info.json b/keyboards/do60/keyboard.json similarity index 98% rename from keyboards/do60/info.json rename to keyboards/do60/keyboard.json index e3cab833a04..76de66f6d7d 100644 --- a/keyboards/do60/info.json +++ b/keyboards/do60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "F4", "B4", "D7", "D6", "B3", "B0"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/do60/rules.mk b/keyboards/do60/rules.mk deleted file mode 100644 index d22d1cd2f42..00000000000 --- a/keyboards/do60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -AUDIO_ENABLE = no # Audio output -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -COMMAND_ENABLE = no # Commands for debug and configuration -CONSOLE_ENABLE = no # Console for debug -EXTRAKEY_ENABLE = yes # Audio control and System control -MOUSEKEY_ENABLE = yes # Mouse keys -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/doio/kb30/info.json b/keyboards/doio/kb30/keyboard.json similarity index 93% rename from keyboards/doio/kb30/info.json rename to keyboards/doio/kb30/keyboard.json index 60e02a58baa..637a1fe68b1 100644 --- a/keyboards/doio/kb30/info.json +++ b/keyboards/doio/kb30/keyboard.json @@ -48,6 +48,17 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B14", "B13", "B12", "B0", "A7", "A9", "A8"], "rows": ["B3", "B4", "B9", "B8", "A5", "A6"] diff --git a/keyboards/doio/kb30/rules.mk b/keyboards/doio/kb30/rules.mk deleted file mode 100644 index 1e48f891f28..00000000000 --- a/keyboards/doio/kb30/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -OLED_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/donutcables/budget96/info.json b/keyboards/donutcables/budget96/keyboard.json similarity index 99% rename from keyboards/donutcables/budget96/info.json rename to keyboards/donutcables/budget96/keyboard.json index a6028115353..eaba1b7c464 100644 --- a/keyboards/donutcables/budget96/info.json +++ b/keyboards/donutcables/budget96/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xB960", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/donutcables/budget96/rules.mk b/keyboards/donutcables/budget96/rules.mk deleted file mode 100644 index 166b3d3ec8d..00000000000 --- a/keyboards/donutcables/budget96/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/donutcables/scrabblepad/info.json b/keyboards/donutcables/scrabblepad/keyboard.json similarity index 99% rename from keyboards/donutcables/scrabblepad/info.json rename to keyboards/donutcables/scrabblepad/keyboard.json index fb9b6f3a1d7..ed31e35018d 100644 --- a/keyboards/donutcables/scrabblepad/info.json +++ b/keyboards/donutcables/scrabblepad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x21D7", "device_version": "1.0.0" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "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"] diff --git a/keyboards/donutcables/scrabblepad/rules.mk b/keyboards/donutcables/scrabblepad/rules.mk deleted file mode 100644 index 84ab7f32b2b..00000000000 --- a/keyboards/donutcables/scrabblepad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/doodboard/duckboard/info.json b/keyboards/doodboard/duckboard/keyboard.json similarity index 87% rename from keyboards/doodboard/duckboard/info.json rename to keyboards/doodboard/duckboard/keyboard.json index 3d457701121..bb0b5c0f002 100644 --- a/keyboards/doodboard/duckboard/info.json +++ b/keyboards/doodboard/duckboard/keyboard.json @@ -8,6 +8,17 @@ "pid": "0xFF44", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "B1", "B3", "B2", "B6"], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/doodboard/duckboard/rules.mk b/keyboards/doodboard/duckboard/rules.mk deleted file mode 100644 index 0551c8b3709..00000000000 --- a/keyboards/doodboard/duckboard/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/doodboard/duckboard_r2/info.json b/keyboards/doodboard/duckboard_r2/keyboard.json similarity index 88% rename from keyboards/doodboard/duckboard_r2/info.json rename to keyboards/doodboard/duckboard_r2/keyboard.json index 4c47e9a70ea..94c79d382c9 100644 --- a/keyboards/doodboard/duckboard_r2/info.json +++ b/keyboards/doodboard/duckboard_r2/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x6462", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "B1", "B3", "B2", "B6"], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/doodboard/duckboard_r2/rules.mk b/keyboards/doodboard/duckboard_r2/rules.mk deleted file mode 100644 index 0551c8b3709..00000000000 --- a/keyboards/doodboard/duckboard_r2/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/doro67/multi/info.json b/keyboards/doro67/multi/keyboard.json similarity index 98% rename from keyboards/doro67/multi/info.json rename to keyboards/doro67/multi/keyboard.json index 10cd3bb652a..81f2940b362 100644 --- a/keyboards/doro67/multi/info.json +++ b/keyboards/doro67/multi/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4D4C", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F5", "F6", "F7"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/doro67/multi/rules.mk b/keyboards/doro67/multi/rules.mk deleted file mode 100644 index f89945313a8..00000000000 --- a/keyboards/doro67/multi/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/doro67/regular/info.json b/keyboards/doro67/regular/keyboard.json similarity index 95% rename from keyboards/doro67/regular/info.json rename to keyboards/doro67/regular/keyboard.json index 863d935b0a6..511dbc2ba4b 100644 --- a/keyboards/doro67/regular/info.json +++ b/keyboards/doro67/regular/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x5245", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F5", "F6", "F7"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/doro67/regular/rules.mk b/keyboards/doro67/regular/rules.mk deleted file mode 100644 index e70cd601e74..00000000000 --- a/keyboards/doro67/regular/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/doro67/rgb/info.json b/keyboards/doro67/rgb/keyboard.json similarity index 96% rename from keyboards/doro67/rgb/info.json rename to keyboards/doro67/rgb/keyboard.json index 3c2461a90b9..87a31e6e21e 100644 --- a/keyboards/doro67/rgb/info.json +++ b/keyboards/doro67/rgb/keyboard.json @@ -56,6 +56,15 @@ }, "driver": "ws2812" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F5", "F6", "F7"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/doro67/rgb/rules.mk b/keyboards/doro67/rgb/rules.mk deleted file mode 100644 index b400e0a170e..00000000000 --- a/keyboards/doro67/rgb/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/draytronics/daisy/info.json b/keyboards/draytronics/daisy/keyboard.json similarity index 89% rename from keyboards/draytronics/daisy/info.json rename to keyboards/draytronics/daisy/keyboard.json index 4597ca9d178..f871517e879 100644 --- a/keyboards/draytronics/daisy/info.json +++ b/keyboards/draytronics/daisy/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4441", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C2", "C3", "C4", "C5"], "rows": ["B0", "C0", "C1"] diff --git a/keyboards/draytronics/daisy/rules.mk b/keyboards/draytronics/daisy/rules.mk deleted file mode 100644 index 09169eaf7f0..00000000000 --- a/keyboards/draytronics/daisy/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary encoder support diff --git a/keyboards/draytronics/elise/info.json b/keyboards/draytronics/elise/keyboard.json similarity index 99% rename from keyboards/draytronics/elise/info.json rename to keyboards/draytronics/elise/keyboard.json index 80f4fa69e53..62ccd9babbe 100644 --- a/keyboards/draytronics/elise/info.json +++ b/keyboards/draytronics/elise/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x454C", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D3", "D5"], "rows": ["B2", "B3", "B1", "F0", "F1"] diff --git a/keyboards/draytronics/elise/rules.mk b/keyboards/draytronics/elise/rules.mk deleted file mode 100644 index 28c29a3b4dc..00000000000 --- a/keyboards/draytronics/elise/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/draytronics/elise_v2/info.json b/keyboards/draytronics/elise_v2/keyboard.json similarity index 99% rename from keyboards/draytronics/elise_v2/info.json rename to keyboards/draytronics/elise_v2/keyboard.json index 966ca3faa42..91f34c23f87 100644 --- a/keyboards/draytronics/elise_v2/info.json +++ b/keyboards/draytronics/elise_v2/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D3", "D5"], "rows": ["B2", "B3", "B1", "F0", "F1"] diff --git a/keyboards/draytronics/elise_v2/rules.mk b/keyboards/draytronics/elise_v2/rules.mk deleted file mode 100644 index 28c29a3b4dc..00000000000 --- a/keyboards/draytronics/elise_v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dtisaac/cg108/info.json b/keyboards/dtisaac/cg108/keyboard.json similarity index 97% rename from keyboards/dtisaac/cg108/info.json rename to keyboards/dtisaac/cg108/keyboard.json index bad71681c0a..703586e3d06 100644 --- a/keyboards/dtisaac/cg108/info.json +++ b/keyboards/dtisaac/cg108/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4973", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "C6", "B4", "D7", "B3", "B2", "B0", "E6", "B1", "D1", "D6"], "rows": ["F4", "F1", "F0", "F5", "F6", "F7", "D4", "D5", "D3", "D2", "D0"] diff --git a/keyboards/dtisaac/cg108/rules.mk b/keyboards/dtisaac/cg108/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/dtisaac/cg108/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dtisaac/dtisaac01/info.json b/keyboards/dtisaac/dtisaac01/keyboard.json similarity index 99% rename from keyboards/dtisaac/dtisaac01/info.json rename to keyboards/dtisaac/dtisaac01/keyboard.json index 3d16da6d222..0b4b1b30575 100644 --- a/keyboards/dtisaac/dtisaac01/info.json +++ b/keyboards/dtisaac/dtisaac01/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4973", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "C6", "D0", "B5", "F0", "D7", "B0", "B7", "D1"], "rows": ["F7", "F6", "F5", "F4", "F1", "B4", "D2", "B2", "B1", "B3", "D4", "D6"] diff --git a/keyboards/dtisaac/dtisaac01/rules.mk b/keyboards/dtisaac/dtisaac01/rules.mk deleted file mode 100644 index e2a6fcff00f..00000000000 --- a/keyboards/dtisaac/dtisaac01/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dyz/dyz40/info.json b/keyboards/dyz/dyz40/keyboard.json similarity index 98% rename from keyboards/dyz/dyz40/info.json rename to keyboards/dyz/dyz40/keyboard.json index fdd14a7c428..4916ec7ecd0 100644 --- a/keyboards/dyz/dyz40/info.json +++ b/keyboards/dyz/dyz40/keyboard.json @@ -4,6 +4,16 @@ "url": "https://github.com/dayatz/mechanical-keyboards/tree/master/dyz40", "maintainer": "dayatz", "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7"], "rows": ["B0", "B1", "B3", "B2"] diff --git a/keyboards/dyz/dyz40/rules.mk b/keyboards/dyz/dyz40/rules.mk deleted file mode 100644 index e3c4a42def8..00000000000 --- a/keyboards/dyz/dyz40/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/dyz/dyz60/info.json b/keyboards/dyz/dyz60/keyboard.json similarity index 98% rename from keyboards/dyz/dyz60/info.json rename to keyboards/dyz/dyz60/keyboard.json index 28300d79143..824e23d709b 100644 --- a/keyboards/dyz/dyz60/info.json +++ b/keyboards/dyz/dyz60/keyboard.json @@ -4,6 +4,16 @@ "url": "https://github.com/dayatz/mechanical-keyboards/tree/master/dyz60", "maintainer": "dayatz", "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "B3", "B2", "B1", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B0", "E6", "F0", "F5", "F4"] diff --git a/keyboards/dyz/dyz60/rules.mk b/keyboards/dyz/dyz60/rules.mk deleted file mode 100644 index e3c4a42def8..00000000000 --- a/keyboards/dyz/dyz60/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/dyz/dyz60_hs/info.json b/keyboards/dyz/dyz60_hs/keyboard.json similarity index 99% rename from keyboards/dyz/dyz60_hs/info.json rename to keyboards/dyz/dyz60_hs/keyboard.json index 598f236980b..637f02d910d 100644 --- a/keyboards/dyz/dyz60_hs/info.json +++ b/keyboards/dyz/dyz60_hs/keyboard.json @@ -4,6 +4,15 @@ "url": "https://github.com/dayatz/mechanical-keyboards/tree/master/dyz60_hs", "maintainer": "dayatz", "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "B3", "B2", "B1", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], "rows": ["E6", "B0", "F0", "F6", "F7"] diff --git a/keyboards/dyz/dyz60_hs/rules.mk b/keyboards/dyz/dyz60_hs/rules.mk deleted file mode 100644 index d8668fc8312..00000000000 --- a/keyboards/dyz/dyz60_hs/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no diff --git a/keyboards/dyz/dyz_tkl/info.json b/keyboards/dyz/dyz_tkl/keyboard.json similarity index 99% rename from keyboards/dyz/dyz_tkl/info.json rename to keyboards/dyz/dyz_tkl/keyboard.json index 298611a742f..4d8bba17108 100644 --- a/keyboards/dyz/dyz_tkl/info.json +++ b/keyboards/dyz/dyz_tkl/keyboard.json @@ -4,6 +4,15 @@ "url": "https://github.com/dayatz/mechanical-keyboards/tree/master/dyz_tkl", "maintainer": "dayatz", "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "rows": ["E6", "B0", "B3", "B1", "B7", "B2", "F1", "F0", "F5", "F4", "F7", "F6"], "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D0"] diff --git a/keyboards/dyz/dyz_tkl/rules.mk b/keyboards/dyz/dyz_tkl/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/dyz/dyz_tkl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dyz/selka40/info.json b/keyboards/dyz/selka40/keyboard.json similarity index 96% rename from keyboards/dyz/selka40/info.json rename to keyboards/dyz/selka40/keyboard.json index 95ac00a8831..4a8df196339 100644 --- a/keyboards/dyz/selka40/info.json +++ b/keyboards/dyz/selka40/keyboard.json @@ -4,6 +4,16 @@ "url": "https://github.com/dayatz/mechanical-keyboards/tree/master/selka40", "maintainer": "dayatz", "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "E6", "B7", "D5", "D3", "D2", "D1", "D0"], "rows": ["C7", "C6", "B6", "B5"] diff --git a/keyboards/dyz/selka40/rules.mk b/keyboards/dyz/selka40/rules.mk deleted file mode 100644 index e3c4a42def8..00000000000 --- a/keyboards/dyz/selka40/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/dyz/synthesis60/info.json b/keyboards/dyz/synthesis60/keyboard.json similarity index 98% rename from keyboards/dyz/synthesis60/info.json rename to keyboards/dyz/synthesis60/keyboard.json index 09120c47af0..cdb4760381a 100644 --- a/keyboards/dyz/synthesis60/info.json +++ b/keyboards/dyz/synthesis60/keyboard.json @@ -4,6 +4,16 @@ "url": "https://github.com/dayatz/mechanical-keyboards/tree/master/synthesis60", "maintainer": "dayatz", "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "D7", "D3", "D2", "E6", "B3", "B2", "B1", "B0"], "rows": ["B4", "B5", "B6", "D6", "D4"] diff --git a/keyboards/dyz/synthesis60/rules.mk b/keyboards/dyz/synthesis60/rules.mk deleted file mode 100644 index f5d7b73330d..00000000000 --- a/keyboards/dyz/synthesis60/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no -OLED_ENABLE = yes diff --git a/keyboards/dz60/info.json b/keyboards/dz60/keyboard.json similarity index 99% rename from keyboards/dz60/info.json rename to keyboards/dz60/keyboard.json index a46b1564ec5..eb831143b79 100644 --- a/keyboards/dz60/info.json +++ b/keyboards/dz60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x2260", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/dz60/rules.mk b/keyboards/dz60/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/dz60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dztech/bocc/info.json b/keyboards/dztech/bocc/keyboard.json similarity index 99% rename from keyboards/dztech/bocc/info.json rename to keyboards/dztech/bocc/keyboard.json index 1b284df4e35..5d56524b3fb 100644 --- a/keyboards/dztech/bocc/info.json +++ b/keyboards/dztech/bocc/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1010", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B0", "B1", "B2", "B3", "F0"] diff --git a/keyboards/dztech/bocc/rules.mk b/keyboards/dztech/bocc/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/dztech/bocc/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dztech/duo_s/info.json b/keyboards/dztech/duo_s/keyboard.json similarity index 96% rename from keyboards/dztech/duo_s/info.json rename to keyboards/dztech/duo_s/keyboard.json index ef5af799be5..46f9b4fc349 100644 --- a/keyboards/dztech/duo_s/info.json +++ b/keyboards/dztech/duo_s/keyboard.json @@ -33,6 +33,15 @@ "ws2812": { "pin": "B15" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B12", "B13", "B14", "A8", "B9", "C13", "C14", "C15", "A1", "A2", "A3", "A4", "A5", "A6", "A7"], "rows": ["A15", "B3", "B4", "B5", "B11"] diff --git a/keyboards/dztech/duo_s/rules.mk b/keyboards/dztech/duo_s/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/dztech/duo_s/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dztech/dz65rgb/v1/info.json b/keyboards/dztech/dz65rgb/v1/keyboard.json similarity index 96% rename from keyboards/dztech/dz65rgb/v1/info.json rename to keyboards/dztech/dz65rgb/v1/keyboard.json index 98c69134ebf..6dcc88b59e6 100644 --- a/keyboards/dztech/dz65rgb/v1/info.json +++ b/keyboards/dztech/dz65rgb/v1/keyboard.json @@ -44,6 +44,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A6", "A7", "B0", "B13", "B15", "A8", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15"], "rows": ["B1", "B10", "B11", "B14", "B12"] diff --git a/keyboards/dztech/dz65rgb/v1/rules.mk b/keyboards/dztech/dz65rgb/v1/rules.mk deleted file mode 100644 index ea646d3d939..00000000000 --- a/keyboards/dztech/dz65rgb/v1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/dztech/dz65rgb/v2/info.json b/keyboards/dztech/dz65rgb/v2/keyboard.json similarity index 96% rename from keyboards/dztech/dz65rgb/v2/info.json rename to keyboards/dztech/dz65rgb/v2/keyboard.json index 16919905d89..16d38a3af54 100644 --- a/keyboards/dztech/dz65rgb/v2/info.json +++ b/keyboards/dztech/dz65rgb/v2/keyboard.json @@ -44,6 +44,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "C7", "B0", "B1", "B2", "B3", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["F0", "F1", "F4", "E6", "C6"] diff --git a/keyboards/dztech/dz65rgb/v2/rules.mk b/keyboards/dztech/dz65rgb/v2/rules.mk deleted file mode 100644 index ea646d3d939..00000000000 --- a/keyboards/dztech/dz65rgb/v2/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/dztech/dz96/info.json b/keyboards/dztech/dz96/keyboard.json similarity index 99% rename from keyboards/dztech/dz96/info.json rename to keyboards/dztech/dz96/keyboard.json index c1d3b84623e..ef2de26a704 100644 --- a/keyboards/dztech/dz96/info.json +++ b/keyboards/dztech/dz96/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xDB96", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "F1", "F4", "F5", "F6", "F7", "D7", "B4", "B5", "D0", "D1", "D2", "D3"], "rows": ["B7", "B3", "E6", "F0", "D5", "D4", "D6", "C7"] diff --git a/keyboards/dztech/dz96/rules.mk b/keyboards/dztech/dz96/rules.mk deleted file mode 100644 index 14e80e7106b..00000000000 --- a/keyboards/dztech/dz96/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/dztech/endless80/info.json b/keyboards/dztech/endless80/keyboard.json similarity index 98% rename from keyboards/dztech/endless80/info.json rename to keyboards/dztech/endless80/keyboard.json index 4572b091fa6..9387b67eadc 100644 --- a/keyboards/dztech/endless80/info.json +++ b/keyboards/dztech/endless80/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1015", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "C6", "C7", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7", "B5"] diff --git a/keyboards/dztech/endless80/rules.mk b/keyboards/dztech/endless80/rules.mk deleted file mode 100644 index 4ae26a099a5..00000000000 --- a/keyboards/dztech/endless80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output From f1a279810fbab3b5d5c4cfa0b4146cf042dae3bb Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 14 Mar 2024 03:57:48 +0000 Subject: [PATCH 082/107] Migrate features from rules.mk to DD (#23202) --- .../0xcb/tutelpad/{info.json => keyboard.json} | 10 ++++++++++ keyboards/0xcb/tutelpad/rules.mk | 13 ------------- .../1up60rgb/{info.json => keyboard.json} | 10 ++++++++++ keyboards/1upkeyboards/1up60rgb/rules.mk | 12 ------------ .../super16/{info.json => keyboard.json} | 9 +++++++++ keyboards/1upkeyboards/super16/rules.mk | 13 ------------- .../super16v2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/1upkeyboards/super16v2/rules.mk | 14 -------------- keyboards/2key2crawl/{info.json => keyboard.json} | 9 +++++++++ keyboards/2key2crawl/rules.mk | 13 ------------- keyboards/30wer/{info.json => keyboard.json} | 8 ++++++++ keyboards/30wer/rules.mk | 12 ------------ .../2key2/{info.json => keyboard.json} | 9 +++++++++ keyboards/3keyecosystem/2key2/rules.mk | 13 ------------- .../4pack/{info.json => keyboard.json} | 9 +++++++++ keyboards/40percentclub/4pack/rules.mk | 12 ------------ .../5x5/{info.json => keyboard.json} | 8 ++++++++ keyboards/40percentclub/5x5/rules.mk | 11 ----------- .../luddite/{info.json => keyboard.json} | 10 ++++++++++ keyboards/40percentclub/luddite/rules.mk | 12 ------------ .../mf68/{info.json => keyboard.json} | 9 +++++++++ keyboards/40percentclub/mf68/rules.mk | 12 ------------ .../nano/{info.json => keyboard.json} | 10 ++++++++++ keyboards/40percentclub/nano/rules.mk | 13 ------------- .../nein/{info.json => keyboard.json} | 8 ++++++++ keyboards/40percentclub/nein/rules.mk | 12 ------------ .../sixpack/{info.json => keyboard.json} | 9 +++++++++ keyboards/40percentclub/sixpack/rules.mk | 12 ------------ .../tomato/{info.json => keyboard.json} | 9 +++++++++ keyboards/40percentclub/tomato/rules.mk | 12 ------------ keyboards/45_ats/{info.json => keyboard.json} | 8 ++++++++ keyboards/45_ats/rules.mk | 12 ------------ keyboards/4by3/{info.json => keyboard.json} | 8 ++++++++ keyboards/4by3/rules.mk | 4 ---- .../aekiso60/rev_a/{info.json => keyboard.json} | 8 ++++++++ keyboards/4pplet/aekiso60/rev_a/rules.mk | 12 ------------ .../bootleg/rev_a/{info.json => keyboard.json} | 8 ++++++++ keyboards/4pplet/bootleg/rev_a/rules.mk | 12 ------------ .../perk60_iso/rev_a/{info.json => keyboard.json} | 9 +++++++++ keyboards/4pplet/perk60_iso/rev_a/rules.mk | 14 -------------- .../waffling60/rev_a/{info.json => keyboard.json} | 8 ++++++++ keyboards/4pplet/waffling60/rev_a/rules.mk | 12 ------------ .../waffling60/rev_b/{info.json => keyboard.json} | 9 +++++++++ keyboards/4pplet/waffling60/rev_b/rules.mk | 12 ------------ .../waffling60/rev_c/{info.json => keyboard.json} | 9 +++++++++ keyboards/4pplet/waffling60/rev_c/rules.mk | 12 ------------ .../waffling80/rev_a/{info.json => keyboard.json} | 9 +++++++++ keyboards/4pplet/waffling80/rev_a/rules.mk | 12 ------------ .../yakiimo/rev_a/{info.json => keyboard.json} | 8 ++++++++ keyboards/4pplet/yakiimo/rev_a/rules.mk | 13 ------------- .../7c8/framework/{info.json => keyboard.json} | 10 ++++++++++ keyboards/7c8/framework/rules.mk | 15 --------------- keyboards/9key/{info.json => keyboard.json} | 9 +++++++++ keyboards/9key/rules.mk | 13 ------------- 54 files changed, 240 insertions(+), 329 deletions(-) rename keyboards/0xcb/tutelpad/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/0xcb/tutelpad/rules.mk rename keyboards/1upkeyboards/1up60rgb/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/1upkeyboards/1up60rgb/rules.mk rename keyboards/1upkeyboards/super16/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/1upkeyboards/super16/rules.mk rename keyboards/1upkeyboards/super16v2/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/1upkeyboards/super16v2/rules.mk rename keyboards/2key2crawl/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/2key2crawl/rules.mk rename keyboards/30wer/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/30wer/rules.mk rename keyboards/3keyecosystem/2key2/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/3keyecosystem/2key2/rules.mk rename keyboards/40percentclub/4pack/{info.json => keyboard.json} (78%) delete mode 100644 keyboards/40percentclub/4pack/rules.mk rename keyboards/40percentclub/5x5/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/40percentclub/5x5/rules.mk rename keyboards/40percentclub/luddite/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/40percentclub/luddite/rules.mk rename keyboards/40percentclub/mf68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/40percentclub/mf68/rules.mk rename keyboards/40percentclub/nano/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/40percentclub/nano/rules.mk rename keyboards/40percentclub/nein/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/40percentclub/nein/rules.mk rename keyboards/40percentclub/sixpack/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/40percentclub/sixpack/rules.mk rename keyboards/40percentclub/tomato/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/40percentclub/tomato/rules.mk rename keyboards/45_ats/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/45_ats/rules.mk rename keyboards/4by3/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/4by3/rules.mk rename keyboards/4pplet/aekiso60/rev_a/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/4pplet/aekiso60/rev_a/rules.mk rename keyboards/4pplet/bootleg/rev_a/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/4pplet/bootleg/rev_a/rules.mk rename keyboards/4pplet/perk60_iso/rev_a/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/4pplet/perk60_iso/rev_a/rules.mk rename keyboards/4pplet/waffling60/rev_a/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/4pplet/waffling60/rev_a/rules.mk rename keyboards/4pplet/waffling60/rev_b/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/4pplet/waffling60/rev_b/rules.mk rename keyboards/4pplet/waffling60/rev_c/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/4pplet/waffling60/rev_c/rules.mk rename keyboards/4pplet/waffling80/rev_a/{info.json => keyboard.json} (76%) delete mode 100644 keyboards/4pplet/waffling80/rev_a/rules.mk rename keyboards/4pplet/yakiimo/rev_a/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/4pplet/yakiimo/rev_a/rules.mk rename keyboards/7c8/framework/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/7c8/framework/rules.mk rename keyboards/9key/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/9key/rules.mk diff --git a/keyboards/0xcb/tutelpad/info.json b/keyboards/0xcb/tutelpad/keyboard.json similarity index 86% rename from keyboards/0xcb/tutelpad/info.json rename to keyboards/0xcb/tutelpad/keyboard.json index e4c7fce98ab..2885377262a 100644 --- a/keyboards/0xcb/tutelpad/info.json +++ b/keyboards/0xcb/tutelpad/keyboard.json @@ -33,6 +33,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["E6", "D7", "B1", "B3"], diff --git a/keyboards/0xcb/tutelpad/rules.mk b/keyboards/0xcb/tutelpad/rules.mk deleted file mode 100644 index f06d31c5f13..00000000000 --- a/keyboards/0xcb/tutelpad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/1upkeyboards/1up60rgb/info.json b/keyboards/1upkeyboards/1up60rgb/keyboard.json similarity index 99% rename from keyboards/1upkeyboards/1up60rgb/info.json rename to keyboards/1upkeyboards/1up60rgb/keyboard.json index 0d288916cc4..2985b5ae4f7 100644 --- a/keyboards/1upkeyboards/1up60rgb/info.json +++ b/keyboards/1upkeyboards/1up60rgb/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x7267", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/1upkeyboards/1up60rgb/rules.mk b/keyboards/1upkeyboards/1up60rgb/rules.mk deleted file mode 100644 index 32e82925ccf..00000000000 --- a/keyboards/1upkeyboards/1up60rgb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/1upkeyboards/super16/info.json b/keyboards/1upkeyboards/super16/keyboard.json similarity index 95% rename from keyboards/1upkeyboards/super16/info.json rename to keyboards/1upkeyboards/super16/keyboard.json index 81b28c66557..4bc18e98f73 100644 --- a/keyboards/1upkeyboards/super16/info.json +++ b/keyboards/1upkeyboards/super16/keyboard.json @@ -77,6 +77,15 @@ }, "driver": "ws2812" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D4", "C6", "F6", "F7"], "rows": ["D1", "D0", "F4", "F5"] diff --git a/keyboards/1upkeyboards/super16/rules.mk b/keyboards/1upkeyboards/super16/rules.mk deleted file mode 100644 index b5532d03ff0..00000000000 --- a/keyboards/1upkeyboards/super16/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/1upkeyboards/super16v2/info.json b/keyboards/1upkeyboards/super16v2/keyboard.json similarity index 91% rename from keyboards/1upkeyboards/super16v2/info.json rename to keyboards/1upkeyboards/super16v2/keyboard.json index 20a06f4c5ec..3bc7bf0e07f 100644 --- a/keyboards/1upkeyboards/super16v2/info.json +++ b/keyboards/1upkeyboards/super16v2/keyboard.json @@ -49,6 +49,16 @@ "driver": "ws2812", "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D5", "D6", "C2", "D0"], "rows": ["D1", "D2", "D3", "D4"] diff --git a/keyboards/1upkeyboards/super16v2/rules.mk b/keyboards/1upkeyboards/super16v2/rules.mk deleted file mode 100644 index a7f5baf8078..00000000000 --- a/keyboards/1upkeyboards/super16v2/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/2key2crawl/info.json b/keyboards/2key2crawl/keyboard.json similarity index 89% rename from keyboards/2key2crawl/info.json rename to keyboards/2key2crawl/keyboard.json index b8644a07129..4dfecbd696f 100644 --- a/keyboards/2key2crawl/info.json +++ b/keyboards/2key2crawl/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6090", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B3", "B4", "B5", "B6", "B7", "C7", "B2"], "rows": ["C4", "C5"] diff --git a/keyboards/2key2crawl/rules.mk b/keyboards/2key2crawl/rules.mk deleted file mode 100644 index 5e715569bca..00000000000 --- a/keyboards/2key2crawl/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # [Crawlpad] Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # [Crawlpad] This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = no # [Crawlpad] This can be enabled if a ws2812 strip is connected to the expansion port. -ENCODER_ENABLE = yes # [2Key2crawl] Make the knobs turn diff --git a/keyboards/30wer/info.json b/keyboards/30wer/keyboard.json similarity index 93% rename from keyboards/30wer/info.json rename to keyboards/30wer/keyboard.json index 85f3826acd3..606c13f7aad 100644 --- a/keyboards/30wer/info.json +++ b/keyboards/30wer/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5678", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D1", "D0", "D4", "C6", "D7"], "rows": ["E6", "B4", "B5"] diff --git a/keyboards/30wer/rules.mk b/keyboards/30wer/rules.mk deleted file mode 100644 index 0048c643519..00000000000 --- a/keyboards/30wer/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/3keyecosystem/2key2/info.json b/keyboards/3keyecosystem/2key2/keyboard.json similarity index 92% rename from keyboards/3keyecosystem/2key2/info.json rename to keyboards/3keyecosystem/2key2/keyboard.json index 129662175ca..5c77fdf6ae8 100644 --- a/keyboards/3keyecosystem/2key2/info.json +++ b/keyboards/3keyecosystem/2key2/keyboard.json @@ -67,6 +67,15 @@ "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F4", "D7"], "rows": ["F6"] diff --git a/keyboards/3keyecosystem/2key2/rules.mk b/keyboards/3keyecosystem/2key2/rules.mk deleted file mode 100644 index 94674b71a1c..00000000000 --- a/keyboards/3keyecosystem/2key2/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Enable RGB matrix -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/40percentclub/4pack/info.json b/keyboards/40percentclub/4pack/keyboard.json similarity index 78% rename from keyboards/40percentclub/4pack/info.json rename to keyboards/40percentclub/4pack/keyboard.json index 31d45598833..edfd64ad33e 100644 --- a/keyboards/40percentclub/4pack/info.json +++ b/keyboards/40percentclub/4pack/keyboard.json @@ -14,6 +14,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "direct": [ ["E6", "D7", "C6", "D4"] diff --git a/keyboards/40percentclub/4pack/rules.mk b/keyboards/40percentclub/4pack/rules.mk deleted file mode 100644 index ffd7289e96a..00000000000 --- a/keyboards/40percentclub/4pack/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/40percentclub/5x5/info.json b/keyboards/40percentclub/5x5/keyboard.json similarity index 98% rename from keyboards/40percentclub/5x5/info.json rename to keyboards/40percentclub/5x5/keyboard.json index 3ebc123c9b9..0a50d29ffe7 100644 --- a/keyboards/40percentclub/5x5/info.json +++ b/keyboards/40percentclub/5x5/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x05B5", "device_version": "1.0.0" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5", "B6", "B7", "D6", "F7", "F6", "F5", "F4", "F1", "F0", "B3", "B1"], "rows": ["B2", "D1", "D0", "D4", "C6"] diff --git a/keyboards/40percentclub/5x5/rules.mk b/keyboards/40percentclub/5x5/rules.mk deleted file mode 100644 index cb3f21e8240..00000000000 --- a/keyboards/40percentclub/5x5/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/40percentclub/luddite/info.json b/keyboards/40percentclub/luddite/keyboard.json similarity index 95% rename from keyboards/40percentclub/luddite/info.json rename to keyboards/40percentclub/luddite/keyboard.json index a8c8c13b2a5..8a0b5d5913b 100644 --- a/keyboards/40percentclub/luddite/info.json +++ b/keyboards/40percentclub/luddite/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4C55", "device_version": "10.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6"] diff --git a/keyboards/40percentclub/luddite/rules.mk b/keyboards/40percentclub/luddite/rules.mk deleted file mode 100644 index ca7b02cbdd2..00000000000 --- a/keyboards/40percentclub/luddite/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/40percentclub/mf68/info.json b/keyboards/40percentclub/mf68/keyboard.json similarity index 96% rename from keyboards/40percentclub/mf68/info.json rename to keyboards/40percentclub/mf68/keyboard.json index 72185738564..47259ac23f9 100644 --- a/keyboards/40percentclub/mf68/info.json +++ b/keyboards/40percentclub/mf68/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4D68", "device_version": "1.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4"], "rows": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"] diff --git a/keyboards/40percentclub/mf68/rules.mk b/keyboards/40percentclub/mf68/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/40percentclub/mf68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/40percentclub/nano/info.json b/keyboards/40percentclub/nano/keyboard.json similarity index 86% rename from keyboards/40percentclub/nano/info.json rename to keyboards/40percentclub/nano/keyboard.json index 4cfd3a9a295..547aed16f9f 100644 --- a/keyboards/40percentclub/nano/info.json +++ b/keyboards/40percentclub/nano/keyboard.json @@ -28,6 +28,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "direct": [ ["F4", "F5", "F6", "F7"], diff --git a/keyboards/40percentclub/nano/rules.mk b/keyboards/40percentclub/nano/rules.mk deleted file mode 100644 index a73f2bd6931..00000000000 --- a/keyboards/40percentclub/nano/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/40percentclub/nein/info.json b/keyboards/40percentclub/nein/keyboard.json similarity index 85% rename from keyboards/40percentclub/nein/info.json rename to keyboards/40percentclub/nein/keyboard.json index 0712923e49e..53a3a7639b8 100644 --- a/keyboards/40percentclub/nein/info.json +++ b/keyboards/40percentclub/nein/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "direct": [ ["F4", "F5", "F6"], diff --git a/keyboards/40percentclub/nein/rules.mk b/keyboards/40percentclub/nein/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/40percentclub/nein/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/40percentclub/sixpack/info.json b/keyboards/40percentclub/sixpack/keyboard.json similarity index 84% rename from keyboards/40percentclub/sixpack/info.json rename to keyboards/40percentclub/sixpack/keyboard.json index cd4864fbd12..059c9de091d 100644 --- a/keyboards/40percentclub/sixpack/info.json +++ b/keyboards/40percentclub/sixpack/keyboard.json @@ -21,6 +21,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["D4", "C6", "D7"], diff --git a/keyboards/40percentclub/sixpack/rules.mk b/keyboards/40percentclub/sixpack/rules.mk deleted file mode 100644 index 254b0bc7bd1..00000000000 --- a/keyboards/40percentclub/sixpack/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/40percentclub/tomato/info.json b/keyboards/40percentclub/tomato/keyboard.json similarity index 92% rename from keyboards/40percentclub/tomato/info.json rename to keyboards/40percentclub/tomato/keyboard.json index eabe3545683..a44946d3725 100644 --- a/keyboards/40percentclub/tomato/info.json +++ b/keyboards/40percentclub/tomato/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B5" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "E6", "D7", "C6", "D4", "D0"], "rows": ["F7", "B1", "B3", "B2", "B6"] diff --git a/keyboards/40percentclub/tomato/rules.mk b/keyboards/40percentclub/tomato/rules.mk deleted file mode 100644 index d781d36d3b4..00000000000 --- a/keyboards/40percentclub/tomato/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/45_ats/info.json b/keyboards/45_ats/keyboard.json similarity index 97% rename from keyboards/45_ats/info.json rename to keyboards/45_ats/keyboard.json index 410a2a9ee1f..7c873f21ede 100644 --- a/keyboards/45_ats/info.json +++ b/keyboards/45_ats/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4511", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "B0", "B1", "B2", "B3", "B7", "F6", "F5", "F4", "C7", "F7", "C6", "B6", "D4"], "rows": ["D3", "D5", "D7", "D6"] diff --git a/keyboards/45_ats/rules.mk b/keyboards/45_ats/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/45_ats/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/4by3/info.json b/keyboards/4by3/keyboard.json similarity index 93% rename from keyboards/4by3/info.json rename to keyboards/4by3/keyboard.json index faab285d2c8..8801a1e9203 100644 --- a/keyboards/4by3/info.json +++ b/keyboards/4by3/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x2019", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4"], "rows": ["D1", "D0", "D4"] diff --git a/keyboards/4by3/rules.mk b/keyboards/4by3/rules.mk deleted file mode 100644 index e7d97d60d35..00000000000 --- a/keyboards/4by3/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -EXTRAKEY_ENABLE = yes -NKRO_ENABLE = yes # Enable N-Key Rollover -CONSOLE_ENABLE = yes -COMMAND_ENABLE = yes diff --git a/keyboards/4pplet/aekiso60/rev_a/info.json b/keyboards/4pplet/aekiso60/rev_a/keyboard.json similarity index 84% rename from keyboards/4pplet/aekiso60/rev_a/info.json rename to keyboards/4pplet/aekiso60/rev_a/keyboard.json index 7728ab50bb3..5e236adc9ac 100644 --- a/keyboards/4pplet/aekiso60/rev_a/info.json +++ b/keyboards/4pplet/aekiso60/rev_a/keyboard.json @@ -24,6 +24,14 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C4", "C6", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D6", "D5", "D4", "D2", "D1"], "rows": ["C2", "D0", "B0", "C7", "C5"] diff --git a/keyboards/4pplet/aekiso60/rev_a/rules.mk b/keyboards/4pplet/aekiso60/rev_a/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/4pplet/aekiso60/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/4pplet/bootleg/rev_a/info.json b/keyboards/4pplet/bootleg/rev_a/keyboard.json similarity index 98% rename from keyboards/4pplet/bootleg/rev_a/info.json rename to keyboards/4pplet/bootleg/rev_a/keyboard.json index 0e0929fcfcd..10aa3de6783 100644 --- a/keyboards/4pplet/bootleg/rev_a/info.json +++ b/keyboards/4pplet/bootleg/rev_a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C5", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "D6", "D5", "D3", "D1"], "rows": ["D0", "C2", "C4", "D4", "D2"] diff --git a/keyboards/4pplet/bootleg/rev_a/rules.mk b/keyboards/4pplet/bootleg/rev_a/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/4pplet/bootleg/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/4pplet/perk60_iso/rev_a/info.json b/keyboards/4pplet/perk60_iso/rev_a/keyboard.json similarity index 96% rename from keyboards/4pplet/perk60_iso/rev_a/info.json rename to keyboards/4pplet/perk60_iso/rev_a/keyboard.json index 06b16d1900a..ae60e30d7a5 100644 --- a/keyboards/4pplet/perk60_iso/rev_a/info.json +++ b/keyboards/4pplet/perk60_iso/rev_a/keyboard.json @@ -40,6 +40,15 @@ }, "driver": "is31fl3733" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A1", "B12", "B14", "A2", "A0", "A3", "A4"], "rows": ["C14", "C13", "B5", "B4", "B8", "A15", "B3", "B9", "A5", "A7"] diff --git a/keyboards/4pplet/perk60_iso/rev_a/rules.mk b/keyboards/4pplet/perk60_iso/rev_a/rules.mk deleted file mode 100644 index 6a7da3e998d..00000000000 --- a/keyboards/4pplet/perk60_iso/rev_a/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/4pplet/waffling60/rev_a/info.json b/keyboards/4pplet/waffling60/rev_a/keyboard.json similarity index 96% rename from keyboards/4pplet/waffling60/rev_a/info.json rename to keyboards/4pplet/waffling60/rev_a/keyboard.json index fbd30bdd29e..cbb24bd56a4 100644 --- a/keyboards/4pplet/waffling60/rev_a/info.json +++ b/keyboards/4pplet/waffling60/rev_a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D0", "D2", "B6", "B5", "B4", "B3", "D6", "D5", "B0", "B1"], "rows": ["D4", "D1", "C2", "C4", "C7", "B2"] diff --git a/keyboards/4pplet/waffling60/rev_a/rules.mk b/keyboards/4pplet/waffling60/rev_a/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/4pplet/waffling60/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/4pplet/waffling60/rev_b/info.json b/keyboards/4pplet/waffling60/rev_b/keyboard.json similarity index 96% rename from keyboards/4pplet/waffling60/rev_b/info.json rename to keyboards/4pplet/waffling60/rev_b/keyboard.json index 7ba1964c7ca..54e51b388b7 100644 --- a/keyboards/4pplet/waffling60/rev_b/info.json +++ b/keyboards/4pplet/waffling60/rev_b/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"], "rows": ["C2", "D0", "B0", "D6", "D5"] diff --git a/keyboards/4pplet/waffling60/rev_b/rules.mk b/keyboards/4pplet/waffling60/rev_b/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/4pplet/waffling60/rev_b/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/4pplet/waffling60/rev_c/info.json b/keyboards/4pplet/waffling60/rev_c/keyboard.json similarity index 96% rename from keyboards/4pplet/waffling60/rev_c/info.json rename to keyboards/4pplet/waffling60/rev_c/keyboard.json index f2461aeaa9b..a7c23cc3495 100644 --- a/keyboards/4pplet/waffling60/rev_c/info.json +++ b/keyboards/4pplet/waffling60/rev_c/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0008", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"], "rows": ["C2", "D0", "B0", "D6", "D5"] diff --git a/keyboards/4pplet/waffling60/rev_c/rules.mk b/keyboards/4pplet/waffling60/rev_c/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/4pplet/waffling60/rev_c/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/4pplet/waffling80/rev_a/info.json b/keyboards/4pplet/waffling80/rev_a/keyboard.json similarity index 76% rename from keyboards/4pplet/waffling80/rev_a/info.json rename to keyboards/4pplet/waffling80/rev_a/keyboard.json index 8c3a84be1e6..157cefa5362 100644 --- a/keyboards/4pplet/waffling80/rev_a/info.json +++ b/keyboards/4pplet/waffling80/rev_a/keyboard.json @@ -12,6 +12,15 @@ "ws2812": { "pin": "D7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "C7", "B7", "B6", "B5", "B2", "D0", "C2"], "rows": ["C4", "C5", "B4", "B3", "B1", "B0", "D6", "D5", "D3", "D4", "D1", "D2"] diff --git a/keyboards/4pplet/waffling80/rev_a/rules.mk b/keyboards/4pplet/waffling80/rev_a/rules.mk deleted file mode 100644 index ceea2d612c4..00000000000 --- a/keyboards/4pplet/waffling80/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/4pplet/yakiimo/rev_a/info.json b/keyboards/4pplet/yakiimo/rev_a/keyboard.json similarity index 99% rename from keyboards/4pplet/yakiimo/rev_a/info.json rename to keyboards/4pplet/yakiimo/rev_a/keyboard.json index ae4654007da..ec5addd8501 100644 --- a/keyboards/4pplet/yakiimo/rev_a/info.json +++ b/keyboards/4pplet/yakiimo/rev_a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x000A", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "A5", "A4", "A3", "A2", "A1", "A0", "C15", "A8"], "rows": ["B10", "B1", "C13", "C14", "B14", "B12", "B9", "B8", "B5", "B4", "A15", "B3"] diff --git a/keyboards/4pplet/yakiimo/rev_a/rules.mk b/keyboards/4pplet/yakiimo/rev_a/rules.mk deleted file mode 100644 index c3b8e77d77a..00000000000 --- a/keyboards/4pplet/yakiimo/rev_a/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/7c8/framework/info.json b/keyboards/7c8/framework/keyboard.json similarity index 97% rename from keyboards/7c8/framework/info.json rename to keyboards/7c8/framework/keyboard.json index 19325af9cbd..33f9cfc591f 100644 --- a/keyboards/7c8/framework/info.json +++ b/keyboards/7c8/framework/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "leader": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C0", "C1", "C2", "C3", "C4", "C5"], "rows": ["B0", "B1", "D7", "B2", "D6", "B3", "D5", "B4", "D4", "B5"] diff --git a/keyboards/7c8/framework/rules.mk b/keyboards/7c8/framework/rules.mk deleted file mode 100644 index a9d41f8eff9..00000000000 --- a/keyboards/7c8/framework/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = no -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = no -AUDIO_ENABLE = no -FAUXCLICKY_ENABLE = no -ENCODER_ENABLE = yes -LEADER_ENABLE = yes diff --git a/keyboards/9key/info.json b/keyboards/9key/keyboard.json similarity index 84% rename from keyboards/9key/info.json rename to keyboards/9key/keyboard.json index d4061d82614..c1e95e3f081 100644 --- a/keyboards/9key/info.json +++ b/keyboards/9key/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6"], "rows": ["D1", "D0", "D4"] diff --git a/keyboards/9key/rules.mk b/keyboards/9key/rules.mk deleted file mode 100644 index 02054dd0236..00000000000 --- a/keyboards/9key/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. From aea414fd828964c13301191b88a56174f85fad8d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 14 Mar 2024 10:21:33 +0000 Subject: [PATCH 083/107] Migrate content where only parent info.json exists (#22895) --- .../bpiphany/frosty_flake/20130602/20130602.c | 24 ------------------- .../frosty_flake/20130602/keyboard.json | 16 +++++++++++++ .../bpiphany/frosty_flake/20130602/rules.mk | 12 ---------- .../bpiphany/frosty_flake/20140521/20140521.c | 24 ------------------- .../frosty_flake/20140521/keyboard.json | 16 +++++++++++++ .../bpiphany/frosty_flake/20140521/rules.mk | 12 ---------- keyboards/canary/canary60rgb/info.json | 13 ++++++++++ keyboards/canary/canary60rgb/v1/rules.mk | 16 +------------ keyboards/handwired/qc60/info.json | 10 ++++++++ keyboards/handwired/qc60/proto/rules.mk | 2 +- keyboards/handwired/qc60/rules.mk | 15 ------------ .../handwired/stef9998/split_5x7/info.json | 9 +++++++ .../handwired/stef9998/split_5x7/rules.mk | 17 +------------ .../ibm/model_m/mschwingen/led_ffc/rules.mk | 2 +- .../ibm/model_m/mschwingen/led_wired/rules.mk | 2 +- .../mechwild/sugarglider/f401/keyboard.json | 3 +++ keyboards/mechwild/sugarglider/f401/rules.mk | 3 --- .../mechwild/sugarglider/f411/keyboard.json | 3 +++ keyboards/mechwild/sugarglider/f411/rules.mk | 3 --- keyboards/mechwild/sugarglider/info.json | 1 - .../sugarglider/wide_oled/f401/keyboard.json | 3 +++ .../sugarglider/wide_oled/f401/rules.mk | 3 --- .../sugarglider/wide_oled/f411/keyboard.json | 3 +++ .../sugarglider/wide_oled/f411/rules.mk | 3 --- keyboards/melgeek/mojo68/info.json | 9 +++++++ keyboards/melgeek/mojo68/rev1/rules.mk | 13 +--------- keyboards/melgeek/mojo75/info.json | 9 +++++++ keyboards/melgeek/mojo75/rev1/rules.mk | 14 +---------- keyboards/melgeek/tegic/info.json | 12 ++++++++++ keyboards/melgeek/tegic/rev1/rules.mk | 16 +------------ keyboards/melgeek/z70ultra/info.json | 9 +++++++ keyboards/melgeek/z70ultra/rev1/rules.mk | 14 +---------- keyboards/murcielago/info.json | 10 ++++++++ keyboards/murcielago/rev1/rules.mk | 15 +----------- keyboards/polilla/info.json | 8 +++++++ keyboards/polilla/rev1/rules.mk | 13 +--------- keyboards/spacetime/info.json | 9 +++++++ keyboards/spacetime/rev1/rules.mk | 2 +- keyboards/spacetime/rev2/keyboard.json | 5 ++++ keyboards/spacetime/rev2/rules.mk | 1 - keyboards/spacetime/rules.mk | 17 ------------- .../xd004/{info.json => v1/keyboard.json} | 12 ++++++++++ keyboards/xiudi/xd004/v1/rules.mk | 15 ------------ 43 files changed, 171 insertions(+), 247 deletions(-) delete mode 100644 keyboards/bpiphany/frosty_flake/20130602/20130602.c create mode 100644 keyboards/bpiphany/frosty_flake/20130602/keyboard.json delete mode 100644 keyboards/bpiphany/frosty_flake/20140521/20140521.c create mode 100644 keyboards/bpiphany/frosty_flake/20140521/keyboard.json create mode 100644 keyboards/mechwild/sugarglider/f401/keyboard.json delete mode 100644 keyboards/mechwild/sugarglider/f401/rules.mk create mode 100644 keyboards/mechwild/sugarglider/f411/keyboard.json delete mode 100644 keyboards/mechwild/sugarglider/f411/rules.mk create mode 100644 keyboards/mechwild/sugarglider/wide_oled/f401/keyboard.json delete mode 100644 keyboards/mechwild/sugarglider/wide_oled/f401/rules.mk create mode 100644 keyboards/mechwild/sugarglider/wide_oled/f411/keyboard.json delete mode 100644 keyboards/mechwild/sugarglider/wide_oled/f411/rules.mk create mode 100644 keyboards/spacetime/rev2/keyboard.json delete mode 100644 keyboards/spacetime/rev2/rules.mk rename keyboards/xiudi/xd004/{info.json => v1/keyboard.json} (81%) delete mode 100644 keyboards/xiudi/xd004/v1/rules.mk diff --git a/keyboards/bpiphany/frosty_flake/20130602/20130602.c b/keyboards/bpiphany/frosty_flake/20130602/20130602.c deleted file mode 100644 index 05abbb567ec..00000000000 --- a/keyboards/bpiphany/frosty_flake/20130602/20130602.c +++ /dev/null @@ -1,24 +0,0 @@ -#include "quantum.h" - -void keyboard_pre_init_kb(void) { - setPinOutput(B7); // caps lock - writePinHigh(B7); - setPinOutput(C5); // num lock - writePinHigh(C7); - setPinOutput(C6); // scroll lock - writePinHigh(C6); - - keyboard_pre_init_user(); -} - -bool led_update_kb(led_t usb_led) { - // user requests no further processing - if (!led_update_user(usb_led)) - return true; - - writePin(C5, !usb_led.num_lock); - writePin(B7, !usb_led.caps_lock); - writePin(C6, !usb_led.scroll_lock); - - return true; -} diff --git a/keyboards/bpiphany/frosty_flake/20130602/keyboard.json b/keyboards/bpiphany/frosty_flake/20130602/keyboard.json new file mode 100644 index 00000000000..142010c9c4a --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/20130602/keyboard.json @@ -0,0 +1,16 @@ +{ + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, + "indicators": { + "caps_lock": "B7", + "num_lock": "C5", + "scroll_lock": "C6", + "on_state": 0 + } +} diff --git a/keyboards/bpiphany/frosty_flake/20130602/rules.mk b/keyboards/bpiphany/frosty_flake/20130602/rules.mk index 0e2690e65e2..e891eb1dc0b 100644 --- a/keyboards/bpiphany/frosty_flake/20130602/rules.mk +++ b/keyboards/bpiphany/frosty_flake/20130602/rules.mk @@ -1,14 +1,2 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output - CUSTOM_MATRIX = lite SRC += 20130602/matrix.c diff --git a/keyboards/bpiphany/frosty_flake/20140521/20140521.c b/keyboards/bpiphany/frosty_flake/20140521/20140521.c deleted file mode 100644 index 3c8bf3bd79a..00000000000 --- a/keyboards/bpiphany/frosty_flake/20140521/20140521.c +++ /dev/null @@ -1,24 +0,0 @@ -#include "quantum.h" - -void keyboard_pre_init_kb(void) { - setPinOutput(B7); // num lock - writePinHigh(B7); - setPinOutput(C5); // caps lock - writePinHigh(C7); - setPinOutput(C6); // scroll lock - writePinHigh(C6); - - keyboard_pre_init_user(); -} - -bool led_update_kb(led_t usb_led) { - // user requests no further processing - if (!led_update_user(usb_led)) - return true; - - writePin(C5, !usb_led.caps_lock); - writePin(B7, !usb_led.num_lock); - writePin(C6, !usb_led.scroll_lock); - - return true; -} diff --git a/keyboards/bpiphany/frosty_flake/20140521/keyboard.json b/keyboards/bpiphany/frosty_flake/20140521/keyboard.json new file mode 100644 index 00000000000..2ca004c24d7 --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/20140521/keyboard.json @@ -0,0 +1,16 @@ +{ + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, + "indicators": { + "caps_lock": "C5", + "num_lock": "B7", + "scroll_lock": "C6", + "on_state": 0 + } +} diff --git a/keyboards/bpiphany/frosty_flake/20140521/rules.mk b/keyboards/bpiphany/frosty_flake/20140521/rules.mk index 6b5ffd3fc8e..2b2d976fc67 100644 --- a/keyboards/bpiphany/frosty_flake/20140521/rules.mk +++ b/keyboards/bpiphany/frosty_flake/20140521/rules.mk @@ -1,14 +1,2 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output - CUSTOM_MATRIX = lite SRC += 20140521/matrix.c diff --git a/keyboards/canary/canary60rgb/info.json b/keyboards/canary/canary60rgb/info.json index fc973b88103..ac1ba67de00 100644 --- a/keyboards/canary/canary60rgb/info.json +++ b/keyboards/canary/canary60rgb/info.json @@ -8,6 +8,19 @@ "pid": "0x0621", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "rgb_matrix": true + }, "rgblight": { "saturation_steps": 8, "brightness_steps": 8, diff --git a/keyboards/canary/canary60rgb/v1/rules.mk b/keyboards/canary/canary60rgb/v1/rules.mk index 3bbc9263796..6e7633bfe01 100644 --- a/keyboards/canary/canary60rgb/v1/rules.mk +++ b/keyboards/canary/canary60rgb/v1/rules.mk @@ -1,15 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix - -LTO_ENABLE = yes +# This file intentionally left blank diff --git a/keyboards/handwired/qc60/info.json b/keyboards/handwired/qc60/info.json index 7fba95f9d13..0015ac5f669 100644 --- a/keyboards/handwired/qc60/info.json +++ b/keyboards/handwired/qc60/info.json @@ -8,6 +8,15 @@ "pid": "0x0C60", "device_version": "1.0.0" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "rgblight": { "led_count": 1 }, @@ -20,6 +29,7 @@ }, "diode_direction": "ROW2COL", "split": { + "enabled": true, "soft_serial_pin": "D0" }, "processor": "atmega32u4", diff --git a/keyboards/handwired/qc60/proto/rules.mk b/keyboards/handwired/qc60/proto/rules.mk index 7ad666d1a38..6e7633bfe01 100644 --- a/keyboards/handwired/qc60/proto/rules.mk +++ b/keyboards/handwired/qc60/proto/rules.mk @@ -1 +1 @@ -RGBLIGHT_ENABLE = yes \ No newline at end of file +# This file intentionally left blank diff --git a/keyboards/handwired/qc60/rules.mk b/keyboards/handwired/qc60/rules.mk index 9af766b35c3..4905848cf91 100644 --- a/keyboards/handwired/qc60/rules.mk +++ b/keyboards/handwired/qc60/rules.mk @@ -1,16 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. - -SPLIT_KEYBOARD = yes - DEFAULT_FOLDER = handwired/qc60/proto diff --git a/keyboards/handwired/stef9998/split_5x7/info.json b/keyboards/handwired/stef9998/split_5x7/info.json index f1471efe8ed..fe277ebde00 100644 --- a/keyboards/handwired/stef9998/split_5x7/info.json +++ b/keyboards/handwired/stef9998/split_5x7/info.json @@ -8,12 +8,21 @@ "pid": "0x6063", "device_version": "1.0.0" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B2", "B6", "B1", "B3", "F7", "F5", "F6"], "rows": ["C6", "D7", "E6", "B4", "B5"] }, "diode_direction": "COL2ROW", "split": { + "enabled": true, "soft_serial_pin": "D0", "matrix_pins": { "right": { diff --git a/keyboards/handwired/stef9998/split_5x7/rules.mk b/keyboards/handwired/stef9998/split_5x7/rules.mk index f74fc175456..f06c490f000 100644 --- a/keyboards/handwired/stef9998/split_5x7/rules.mk +++ b/keyboards/handwired/stef9998/split_5x7/rules.mk @@ -1,16 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -SPLIT_KEYBOARD = yes - -DEFAULT_FOLDER = handwired/stef9998/split_5x7/rev1 \ No newline at end of file +DEFAULT_FOLDER = handwired/stef9998/split_5x7/rev1 diff --git a/keyboards/ibm/model_m/mschwingen/led_ffc/rules.mk b/keyboards/ibm/model_m/mschwingen/led_ffc/rules.mk index 8b137891791..6e7633bfe01 100644 --- a/keyboards/ibm/model_m/mschwingen/led_ffc/rules.mk +++ b/keyboards/ibm/model_m/mschwingen/led_ffc/rules.mk @@ -1 +1 @@ - +# This file intentionally left blank diff --git a/keyboards/ibm/model_m/mschwingen/led_wired/rules.mk b/keyboards/ibm/model_m/mschwingen/led_wired/rules.mk index 8b137891791..6e7633bfe01 100644 --- a/keyboards/ibm/model_m/mschwingen/led_wired/rules.mk +++ b/keyboards/ibm/model_m/mschwingen/led_wired/rules.mk @@ -1 +1 @@ - +# This file intentionally left blank diff --git a/keyboards/mechwild/sugarglider/f401/keyboard.json b/keyboards/mechwild/sugarglider/f401/keyboard.json new file mode 100644 index 00000000000..797e9900595 --- /dev/null +++ b/keyboards/mechwild/sugarglider/f401/keyboard.json @@ -0,0 +1,3 @@ +{ + "development_board": "blackpill_f401" +} diff --git a/keyboards/mechwild/sugarglider/f401/rules.mk b/keyboards/mechwild/sugarglider/f401/rules.mk deleted file mode 100644 index a92d8a85c61..00000000000 --- a/keyboards/mechwild/sugarglider/f401/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# MCU name -MCU = STM32F401 -BOARD = BLACKPILL_STM32_F401 diff --git a/keyboards/mechwild/sugarglider/f411/keyboard.json b/keyboards/mechwild/sugarglider/f411/keyboard.json new file mode 100644 index 00000000000..a41c5f4dd14 --- /dev/null +++ b/keyboards/mechwild/sugarglider/f411/keyboard.json @@ -0,0 +1,3 @@ +{ + "development_board": "blackpill_f411" +} diff --git a/keyboards/mechwild/sugarglider/f411/rules.mk b/keyboards/mechwild/sugarglider/f411/rules.mk deleted file mode 100644 index db1d4054fdf..00000000000 --- a/keyboards/mechwild/sugarglider/f411/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# MCU name -MCU = STM32F411 -BOARD = BLACKPILL_STM32_F411 diff --git a/keyboards/mechwild/sugarglider/info.json b/keyboards/mechwild/sugarglider/info.json index c9095b3db4f..749b0952cbd 100644 --- a/keyboards/mechwild/sugarglider/info.json +++ b/keyboards/mechwild/sugarglider/info.json @@ -3,7 +3,6 @@ "keyboard_name": "Sugar Glider", "maintainer": "kylemccreery", "url": "https://mechwild.com/product/sugar-glider/", - "bootloader": "stm32-dfu", "features": { "bootmagic": true, "command": false, diff --git a/keyboards/mechwild/sugarglider/wide_oled/f401/keyboard.json b/keyboards/mechwild/sugarglider/wide_oled/f401/keyboard.json new file mode 100644 index 00000000000..797e9900595 --- /dev/null +++ b/keyboards/mechwild/sugarglider/wide_oled/f401/keyboard.json @@ -0,0 +1,3 @@ +{ + "development_board": "blackpill_f401" +} diff --git a/keyboards/mechwild/sugarglider/wide_oled/f401/rules.mk b/keyboards/mechwild/sugarglider/wide_oled/f401/rules.mk deleted file mode 100644 index a92d8a85c61..00000000000 --- a/keyboards/mechwild/sugarglider/wide_oled/f401/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# MCU name -MCU = STM32F401 -BOARD = BLACKPILL_STM32_F401 diff --git a/keyboards/mechwild/sugarglider/wide_oled/f411/keyboard.json b/keyboards/mechwild/sugarglider/wide_oled/f411/keyboard.json new file mode 100644 index 00000000000..a41c5f4dd14 --- /dev/null +++ b/keyboards/mechwild/sugarglider/wide_oled/f411/keyboard.json @@ -0,0 +1,3 @@ +{ + "development_board": "blackpill_f411" +} diff --git a/keyboards/mechwild/sugarglider/wide_oled/f411/rules.mk b/keyboards/mechwild/sugarglider/wide_oled/f411/rules.mk deleted file mode 100644 index db1d4054fdf..00000000000 --- a/keyboards/mechwild/sugarglider/wide_oled/f411/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# MCU name -MCU = STM32F411 -BOARD = BLACKPILL_STM32_F411 diff --git a/keyboards/melgeek/mojo68/info.json b/keyboards/melgeek/mojo68/info.json index 8938bd8a133..b97de4fbd2c 100755 --- a/keyboards/melgeek/mojo68/info.json +++ b/keyboards/melgeek/mojo68/info.json @@ -8,6 +8,15 @@ "pid": "0x0068", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/melgeek/mojo68/rev1/rules.mk b/keyboards/melgeek/mojo68/rev1/rules.mk index c66b1abcd45..6e7633bfe01 100755 --- a/keyboards/melgeek/mojo68/rev1/rules.mk +++ b/keyboards/melgeek/mojo68/rev1/rules.mk @@ -1,12 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Use RGB matrix +# This file intentionally left blank diff --git a/keyboards/melgeek/mojo75/info.json b/keyboards/melgeek/mojo75/info.json index e934cb9f4b6..a1b93afb69b 100644 --- a/keyboards/melgeek/mojo75/info.json +++ b/keyboards/melgeek/mojo75/info.json @@ -8,6 +8,15 @@ "pid": "0x7075", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/melgeek/mojo75/rev1/rules.mk b/keyboards/melgeek/mojo75/rev1/rules.mk index 30e3240a944..6e7633bfe01 100644 --- a/keyboards/melgeek/mojo75/rev1/rules.mk +++ b/keyboards/melgeek/mojo75/rev1/rules.mk @@ -1,13 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Use RGB matrix -NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in +# This file intentionally left blank diff --git a/keyboards/melgeek/tegic/info.json b/keyboards/melgeek/tegic/info.json index 755ae3db3eb..0a2e9306f6e 100644 --- a/keyboards/melgeek/tegic/info.json +++ b/keyboards/melgeek/tegic/info.json @@ -8,6 +8,18 @@ "pid": "0x0081", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/melgeek/tegic/rev1/rules.mk b/keyboards/melgeek/tegic/rev1/rules.mk index d05853b8b07..6e7633bfe01 100755 --- a/keyboards/melgeek/tegic/rev1/rules.mk +++ b/keyboards/melgeek/tegic/rev1/rules.mk @@ -1,15 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Use RGB matrix - -LTO_ENABLE = yes - +# This file intentionally left blank diff --git a/keyboards/melgeek/z70ultra/info.json b/keyboards/melgeek/z70ultra/info.json index 471929f9dbf..de1b1df646c 100644 --- a/keyboards/melgeek/z70ultra/info.json +++ b/keyboards/melgeek/z70ultra/info.json @@ -8,6 +8,15 @@ "pid": "0x6570", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/melgeek/z70ultra/rev1/rules.mk b/keyboards/melgeek/z70ultra/rev1/rules.mk index 30e3240a944..6e7633bfe01 100644 --- a/keyboards/melgeek/z70ultra/rev1/rules.mk +++ b/keyboards/melgeek/z70ultra/rev1/rules.mk @@ -1,13 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Use RGB matrix -NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in +# This file intentionally left blank diff --git a/keyboards/murcielago/info.json b/keyboards/murcielago/info.json index 54a1a221e76..2dd650666a2 100644 --- a/keyboards/murcielago/info.json +++ b/keyboards/murcielago/info.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "B6", "B5", "D7", "D6", "D4"], "rows": ["B4", "D5", "B3", "B2", "B1", "B0"] @@ -19,6 +28,7 @@ ] }, "split": { + "enabled": true, "soft_serial_pin": "E6", "encoder": { "right": { diff --git a/keyboards/murcielago/rev1/rules.mk b/keyboards/murcielago/rev1/rules.mk index c067a2faa03..6e7633bfe01 100644 --- a/keyboards/murcielago/rev1/rules.mk +++ b/keyboards/murcielago/rev1/rules.mk @@ -1,14 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SPLIT_KEYBOARD = yes # Enable split keyboard mode -ENCODER_ENABLE = yes +# This file intentionally left blank diff --git a/keyboards/polilla/info.json b/keyboards/polilla/info.json index d0074da4e58..ea6c5aafa89 100644 --- a/keyboards/polilla/info.json +++ b/keyboards/polilla/info.json @@ -8,6 +8,14 @@ "pid": "0x0010", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["A6", "A5", "A4", "A3", "A2", "A1", "F0", "B7", "B6", "B5", "B4", "B3"], "rows": ["B1", "B0", "A7", "F1", "A0"] diff --git a/keyboards/polilla/rev1/rules.mk b/keyboards/polilla/rev1/rules.mk index 1ffb0c55b90..6e7633bfe01 100644 --- a/keyboards/polilla/rev1/rules.mk +++ b/keyboards/polilla/rev1/rules.mk @@ -1,12 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output +# This file intentionally left blank diff --git a/keyboards/spacetime/info.json b/keyboards/spacetime/info.json index 0d1ece48f09..a55223b653a 100644 --- a/keyboards/spacetime/info.json +++ b/keyboards/spacetime/info.json @@ -8,12 +8,21 @@ "pid": "0x0A0C", "device_version": "1.0.0" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"], "rows": ["D4", "C6", "D7", "E6"] }, "diode_direction": "COL2ROW", "split": { + "enabled": true, "soft_serial_pin": "D0" }, "processor": "atmega32u4", diff --git a/keyboards/spacetime/rev1/rules.mk b/keyboards/spacetime/rev1/rules.mk index 517f469b6d7..6e7633bfe01 100644 --- a/keyboards/spacetime/rev1/rules.mk +++ b/keyboards/spacetime/rev1/rules.mk @@ -1 +1 @@ -OLED_ENABLE = no +# This file intentionally left blank diff --git a/keyboards/spacetime/rev2/keyboard.json b/keyboards/spacetime/rev2/keyboard.json new file mode 100644 index 00000000000..91763679833 --- /dev/null +++ b/keyboards/spacetime/rev2/keyboard.json @@ -0,0 +1,5 @@ +{ + "features": { + "oled": true + } +} diff --git a/keyboards/spacetime/rev2/rules.mk b/keyboards/spacetime/rev2/rules.mk deleted file mode 100644 index dd68e9d3b09..00000000000 --- a/keyboards/spacetime/rev2/rules.mk +++ /dev/null @@ -1 +0,0 @@ -OLED_ENABLE = yes diff --git a/keyboards/spacetime/rules.mk b/keyboards/spacetime/rules.mk index 01714f80cb4..ac339c2cefb 100644 --- a/keyboards/spacetime/rules.mk +++ b/keyboards/spacetime/rules.mk @@ -1,18 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = no - -# Enable generic behavior for split boards -SPLIT_KEYBOARD = yes - DEFAULT_FOLDER = spacetime/rev1 diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/v1/keyboard.json similarity index 81% rename from keyboards/xiudi/xd004/info.json rename to keyboards/xiudi/xd004/v1/keyboard.json index 531283c78a9..a6211edfec5 100644 --- a/keyboards/xiudi/xd004/info.json +++ b/keyboards/xiudi/xd004/v1/keyboard.json @@ -7,6 +7,18 @@ "pid": "0x0404", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "space_cadet": false + }, "backlight": { "pin": "D5", "levels": 6 diff --git a/keyboards/xiudi/xd004/v1/rules.mk b/keyboards/xiudi/xd004/v1/rules.mk deleted file mode 100644 index f5f21384361..00000000000 --- a/keyboards/xiudi/xd004/v1/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -SPACE_CADET_ENABLE = no -# Saves about 5% of space: -LTO_ENABLE = yes From 6720e9c58c3a239ff0de4be1ff2ad075a0b2c248 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 14 Mar 2024 10:24:24 +0000 Subject: [PATCH 084/107] `qmk new-keyboard` - detach community layout when selecting "none of the above" (#20405) --- lib/python/qmk/cli/new/keyboard.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/lib/python/qmk/cli/new/keyboard.py b/lib/python/qmk/cli/new/keyboard.py index 700afc96a62..37bf2923d63 100644 --- a/lib/python/qmk/cli/new/keyboard.py +++ b/lib/python/qmk/cli/new/keyboard.py @@ -74,6 +74,10 @@ def replace_placeholders(src, dest, tokens): dest.write_text(content) +def replace_string(src, token, value): + src.write_text(src.read_text().replace(token, value)) + + def augment_community_info(src, dest): """Splice in any additional data into info.json """ @@ -218,6 +222,11 @@ def new_keyboard(cli): else: bootloader = select_default_bootloader(mcu) + detach_layout = False + if default_layout == 'none of the above': + default_layout = "ortho_4x4" + detach_layout = True + tokens = { # Comment here is to force multiline formatting 'YEAR': str(date.today().year), 'KEYBOARD': kb_name, @@ -233,10 +242,6 @@ def new_keyboard(cli): for key, value in tokens.items(): cli.echo(f" {key.ljust(10)}: {value}") - # TODO: detach community layout and rename to just "LAYOUT" - if default_layout == 'none of the above': - default_layout = "ortho_4x4" - # begin with making the deepest folder in the tree keymaps_path = keyboard(kb_name) / 'keymaps/' keymaps_path.mkdir(parents=True) @@ -253,6 +258,11 @@ def new_keyboard(cli): community_info = Path(COMMUNITY / f'{default_layout}/info.json') augment_community_info(community_info, keyboard(kb_name) / 'keyboard.json') + # detach community layout and rename to just "LAYOUT" + if detach_layout: + replace_string(keyboard(kb_name) / 'keyboard.json', 'LAYOUT_ortho_4x4', 'LAYOUT') + replace_string(keymaps_path / 'default/keymap.c', 'LAYOUT_ortho_4x4', 'LAYOUT') + cli.log.info(f'{{fg_green}}Created a new keyboard called {{fg_cyan}}{kb_name}{{fg_green}}.{{fg_reset}}') cli.log.info(f"Build Command: {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.") cli.log.info(f'Project Location: {{fg_cyan}}{QMK_FIRMWARE}/{keyboard(kb_name)}{{fg_reset}},') From 4bbfecae90e994b4a7d9bf5db06a995fb05d6ab2 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 14 Mar 2024 10:45:03 +0000 Subject: [PATCH 085/107] Infer eeconfig identifiers (#22135) Co-authored-by: Nick Brassel --- platforms/eeprom.h | 4 +++ quantum/eeconfig.c | 6 ++--- quantum/eeconfig.h | 64 ++++++++++++++++++++++++++++++---------------- 3 files changed, 49 insertions(+), 25 deletions(-) diff --git a/platforms/eeprom.h b/platforms/eeprom.h index fbfef203341..8e69eecc4cb 100644 --- a/platforms/eeprom.h +++ b/platforms/eeprom.h @@ -22,6 +22,10 @@ void eeprom_update_dword(uint32_t *__p, uint32_t __value); void eeprom_update_block(const void *__src, void *__dst, size_t __n); #endif +static inline void eeprom_write_qword(uint64_t *__p, uint64_t __value) { + eeprom_update_block(&__value, __p, sizeof(uint64_t)); +} + #if defined(EEPROM_CUSTOM) # ifndef EEPROM_SIZE # error EEPROM_SIZE has not been defined for custom driver. diff --git a/quantum/eeconfig.c b/quantum/eeconfig.c index 2d2180b4b44..40690d6a97a 100644 --- a/quantum/eeconfig.c +++ b/quantum/eeconfig.c @@ -19,6 +19,8 @@ void via_eeprom_set_valid(bool valid); void eeconfig_init_via(void); #endif +_Static_assert((intptr_t)EECONFIG_HANDEDNESS == 14, "EEPROM handedness offset is incorrect"); + /** \brief eeconfig enable * * FIXME: needs doc @@ -57,11 +59,9 @@ void eeconfig_init_quantum(void) { eeprom_update_byte(EECONFIG_AUDIO, 0); eeprom_update_dword(EECONFIG_RGBLIGHT, 0); eeprom_update_byte(EECONFIG_RGBLIGHT_EXTENDED, 0); - eeprom_update_byte(EECONFIG_UNUSED, 0); eeprom_update_byte(EECONFIG_UNICODEMODE, 0); eeprom_update_byte(EECONFIG_STENOMODE, 0); - uint64_t dummy = 0; - eeprom_update_block(&dummy, EECONFIG_RGB_MATRIX, sizeof(uint64_t)); + eeprom_write_qword(EECONFIG_RGB_MATRIX, 0); eeprom_update_dword(EECONFIG_HAPTIC, 0); #if defined(HAPTIC_ENABLE) haptic_reset(); diff --git a/quantum/eeconfig.h b/quantum/eeconfig.h index d7cce166bd7..fa0dd799d19 100644 --- a/quantum/eeconfig.h +++ b/quantum/eeconfig.h @@ -19,37 +19,57 @@ along with this program. If not, see . #include #include +#include // offsetof #include "eeprom.h" +#include "util.h" #ifndef EECONFIG_MAGIC_NUMBER -# define EECONFIG_MAGIC_NUMBER (uint16_t)0xFEE6 // When changing, decrement this value to avoid future re-init issues +# define EECONFIG_MAGIC_NUMBER (uint16_t)0xFEE5 // When changing, decrement this value to avoid future re-init issues #endif #define EECONFIG_MAGIC_NUMBER_OFF (uint16_t)0xFFFF +// Dummy struct only used to calculate offsets +typedef struct PACKED { + uint16_t magic; + uint8_t debug; + uint8_t default_layer; + uint16_t keymap; + uint8_t backlight; + uint8_t audio; + uint32_t rgblight; + uint8_t unicode; + uint8_t steno; + uint8_t handedness; + uint32_t keyboard; + uint32_t user; + union { // Mutually exclusive + uint32_t led_matrix; + uint64_t rgb_matrix; + }; + uint32_t haptic; + uint8_t rgblight_ext; +} eeprom_core_t; + /* EEPROM parameter address */ -#define EECONFIG_MAGIC (uint16_t *)0 -#define EECONFIG_DEBUG (uint8_t *)2 -#define EECONFIG_DEFAULT_LAYER (uint8_t *)3 -#define EECONFIG_KEYMAP (uint16_t *)4 -#define EECONFIG_BACKLIGHT (uint8_t *)6 -#define EECONFIG_AUDIO (uint8_t *)7 -#define EECONFIG_RGBLIGHT (uint32_t *)8 -#define EECONFIG_UNICODEMODE (uint8_t *)12 -#define EECONFIG_STENOMODE (uint8_t *)13 -// EEHANDS for two handed boards -#define EECONFIG_HANDEDNESS (uint8_t *)14 -#define EECONFIG_KEYBOARD (uint32_t *)15 -#define EECONFIG_USER (uint32_t *)19 -#define EECONFIG_UNUSED (uint8_t *)23 -// Mutually exclusive -#define EECONFIG_LED_MATRIX (uint32_t *)24 -#define EECONFIG_RGB_MATRIX (uint64_t *)24 - -#define EECONFIG_HAPTIC (uint32_t *)32 -#define EECONFIG_RGBLIGHT_EXTENDED (uint8_t *)36 +#define EECONFIG_MAGIC (uint16_t *)(offsetof(eeprom_core_t, magic)) +#define EECONFIG_DEBUG (uint8_t *)(offsetof(eeprom_core_t, debug)) +#define EECONFIG_DEFAULT_LAYER (uint8_t *)(offsetof(eeprom_core_t, default_layer)) +#define EECONFIG_KEYMAP (uint16_t *)(offsetof(eeprom_core_t, keymap)) +#define EECONFIG_BACKLIGHT (uint8_t *)(offsetof(eeprom_core_t, backlight)) +#define EECONFIG_AUDIO (uint8_t *)(offsetof(eeprom_core_t, audio)) +#define EECONFIG_RGBLIGHT (uint32_t *)(offsetof(eeprom_core_t, rgblight)) +#define EECONFIG_UNICODEMODE (uint8_t *)(offsetof(eeprom_core_t, unicode)) +#define EECONFIG_STENOMODE (uint8_t *)(offsetof(eeprom_core_t, steno)) +#define EECONFIG_HANDEDNESS (uint8_t *)(offsetof(eeprom_core_t, handedness)) +#define EECONFIG_KEYBOARD (uint32_t *)(offsetof(eeprom_core_t, keyboard)) +#define EECONFIG_USER (uint32_t *)(offsetof(eeprom_core_t, user)) +#define EECONFIG_LED_MATRIX (uint32_t *)(offsetof(eeprom_core_t, led_matrix)) +#define EECONFIG_RGB_MATRIX (uint64_t *)(offsetof(eeprom_core_t, rgb_matrix)) +#define EECONFIG_HAPTIC (uint32_t *)(offsetof(eeprom_core_t, haptic)) +#define EECONFIG_RGBLIGHT_EXTENDED (uint8_t *)(offsetof(eeprom_core_t, rgblight_ext)) // Size of EEPROM being used for core data storage -#define EECONFIG_BASE_SIZE 37 +#define EECONFIG_BASE_SIZE ((uint8_t)sizeof(eeprom_core_t)) // Size of EEPROM dedicated to keyboard- and user-specific data #ifndef EECONFIG_KB_DATA_SIZE From 63dd131d812be4b8d4894fc20ca9968e25996b07 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 14 Mar 2024 10:45:12 +0000 Subject: [PATCH 086/107] Refactor vusb to protocol use pre/post task (#14944) --- quantum/main.c | 35 +++++++++++++++-------------- tmk_core/protocol/chibios/chibios.c | 13 ----------- tmk_core/protocol/lufa/lufa.c | 6 +---- tmk_core/protocol/vusb/protocol.c | 30 +++++-------------------- tmk_core/protocol/vusb/vusb.c | 10 ++++++++- 5 files changed, 34 insertions(+), 60 deletions(-) diff --git a/quantum/main.c b/quantum/main.c index 3b101c522c3..3159c558507 100644 --- a/quantum/main.c +++ b/quantum/main.c @@ -25,22 +25,9 @@ void protocol_pre_task(void); void protocol_post_task(void); // Bodge as refactoring this area sucks.... -void protocol_init(void) __attribute__((weak)); -void protocol_init(void) { - protocol_pre_init(); - - keyboard_init(); - - protocol_post_init(); -} - -void protocol_task(void) __attribute__((weak)); -void protocol_task(void) { - protocol_pre_task(); - +void protocol_keyboard_task(void) __attribute__((weak)); +void protocol_keyboard_task(void) { keyboard_task(); - - protocol_post_task(); } /** \brief Main @@ -53,11 +40,25 @@ int main(void) { protocol_setup(); keyboard_setup(); - protocol_init(); + protocol_pre_init(); + keyboard_init(); + protocol_post_init(); /* Main loop */ while (true) { - protocol_task(); + protocol_pre_task(); + protocol_keyboard_task(); + protocol_post_task(); + +#ifdef RAW_ENABLE + void raw_hid_task(void); + raw_hid_task(); +#endif + +#ifdef CONSOLE_ENABLE + void console_task(void); + console_task(); +#endif #ifdef QUANTUM_PAINTER_ENABLE // Run Quantum Painter task diff --git a/tmk_core/protocol/chibios/chibios.c b/tmk_core/protocol/chibios/chibios.c index 76a37ae538a..360e6b4b046 100644 --- a/tmk_core/protocol/chibios/chibios.c +++ b/tmk_core/protocol/chibios/chibios.c @@ -70,13 +70,6 @@ host_driver_t chibios_driver = {keyboard_leds, send_keyboard, send_nkro, send_mo void virtser_task(void); #endif -#ifdef RAW_ENABLE -void raw_hid_task(void); -#endif - -#ifdef CONSOLE_ENABLE -void console_task(void); -#endif #ifdef MIDI_ENABLE void midi_ep_task(void); #endif @@ -209,17 +202,11 @@ void protocol_pre_task(void) { } void protocol_post_task(void) { -#ifdef CONSOLE_ENABLE - console_task(); -#endif #ifdef MIDI_ENABLE midi_ep_task(); #endif #ifdef VIRTSER_ENABLE virtser_task(); -#endif -#ifdef RAW_ENABLE - raw_hid_task(); #endif usb_idle_task(); } diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index 22cc0db8ced..d6f0c69b6b0 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c @@ -151,7 +151,7 @@ __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) { * * FIXME: Needs doc */ -static void raw_hid_task(void) { +void raw_hid_task(void) { // Create a temporary buffer to hold the read in data from the host uint8_t data[RAW_EPSIZE]; bool data_read = false; @@ -865,10 +865,6 @@ void protocol_post_task(void) { CDC_Device_USBTask(&cdc_device); #endif -#ifdef RAW_ENABLE - raw_hid_task(); -#endif - #if !defined(INTERRUPT_CONTROL_ENDPOINT) USB_USBTask(); #endif diff --git a/tmk_core/protocol/vusb/protocol.c b/tmk_core/protocol/vusb/protocol.c index 6178d48ef2a..41ccf451fdb 100644 --- a/tmk_core/protocol/vusb/protocol.c +++ b/tmk_core/protocol/vusb/protocol.c @@ -31,14 +31,6 @@ # include "sleep_led.h" #endif -#ifdef CONSOLE_ENABLE -void console_task(void); -#endif - -#ifdef RAW_ENABLE -void raw_hid_task(void); -#endif - /* This is from main.c of USBaspLoader */ static void initForUsbConnectivity(void) { uint8_t i = 0; @@ -136,7 +128,7 @@ static inline bool should_do_suspend(void) { return vusb_suspended; } -void protocol_task(void) { +void protocol_pre_task(void) { #if !defined(NO_USB_STARTUP_CHECK) if (should_do_suspend()) { dprintln("suspending keyboard"); @@ -159,7 +151,9 @@ void protocol_task(void) { vusb_wakeup(); } #endif +} +void protocol_keyboard_task(void) { usbPoll(); // TODO: configuration process is inconsistent. it sometime fails. @@ -167,20 +161,8 @@ void protocol_task(void) { if (usbConfiguration && usbInterruptIsReady()) { keyboard_task(); } +} -#ifdef RAW_ENABLE - usbPoll(); - - if (usbConfiguration && usbInterruptIsReady4()) { - raw_hid_task(); - } -#endif - -#ifdef CONSOLE_ENABLE - usbPoll(); - - if (usbConfiguration && usbInterruptIsReady3()) { - console_task(); - } -#endif +void protocol_post_task(void) { + // do nothing } diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index cfeeed37126..c8ab4942536 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c @@ -162,6 +162,12 @@ __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) { } void raw_hid_task(void) { + usbPoll(); + + if (!usbConfiguration || !usbInterruptIsReady4()) { + return; + } + if (raw_output_received_bytes == RAW_BUFFER_SIZE) { raw_hid_receive(raw_output_buffer, RAW_BUFFER_SIZE); raw_output_received_bytes = 0; @@ -182,7 +188,9 @@ int8_t sendchar(uint8_t c) { } void console_task(void) { - if (!usbConfiguration) { + usbPoll(); + + if (!usbConfiguration || !usbInterruptIsReady3()) { return; } From 67df06eb441316d03256a962d4dad85d3a76cb37 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Fri, 15 Mar 2024 04:52:30 +1100 Subject: [PATCH 087/107] Fixup cipulot eeprom. (#23280) --- keyboards/cipulot/common/ec_switch_matrix.h | 1 + keyboards/cipulot/ec_23u/config.h | 2 +- keyboards/cipulot/ec_60/config.h | 2 +- keyboards/cipulot/ec_alveus/1_0_0/config.h | 2 +- keyboards/cipulot/ec_alveus/1_2_0/config.h | 2 +- keyboards/cipulot/ec_pro2/config.h | 2 +- keyboards/cipulot/ec_prox/ansi_iso/config.h | 2 +- keyboards/cipulot/ec_prox/jis/config.h | 2 +- keyboards/cipulot/ec_theca/config.h | 2 +- keyboards/cipulot/rf_r1_8_9xu/config.h | 2 +- 10 files changed, 10 insertions(+), 9 deletions(-) diff --git a/keyboards/cipulot/common/ec_switch_matrix.h b/keyboards/cipulot/common/ec_switch_matrix.h index ad03f093de7..4b424911da8 100644 --- a/keyboards/cipulot/common/ec_switch_matrix.h +++ b/keyboards/cipulot/common/ec_switch_matrix.h @@ -20,6 +20,7 @@ #include #include "matrix.h" #include "eeconfig.h" +#include "util.h" typedef struct PACKED { uint8_t actuation_mode; // 0: normal board-wide APC, 1: Rapid trigger from specific board-wide actuation point, 2: Rapid trigger from resting point diff --git a/keyboards/cipulot/ec_23u/config.h b/keyboards/cipulot/ec_23u/config.h index da210fe0c63..3a3d482e3d3 100644 --- a/keyboards/cipulot/ec_23u/config.h +++ b/keyboards/cipulot/ec_23u/config.h @@ -60,7 +60,7 @@ // #define DEBUG_MATRIX_SCAN_RATE -#define EECONFIG_KB_DATA_SIZE 58 +#define EECONFIG_KB_DATA_SIZE 57 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/ec_60/config.h b/keyboards/cipulot/ec_60/config.h index d4dc8cf68ac..c936b248c45 100644 --- a/keyboards/cipulot/ec_60/config.h +++ b/keyboards/cipulot/ec_60/config.h @@ -63,7 +63,7 @@ // #define DEBUG_MATRIX_SCAN_RATE -#define EECONFIG_KB_DATA_SIZE 160 +#define EECONFIG_KB_DATA_SIZE 159 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/ec_alveus/1_0_0/config.h b/keyboards/cipulot/ec_alveus/1_0_0/config.h index 775c7906adb..ea43ba348d5 100644 --- a/keyboards/cipulot/ec_alveus/1_0_0/config.h +++ b/keyboards/cipulot/ec_alveus/1_0_0/config.h @@ -62,7 +62,7 @@ // #define DEBUG_MATRIX_SCAN_RATE -#define EECONFIG_KB_DATA_SIZE 170 +#define EECONFIG_KB_DATA_SIZE 169 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/ec_alveus/1_2_0/config.h b/keyboards/cipulot/ec_alveus/1_2_0/config.h index 775c7906adb..ea43ba348d5 100644 --- a/keyboards/cipulot/ec_alveus/1_2_0/config.h +++ b/keyboards/cipulot/ec_alveus/1_2_0/config.h @@ -62,7 +62,7 @@ // #define DEBUG_MATRIX_SCAN_RATE -#define EECONFIG_KB_DATA_SIZE 170 +#define EECONFIG_KB_DATA_SIZE 169 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/ec_pro2/config.h b/keyboards/cipulot/ec_pro2/config.h index d4dc8cf68ac..c936b248c45 100644 --- a/keyboards/cipulot/ec_pro2/config.h +++ b/keyboards/cipulot/ec_pro2/config.h @@ -63,7 +63,7 @@ // #define DEBUG_MATRIX_SCAN_RATE -#define EECONFIG_KB_DATA_SIZE 160 +#define EECONFIG_KB_DATA_SIZE 159 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/ec_prox/ansi_iso/config.h b/keyboards/cipulot/ec_prox/ansi_iso/config.h index ec15808274c..6a165cf3abd 100644 --- a/keyboards/cipulot/ec_prox/ansi_iso/config.h +++ b/keyboards/cipulot/ec_prox/ansi_iso/config.h @@ -63,7 +63,7 @@ // #define DEBUG_MATRIX_SCAN_RATE -#define EECONFIG_KB_DATA_SIZE 160 +#define EECONFIG_KB_DATA_SIZE 159 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/ec_prox/jis/config.h b/keyboards/cipulot/ec_prox/jis/config.h index 8761b692aad..6a686d74044 100644 --- a/keyboards/cipulot/ec_prox/jis/config.h +++ b/keyboards/cipulot/ec_prox/jis/config.h @@ -63,7 +63,7 @@ // #define DEBUG_MATRIX_SCAN_RATE -#define EECONFIG_KB_DATA_SIZE 150 +#define EECONFIG_KB_DATA_SIZE 149 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/ec_theca/config.h b/keyboards/cipulot/ec_theca/config.h index 23a0bb4eb40..4b834fdff68 100644 --- a/keyboards/cipulot/ec_theca/config.h +++ b/keyboards/cipulot/ec_theca/config.h @@ -62,7 +62,7 @@ // #define DEBUG_MATRIX_SCAN_RATE #define DYNAMIC_KEYMAP_LAYER_COUNT 3 -#define EECONFIG_KB_DATA_SIZE 202 +#define EECONFIG_KB_DATA_SIZE 201 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cipulot/rf_r1_8_9xu/config.h b/keyboards/cipulot/rf_r1_8_9xu/config.h index bd020ff4333..fbd65f259fd 100644 --- a/keyboards/cipulot/rf_r1_8_9xu/config.h +++ b/keyboards/cipulot/rf_r1_8_9xu/config.h @@ -62,7 +62,7 @@ // #define DEBUG_MATRIX_SCAN_RATE #define DYNAMIC_KEYMAP_LAYER_COUNT 3 -#define EECONFIG_KB_DATA_SIZE 202 +#define EECONFIG_KB_DATA_SIZE 201 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE From 7d417b78eb76b498f10a2924cb82030a244b1594 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 14 Mar 2024 18:32:17 -0700 Subject: [PATCH 088/107] AMJKeyboard AMJ96 Layout Additions (#23267) --- keyboards/amjkeyboard/amj96/info.json | 221 ++++++++++++++++++ keyboards/amjkeyboard/amj96/matrix_diagram.md | 25 ++ 2 files changed, 246 insertions(+) create mode 100644 keyboards/amjkeyboard/amj96/matrix_diagram.md diff --git a/keyboards/amjkeyboard/amj96/info.json b/keyboards/amjkeyboard/amj96/info.json index 973e6b33759..60cb8ee9e83 100644 --- a/keyboards/amjkeyboard/amj96/info.json +++ b/keyboards/amjkeyboard/amj96/info.json @@ -130,6 +130,227 @@ {"matrix": [0, 14], "x": 17, "y": 4}, {"matrix": [0, 7], "x": 18, "y": 4}, + {"matrix": [6, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [6, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [6, 2], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [6, 3], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [6, 4], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [6, 5], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [6, 6], "x": 13, "y": 5}, + {"matrix": [6, 8], "x": 14, "y": 5}, + {"matrix": [6, 9], "x": 15, "y": 5}, + {"matrix": [6, 10], "x": 16, "y": 5}, + {"matrix": [6, 11], "x": 17, "y": 5}, + {"matrix": [6, 12], "x": 18, "y": 5} + ] + }, + "LAYOUT_96_ansi_rwkl_split_num_plus_enter": { + "layout": [ + {"matrix": [1, 0], "x": 0, "y": 0}, + {"matrix": [1, 1], "x": 1, "y": 0}, + {"matrix": [1, 2], "x": 2, "y": 0}, + {"matrix": [1, 3], "x": 3, "y": 0}, + {"matrix": [1, 4], "x": 4, "y": 0}, + {"matrix": [1, 5], "x": 5, "y": 0}, + {"matrix": [1, 6], "x": 6, "y": 0}, + {"matrix": [1, 7], "x": 7, "y": 0}, + {"matrix": [1, 8], "x": 8, "y": 0}, + {"matrix": [1, 9], "x": 9, "y": 0}, + {"matrix": [1, 10], "x": 10, "y": 0}, + {"matrix": [1, 11], "x": 11, "y": 0}, + {"matrix": [1, 12], "x": 12, "y": 0}, + {"matrix": [1, 13], "x": 13, "y": 0}, + {"matrix": [1, 14], "x": 14, "y": 0}, + {"matrix": [1, 15], "x": 15, "y": 0}, + {"matrix": [0, 9], "x": 16, "y": 0}, + {"matrix": [0, 10], "x": 17, "y": 0}, + {"matrix": [0, 12], "x": 18, "y": 0}, + + {"matrix": [2, 0], "x": 0, "y": 1}, + {"matrix": [2, 1], "x": 1, "y": 1}, + {"matrix": [2, 2], "x": 2, "y": 1}, + {"matrix": [2, 3], "x": 3, "y": 1}, + {"matrix": [2, 4], "x": 4, "y": 1}, + {"matrix": [2, 5], "x": 5, "y": 1}, + {"matrix": [2, 6], "x": 6, "y": 1}, + {"matrix": [2, 7], "x": 7, "y": 1}, + {"matrix": [2, 8], "x": 8, "y": 1}, + {"matrix": [2, 9], "x": 9, "y": 1}, + {"matrix": [2, 10], "x": 10, "y": 1}, + {"matrix": [2, 11], "x": 11, "y": 1}, + {"matrix": [2, 12], "x": 12, "y": 1}, + {"matrix": [2, 13], "x": 13, "y": 1, "w": 2}, + {"matrix": [2, 15], "x": 15, "y": 1}, + {"matrix": [0, 11], "x": 16, "y": 1}, + {"matrix": [0, 15], "x": 17, "y": 1}, + {"matrix": [6, 15], "x": 18, "y": 1}, + + {"matrix": [3, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 2}, + {"matrix": [3, 2], "x": 2.5, "y": 2}, + {"matrix": [3, 3], "x": 3.5, "y": 2}, + {"matrix": [3, 4], "x": 4.5, "y": 2}, + {"matrix": [3, 5], "x": 5.5, "y": 2}, + {"matrix": [3, 6], "x": 6.5, "y": 2}, + {"matrix": [3, 7], "x": 7.5, "y": 2}, + {"matrix": [3, 8], "x": 8.5, "y": 2}, + {"matrix": [3, 9], "x": 9.5, "y": 2}, + {"matrix": [3, 10], "x": 10.5, "y": 2}, + {"matrix": [3, 11], "x": 11.5, "y": 2}, + {"matrix": [3, 12], "x": 12.5, "y": 2}, + {"matrix": [3, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [3, 14], "x": 15, "y": 2}, + {"matrix": [3, 15], "x": 16, "y": 2}, + {"matrix": [0, 13], "x": 17, "y": 2}, + {"matrix": [6, 13], "x": 18, "y": 2}, + + {"matrix": [4, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [4, 1], "x": 1.75, "y": 3}, + {"matrix": [4, 2], "x": 2.75, "y": 3}, + {"matrix": [4, 3], "x": 3.75, "y": 3}, + {"matrix": [4, 4], "x": 4.75, "y": 3}, + {"matrix": [4, 5], "x": 5.75, "y": 3}, + {"matrix": [4, 6], "x": 6.75, "y": 3}, + {"matrix": [4, 7], "x": 7.75, "y": 3}, + {"matrix": [4, 8], "x": 8.75, "y": 3}, + {"matrix": [4, 9], "x": 9.75, "y": 3}, + {"matrix": [4, 10], "x": 10.75, "y": 3}, + {"matrix": [4, 11], "x": 11.75, "y": 3}, + {"matrix": [4, 12], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [4, 13], "x": 15, "y": 3}, + {"matrix": [4, 14], "x": 16, "y": 3}, + {"matrix": [4, 15], "x": 17, "y": 3}, + {"matrix": [6, 14], "x": 18, "y": 3}, + + {"matrix": [5, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [5, 2], "x": 2.25, "y": 4}, + {"matrix": [5, 3], "x": 3.25, "y": 4}, + {"matrix": [5, 4], "x": 4.25, "y": 4}, + {"matrix": [5, 5], "x": 5.25, "y": 4}, + {"matrix": [5, 6], "x": 6.25, "y": 4}, + {"matrix": [5, 7], "x": 7.25, "y": 4}, + {"matrix": [5, 8], "x": 8.25, "y": 4}, + {"matrix": [5, 9], "x": 9.25, "y": 4}, + {"matrix": [5, 10], "x": 10.25, "y": 4}, + {"matrix": [5, 11], "x": 11.25, "y": 4}, + {"matrix": [5, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [5, 13], "x": 14, "y": 4}, + {"matrix": [5, 14], "x": 15, "y": 4}, + {"matrix": [5, 15], "x": 16, "y": 4}, + {"matrix": [0, 14], "x": 17, "y": 4}, + {"matrix": [0, 7], "x": 18, "y": 4}, + + {"matrix": [6, 0], "x": 0, "y": 5, "w": 1.25}, + {"matrix": [6, 1], "x": 1.25, "y": 5, "w": 1.25}, + {"matrix": [6, 2], "x": 2.5, "y": 5, "w": 1.25}, + {"matrix": [6, 3], "x": 3.75, "y": 5, "w": 6.25}, + {"matrix": [6, 4], "x": 10, "y": 5, "w": 1.5}, + {"matrix": [6, 5], "x": 11.5, "y": 5, "w": 1.5}, + {"matrix": [6, 6], "x": 13, "y": 5}, + {"matrix": [6, 8], "x": 14, "y": 5}, + {"matrix": [6, 9], "x": 15, "y": 5}, + {"matrix": [6, 10], "x": 16, "y": 5}, + {"matrix": [6, 11], "x": 17, "y": 5}, + {"matrix": [6, 12], "x": 18, "y": 5} + ] + }, + "LAYOUT_96_ansi_rwkl_split_bs_num_plus_enter": { + "layout": [ + {"matrix": [1, 0], "x": 0, "y": 0}, + {"matrix": [1, 1], "x": 1, "y": 0}, + {"matrix": [1, 2], "x": 2, "y": 0}, + {"matrix": [1, 3], "x": 3, "y": 0}, + {"matrix": [1, 4], "x": 4, "y": 0}, + {"matrix": [1, 5], "x": 5, "y": 0}, + {"matrix": [1, 6], "x": 6, "y": 0}, + {"matrix": [1, 7], "x": 7, "y": 0}, + {"matrix": [1, 8], "x": 8, "y": 0}, + {"matrix": [1, 9], "x": 9, "y": 0}, + {"matrix": [1, 10], "x": 10, "y": 0}, + {"matrix": [1, 11], "x": 11, "y": 0}, + {"matrix": [1, 12], "x": 12, "y": 0}, + {"matrix": [1, 13], "x": 13, "y": 0}, + {"matrix": [1, 14], "x": 14, "y": 0}, + {"matrix": [1, 15], "x": 15, "y": 0}, + {"matrix": [0, 9], "x": 16, "y": 0}, + {"matrix": [0, 10], "x": 17, "y": 0}, + {"matrix": [0, 12], "x": 18, "y": 0}, + + {"matrix": [2, 0], "x": 0, "y": 1}, + {"matrix": [2, 1], "x": 1, "y": 1}, + {"matrix": [2, 2], "x": 2, "y": 1}, + {"matrix": [2, 3], "x": 3, "y": 1}, + {"matrix": [2, 4], "x": 4, "y": 1}, + {"matrix": [2, 5], "x": 5, "y": 1}, + {"matrix": [2, 6], "x": 6, "y": 1}, + {"matrix": [2, 7], "x": 7, "y": 1}, + {"matrix": [2, 8], "x": 8, "y": 1}, + {"matrix": [2, 9], "x": 9, "y": 1}, + {"matrix": [2, 10], "x": 10, "y": 1}, + {"matrix": [2, 11], "x": 11, "y": 1}, + {"matrix": [2, 12], "x": 12, "y": 1}, + {"matrix": [2, 13], "x": 13, "y": 1}, + {"matrix": [2, 14], "x": 14, "y": 1}, + {"matrix": [2, 15], "x": 15, "y": 1}, + {"matrix": [0, 11], "x": 16, "y": 1}, + {"matrix": [0, 15], "x": 17, "y": 1}, + {"matrix": [6, 15], "x": 18, "y": 1}, + + {"matrix": [3, 0], "x": 0, "y": 2, "w": 1.5}, + {"matrix": [3, 1], "x": 1.5, "y": 2}, + {"matrix": [3, 2], "x": 2.5, "y": 2}, + {"matrix": [3, 3], "x": 3.5, "y": 2}, + {"matrix": [3, 4], "x": 4.5, "y": 2}, + {"matrix": [3, 5], "x": 5.5, "y": 2}, + {"matrix": [3, 6], "x": 6.5, "y": 2}, + {"matrix": [3, 7], "x": 7.5, "y": 2}, + {"matrix": [3, 8], "x": 8.5, "y": 2}, + {"matrix": [3, 9], "x": 9.5, "y": 2}, + {"matrix": [3, 10], "x": 10.5, "y": 2}, + {"matrix": [3, 11], "x": 11.5, "y": 2}, + {"matrix": [3, 12], "x": 12.5, "y": 2}, + {"matrix": [3, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"matrix": [3, 14], "x": 15, "y": 2}, + {"matrix": [3, 15], "x": 16, "y": 2}, + {"matrix": [0, 13], "x": 17, "y": 2}, + {"matrix": [6, 13], "x": 18, "y": 2}, + + {"matrix": [4, 0], "x": 0, "y": 3, "w": 1.75}, + {"matrix": [4, 1], "x": 1.75, "y": 3}, + {"matrix": [4, 2], "x": 2.75, "y": 3}, + {"matrix": [4, 3], "x": 3.75, "y": 3}, + {"matrix": [4, 4], "x": 4.75, "y": 3}, + {"matrix": [4, 5], "x": 5.75, "y": 3}, + {"matrix": [4, 6], "x": 6.75, "y": 3}, + {"matrix": [4, 7], "x": 7.75, "y": 3}, + {"matrix": [4, 8], "x": 8.75, "y": 3}, + {"matrix": [4, 9], "x": 9.75, "y": 3}, + {"matrix": [4, 10], "x": 10.75, "y": 3}, + {"matrix": [4, 11], "x": 11.75, "y": 3}, + {"matrix": [4, 12], "x": 12.75, "y": 3, "w": 2.25}, + {"matrix": [4, 13], "x": 15, "y": 3}, + {"matrix": [4, 14], "x": 16, "y": 3}, + {"matrix": [4, 15], "x": 17, "y": 3}, + {"matrix": [6, 14], "x": 18, "y": 3}, + + {"matrix": [5, 0], "x": 0, "y": 4, "w": 2.25}, + {"matrix": [5, 2], "x": 2.25, "y": 4}, + {"matrix": [5, 3], "x": 3.25, "y": 4}, + {"matrix": [5, 4], "x": 4.25, "y": 4}, + {"matrix": [5, 5], "x": 5.25, "y": 4}, + {"matrix": [5, 6], "x": 6.25, "y": 4}, + {"matrix": [5, 7], "x": 7.25, "y": 4}, + {"matrix": [5, 8], "x": 8.25, "y": 4}, + {"matrix": [5, 9], "x": 9.25, "y": 4}, + {"matrix": [5, 10], "x": 10.25, "y": 4}, + {"matrix": [5, 11], "x": 11.25, "y": 4}, + {"matrix": [5, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"matrix": [5, 13], "x": 14, "y": 4}, + {"matrix": [5, 14], "x": 15, "y": 4}, + {"matrix": [5, 15], "x": 16, "y": 4}, + {"matrix": [0, 14], "x": 17, "y": 4}, + {"matrix": [0, 7], "x": 18, "y": 4}, + {"matrix": [6, 0], "x": 0, "y": 5, "w": 1.25}, {"matrix": [6, 1], "x": 1.25, "y": 5, "w": 1.25}, {"matrix": [6, 2], "x": 2.5, "y": 5, "w": 1.25}, diff --git a/keyboards/amjkeyboard/amj96/matrix_diagram.md b/keyboards/amjkeyboard/amj96/matrix_diagram.md new file mode 100644 index 00000000000..6bd94f88bef --- /dev/null +++ b/keyboards/amjkeyboard/amj96/matrix_diagram.md @@ -0,0 +1,25 @@ +# Matrix Diagram for Han Chen AMJ96 + +There's a lot of options available on the PCB, including some on the +bottom row, but I haven't ever found high quality images of a bare PCB +with which to determine what's actually supported. :\\\ +\- @noroadsleft, 19 January, 2024 + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E │1F │09 │0A │0C │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ ┌───────┐ +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │2E │2F │0B │0F │6F │ │2D │ 2u Backspace +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┼───┼───┼───┤ └─┬─────┤ ┌─────┐ ┌───┐ +│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3E │3F │0D │6D │ │ │ │3D │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┼───┼───┼───┤ ┌──┴┐?? │ ISO Enter ┌──┴┬────┤ Split Enter │?? │ 2u Numpad Plus +│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4C │4D │4E │4F │6E │ │?? │ │ │?? │?? │ │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┼───┼───┼───┤ ┌─┴───┴────┤ └───┴────┘ ├───┤ +│50 │51 │52 │53 │54 │55 │56 │57 │58 │59 │5A │5B │5C │5D │5E │5F │0E │07 │ │?? │ 2.75u │ │ +├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┼───┼───┼───┤ └──────────┘ RShift │?? │ 2u Numpad Enter +│60 │61 │62 │63 │64 │65 │66 │68 │69 │6A │6B │6C │ │ │ +└────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┴───┴───┴───┘ └───┘ +┌────────┐ ┌───────┐ +│50 │ 2.25u LShift │?? │ 2u Numpad Zero +└────────┘ └───────┘ +``` From 539fa21bf80308a21048334909b6512917aa3c7b Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 01:42:15 +0000 Subject: [PATCH 089/107] Migrate features from rules.mk to data driven - IJK (#23276) --- .../grooveboard/{info.json => keyboard.json} | 8 ++++++++ keyboards/ianklug/grooveboard/rules.mk | 12 ------------ .../ashpil_usbc/{info.json => keyboard.json} | 8 ++++++++ keyboards/ibm/model_m/ashpil_usbc/rules.mk | 12 ------------ .../model_m/teensy2/{info.json => keyboard.json} | 8 ++++++++ keyboards/ibm/model_m/teensy2/rules.mk | 12 ------------ .../model_m/yugo_m/{info.json => keyboard.json} | 8 ++++++++ keyboards/ibm/model_m/yugo_m/rules.mk | 12 ------------ .../ibm122m/{info.json => keyboard.json} | 9 +++++++++ keyboards/ibm/model_m_122/ibm122m/rules.mk | 11 ----------- .../blackpill/{info.json => keyboard.json} | 8 ++++++++ .../ibm/model_m_122/m122_3270/blackpill/rules.mk | 12 ------------ .../m122_3270/teensy/{info.json => keyboard.json} | 8 ++++++++ .../ibm/model_m_122/m122_3270/teensy/rules.mk | 12 ------------ .../teensypp_ssk/{info.json => keyboard.json} | 8 ++++++++ keyboards/ibm/model_m_ssk/teensypp_ssk/rules.mk | 12 ------------ .../alicia_cook/{info.json => keyboard.json} | 8 ++++++++ keyboards/ibnuda/alicia_cook/rules.mk | 12 ------------ .../ibnuda/gurindam/{info.json => keyboard.json} | 9 +++++++++ keyboards/ibnuda/gurindam/rules.mk | 12 ------------ keyboards/idb/idb_60/{info.json => keyboard.json} | 8 ++++++++ keyboards/idb/idb_60/rules.mk | 10 ---------- .../idobao/id87/v1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/idobao/id87/v1/rules.mk | 12 ------------ .../idobao/id96/{info.json => keyboard.json} | 10 ++++++++++ keyboards/idobao/id96/rules.mk | 12 ------------ .../idobao/montex/v1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/idobao/montex/v1/rules.mk | 12 ------------ .../montex/v1rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/idobao/montex/v1rgb/rules.mk | 12 ------------ .../illuminati/is0/{info.json => keyboard.json} | 9 +++++++++ keyboards/illuminati/is0/rules.mk | 12 ------------ .../illusion/rosa/{info.json => keyboard.json} | 8 ++++++++ keyboards/illusion/rosa/rules.mk | 12 ------------ .../ilumkb/primus75/{info.json => keyboard.json} | 9 +++++++++ keyboards/ilumkb/primus75/rules.mk | 12 ------------ .../ilumkb/simpler61/{info.json => keyboard.json} | 9 +++++++++ keyboards/ilumkb/simpler61/rules.mk | 13 ------------- .../ilumkb/simpler64/{info.json => keyboard.json} | 9 +++++++++ keyboards/ilumkb/simpler64/rules.mk | 13 ------------- .../volcano660/{info.json => keyboard.json} | 9 +++++++++ keyboards/ilumkb/volcano660/rules.mk | 12 ------------ .../k_type/{info.json => keyboard.json} | 8 ++++++++ keyboards/input_club/k_type/rules.mk | 15 --------------- .../whitefox/{info.json => keyboard.json} | 9 +++++++++ keyboards/input_club/whitefox/rules.mk | 14 -------------- .../io_mini1800/{info.json => keyboard.json} | 9 +++++++++ keyboards/io_mini1800/rules.mk | 14 -------------- keyboards/irene/{info.json => keyboard.json} | 9 +++++++++ keyboards/irene/rules.mk | 12 ------------ .../iriskeyboards/{info.json => keyboard.json} | 8 ++++++++ keyboards/iriskeyboards/rules.mk | 12 ------------ keyboards/iron180/{info.json => keyboard.json} | 9 +++++++++ keyboards/iron180/rules.mk | 14 -------------- keyboards/j80/{info.json => keyboard.json} | 9 +++++++++ keyboards/j80/rules.mk | 10 ---------- .../s7_elephant/rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/jacky_studio/s7_elephant/rev1/rules.mk | 11 ----------- .../jadookb/jkb2/{info.json => keyboard.json} | 8 ++++++++ keyboards/jadookb/jkb2/rules.mk | 12 ------------ keyboards/jae/j01/{info.json => keyboard.json} | 9 +++++++++ keyboards/jae/j01/rules.mk | 12 ------------ keyboards/jc65/v32a/{info.json => keyboard.json} | 10 ++++++++++ keyboards/jc65/v32a/rules.mk | 10 ---------- keyboards/jc65/v32u4/{info.json => keyboard.json} | 10 ++++++++++ keyboards/jc65/v32u4/rules.mk | 12 ------------ keyboards/jd40/{info.json => keyboard.json} | 9 +++++++++ keyboards/jd40/rules.mk | 11 ----------- keyboards/jd45/{info.json => keyboard.json} | 10 ++++++++++ keyboards/jd45/rules.mk | 11 ----------- .../jels/jels88/{info.json => keyboard.json} | 9 +++++++++ keyboards/jels/jels88/rules.mk | 13 ------------- .../binary_monkey/{info.json => keyboard.json} | 8 ++++++++ keyboards/jkdlab/binary_monkey/rules.mk | 12 ------------ .../gentleman65/{info.json => keyboard.json} | 10 ++++++++++ keyboards/jkeys_design/gentleman65/rules.mk | 14 -------------- .../gentleman65_se_s/{info.json => keyboard.json} | 10 ++++++++++ keyboards/jkeys_design/gentleman65_se_s/rules.mk | 14 -------------- .../denial75/{info.json => keyboard.json} | 9 +++++++++ keyboards/jolofsor/denial75/rules.mk | 12 ------------ .../hub20/{info.json => keyboard.json} | 10 ++++++++++ keyboards/joshajohnson/hub20/rules.mk | 15 --------------- keyboards/k34/{info.json => keyboard.json} | 8 ++++++++ keyboards/k34/rules.mk | 12 ------------ .../kabedon78s/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kabedon/kabedon78s/rules.mk | 13 ------------- .../kabedon980/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kabedon/kabedon980/rules.mk | 13 ------------- .../kabedon98e/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kabedon/kabedon98e/rules.mk | 13 ------------- .../halberd/{info.json => keyboard.json} | 9 +++++++++ keyboards/kagizaraya/halberd/rules.mk | 12 ------------ .../kapcave/arya/{info.json => keyboard.json} | 9 +++++++++ keyboards/kapcave/arya/rules.mk | 14 -------------- .../kapcave/gskt00/{info.json => keyboard.json} | 8 ++++++++ keyboards/kapcave/gskt00/rules.mk | 12 ------------ .../paladin64/{info.json => keyboard.json} | 9 +++++++++ keyboards/kapcave/paladin64/rules.mk | 12 ------------ .../karlb/kbic65/{info.json => keyboard.json} | 8 ++++++++ keyboards/karlb/kbic65/rules.mk | 11 ----------- .../kb_elmo/67mk_e/{info.json => keyboard.json} | 8 ++++++++ keyboards/kb_elmo/67mk_e/rules.mk | 12 ------------ .../kb_elmo/noah_avr/{info.json => keyboard.json} | 9 +++++++++ keyboards/kb_elmo/noah_avr/rules.mk | 12 ------------ .../kb_elmo/qez/{info.json => keyboard.json} | 8 ++++++++ keyboards/kb_elmo/qez/rules.mk | 12 ------------ .../kb_elmo/vertex/{info.json => keyboard.json} | 8 ++++++++ keyboards/kb_elmo/vertex/rules.mk | 12 ------------ .../kaishi65/{info.json => keyboard.json} | 8 ++++++++ keyboards/kbdclack/kaishi65/rules.mk | 12 ------------ .../baguette66/rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/baguette66/rgb/rules.mk | 13 ------------- .../soldered/{info.json => keyboard.json} | 8 ++++++++ keyboards/kbdfans/baguette66/soldered/rules.mk | 12 ------------ .../bella/soldered/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/bella/soldered/rules.mk | 12 ------------ .../boop65/rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/boop65/rgb/rules.mk | 13 ------------- .../75/hotswap/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/bounce/75/hotswap/rules.mk | 12 ------------ .../75/soldered/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/bounce/75/soldered/rules.mk | 12 ------------ .../bounce/pad/{info.json => keyboard.json} | 8 ++++++++ keyboards/kbdfans/bounce/pad/rules.mk | 12 ------------ .../kbdfans/epoch80/{info.json => keyboard.json} | 8 ++++++++ keyboards/kbdfans/epoch80/rules.mk | 12 ------------ .../kbdfans/kbd19x/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kbdfans/kbd19x/rules.mk | 12 ------------ .../kbdfans/kbd66/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/kbd66/rules.mk | 11 ----------- .../kbd67/hotswap/{info.json => keyboard.json} | 8 ++++++++ keyboards/kbdfans/kbd67/hotswap/rules.mk | 12 ------------ .../mkii_soldered/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/kbd67/mkii_soldered/rules.mk | 12 ------------ .../kbd67/mkiirgb/v1/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk | 12 ------------ .../kbd67/mkiirgb/v4/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/kbd67/mkiirgb/v4/rules.mk | 13 ------------- .../kbd67/rev2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kbdfans/kbd67/rev2/rules.mk | 12 ------------ .../kbdfans/kbd6x/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kbdfans/kbd6x/rules.mk | 12 ------------ .../kbdfans/kbd75hs/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/kbd75hs/rules.mk | 12 ------------ .../kbdfans/kbd8x/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kbdfans/kbd8x/rules.mk | 12 ------------ .../kbd8x_mk2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kbdfans/kbd8x_mk2/rules.mk | 12 ------------ .../kbdfans/kbdmini/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/kbdmini/rules.mk | 13 ------------- .../kbdpad/mk1/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/kbdpad/mk1/rules.mk | 10 ---------- .../kbdpad/mk2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kbdfans/kbdpad/mk2/rules.mk | 12 ------------ .../kbdfans/odin/rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/odin/rgb/rules.mk | 14 -------------- .../odin/soldered/{info.json => keyboard.json} | 8 ++++++++ keyboards/kbdfans/odin/soldered/rules.mk | 13 ------------- .../kbdfans/odin/v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/odin/v2/rules.mk | 13 ------------- .../kbdfans/phaseone/{info.json => keyboard.json} | 9 +++++++++ keyboards/kbdfans/phaseone/rules.mk | 12 ------------ .../nordic60/rev_a/{info.json => keyboard.json} | 8 ++++++++ keyboards/kbnordic/nordic60/rev_a/rules.mk | 12 ------------ keyboards/kc60/{info.json => keyboard.json} | 9 +++++++++ keyboards/kc60/rules.mk | 12 ------------ keyboards/kc60se/{info.json => keyboard.json} | 9 +++++++++ keyboards/kc60se/rules.mk | 11 ----------- .../bigswitchseat/{info.json => keyboard.json} | 8 ++++++++ keyboards/keebio/bigswitchseat/rules.mk | 12 ------------ .../keebio/choconum/{info.json => keyboard.json} | 8 ++++++++ keyboards/keebio/choconum/rules.mk | 13 ------------- .../keebio/dilly/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keebio/dilly/rules.mk | 12 ------------ .../ergodicity/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keebio/ergodicity/rules.mk | 12 ------------ .../keebio/laplace/{info.json => keyboard.json} | 9 +++++++++ keyboards/keebio/laplace/rules.mk | 12 ------------ .../keebio/stick/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keebio/stick/rules.mk | 14 -------------- .../tragicforce68/{info.json => keyboard.json} | 9 +++++++++ keyboards/keebio/tragicforce68/rules.mk | 11 ----------- .../keebio/tukey/{info.json => keyboard.json} | 9 +++++++++ keyboards/keebio/tukey/rules.mk | 12 ------------ .../kbmg68/{info.json => keyboard.json} | 9 +++++++++ keyboards/keebmonkey/kbmg68/rules.mk | 12 ------------ .../coarse60/{info.json => keyboard.json} | 11 +++++++++++ keyboards/keebsforall/coarse60/rules.mk | 15 --------------- .../freebird60/{info.json => keyboard.json} | 8 ++++++++ keyboards/keebsforall/freebird60/rules.mk | 12 ------------ .../freebirdnp/lite/{info.json => keyboard.json} | 8 ++++++++ keyboards/keebsforall/freebirdnp/lite/rules.mk | 12 ------------ .../freebirdnp/pro/{info.json => keyboard.json} | 9 +++++++++ keyboards/keebsforall/freebirdnp/pro/rules.mk | 13 ------------- .../freebirdtkl/{info.json => keyboard.json} | 8 ++++++++ keyboards/keebsforall/freebirdtkl/rules.mk | 12 ------------ .../keebzdotnet/fme/{info.json => keyboard.json} | 8 ++++++++ keyboards/keebzdotnet/fme/rules.mk | 12 ------------ .../wazowski/{info.json => keyboard.json} | 8 ++++++++ keyboards/keebzdotnet/wazowski/rules.mk | 12 ------------ keyboards/kegen/gboy/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kegen/gboy/rules.mk | 12 ------------ .../keybee/keybee65/{info.json => keyboard.json} | 9 +++++++++ keyboards/keybee/keybee65/rules.mk | 14 -------------- .../atreus/{info.json => keyboard.json} | 9 +++++++++ keyboards/keyboardio/atreus/rules.mk | 14 -------------- .../o4l_5x12/{info.json => keyboard.json} | 9 +++++++++ keyboards/keycapsss/o4l_5x12/rules.mk | 12 ------------ .../q60/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/q60/ansi/rules.mk | 14 -------------- .../s1/ansi/rgb/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/s1/ansi/rgb/rules.mk | 14 -------------- .../s1/ansi/white/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/s1/ansi/white/rules.mk | 14 -------------- .../keychron/v2/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v2/ansi/rules.mk | 14 -------------- .../v2/ansi_encoder/{info.json => keyboard.json} | 11 +++++++++++ keyboards/keychron/v2/ansi_encoder/rules.mk | 15 --------------- .../keychron/v2/iso/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v2/iso/rules.mk | 14 -------------- .../v2/iso_encoder/{info.json => keyboard.json} | 11 +++++++++++ keyboards/keychron/v2/iso_encoder/rules.mk | 15 --------------- .../keychron/v2/jis/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v2/jis/rules.mk | 14 -------------- .../v2/jis_encoder/{info.json => keyboard.json} | 11 +++++++++++ keyboards/keychron/v2/jis_encoder/rules.mk | 15 --------------- .../keychron/v3/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v3/ansi/rules.mk | 14 -------------- .../keychron/v3/iso/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v3/iso/rules.mk | 14 -------------- .../keychron/v3/jis/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v3/jis/rules.mk | 14 -------------- .../keychron/v4/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v4/ansi/rules.mk | 14 -------------- .../keychron/v4/iso/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v4/iso/rules.mk | 14 -------------- .../keychron/v7/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v7/ansi/rules.mk | 14 -------------- .../keychron/v7/iso/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v7/iso/rules.mk | 14 -------------- .../keychron/v8/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v8/ansi/rules.mk | 11 ----------- .../v8/ansi_encoder/{info.json => keyboard.json} | 11 +++++++++++ keyboards/keychron/v8/ansi_encoder/rules.mk | 12 ------------ .../keychron/v8/iso/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keychron/v8/iso/rules.mk | 15 --------------- .../v8/iso_encoder/{info.json => keyboard.json} | 11 +++++++++++ keyboards/keychron/v8/iso_encoder/rules.mk | 12 ------------ .../keyhive/absinthe/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keyhive/absinthe/rules.mk | 14 -------------- .../ergosaurus/{info.json => keyboard.json} | 8 ++++++++ keyboards/keyhive/ergosaurus/rules.mk | 12 ------------ .../keyhive/maypad/{info.json => keyboard.json} | 8 ++++++++ keyboards/keyhive/maypad/rules.mk | 12 ------------ .../keyhive/opus/{info.json => keyboard.json} | 8 ++++++++ keyboards/keyhive/opus/rules.mk | 12 ------------ .../keyhive/smallice/{info.json => keyboard.json} | 9 +++++++++ keyboards/keyhive/smallice/rules.mk | 12 ------------ .../southpole/{info.json => keyboard.json} | 8 ++++++++ keyboards/keyhive/southpole/rules.mk | 12 ------------ .../keyhive/ut472/{info.json => keyboard.json} | 9 +++++++++ keyboards/keyhive/ut472/rules.mk | 12 ------------ .../keyprez/corgi/{info.json => keyboard.json} | 9 +++++++++ keyboards/keyprez/corgi/rules.mk | 13 ------------- .../keyprez/rhino/{info.json => keyboard.json} | 10 ++++++++++ keyboards/keyprez/rhino/rules.mk | 13 ------------- .../twokey/{info.json => keyboard.json} | 11 +++++++++++ keyboards/keysofkings/twokey/rules.mk | 13 ------------- .../keyten/kt3700/{info.json => keyboard.json} | 8 ++++++++ keyboards/keyten/kt3700/rules.mk | 12 ------------ keyboards/kikkou/{info.json => keyboard.json} | 8 ++++++++ keyboards/kikkou/rules.mk | 12 ------------ .../ellora65/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kikoslab/ellora65/rules.mk | 13 ------------- .../kikoslab/kl90/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kikoslab/kl90/rules.mk | 14 -------------- .../conone65/{info.json => keyboard.json} | 8 ++++++++ keyboards/kindakeyboards/conone65/rules.mk | 12 ------------ .../emu/hotswap/{info.json => keyboard.json} | 8 ++++++++ keyboards/kineticlabs/emu/hotswap/rules.mk | 12 ------------ .../emu/soldered/{info.json => keyboard.json} | 8 ++++++++ keyboards/kineticlabs/emu/soldered/rules.mk | 12 ------------ .../ave/ortho/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kingly_keys/ave/ortho/rules.mk | 13 ------------- .../ave/staggered/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kingly_keys/ave/staggered/rules.mk | 13 ------------- .../little_foot/{info.json => keyboard.json} | 9 +++++++++ keyboards/kingly_keys/little_foot/rules.mk | 12 ------------ .../romac/{info.json => keyboard.json} | 8 ++++++++ keyboards/kingly_keys/romac/rules.mk | 13 ------------- .../romac_plus/{info.json => keyboard.json} | 11 +++++++++++ keyboards/kingly_keys/romac_plus/rules.mk | 12 ------------ .../ropro/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kingly_keys/ropro/rules.mk | 13 ------------- .../smd_milk/{info.json => keyboard.json} | 9 +++++++++ keyboards/kingly_keys/smd_milk/rules.mk | 12 ------------ .../kingly_keys/soap/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kingly_keys/soap/rules.mk | 13 ------------- .../kira/kira75/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kira/kira75/rules.mk | 12 ------------ .../kira/kira80/{info.json => keyboard.json} | 9 +++++++++ keyboards/kira/kira80/rules.mk | 10 ---------- .../kiwikeebs/macro/{info.json => keyboard.json} | 9 +++++++++ keyboards/kiwikeebs/macro/rules.mk | 13 ------------- .../macro_v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/kiwikeebs/macro_v2/rules.mk | 13 ------------- .../wanderland/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kiwikey/wanderland/rules.mk | 12 ------------ .../bakeneko60/{info.json => keyboard.json} | 8 ++++++++ keyboards/kkatano/bakeneko60/rules.mk | 12 ------------ .../bakeneko65/rev2/{info.json => keyboard.json} | 8 ++++++++ keyboards/kkatano/bakeneko65/rev2/rules.mk | 12 ------------ .../bakeneko65/rev3/{info.json => keyboard.json} | 8 ++++++++ keyboards/kkatano/bakeneko65/rev3/rules.mk | 12 ------------ .../bakeneko80/{info.json => keyboard.json} | 8 ++++++++ keyboards/kkatano/bakeneko80/rules.mk | 12 ------------ .../kkatano/wallaby/{info.json => keyboard.json} | 8 ++++++++ keyboards/kkatano/wallaby/rules.mk | 12 ------------ .../kkatano/yurei/{info.json => keyboard.json} | 8 ++++++++ keyboards/kkatano/yurei/rules.mk | 12 ------------ keyboards/knobgoblin/{info.json => keyboard.json} | 10 ++++++++++ keyboards/knobgoblin/rules.mk | 15 --------------- keyboards/knops/mini/{info.json => keyboard.json} | 8 ++++++++ keyboards/knops/mini/rules.mk | 11 ----------- .../kona_classic/{info.json => keyboard.json} | 8 ++++++++ keyboards/kona_classic/rules.mk | 11 ----------- .../kopibeng/mnk65/{info.json => keyboard.json} | 8 ++++++++ keyboards/kopibeng/mnk65/rules.mk | 12 ------------ .../kopibeng/mnk88/{info.json => keyboard.json} | 9 +++++++++ keyboards/kopibeng/mnk88/rules.mk | 14 -------------- .../kopibeng/typ65/{info.json => keyboard.json} | 8 ++++++++ keyboards/kopibeng/typ65/rules.mk | 13 ------------- .../kopibeng/xt60/{info.json => keyboard.json} | 9 +++++++++ keyboards/kopibeng/xt60/rules.mk | 12 ------------ .../xt60_singa/{info.json => keyboard.json} | 9 +++++++++ keyboards/kopibeng/xt60_singa/rules.mk | 12 ------------ .../kopibeng/xt65/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kopibeng/xt65/rules.mk | 12 ------------ .../kopibeng/xt8x/{info.json => keyboard.json} | 9 +++++++++ keyboards/kopibeng/xt8x/rules.mk | 14 -------------- .../kprepublic/bm16s/{info.json => keyboard.json} | 9 +++++++++ keyboards/kprepublic/bm16s/rules.mk | 12 ------------ .../bm40hsrgb/rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/kprepublic/bm40hsrgb/rev1/rules.mk | 12 ------------ .../kprepublic/bm43a/{info.json => keyboard.json} | 8 ++++++++ keyboards/kprepublic/bm43a/rules.mk | 12 ------------ .../bm43hsrgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/kprepublic/bm43hsrgb/rules.mk | 14 -------------- .../rev1/{info.json => keyboard.json} | 9 +++++++++ .../kprepublic/bm60hsrgb_poker/rev1/rules.mk | 13 ------------- .../cospad/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kprepublic/cospad/rules.mk | 12 ------------ .../kprepublic/jj4x4/{info.json => keyboard.json} | 10 ++++++++++ keyboards/kprepublic/jj4x4/rules.mk | 12 ------------ keyboards/ktec/daisy/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ktec/daisy/rules.mk | 12 ------------ .../ktec/staryu/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ktec/staryu/rules.mk | 12 ------------ keyboards/kv/revt/{info.json => keyboard.json} | 8 ++++++++ keyboards/kv/revt/rules.mk | 12 ------------ keyboards/kwub/bloop/{info.json => keyboard.json} | 8 ++++++++ keyboards/kwub/bloop/rules.mk | 12 ------------ keyboards/ky01/{info.json => keyboard.json} | 8 ++++++++ keyboards/ky01/rules.mk | 12 ------------ 364 files changed, 1649 insertions(+), 2270 deletions(-) rename keyboards/ianklug/grooveboard/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/ianklug/grooveboard/rules.mk rename keyboards/ibm/model_m/ashpil_usbc/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ibm/model_m/ashpil_usbc/rules.mk rename keyboards/ibm/model_m/teensy2/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/ibm/model_m/teensy2/rules.mk rename keyboards/ibm/model_m/yugo_m/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ibm/model_m/yugo_m/rules.mk rename keyboards/ibm/model_m_122/ibm122m/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/ibm/model_m_122/ibm122m/rules.mk rename keyboards/ibm/model_m_122/m122_3270/blackpill/{info.json => keyboard.json} (70%) delete mode 100644 keyboards/ibm/model_m_122/m122_3270/blackpill/rules.mk rename keyboards/ibm/model_m_122/m122_3270/teensy/{info.json => keyboard.json} (68%) delete mode 100644 keyboards/ibm/model_m_122/m122_3270/teensy/rules.mk rename keyboards/ibm/model_m_ssk/teensypp_ssk/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ibm/model_m_ssk/teensypp_ssk/rules.mk rename keyboards/ibnuda/alicia_cook/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ibnuda/alicia_cook/rules.mk rename keyboards/ibnuda/gurindam/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ibnuda/gurindam/rules.mk rename keyboards/idb/idb_60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/idb/idb_60/rules.mk rename keyboards/idobao/id87/v1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/idobao/id87/v1/rules.mk rename keyboards/idobao/id96/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/idobao/id96/rules.mk rename keyboards/idobao/montex/v1/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/idobao/montex/v1/rules.mk rename keyboards/idobao/montex/v1rgb/{info.json => keyboard.json} (93%) delete mode 100755 keyboards/idobao/montex/v1rgb/rules.mk rename keyboards/illuminati/is0/{info.json => keyboard.json} (76%) delete mode 100644 keyboards/illuminati/is0/rules.mk rename keyboards/illusion/rosa/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/illusion/rosa/rules.mk rename keyboards/ilumkb/primus75/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ilumkb/primus75/rules.mk rename keyboards/ilumkb/simpler61/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ilumkb/simpler61/rules.mk rename keyboards/ilumkb/simpler64/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ilumkb/simpler64/rules.mk rename keyboards/ilumkb/volcano660/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ilumkb/volcano660/rules.mk rename keyboards/input_club/k_type/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/input_club/k_type/rules.mk rename keyboards/input_club/whitefox/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/input_club/whitefox/rules.mk rename keyboards/io_mini1800/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/io_mini1800/rules.mk rename keyboards/irene/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/irene/rules.mk rename keyboards/iriskeyboards/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/iriskeyboards/rules.mk rename keyboards/iron180/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/iron180/rules.mk rename keyboards/j80/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/j80/rules.mk rename keyboards/jacky_studio/s7_elephant/rev1/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/jacky_studio/s7_elephant/rev1/rules.mk rename keyboards/jadookb/jkb2/{info.json => keyboard.json} (78%) delete mode 100644 keyboards/jadookb/jkb2/rules.mk rename keyboards/jae/j01/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/jae/j01/rules.mk rename keyboards/jc65/v32a/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/jc65/v32a/rules.mk rename keyboards/jc65/v32u4/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/jc65/v32u4/rules.mk rename keyboards/jd40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/jd40/rules.mk rename keyboards/jd45/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/jd45/rules.mk rename keyboards/jels/jels88/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/jels/jels88/rules.mk rename keyboards/jkdlab/binary_monkey/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/jkdlab/binary_monkey/rules.mk rename keyboards/jkeys_design/gentleman65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/jkeys_design/gentleman65/rules.mk rename keyboards/jkeys_design/gentleman65_se_s/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/jkeys_design/gentleman65_se_s/rules.mk rename keyboards/jolofsor/denial75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/jolofsor/denial75/rules.mk rename keyboards/joshajohnson/hub20/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/joshajohnson/hub20/rules.mk rename keyboards/k34/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/k34/rules.mk rename keyboards/kabedon/kabedon78s/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kabedon/kabedon78s/rules.mk rename keyboards/kabedon/kabedon980/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kabedon/kabedon980/rules.mk rename keyboards/kabedon/kabedon98e/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kabedon/kabedon98e/rules.mk rename keyboards/kagizaraya/halberd/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/kagizaraya/halberd/rules.mk rename keyboards/kapcave/arya/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kapcave/arya/rules.mk rename keyboards/kapcave/gskt00/{info.json => keyboard.json} (98%) delete mode 100755 keyboards/kapcave/gskt00/rules.mk rename keyboards/kapcave/paladin64/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kapcave/paladin64/rules.mk rename keyboards/karlb/kbic65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/karlb/kbic65/rules.mk rename keyboards/kb_elmo/67mk_e/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kb_elmo/67mk_e/rules.mk rename keyboards/kb_elmo/noah_avr/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kb_elmo/noah_avr/rules.mk rename keyboards/kb_elmo/qez/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kb_elmo/qez/rules.mk rename keyboards/kb_elmo/vertex/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kb_elmo/vertex/rules.mk rename keyboards/kbdclack/kaishi65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kbdclack/kaishi65/rules.mk rename keyboards/kbdfans/baguette66/rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kbdfans/baguette66/rgb/rules.mk rename keyboards/kbdfans/baguette66/soldered/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kbdfans/baguette66/soldered/rules.mk rename keyboards/kbdfans/bella/soldered/{info.json => keyboard.json} (99%) delete mode 100755 keyboards/kbdfans/bella/soldered/rules.mk rename keyboards/kbdfans/boop65/rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kbdfans/boop65/rgb/rules.mk rename keyboards/kbdfans/bounce/75/hotswap/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kbdfans/bounce/75/hotswap/rules.mk rename keyboards/kbdfans/bounce/75/soldered/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/bounce/75/soldered/rules.mk rename keyboards/kbdfans/bounce/pad/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/kbdfans/bounce/pad/rules.mk rename keyboards/kbdfans/epoch80/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/epoch80/rules.mk rename keyboards/kbdfans/kbd19x/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/kbd19x/rules.mk rename keyboards/kbdfans/kbd66/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/kbd66/rules.mk rename keyboards/kbdfans/kbd67/hotswap/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kbdfans/kbd67/hotswap/rules.mk rename keyboards/kbdfans/kbd67/mkii_soldered/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/kbd67/mkii_soldered/rules.mk rename keyboards/kbdfans/kbd67/mkiirgb/v1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk rename keyboards/kbdfans/kbd67/mkiirgb/v4/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/v4/rules.mk rename keyboards/kbdfans/kbd67/rev2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/kbd67/rev2/rules.mk rename keyboards/kbdfans/kbd6x/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/kbdfans/kbd6x/rules.mk rename keyboards/kbdfans/kbd75hs/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kbdfans/kbd75hs/rules.mk rename keyboards/kbdfans/kbd8x/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kbdfans/kbd8x/rules.mk rename keyboards/kbdfans/kbd8x_mk2/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kbdfans/kbd8x_mk2/rules.mk rename keyboards/kbdfans/kbdmini/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/kbdfans/kbdmini/rules.mk rename keyboards/kbdfans/kbdpad/mk1/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/kbdfans/kbdpad/mk1/rules.mk rename keyboards/kbdfans/kbdpad/mk2/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/kbdfans/kbdpad/mk2/rules.mk rename keyboards/kbdfans/odin/rgb/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kbdfans/odin/rgb/rules.mk rename keyboards/kbdfans/odin/soldered/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/odin/soldered/rules.mk rename keyboards/kbdfans/odin/v2/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kbdfans/odin/v2/rules.mk rename keyboards/kbdfans/phaseone/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbdfans/phaseone/rules.mk rename keyboards/kbnordic/nordic60/rev_a/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kbnordic/nordic60/rev_a/rules.mk rename keyboards/kc60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kc60/rules.mk rename keyboards/kc60se/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kc60se/rules.mk rename keyboards/keebio/bigswitchseat/{info.json => keyboard.json} (76%) delete mode 100644 keyboards/keebio/bigswitchseat/rules.mk rename keyboards/keebio/choconum/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/keebio/choconum/rules.mk rename keyboards/keebio/dilly/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/keebio/dilly/rules.mk rename keyboards/keebio/ergodicity/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keebio/ergodicity/rules.mk rename keyboards/keebio/laplace/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keebio/laplace/rules.mk rename keyboards/keebio/stick/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/keebio/stick/rules.mk rename keyboards/keebio/tragicforce68/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/keebio/tragicforce68/rules.mk rename keyboards/keebio/tukey/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/keebio/tukey/rules.mk rename keyboards/keebmonkey/kbmg68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/keebmonkey/kbmg68/rules.mk rename keyboards/keebsforall/coarse60/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/keebsforall/coarse60/rules.mk rename keyboards/keebsforall/freebird60/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/keebsforall/freebird60/rules.mk rename keyboards/keebsforall/freebirdnp/lite/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/keebsforall/freebirdnp/lite/rules.mk rename keyboards/keebsforall/freebirdnp/pro/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keebsforall/freebirdnp/pro/rules.mk rename keyboards/keebsforall/freebirdtkl/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/keebsforall/freebirdtkl/rules.mk rename keyboards/keebzdotnet/fme/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/keebzdotnet/fme/rules.mk rename keyboards/keebzdotnet/wazowski/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/keebzdotnet/wazowski/rules.mk rename keyboards/kegen/gboy/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kegen/gboy/rules.mk rename keyboards/keybee/keybee65/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keybee/keybee65/rules.mk rename keyboards/keyboardio/atreus/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/keyboardio/atreus/rules.mk rename keyboards/keycapsss/o4l_5x12/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/keycapsss/o4l_5x12/rules.mk rename keyboards/keychron/q60/ansi/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keychron/q60/ansi/rules.mk rename keyboards/keychron/s1/ansi/rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/keychron/s1/ansi/rgb/rules.mk rename keyboards/keychron/s1/ansi/white/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/keychron/s1/ansi/white/rules.mk rename keyboards/keychron/v2/ansi/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v2/ansi/rules.mk rename keyboards/keychron/v2/ansi_encoder/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keychron/v2/ansi_encoder/rules.mk rename keyboards/keychron/v2/iso/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v2/iso/rules.mk rename keyboards/keychron/v2/iso_encoder/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keychron/v2/iso_encoder/rules.mk rename keyboards/keychron/v2/jis/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v2/jis/rules.mk rename keyboards/keychron/v2/jis_encoder/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v2/jis_encoder/rules.mk rename keyboards/keychron/v3/ansi/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v3/ansi/rules.mk rename keyboards/keychron/v3/iso/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/keychron/v3/iso/rules.mk rename keyboards/keychron/v3/jis/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/keychron/v3/jis/rules.mk rename keyboards/keychron/v4/ansi/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keychron/v4/ansi/rules.mk rename keyboards/keychron/v4/iso/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keychron/v4/iso/rules.mk rename keyboards/keychron/v7/ansi/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v7/ansi/rules.mk rename keyboards/keychron/v7/iso/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v7/iso/rules.mk rename keyboards/keychron/v8/ansi/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v8/ansi/rules.mk rename keyboards/keychron/v8/ansi_encoder/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keychron/v8/ansi_encoder/rules.mk rename keyboards/keychron/v8/iso/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v8/iso/rules.mk rename keyboards/keychron/v8/iso_encoder/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keychron/v8/iso_encoder/rules.mk rename keyboards/keyhive/absinthe/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/keyhive/absinthe/rules.mk rename keyboards/keyhive/ergosaurus/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/keyhive/ergosaurus/rules.mk rename keyboards/keyhive/maypad/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keyhive/maypad/rules.mk rename keyboards/keyhive/opus/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keyhive/opus/rules.mk rename keyboards/keyhive/smallice/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/keyhive/smallice/rules.mk rename keyboards/keyhive/southpole/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/keyhive/southpole/rules.mk rename keyboards/keyhive/ut472/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keyhive/ut472/rules.mk rename keyboards/keyprez/corgi/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keyprez/corgi/rules.mk rename keyboards/keyprez/rhino/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/keyprez/rhino/rules.mk rename keyboards/keysofkings/twokey/{info.json => keyboard.json} (83%) delete mode 100755 keyboards/keysofkings/twokey/rules.mk rename keyboards/keyten/kt3700/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/keyten/kt3700/rules.mk rename keyboards/kikkou/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kikkou/rules.mk rename keyboards/kikoslab/ellora65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kikoslab/ellora65/rules.mk rename keyboards/kikoslab/kl90/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kikoslab/kl90/rules.mk rename keyboards/kindakeyboards/conone65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kindakeyboards/conone65/rules.mk rename keyboards/kineticlabs/emu/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kineticlabs/emu/hotswap/rules.mk rename keyboards/kineticlabs/emu/soldered/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kineticlabs/emu/soldered/rules.mk rename keyboards/kingly_keys/ave/ortho/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kingly_keys/ave/ortho/rules.mk rename keyboards/kingly_keys/ave/staggered/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kingly_keys/ave/staggered/rules.mk rename keyboards/kingly_keys/little_foot/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kingly_keys/little_foot/rules.mk rename keyboards/kingly_keys/romac/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/kingly_keys/romac/rules.mk rename keyboards/kingly_keys/romac_plus/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/kingly_keys/romac_plus/rules.mk rename keyboards/kingly_keys/ropro/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/kingly_keys/ropro/rules.mk rename keyboards/kingly_keys/smd_milk/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/kingly_keys/smd_milk/rules.mk rename keyboards/kingly_keys/soap/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/kingly_keys/soap/rules.mk rename keyboards/kira/kira75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kira/kira75/rules.mk rename keyboards/kira/kira80/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kira/kira80/rules.mk rename keyboards/kiwikeebs/macro/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/kiwikeebs/macro/rules.mk rename keyboards/kiwikeebs/macro_v2/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/kiwikeebs/macro_v2/rules.mk rename keyboards/kiwikey/wanderland/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kiwikey/wanderland/rules.mk rename keyboards/kkatano/bakeneko60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kkatano/bakeneko60/rules.mk rename keyboards/kkatano/bakeneko65/rev2/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kkatano/bakeneko65/rev2/rules.mk rename keyboards/kkatano/bakeneko65/rev3/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kkatano/bakeneko65/rev3/rules.mk rename keyboards/kkatano/bakeneko80/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kkatano/bakeneko80/rules.mk rename keyboards/kkatano/wallaby/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kkatano/wallaby/rules.mk rename keyboards/kkatano/yurei/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kkatano/yurei/rules.mk rename keyboards/knobgoblin/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/knobgoblin/rules.mk rename keyboards/knops/mini/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/knops/mini/rules.mk rename keyboards/kona_classic/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kona_classic/rules.mk rename keyboards/kopibeng/mnk65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kopibeng/mnk65/rules.mk rename keyboards/kopibeng/mnk88/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kopibeng/mnk88/rules.mk rename keyboards/kopibeng/typ65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kopibeng/typ65/rules.mk rename keyboards/kopibeng/xt60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kopibeng/xt60/rules.mk rename keyboards/kopibeng/xt60_singa/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kopibeng/xt60_singa/rules.mk rename keyboards/kopibeng/xt65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kopibeng/xt65/rules.mk rename keyboards/kopibeng/xt8x/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/kopibeng/xt8x/rules.mk rename keyboards/kprepublic/bm16s/{info.json => keyboard.json} (89%) delete mode 100755 keyboards/kprepublic/bm16s/rules.mk rename keyboards/kprepublic/bm40hsrgb/rev1/{info.json => keyboard.json} (95%) delete mode 100755 keyboards/kprepublic/bm40hsrgb/rev1/rules.mk rename keyboards/kprepublic/bm43a/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/kprepublic/bm43a/rules.mk rename keyboards/kprepublic/bm43hsrgb/{info.json => keyboard.json} (94%) delete mode 100755 keyboards/kprepublic/bm43hsrgb/rules.mk rename keyboards/kprepublic/bm60hsrgb_poker/rev1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/rules.mk rename keyboards/kprepublic/cospad/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kprepublic/cospad/rules.mk rename keyboards/kprepublic/jj4x4/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/kprepublic/jj4x4/rules.mk rename keyboards/ktec/daisy/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ktec/daisy/rules.mk rename keyboards/ktec/staryu/{info.json => keyboard.json} (85%) delete mode 100755 keyboards/ktec/staryu/rules.mk rename keyboards/kv/revt/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/kv/revt/rules.mk rename keyboards/kwub/bloop/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/kwub/bloop/rules.mk rename keyboards/ky01/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ky01/rules.mk diff --git a/keyboards/ianklug/grooveboard/info.json b/keyboards/ianklug/grooveboard/keyboard.json similarity index 80% rename from keyboards/ianklug/grooveboard/info.json rename to keyboards/ianklug/grooveboard/keyboard.json index a38e793544e..81dd715867d 100644 --- a/keyboards/ianklug/grooveboard/info.json +++ b/keyboards/ianklug/grooveboard/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["F7", "F6", "D1", "D2"] diff --git a/keyboards/ianklug/grooveboard/rules.mk b/keyboards/ianklug/grooveboard/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/ianklug/grooveboard/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibm/model_m/ashpil_usbc/info.json b/keyboards/ibm/model_m/ashpil_usbc/keyboard.json similarity index 98% rename from keyboards/ibm/model_m/ashpil_usbc/info.json rename to keyboards/ibm/model_m/ashpil_usbc/keyboard.json index ffdb608edc5..451589017e4 100644 --- a/keyboards/ibm/model_m/ashpil_usbc/info.json +++ b/keyboards/ibm/model_m/ashpil_usbc/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "E7", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5"], "rows": ["C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0"] diff --git a/keyboards/ibm/model_m/ashpil_usbc/rules.mk b/keyboards/ibm/model_m/ashpil_usbc/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/ibm/model_m/ashpil_usbc/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibm/model_m/teensy2/info.json b/keyboards/ibm/model_m/teensy2/keyboard.json similarity index 97% rename from keyboards/ibm/model_m/teensy2/info.json rename to keyboards/ibm/model_m/teensy2/keyboard.json index 19603adb7a5..173f9e772f5 100644 --- a/keyboards/ibm/model_m/teensy2/info.json +++ b/keyboards/ibm/model_m/teensy2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6", "B0", "B1", "B2", "B3", "B7"], "rows": ["D0", "D1", "D2", "D3", "C6", "C7", "D5", "D4"] diff --git a/keyboards/ibm/model_m/teensy2/rules.mk b/keyboards/ibm/model_m/teensy2/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/ibm/model_m/teensy2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibm/model_m/yugo_m/info.json b/keyboards/ibm/model_m/yugo_m/keyboard.json similarity index 99% rename from keyboards/ibm/model_m/yugo_m/info.json rename to keyboards/ibm/model_m/yugo_m/keyboard.json index f4d9cc1d944..968c637b783 100644 --- a/keyboards/ibm/model_m/yugo_m/info.json +++ b/keyboards/ibm/model_m/yugo_m/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8E81", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3"], "rows": ["B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"] diff --git a/keyboards/ibm/model_m/yugo_m/rules.mk b/keyboards/ibm/model_m/yugo_m/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/ibm/model_m/yugo_m/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibm/model_m_122/ibm122m/info.json b/keyboards/ibm/model_m_122/ibm122m/keyboard.json similarity index 97% rename from keyboards/ibm/model_m_122/ibm122m/info.json rename to keyboards/ibm/model_m_122/ibm122m/keyboard.json index 54b0e9badea..3c43d17d92d 100644 --- a/keyboards/ibm/model_m_122/ibm122m/info.json +++ b/keyboards/ibm/model_m_122/ibm122m/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "E0", "E1", "C0", "C1", "C2", "C3", "C4", "C5", "C7", "F1"], "rows": ["F0", "B5", "B4", "B3", "B2", "B1", "B0", "E7"] diff --git a/keyboards/ibm/model_m_122/ibm122m/rules.mk b/keyboards/ibm/model_m_122/ibm122m/rules.mk deleted file mode 100644 index 3b2469ecc8f..00000000000 --- a/keyboards/ibm/model_m_122/ibm122m/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output diff --git a/keyboards/ibm/model_m_122/m122_3270/blackpill/info.json b/keyboards/ibm/model_m_122/m122_3270/blackpill/keyboard.json similarity index 70% rename from keyboards/ibm/model_m_122/m122_3270/blackpill/info.json rename to keyboards/ibm/model_m_122/m122_3270/blackpill/keyboard.json index b17554b7e03..46abafb2c42 100644 --- a/keyboards/ibm/model_m_122/m122_3270/blackpill/info.json +++ b/keyboards/ibm/model_m_122/m122_3270/blackpill/keyboard.json @@ -2,6 +2,14 @@ "usb": { "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B10", "B12", "B13", "B14", "B15", "A8", "A7", "A10", "A6", "A5", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9"], "rows": ["C13", "C14", "C15", "A0", "A1", "A2", "A3", "A4"] diff --git a/keyboards/ibm/model_m_122/m122_3270/blackpill/rules.mk b/keyboards/ibm/model_m_122/m122_3270/blackpill/rules.mk deleted file mode 100644 index 0a85fffb85c..00000000000 --- a/keyboards/ibm/model_m_122/m122_3270/blackpill/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibm/model_m_122/m122_3270/teensy/info.json b/keyboards/ibm/model_m_122/m122_3270/teensy/keyboard.json similarity index 68% rename from keyboards/ibm/model_m_122/m122_3270/teensy/info.json rename to keyboards/ibm/model_m_122/m122_3270/teensy/keyboard.json index 7596f5fc15d..ca2dd31fbff 100644 --- a/keyboards/ibm/model_m_122/m122_3270/teensy/info.json +++ b/keyboards/ibm/model_m_122/m122_3270/teensy/keyboard.json @@ -2,6 +2,14 @@ "usb": { "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B6", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D7", "E0", "E1", "C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7"], "rows": ["F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"] diff --git a/keyboards/ibm/model_m_122/m122_3270/teensy/rules.mk b/keyboards/ibm/model_m_122/m122_3270/teensy/rules.mk deleted file mode 100644 index 0a85fffb85c..00000000000 --- a/keyboards/ibm/model_m_122/m122_3270/teensy/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibm/model_m_ssk/teensypp_ssk/info.json b/keyboards/ibm/model_m_ssk/teensypp_ssk/keyboard.json similarity index 96% rename from keyboards/ibm/model_m_ssk/teensypp_ssk/info.json rename to keyboards/ibm/model_m_ssk/teensypp_ssk/keyboard.json index fbc3076c472..5994d820f45 100644 --- a/keyboards/ibm/model_m_ssk/teensypp_ssk/info.json +++ b/keyboards/ibm/model_m_ssk/teensypp_ssk/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "E1", "E0", "D7", "D5", "D4", "D3", "D2", "D1"], "rows": ["F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"] diff --git a/keyboards/ibm/model_m_ssk/teensypp_ssk/rules.mk b/keyboards/ibm/model_m_ssk/teensypp_ssk/rules.mk deleted file mode 100644 index 2904475d7dc..00000000000 --- a/keyboards/ibm/model_m_ssk/teensypp_ssk/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibnuda/alicia_cook/info.json b/keyboards/ibnuda/alicia_cook/keyboard.json similarity index 98% rename from keyboards/ibnuda/alicia_cook/info.json rename to keyboards/ibnuda/alicia_cook/keyboard.json index 1405e5d0938..fd3b23285ca 100644 --- a/keyboards/ibnuda/alicia_cook/info.json +++ b/keyboards/ibnuda/alicia_cook/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6955", "device_version": "8.9.9" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B5", "F6", "F7", "B1", "B3", "B2", "B4", "E6", "D7", "C6", "D4", "D0", "D1"], "rows": ["D2", "D3", "F4", "F5"] diff --git a/keyboards/ibnuda/alicia_cook/rules.mk b/keyboards/ibnuda/alicia_cook/rules.mk deleted file mode 100644 index 64562f09320..00000000000 --- a/keyboards/ibnuda/alicia_cook/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ibnuda/gurindam/info.json b/keyboards/ibnuda/gurindam/keyboard.json similarity index 95% rename from keyboards/ibnuda/gurindam/info.json rename to keyboards/ibnuda/gurindam/keyboard.json index b4a4de5a743..e1253b7d7a4 100644 --- a/keyboards/ibnuda/gurindam/info.json +++ b/keyboards/ibnuda/gurindam/keyboard.json @@ -25,6 +25,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "F7", "B1", "B3", "B2", "B6"], "rows": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2"] diff --git a/keyboards/ibnuda/gurindam/rules.mk b/keyboards/ibnuda/gurindam/rules.mk deleted file mode 100644 index 76a5b62f607..00000000000 --- a/keyboards/ibnuda/gurindam/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/idb/idb_60/info.json b/keyboards/idb/idb_60/keyboard.json similarity index 99% rename from keyboards/idb/idb_60/info.json rename to keyboards/idb/idb_60/keyboard.json index 18148f5e657..df88de1dff6 100644 --- a/keyboards/idb/idb_60/info.json +++ b/keyboards/idb/idb_60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B3", "B4", "C6", "B6", "B7", "C7", "B5"], "rows": ["C2", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "B0", "B1"] diff --git a/keyboards/idb/idb_60/rules.mk b/keyboards/idb/idb_60/rules.mk deleted file mode 100644 index bb93c95954a..00000000000 --- a/keyboards/idb/idb_60/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality diff --git a/keyboards/idobao/id87/v1/info.json b/keyboards/idobao/id87/v1/keyboard.json similarity index 96% rename from keyboards/idobao/id87/v1/info.json rename to keyboards/idobao/id87/v1/keyboard.json index 9b84530637f..5ae86f8d5e1 100644 --- a/keyboards/idobao/id87/v1/info.json +++ b/keyboards/idobao/id87/v1/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0087", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["E6", "B0", "B1", "B2", "B3", "B7", "F7", "F6", "F5", "F4", "F1"] diff --git a/keyboards/idobao/id87/v1/rules.mk b/keyboards/idobao/id87/v1/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/idobao/id87/v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/keyboard.json similarity index 98% rename from keyboards/idobao/id96/info.json rename to keyboards/idobao/id96/keyboard.json index 1febd541e56..3213cd74a9f 100644 --- a/keyboards/idobao/id96/info.json +++ b/keyboards/idobao/id96/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0096", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/idobao/id96/rules.mk b/keyboards/idobao/id96/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/idobao/id96/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/idobao/montex/v1/info.json b/keyboards/idobao/montex/v1/keyboard.json similarity index 92% rename from keyboards/idobao/montex/v1/info.json rename to keyboards/idobao/montex/v1/keyboard.json index 2abbef46ba6..d439a2d09ca 100644 --- a/keyboards/idobao/montex/v1/info.json +++ b/keyboards/idobao/montex/v1/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D1", "D0"], "rows": ["D4", "D6", "D7", "B4", "B5", "C6"] diff --git a/keyboards/idobao/montex/v1/rules.mk b/keyboards/idobao/montex/v1/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/idobao/montex/v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/idobao/montex/v1rgb/info.json b/keyboards/idobao/montex/v1rgb/keyboard.json similarity index 93% rename from keyboards/idobao/montex/v1rgb/info.json rename to keyboards/idobao/montex/v1rgb/keyboard.json index 08c62297ac2..f4c18764b13 100755 --- a/keyboards/idobao/montex/v1rgb/info.json +++ b/keyboards/idobao/montex/v1rgb/keyboard.json @@ -35,6 +35,15 @@ "driver": "ws2812", "max_brightness": 170 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D1", "D0"], "rows": ["D4", "D6", "D7", "B4", "B5", "C6"] diff --git a/keyboards/idobao/montex/v1rgb/rules.mk b/keyboards/idobao/montex/v1rgb/rules.mk deleted file mode 100755 index 88f044a7ecb..00000000000 --- a/keyboards/idobao/montex/v1rgb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/illuminati/is0/info.json b/keyboards/illuminati/is0/keyboard.json similarity index 76% rename from keyboards/illuminati/is0/info.json rename to keyboards/illuminati/is0/keyboard.json index b5a534e142d..d03af345073 100644 --- a/keyboards/illuminati/is0/info.json +++ b/keyboards/illuminati/is0/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0012", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0"], "rows": ["D2"] diff --git a/keyboards/illuminati/is0/rules.mk b/keyboards/illuminati/is0/rules.mk deleted file mode 100644 index 5e28d2cc453..00000000000 --- a/keyboards/illuminati/is0/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/illusion/rosa/info.json b/keyboards/illusion/rosa/keyboard.json similarity index 98% rename from keyboards/illusion/rosa/info.json rename to keyboards/illusion/rosa/keyboard.json index d6e3ab365db..c5e9c88a770 100644 --- a/keyboards/illusion/rosa/info.json +++ b/keyboards/illusion/rosa/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6952", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D2", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["D1", "D4", "F0", "B0", "B1"] diff --git a/keyboards/illusion/rosa/rules.mk b/keyboards/illusion/rosa/rules.mk deleted file mode 100644 index 184072b19e4..00000000000 --- a/keyboards/illusion/rosa/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ilumkb/primus75/info.json b/keyboards/ilumkb/primus75/keyboard.json similarity index 99% rename from keyboards/ilumkb/primus75/info.json rename to keyboards/ilumkb/primus75/keyboard.json index 5e32832622b..f00c146740d 100644 --- a/keyboards/ilumkb/primus75/info.json +++ b/keyboards/ilumkb/primus75/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1014", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "F5", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4", "F6"], "rows": ["D0", "D1", "D2", "D3", "D5", "B7"] diff --git a/keyboards/ilumkb/primus75/rules.mk b/keyboards/ilumkb/primus75/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/ilumkb/primus75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ilumkb/simpler61/info.json b/keyboards/ilumkb/simpler61/keyboard.json similarity index 96% rename from keyboards/ilumkb/simpler61/info.json rename to keyboards/ilumkb/simpler61/keyboard.json index 9f8f5f014a4..8e7680fb9f7 100644 --- a/keyboards/ilumkb/simpler61/info.json +++ b/keyboards/ilumkb/simpler61/keyboard.json @@ -48,6 +48,15 @@ "led_flush_limit": 26, "sleep": true }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], "rows": ["F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/ilumkb/simpler61/rules.mk b/keyboards/ilumkb/simpler61/rules.mk deleted file mode 100644 index c2f7c0e0930..00000000000 --- a/keyboards/ilumkb/simpler61/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/ilumkb/simpler64/info.json b/keyboards/ilumkb/simpler64/keyboard.json similarity index 96% rename from keyboards/ilumkb/simpler64/info.json rename to keyboards/ilumkb/simpler64/keyboard.json index af617da861b..65aa627b042 100644 --- a/keyboards/ilumkb/simpler64/info.json +++ b/keyboards/ilumkb/simpler64/keyboard.json @@ -48,6 +48,15 @@ "led_flush_limit": 26, "sleep": true }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], "rows": ["F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/ilumkb/simpler64/rules.mk b/keyboards/ilumkb/simpler64/rules.mk deleted file mode 100644 index c2f7c0e0930..00000000000 --- a/keyboards/ilumkb/simpler64/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/ilumkb/volcano660/info.json b/keyboards/ilumkb/volcano660/keyboard.json similarity index 98% rename from keyboards/ilumkb/volcano660/info.json rename to keyboards/ilumkb/volcano660/keyboard.json index 1af06ccc47e..7412a249f8f 100644 --- a/keyboards/ilumkb/volcano660/info.json +++ b/keyboards/ilumkb/volcano660/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["B0", "B1", "B2", "B3", "B6"] diff --git a/keyboards/ilumkb/volcano660/rules.mk b/keyboards/ilumkb/volcano660/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/ilumkb/volcano660/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/input_club/k_type/info.json b/keyboards/input_club/k_type/keyboard.json similarity index 97% rename from keyboards/input_club/k_type/info.json rename to keyboards/input_club/k_type/keyboard.json index 17076a82d8f..a4e8e2419ed 100644 --- a/keyboards/input_club/k_type/info.json +++ b/keyboards/input_club/k_type/keyboard.json @@ -56,6 +56,14 @@ }, "driver": "custom" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B3", "B18", "B19", "C0", "C8", "C9", "D0", "D1", "D4"], "rows": ["D5", "D6", "D7", "C1", "C2", "C3", "C4", "C5", "C6", "C7"] diff --git a/keyboards/input_club/k_type/rules.mk b/keyboards/input_club/k_type/rules.mk deleted file mode 100644 index 684de50562d..00000000000 --- a/keyboards/input_club/k_type/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# RGB options -RGB_MATRIX_ENABLE = no diff --git a/keyboards/input_club/whitefox/info.json b/keyboards/input_club/whitefox/keyboard.json similarity index 99% rename from keyboards/input_club/whitefox/info.json rename to keyboards/input_club/whitefox/keyboard.json index 0428907fb8d..d2fd36bbd57 100644 --- a/keyboards/input_club/whitefox/info.json +++ b/keyboards/input_club/whitefox/keyboard.json @@ -33,6 +33,15 @@ "driver": "is31fl3731", "sleep": true }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "led_matrix": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B3", "B18", "B19", "C0", "C8", "C9", "C10", "C11"], "rows": ["D0", "D1", "D4", "D5", "D6", "D7", "C1", "C2"] diff --git a/keyboards/input_club/whitefox/rules.mk b/keyboards/input_club/whitefox/rules.mk deleted file mode 100644 index 821041ea832..00000000000 --- a/keyboards/input_club/whitefox/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -LED_MATRIX_ENABLE = yes - diff --git a/keyboards/io_mini1800/info.json b/keyboards/io_mini1800/keyboard.json similarity index 98% rename from keyboards/io_mini1800/info.json rename to keyboards/io_mini1800/keyboard.json index 94400c2907c..884d17aa069 100644 --- a/keyboards/io_mini1800/info.json +++ b/keyboards/io_mini1800/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "B7", "B2", "F0", "F1", "F7", "F6", "F4", "F5"], "rows": ["D6", "D7", "B4", "B5", "D4", "E6", "B3", "D2", "D5", "D3"] diff --git a/keyboards/io_mini1800/rules.mk b/keyboards/io_mini1800/rules.mk deleted file mode 100644 index 453f0a34d38..00000000000 --- a/keyboards/io_mini1800/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/irene/info.json b/keyboards/irene/keyboard.json similarity index 99% rename from keyboards/irene/info.json rename to keyboards/irene/keyboard.json index 67f3457c5d1..fb8b1818c27 100644 --- a/keyboards/irene/info.json +++ b/keyboards/irene/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "F1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C6", "B6", "B5", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B0", "F0", "C7", "B4", "B7"] diff --git a/keyboards/irene/rules.mk b/keyboards/irene/rules.mk deleted file mode 100644 index 2eba275490a..00000000000 --- a/keyboards/irene/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/iriskeyboards/info.json b/keyboards/iriskeyboards/keyboard.json similarity index 99% rename from keyboards/iriskeyboards/info.json rename to keyboards/iriskeyboards/keyboard.json index 08092da8d4b..b0926531b65 100644 --- a/keyboards/iriskeyboards/info.json +++ b/keyboards/iriskeyboards/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3031", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/iriskeyboards/rules.mk b/keyboards/iriskeyboards/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/iriskeyboards/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/iron180/info.json b/keyboards/iron180/keyboard.json similarity index 99% rename from keyboards/iron180/info.json rename to keyboards/iron180/keyboard.json index b413f62d381..3952656d28f 100644 --- a/keyboards/iron180/info.json +++ b/keyboards/iron180/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1180", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "B6", "B5", "B4", "B3", "A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B2", "A4", "B1", "A3"], "rows": ["B9", "B8", "A15", "B0", "A7", "A5"] diff --git a/keyboards/iron180/rules.mk b/keyboards/iron180/rules.mk deleted file mode 100644 index 6f5c5c3b7e5..00000000000 --- a/keyboards/iron180/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no - diff --git a/keyboards/j80/info.json b/keyboards/j80/keyboard.json similarity index 99% rename from keyboards/j80/info.json rename to keyboards/j80/keyboard.json index 6f41163187b..72745d262fd 100644 --- a/keyboards/j80/info.json +++ b/keyboards/j80/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x422D", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "A0"], "rows": ["B1", "B2", "B3", "B5", "B6", "B7", "B0"] diff --git a/keyboards/j80/rules.mk b/keyboards/j80/rules.mk deleted file mode 100644 index 109bdfc4db8..00000000000 --- a/keyboards/j80/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/jacky_studio/s7_elephant/rev1/info.json b/keyboards/jacky_studio/s7_elephant/rev1/keyboard.json similarity index 99% rename from keyboards/jacky_studio/s7_elephant/rev1/info.json rename to keyboards/jacky_studio/s7_elephant/rev1/keyboard.json index bf8455ee4b5..fc87e986ba7 100644 --- a/keyboards/jacky_studio/s7_elephant/rev1/info.json +++ b/keyboards/jacky_studio/s7_elephant/rev1/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7", "F1"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/jacky_studio/s7_elephant/rev1/rules.mk b/keyboards/jacky_studio/s7_elephant/rev1/rules.mk deleted file mode 100644 index 718a761cb41..00000000000 --- a/keyboards/jacky_studio/s7_elephant/rev1/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality diff --git a/keyboards/jadookb/jkb2/info.json b/keyboards/jadookb/jkb2/keyboard.json similarity index 78% rename from keyboards/jadookb/jkb2/info.json rename to keyboards/jadookb/jkb2/keyboard.json index 764efa8767c..4b57e3a54e7 100644 --- a/keyboards/jadookb/jkb2/info.json +++ b/keyboards/jadookb/jkb2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3225", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "B2"], "rows": ["B1"] diff --git a/keyboards/jadookb/jkb2/rules.mk b/keyboards/jadookb/jkb2/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/jadookb/jkb2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/jae/j01/info.json b/keyboards/jae/j01/keyboard.json similarity index 97% rename from keyboards/jae/j01/info.json rename to keyboards/jae/j01/keyboard.json index 57d7ee7bb37..4bf7171dd5f 100644 --- a/keyboards/jae/j01/info.json +++ b/keyboards/jae/j01/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0143", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"], "rows": ["B2", "B1", "B3", "B0", "D0"] diff --git a/keyboards/jae/j01/rules.mk b/keyboards/jae/j01/rules.mk deleted file mode 100644 index 8dea3757839..00000000000 --- a/keyboards/jae/j01/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/jc65/v32a/info.json b/keyboards/jc65/v32a/keyboard.json similarity index 95% rename from keyboards/jc65/v32a/info.json rename to keyboards/jc65/v32a/keyboard.json index 8083cb0bc1d..7fd13e06266 100644 --- a/keyboards/jc65/v32a/info.json +++ b/keyboards/jc65/v32a/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5679", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B7"] diff --git a/keyboards/jc65/v32a/rules.mk b/keyboards/jc65/v32a/rules.mk deleted file mode 100644 index 6b0cec85a44..00000000000 --- a/keyboards/jc65/v32a/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/jc65/v32u4/info.json b/keyboards/jc65/v32u4/keyboard.json similarity index 95% rename from keyboards/jc65/v32u4/info.json rename to keyboards/jc65/v32u4/keyboard.json index f173cc97835..6a8d923507c 100644 --- a/keyboards/jc65/v32u4/info.json +++ b/keyboards/jc65/v32u4/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4", "F5"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/jc65/v32u4/rules.mk b/keyboards/jc65/v32u4/rules.mk deleted file mode 100644 index 854004ccf73..00000000000 --- a/keyboards/jc65/v32u4/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/jd40/info.json b/keyboards/jd40/keyboard.json similarity index 94% rename from keyboards/jd40/info.json rename to keyboards/jd40/keyboard.json index ff352a2216a..6ce0ca5da3a 100644 --- a/keyboards/jd40/info.json +++ b/keyboards/jd40/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "D7", "B5", "B6", "C6", "C7", "D4", "D6", "D5", "D0", "D1", "D2"], "rows": ["F0", "F1", "F5", "B4"] diff --git a/keyboards/jd40/rules.mk b/keyboards/jd40/rules.mk deleted file mode 100644 index 08d4d2d8869..00000000000 --- a/keyboards/jd40/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -# CONSOLE_ENABLE = yes # Console for debug -# COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable RGB Underglow diff --git a/keyboards/jd45/info.json b/keyboards/jd45/keyboard.json similarity index 93% rename from keyboards/jd45/info.json rename to keyboards/jd45/keyboard.json index 367c9291db4..c9d5bfb123e 100644 --- a/keyboards/jd45/info.json +++ b/keyboards/jd45/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "midi": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "D7", "B5", "B6", "C6", "C7", "D4", "D6", "D5", "D0", "D1", "D2", "B0"], "rows": ["F0", "F1", "F5", "B4"] diff --git a/keyboards/jd45/rules.mk b/keyboards/jd45/rules.mk deleted file mode 100644 index 4870b8d6a17..00000000000 --- a/keyboards/jd45/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = yes # MIDI support diff --git a/keyboards/jels/jels88/info.json b/keyboards/jels/jels88/keyboard.json similarity index 98% rename from keyboards/jels/jels88/info.json rename to keyboards/jels/jels88/keyboard.json index 598075fd424..bcddf648a02 100644 --- a/keyboards/jels/jels88/info.json +++ b/keyboards/jels/jels88/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0088", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "F7", "F6", "F5", "F4", "B1", "D2", "D3"], "rows": ["B3", "B2", "D1", "D0", "E6", "B0", "F0", "F1", "B5", "B4", "D7", "D6"] diff --git a/keyboards/jels/jels88/rules.mk b/keyboards/jels/jels88/rules.mk deleted file mode 100644 index 0098dc473ac..00000000000 --- a/keyboards/jels/jels88/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/jkdlab/binary_monkey/info.json b/keyboards/jkdlab/binary_monkey/keyboard.json similarity index 80% rename from keyboards/jkdlab/binary_monkey/info.json rename to keyboards/jkdlab/binary_monkey/keyboard.json index 50b92ff899b..c1aad15cb43 100644 --- a/keyboards/jkdlab/binary_monkey/info.json +++ b/keyboards/jkdlab/binary_monkey/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D2", "D3"], "rows": ["D0"] diff --git a/keyboards/jkdlab/binary_monkey/rules.mk b/keyboards/jkdlab/binary_monkey/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/jkdlab/binary_monkey/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/jkeys_design/gentleman65/info.json b/keyboards/jkeys_design/gentleman65/keyboard.json similarity index 98% rename from keyboards/jkeys_design/gentleman65/info.json rename to keyboards/jkeys_design/gentleman65/keyboard.json index 734916fb404..150cf4d351a 100644 --- a/keyboards/jkeys_design/gentleman65/info.json +++ b/keyboards/jkeys_design/gentleman65/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "D5", "C7", "F0", "B2", "B1", "B3", "B0", "B7", "D0"], "rows": ["D3", "D2", "D1", "F7", "F1"] diff --git a/keyboards/jkeys_design/gentleman65/rules.mk b/keyboards/jkeys_design/gentleman65/rules.mk deleted file mode 100644 index bb89340fbf1..00000000000 --- a/keyboards/jkeys_design/gentleman65/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = no -ENCODER_ENABLE = yes diff --git a/keyboards/jkeys_design/gentleman65_se_s/info.json b/keyboards/jkeys_design/gentleman65_se_s/keyboard.json similarity index 98% rename from keyboards/jkeys_design/gentleman65_se_s/info.json rename to keyboards/jkeys_design/gentleman65_se_s/keyboard.json index b19e5ef9a38..cd4570a765e 100644 --- a/keyboards/jkeys_design/gentleman65_se_s/info.json +++ b/keyboards/jkeys_design/gentleman65_se_s/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D1", "D0", "B7", "B2", "B3", "D4", "D6", "D7", "C7", "C6", "B6", "B5", "B4"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/jkeys_design/gentleman65_se_s/rules.mk b/keyboards/jkeys_design/gentleman65_se_s/rules.mk deleted file mode 100644 index f81996d7021..00000000000 --- a/keyboards/jkeys_design/gentleman65_se_s/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = no -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/jolofsor/denial75/info.json b/keyboards/jolofsor/denial75/keyboard.json similarity index 96% rename from keyboards/jolofsor/denial75/info.json rename to keyboards/jolofsor/denial75/keyboard.json index 18becc3ffb0..e77c9e4a1fb 100644 --- a/keyboards/jolofsor/denial75/info.json +++ b/keyboards/jolofsor/denial75/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B5", "B4", "D7", "D6", "D4", "E6", "B1", "B2", "B3", "B7", "D0", "D1", "D3"], "rows": ["B0", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/jolofsor/denial75/rules.mk b/keyboards/jolofsor/denial75/rules.mk deleted file mode 100644 index 18684e62d3e..00000000000 --- a/keyboards/jolofsor/denial75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/joshajohnson/hub20/info.json b/keyboards/joshajohnson/hub20/keyboard.json similarity index 95% rename from keyboards/joshajohnson/hub20/info.json rename to keyboards/joshajohnson/hub20/keyboard.json index b1b25dc1d48..4bedd20c4a2 100644 --- a/keyboards/joshajohnson/hub20/info.json +++ b/keyboards/joshajohnson/hub20/keyboard.json @@ -30,6 +30,16 @@ }, "driver": "ws2812" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A6", "A7", "B7", "B6"], "rows": ["A13", "B14", "A10", "A0", "A2", "A1"] diff --git a/keyboards/joshajohnson/hub20/rules.mk b/keyboards/joshajohnson/hub20/rules.mk deleted file mode 100644 index f559246b9e3..00000000000 --- a/keyboards/joshajohnson/hub20/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -ENCODER_ENABLE = yes - diff --git a/keyboards/k34/info.json b/keyboards/k34/keyboard.json similarity index 93% rename from keyboards/k34/info.json rename to keyboards/k34/keyboard.json index 715cb9060bd..b9a69fb667f 100644 --- a/keyboards/k34/info.json +++ b/keyboards/k34/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "F5", "F6", "F7", "B1", "B3"], "rows": ["F4", "B2", "E6", "B4"] diff --git a/keyboards/k34/rules.mk b/keyboards/k34/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/k34/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kabedon/kabedon78s/info.json b/keyboards/kabedon/kabedon78s/keyboard.json similarity index 96% rename from keyboards/kabedon/kabedon78s/info.json rename to keyboards/kabedon/kabedon78s/keyboard.json index 4e8ca04aa5c..b875f9b35ad 100644 --- a/keyboards/kabedon/kabedon78s/info.json +++ b/keyboards/kabedon/kabedon78s/keyboard.json @@ -28,6 +28,16 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["F5", "F4", "F6", "C6", "B6", "B4", "D3", "D1", "D4", "F1", "B3", "D5", "F0", "C7", "D7", "B5", "B2", "E6"], "rows": ["D0", "D2", "F7", "B1", "B0", "D6"] diff --git a/keyboards/kabedon/kabedon78s/rules.mk b/keyboards/kabedon/kabedon78s/rules.mk deleted file mode 100644 index 360d1d3206b..00000000000 --- a/keyboards/kabedon/kabedon78s/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/kabedon/kabedon980/info.json b/keyboards/kabedon/kabedon980/keyboard.json similarity index 96% rename from keyboards/kabedon/kabedon980/info.json rename to keyboards/kabedon/kabedon980/keyboard.json index f443f58a3d5..cf9def2b8fe 100644 --- a/keyboards/kabedon/kabedon980/info.json +++ b/keyboards/kabedon/kabedon980/keyboard.json @@ -28,6 +28,16 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["F5", "F4", "F6", "C6", "B6", "B4", "D3", "D1", "D4", "F1", "B3", "D5", "F0"], "rows": ["D0", "D2", "F7", "B1", "B0", "D6", "C7", "D7", "B5", "B2"] diff --git a/keyboards/kabedon/kabedon980/rules.mk b/keyboards/kabedon/kabedon980/rules.mk deleted file mode 100644 index 360d1d3206b..00000000000 --- a/keyboards/kabedon/kabedon980/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/kabedon/kabedon98e/info.json b/keyboards/kabedon/kabedon98e/keyboard.json similarity index 96% rename from keyboards/kabedon/kabedon98e/info.json rename to keyboards/kabedon/kabedon98e/keyboard.json index 6f99aa6c308..a08bfeb0aa4 100644 --- a/keyboards/kabedon/kabedon98e/info.json +++ b/keyboards/kabedon/kabedon98e/keyboard.json @@ -28,6 +28,16 @@ "pin": "B4", "driver": "pwm" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "B7", "B8", "B6", "A3", "A2", "A1", "B9", "A7", "A5", "A6"], "rows": ["A4", "B10", "B2", "B1", "B0", "B15", "B13", "B14", "B12", "A10", "A9", "A8"] diff --git a/keyboards/kabedon/kabedon98e/rules.mk b/keyboards/kabedon/kabedon98e/rules.mk deleted file mode 100644 index 7e8534dae5a..00000000000 --- a/keyboards/kabedon/kabedon98e/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/kagizaraya/halberd/info.json b/keyboards/kagizaraya/halberd/keyboard.json similarity index 93% rename from keyboards/kagizaraya/halberd/info.json rename to keyboards/kagizaraya/halberd/keyboard.json index b8e09252414..ecaa267cbd3 100644 --- a/keyboards/kagizaraya/halberd/info.json +++ b/keyboards/kagizaraya/halberd/keyboard.json @@ -31,6 +31,15 @@ "ws2812": { "pin": "F0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "B4", "C7", "C6", "B6", "B5", "F7", "F6", "F5", "F4", "F1"], "rows": ["D6", "D4", "D5", "E6"] diff --git a/keyboards/kagizaraya/halberd/rules.mk b/keyboards/kagizaraya/halberd/rules.mk deleted file mode 100644 index 266798f905c..00000000000 --- a/keyboards/kagizaraya/halberd/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kapcave/arya/info.json b/keyboards/kapcave/arya/keyboard.json similarity index 97% rename from keyboards/kapcave/arya/info.json rename to keyboards/kapcave/arya/keyboard.json index ebcb7001500..9c08d91247e 100644 --- a/keyboards/kapcave/arya/info.json +++ b/keyboards/kapcave/arya/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4152", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B5", "B4", "B2", "C13", "F1", "F0", "A14"], "rows": ["B8", "A13", "B1", "A15", "B9", "B10", "B11", "A0", "A8"] diff --git a/keyboards/kapcave/arya/rules.mk b/keyboards/kapcave/arya/rules.mk deleted file mode 100644 index 73bb6b769ba..00000000000 --- a/keyboards/kapcave/arya/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - diff --git a/keyboards/kapcave/gskt00/info.json b/keyboards/kapcave/gskt00/keyboard.json similarity index 98% rename from keyboards/kapcave/gskt00/info.json rename to keyboards/kapcave/gskt00/keyboard.json index f6d1c99e2be..10fd2307e3b 100644 --- a/keyboards/kapcave/gskt00/info.json +++ b/keyboards/kapcave/gskt00/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6061", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F6", "D7", "F5", "C7", "B4", "C6", "B6", "B5"], "rows": ["F1", "D1", "D2", "D4", "D6", "F7", "B0", "F4"] diff --git a/keyboards/kapcave/gskt00/rules.mk b/keyboards/kapcave/gskt00/rules.mk deleted file mode 100755 index ebecd0f9dbe..00000000000 --- a/keyboards/kapcave/gskt00/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/kapcave/paladin64/info.json b/keyboards/kapcave/paladin64/keyboard.json similarity index 98% rename from keyboards/kapcave/paladin64/info.json rename to keyboards/kapcave/paladin64/keyboard.json index d32be70b60f..d03a98be529 100644 --- a/keyboards/kapcave/paladin64/info.json +++ b/keyboards/kapcave/paladin64/keyboard.json @@ -11,6 +11,15 @@ "ws2812": { "pin": "D0" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F7", "F6", "F5", "F4", "F1", "F0", "D1"], "rows": ["C6", "B6", "B5", "B4", "D7", "D6", "B0", "D3"] diff --git a/keyboards/kapcave/paladin64/rules.mk b/keyboards/kapcave/paladin64/rules.mk deleted file mode 100644 index b483118606d..00000000000 --- a/keyboards/kapcave/paladin64/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/karlb/kbic65/info.json b/keyboards/karlb/kbic65/keyboard.json similarity index 99% rename from keyboards/karlb/kbic65/info.json rename to keyboards/karlb/kbic65/keyboard.json index 87cd3184b96..c0342851894 100644 --- a/keyboards/karlb/kbic65/info.json +++ b/keyboards/karlb/kbic65/keyboard.json @@ -4,6 +4,14 @@ "url": "https://karlb.eu/kbic65/", "maintainer": "b-karl", "diode_direction": "ROW2COL", + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B6", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["B5", "D1", "B4", "D0", "E6", "D4", "D7", "C6", "D2"] diff --git a/keyboards/karlb/kbic65/rules.mk b/keyboards/karlb/kbic65/rules.mk deleted file mode 100644 index c5b4c0254f3..00000000000 --- a/keyboards/karlb/kbic65/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kb_elmo/67mk_e/info.json b/keyboards/kb_elmo/67mk_e/keyboard.json similarity index 99% rename from keyboards/kb_elmo/67mk_e/info.json rename to keyboards/kb_elmo/67mk_e/keyboard.json index 655ba8a866f..4e842f28e6a 100644 --- a/keyboards/kb_elmo/67mk_e/info.json +++ b/keyboards/kb_elmo/67mk_e/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xD03E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "D4", "D2", "D3", "C7", "C6", "B5", "B6", "F7", "F6", "F5", "F0", "F1", "F4"], "rows": ["D7", "B4", "D6", "D5", "B0"] diff --git a/keyboards/kb_elmo/67mk_e/rules.mk b/keyboards/kb_elmo/67mk_e/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/kb_elmo/67mk_e/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kb_elmo/noah_avr/info.json b/keyboards/kb_elmo/noah_avr/keyboard.json similarity index 99% rename from keyboards/kb_elmo/noah_avr/info.json rename to keyboards/kb_elmo/noah_avr/keyboard.json index edc75f2b1f1..48cbb6e5e2f 100644 --- a/keyboards/kb_elmo/noah_avr/info.json +++ b/keyboards/kb_elmo/noah_avr/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "B5" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "D4", "C6", "C7", "F7", "F6", "F5", "F4", "F0", "F1", "B3", "B2", "B1", "B0"], "rows": ["B4", "B6", "D7", "D5", "D0"] diff --git a/keyboards/kb_elmo/noah_avr/rules.mk b/keyboards/kb_elmo/noah_avr/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/kb_elmo/noah_avr/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kb_elmo/qez/info.json b/keyboards/kb_elmo/qez/keyboard.json similarity index 97% rename from keyboards/kb_elmo/qez/info.json rename to keyboards/kb_elmo/qez/keyboard.json index a93c918479f..ab1f8230439 100644 --- a/keyboards/kb_elmo/qez/info.json +++ b/keyboards/kb_elmo/qez/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x675F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "B7", "B6", "B5", "B4", "B3", "D6", "D5", "D4", "D3"], "rows": ["C6", "C4", "B1", "B0"] diff --git a/keyboards/kb_elmo/qez/rules.mk b/keyboards/kb_elmo/qez/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/kb_elmo/qez/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kb_elmo/vertex/info.json b/keyboards/kb_elmo/vertex/keyboard.json similarity index 98% rename from keyboards/kb_elmo/vertex/info.json rename to keyboards/kb_elmo/vertex/keyboard.json index 4fefa6bb34b..5585386296b 100644 --- a/keyboards/kb_elmo/vertex/info.json +++ b/keyboards/kb_elmo/vertex/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6B47", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C4", "C7", "D3", "D5", "B6", "D6", "B5", "B0", "B4", "B1", "B3", "B2"], "rows": ["D2", "D4", "B7", "C6"] diff --git a/keyboards/kb_elmo/vertex/rules.mk b/keyboards/kb_elmo/vertex/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/kb_elmo/vertex/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdclack/kaishi65/info.json b/keyboards/kbdclack/kaishi65/keyboard.json similarity index 96% rename from keyboards/kbdclack/kaishi65/info.json rename to keyboards/kbdclack/kaishi65/keyboard.json index fbae47d0f5b..573f2b8a3af 100644 --- a/keyboards/kbdclack/kaishi65/info.json +++ b/keyboards/kbdclack/kaishi65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1A81", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B2", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D3"], "rows": ["D0", "D1", "B0", "F0", "F1"] diff --git a/keyboards/kbdclack/kaishi65/rules.mk b/keyboards/kbdclack/kaishi65/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/kbdclack/kaishi65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/baguette66/rgb/info.json b/keyboards/kbdfans/baguette66/rgb/keyboard.json similarity index 96% rename from keyboards/kbdfans/baguette66/rgb/info.json rename to keyboards/kbdfans/baguette66/rgb/keyboard.json index 70f0098d40b..e72d56e6f96 100644 --- a/keyboards/kbdfans/baguette66/rgb/info.json +++ b/keyboards/kbdfans/baguette66/rgb/keyboard.json @@ -64,6 +64,15 @@ "val_steps": 8, "speed_steps": 10 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "B0", "B1", "B2", "B3", "D0", "D1", "D2", "D3", "D5", "D4", "D6"], "rows": ["F0", "F1", "F4", "F5", "B6"] diff --git a/keyboards/kbdfans/baguette66/rgb/rules.mk b/keyboards/kbdfans/baguette66/rgb/rules.mk deleted file mode 100644 index c9c55ceed1d..00000000000 --- a/keyboards/kbdfans/baguette66/rgb/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/kbdfans/baguette66/soldered/info.json b/keyboards/kbdfans/baguette66/soldered/keyboard.json similarity index 96% rename from keyboards/kbdfans/baguette66/soldered/info.json rename to keyboards/kbdfans/baguette66/soldered/keyboard.json index adbfbf53c89..da473daf915 100644 --- a/keyboards/kbdfans/baguette66/soldered/info.json +++ b/keyboards/kbdfans/baguette66/soldered/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x0107", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "B0", "B1", "B2", "B3", "D0", "D1", "D2", "D3", "D5", "D4", "D6"], "rows": ["F0", "F1", "F4", "F5", "B6"] diff --git a/keyboards/kbdfans/baguette66/soldered/rules.mk b/keyboards/kbdfans/baguette66/soldered/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/kbdfans/baguette66/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/bella/soldered/info.json b/keyboards/kbdfans/bella/soldered/keyboard.json similarity index 99% rename from keyboards/kbdfans/bella/soldered/info.json rename to keyboards/kbdfans/bella/soldered/keyboard.json index a1246600f03..10e45f1cf70 100644 --- a/keyboards/kbdfans/bella/soldered/info.json +++ b/keyboards/kbdfans/bella/soldered/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["B0", "B1", "B2", "B3", "D1", "B6"] diff --git a/keyboards/kbdfans/bella/soldered/rules.mk b/keyboards/kbdfans/bella/soldered/rules.mk deleted file mode 100755 index b325f3f0c79..00000000000 --- a/keyboards/kbdfans/bella/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/boop65/rgb/info.json b/keyboards/kbdfans/boop65/rgb/keyboard.json similarity index 96% rename from keyboards/kbdfans/boop65/rgb/info.json rename to keyboards/kbdfans/boop65/rgb/keyboard.json index fc7196bec02..49fa78b3159 100644 --- a/keyboards/kbdfans/boop65/rgb/info.json +++ b/keyboards/kbdfans/boop65/rgb/keyboard.json @@ -62,6 +62,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "C7", "B0", "B1", "B2", "B3", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["F0", "F1", "F4", "E6", "C6"] diff --git a/keyboards/kbdfans/boop65/rgb/rules.mk b/keyboards/kbdfans/boop65/rgb/rules.mk deleted file mode 100644 index 65ec78fd377..00000000000 --- a/keyboards/kbdfans/boop65/rgb/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/kbdfans/bounce/75/hotswap/info.json b/keyboards/kbdfans/bounce/75/hotswap/keyboard.json similarity index 97% rename from keyboards/kbdfans/bounce/75/hotswap/info.json rename to keyboards/kbdfans/bounce/75/hotswap/keyboard.json index f467e2a909e..478b4bc372e 100644 --- a/keyboards/kbdfans/bounce/75/hotswap/info.json +++ b/keyboards/kbdfans/bounce/75/hotswap/keyboard.json @@ -7,6 +7,15 @@ "pid": "0x7001", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["E6", "B0", "B1", "B2", "B3", "B6"] diff --git a/keyboards/kbdfans/bounce/75/hotswap/rules.mk b/keyboards/kbdfans/bounce/75/hotswap/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/kbdfans/bounce/75/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/bounce/75/soldered/info.json b/keyboards/kbdfans/bounce/75/soldered/keyboard.json similarity index 99% rename from keyboards/kbdfans/bounce/75/soldered/info.json rename to keyboards/kbdfans/bounce/75/soldered/keyboard.json index 5fc246655d7..e1610872e1b 100644 --- a/keyboards/kbdfans/bounce/75/soldered/info.json +++ b/keyboards/kbdfans/bounce/75/soldered/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x7000", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["E6", "B0", "B1", "B2", "B3", "B6"] diff --git a/keyboards/kbdfans/bounce/75/soldered/rules.mk b/keyboards/kbdfans/bounce/75/soldered/rules.mk deleted file mode 100644 index bb40a3ee66c..00000000000 --- a/keyboards/kbdfans/bounce/75/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/kbdfans/bounce/pad/info.json b/keyboards/kbdfans/bounce/pad/keyboard.json similarity index 91% rename from keyboards/kbdfans/bounce/pad/info.json rename to keyboards/kbdfans/bounce/pad/keyboard.json index 34ae9489ac9..0e4f2e9d85d 100644 --- a/keyboards/kbdfans/bounce/pad/info.json +++ b/keyboards/kbdfans/bounce/pad/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x7002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B4", "D0", "C2"], "rows": ["C7", "B7", "B6", "B0", "B1", "B2"] diff --git a/keyboards/kbdfans/bounce/pad/rules.mk b/keyboards/kbdfans/bounce/pad/rules.mk deleted file mode 100644 index 0942de29321..00000000000 --- a/keyboards/kbdfans/bounce/pad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/epoch80/info.json b/keyboards/kbdfans/epoch80/keyboard.json similarity index 99% rename from keyboards/kbdfans/epoch80/info.json rename to keyboards/kbdfans/epoch80/keyboard.json index 7a67933c2f2..08ed973b927 100644 --- a/keyboards/kbdfans/epoch80/info.json +++ b/keyboards/kbdfans/epoch80/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D4", "D6", "D2", "D3", "D5"], "rows": ["D1", "D0", "B3", "B0", "B2", "B1"] diff --git a/keyboards/kbdfans/epoch80/rules.mk b/keyboards/kbdfans/epoch80/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/kbdfans/epoch80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd19x/info.json b/keyboards/kbdfans/kbd19x/keyboard.json similarity index 99% rename from keyboards/kbdfans/kbd19x/info.json rename to keyboards/kbdfans/kbd19x/keyboard.json index f2b28e4a086..a8a71de3b65 100644 --- a/keyboards/kbdfans/kbd19x/info.json +++ b/keyboards/kbdfans/kbd19x/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0191", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "F1", "F4", "F5", "F6", "F7", "D7", "B4", "B5", "D0", "D1", "D2", "D3"], "rows": ["B7", "B3", "E6", "F0", "D5", "D4", "D6", "C7"] diff --git a/keyboards/kbdfans/kbd19x/rules.mk b/keyboards/kbdfans/kbd19x/rules.mk deleted file mode 100644 index a4b56c37ddd..00000000000 --- a/keyboards/kbdfans/kbd19x/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd66/info.json b/keyboards/kbdfans/kbd66/keyboard.json similarity index 99% rename from keyboards/kbdfans/kbd66/info.json rename to keyboards/kbdfans/kbd66/keyboard.json index 3b72b8de676..d95a80baa42 100644 --- a/keyboards/kbdfans/kbd66/info.json +++ b/keyboards/kbdfans/kbd66/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xBD66", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "C7", "E2", "F5", "F6", "F4", "D3", "D2", "D5", "D0", "D1", "B4", "D7", "D6", "E6", "B3"], "rows": ["B0", "B1", "F0", "F1", "D4"] diff --git a/keyboards/kbdfans/kbd66/rules.mk b/keyboards/kbdfans/kbd66/rules.mk deleted file mode 100644 index df4dea661be..00000000000 --- a/keyboards/kbdfans/kbd66/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd67/hotswap/info.json b/keyboards/kbdfans/kbd67/hotswap/keyboard.json similarity index 97% rename from keyboards/kbdfans/kbd67/hotswap/info.json rename to keyboards/kbdfans/kbd67/hotswap/keyboard.json index 32ac10767d0..574633396cd 100644 --- a/keyboards/kbdfans/kbd67/hotswap/info.json +++ b/keyboards/kbdfans/kbd67/hotswap/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6065", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "F7", "F6", "F5", "F4", "F1", "E6", "D1", "D0", "D2", "D3", "D5", "D6", "D7", "C6"], "rows": ["B3", "B2", "B1", "B0", "D4"] diff --git a/keyboards/kbdfans/kbd67/hotswap/rules.mk b/keyboards/kbdfans/kbd67/hotswap/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/kbdfans/kbd67/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/info.json b/keyboards/kbdfans/kbd67/mkii_soldered/keyboard.json similarity index 99% rename from keyboards/kbdfans/kbd67/mkii_soldered/info.json rename to keyboards/kbdfans/kbd67/mkii_soldered/keyboard.json index 44d54983718..7a9d4f8444b 100644 --- a/keyboards/kbdfans/kbd67/mkii_soldered/info.json +++ b/keyboards/kbdfans/kbd67/mkii_soldered/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0013", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5"], "rows": ["B3", "D0", "D1", "D2", "D3"] diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/rules.mk b/keyboards/kbdfans/kbd67/mkii_soldered/rules.mk deleted file mode 100644 index 5e28d2cc453..00000000000 --- a/keyboards/kbdfans/kbd67/mkii_soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v1/info.json b/keyboards/kbdfans/kbd67/mkiirgb/v1/keyboard.json similarity index 96% rename from keyboards/kbdfans/kbd67/mkiirgb/v1/info.json rename to keyboards/kbdfans/kbd67/mkiirgb/v1/keyboard.json index adac32cc74f..a90fd8b26b9 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v1/info.json +++ b/keyboards/kbdfans/kbd67/mkiirgb/v1/keyboard.json @@ -42,6 +42,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A6", "A7", "B0", "B13", "B15", "A8", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15"], "rows": ["B1", "B10", "B11", "B14", "B12"] diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk b/keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk deleted file mode 100644 index 8e872c17ff5..00000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BACKLIGHT_ENABLE = no -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -AUDIO_ENABLE = no -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v4/info.json b/keyboards/kbdfans/kbd67/mkiirgb/v4/keyboard.json similarity index 96% rename from keyboards/kbdfans/kbd67/mkiirgb/v4/info.json rename to keyboards/kbdfans/kbd67/mkiirgb/v4/keyboard.json index 0f05bd24d05..79853d2d0f4 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v4/info.json +++ b/keyboards/kbdfans/kbd67/mkiirgb/v4/keyboard.json @@ -58,6 +58,15 @@ "speed_steps": 10, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "B0", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B1", "F1", "B2", "B3", "C6"] diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v4/rules.mk b/keyboards/kbdfans/kbd67/mkiirgb/v4/rules.mk deleted file mode 100644 index c552dae7c77..00000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/v4/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/kbdfans/kbd67/rev2/info.json b/keyboards/kbdfans/kbd67/rev2/keyboard.json similarity index 99% rename from keyboards/kbdfans/kbd67/rev2/info.json rename to keyboards/kbdfans/kbd67/rev2/keyboard.json index 7bd48689be7..1e9d87ba0de 100644 --- a/keyboards/kbdfans/kbd67/rev2/info.json +++ b/keyboards/kbdfans/kbd67/rev2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6067", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D1", "D2", "D3", "D6", "D7", "B4", "B6", "C6", "C7", "F7", "F6", "F5"], "rows": ["B7", "D0", "F0", "F1", "F4"] diff --git a/keyboards/kbdfans/kbd67/rev2/rules.mk b/keyboards/kbdfans/kbd67/rev2/rules.mk deleted file mode 100644 index 8ff144aa352..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd6x/info.json b/keyboards/kbdfans/kbd6x/keyboard.json similarity index 95% rename from keyboards/kbdfans/kbd6x/info.json rename to keyboards/kbdfans/kbd6x/keyboard.json index 654c01c0eca..85cfdf8388e 100644 --- a/keyboards/kbdfans/kbd6x/info.json +++ b/keyboards/kbdfans/kbd6x/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x3658", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D5", "D6", "D7", "B4", "B5"], "rows": ["B3", "B2", "B1", "B0", "D4"] diff --git a/keyboards/kbdfans/kbd6x/rules.mk b/keyboards/kbdfans/kbd6x/rules.mk deleted file mode 100644 index 999f36c7db2..00000000000 --- a/keyboards/kbdfans/kbd6x/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd75hs/info.json b/keyboards/kbdfans/kbd75hs/keyboard.json similarity index 96% rename from keyboards/kbdfans/kbd75hs/info.json rename to keyboards/kbdfans/kbd75hs/keyboard.json index 097bb6003ad..3545f2357db 100644 --- a/keyboards/kbdfans/kbd75hs/info.json +++ b/keyboards/kbdfans/kbd75hs/keyboard.json @@ -8,6 +8,15 @@ "device_version": "0.0.3", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["E6", "B0", "B1", "B2", "B3", "B6"] diff --git a/keyboards/kbdfans/kbd75hs/rules.mk b/keyboards/kbdfans/kbd75hs/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/kbdfans/kbd75hs/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd8x/info.json b/keyboards/kbdfans/kbd8x/keyboard.json similarity index 98% rename from keyboards/kbdfans/kbd8x/info.json rename to keyboards/kbdfans/kbd8x/keyboard.json index 4dc48901ddd..f98f12d8b1e 100644 --- a/keyboards/kbdfans/kbd8x/info.json +++ b/keyboards/kbdfans/kbd8x/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D0", "F7", "F6", "F5", "D5", "D3", "D2", "C7", "C6", "B5", "F4", "F1", "B4", "B0"], "rows": ["E6", "B7", "D4", "F0", "D6", "D7"] diff --git a/keyboards/kbdfans/kbd8x/rules.mk b/keyboards/kbdfans/kbd8x/rules.mk deleted file mode 100644 index 80535f911d2..00000000000 --- a/keyboards/kbdfans/kbd8x/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbd8x_mk2/info.json b/keyboards/kbdfans/kbd8x_mk2/keyboard.json similarity index 98% rename from keyboards/kbdfans/kbd8x_mk2/info.json rename to keyboards/kbdfans/kbd8x_mk2/keyboard.json index e6e2e5c168f..1bded44b6c7 100644 --- a/keyboards/kbdfans/kbd8x_mk2/info.json +++ b/keyboards/kbdfans/kbd8x_mk2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B0", "B1"], "rows": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"] diff --git a/keyboards/kbdfans/kbd8x_mk2/rules.mk b/keyboards/kbdfans/kbd8x_mk2/rules.mk deleted file mode 100644 index 45377383806..00000000000 --- a/keyboards/kbdfans/kbd8x_mk2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/kbdmini/info.json b/keyboards/kbdfans/kbdmini/keyboard.json similarity index 95% rename from keyboards/kbdfans/kbdmini/info.json rename to keyboards/kbdfans/kbdmini/keyboard.json index 3b16188b32c..8f2dade705d 100644 --- a/keyboards/kbdfans/kbdmini/info.json +++ b/keyboards/kbdfans/kbdmini/keyboard.json @@ -40,6 +40,15 @@ "driver": "is31fl3733", "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "B0", "F1", "F0", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B7", "E6", "F5", "F4"] diff --git a/keyboards/kbdfans/kbdmini/rules.mk b/keyboards/kbdfans/kbdmini/rules.mk deleted file mode 100644 index 4a443969ff6..00000000000 --- a/keyboards/kbdfans/kbdmini/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/kbdfans/kbdpad/mk1/info.json b/keyboards/kbdfans/kbdpad/mk1/keyboard.json similarity index 95% rename from keyboards/kbdfans/kbdpad/mk1/info.json rename to keyboards/kbdfans/kbdpad/mk1/keyboard.json index fbb5649a8f7..10de0d04366 100644 --- a/keyboards/kbdfans/kbdpad/mk1/info.json +++ b/keyboards/kbdfans/kbdpad/mk1/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/kbdfans/kbdpad/mk1/rules.mk b/keyboards/kbdfans/kbdpad/mk1/rules.mk deleted file mode 100644 index ae7a0b4e167..00000000000 --- a/keyboards/kbdfans/kbdpad/mk1/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = no -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = no # PCB has underglow LEDs, but case doesn't let them show. diff --git a/keyboards/kbdfans/kbdpad/mk2/info.json b/keyboards/kbdfans/kbdpad/mk2/keyboard.json similarity index 94% rename from keyboards/kbdfans/kbdpad/mk2/info.json rename to keyboards/kbdfans/kbdpad/mk2/keyboard.json index 8c773f43e1c..7c174a62a25 100644 --- a/keyboards/kbdfans/kbdpad/mk2/info.json +++ b/keyboards/kbdfans/kbdpad/mk2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C4", "C5", "B3", "B2"], "rows": ["D3", "D1", "D2", "C6", "C7", "B6"] diff --git a/keyboards/kbdfans/kbdpad/mk2/rules.mk b/keyboards/kbdfans/kbdpad/mk2/rules.mk deleted file mode 100644 index 45377383806..00000000000 --- a/keyboards/kbdfans/kbdpad/mk2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbdfans/odin/rgb/info.json b/keyboards/kbdfans/odin/rgb/keyboard.json similarity index 97% rename from keyboards/kbdfans/odin/rgb/info.json rename to keyboards/kbdfans/odin/rgb/keyboard.json index 064f755f427..1777e2cdc0b 100644 --- a/keyboards/kbdfans/odin/rgb/info.json +++ b/keyboards/kbdfans/odin/rgb/keyboard.json @@ -63,6 +63,15 @@ "max_brightness": 150, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B12", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "C13", "C14", "C15", "A0"], "rows": ["A10", "A9", "A8", "B14", "B13", "A2"] diff --git a/keyboards/kbdfans/odin/rgb/rules.mk b/keyboards/kbdfans/odin/rgb/rules.mk deleted file mode 100644 index c49a369dd02..00000000000 --- a/keyboards/kbdfans/odin/rgb/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/kbdfans/odin/soldered/info.json b/keyboards/kbdfans/odin/soldered/keyboard.json similarity index 99% rename from keyboards/kbdfans/odin/soldered/info.json rename to keyboards/kbdfans/odin/soldered/keyboard.json index 9eaa340a4b3..42a8a0e0567 100644 --- a/keyboards/kbdfans/odin/soldered/info.json +++ b/keyboards/kbdfans/odin/soldered/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0101", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B12", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "C13", "C14", "C15", "A0"], "rows": ["A10", "A9", "A8", "B14", "B13", "A2"] diff --git a/keyboards/kbdfans/odin/soldered/rules.mk b/keyboards/kbdfans/odin/soldered/rules.mk deleted file mode 100644 index c3b8e77d77a..00000000000 --- a/keyboards/kbdfans/odin/soldered/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/kbdfans/odin/v2/info.json b/keyboards/kbdfans/odin/v2/keyboard.json similarity index 97% rename from keyboards/kbdfans/odin/v2/info.json rename to keyboards/kbdfans/odin/v2/keyboard.json index 94255371250..595a5596fe2 100644 --- a/keyboards/kbdfans/odin/v2/info.json +++ b/keyboards/kbdfans/odin/v2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0101", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B12", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "C13", "C14", "C15", "A0"], "rows": ["A10", "A9", "A8", "B14", "B13", "A2"] diff --git a/keyboards/kbdfans/odin/v2/rules.mk b/keyboards/kbdfans/odin/v2/rules.mk deleted file mode 100644 index 0098dc473ac..00000000000 --- a/keyboards/kbdfans/odin/v2/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/kbdfans/phaseone/info.json b/keyboards/kbdfans/phaseone/keyboard.json similarity index 99% rename from keyboards/kbdfans/phaseone/info.json rename to keyboards/kbdfans/phaseone/keyboard.json index aea255aaf44..517dafc96b3 100644 --- a/keyboards/kbdfans/phaseone/info.json +++ b/keyboards/kbdfans/phaseone/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0103", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "E6", "B7", "D0", "D1", "D2", "D3", "D5"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/kbdfans/phaseone/rules.mk b/keyboards/kbdfans/phaseone/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/kbdfans/phaseone/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kbnordic/nordic60/rev_a/info.json b/keyboards/kbnordic/nordic60/rev_a/keyboard.json similarity index 99% rename from keyboards/kbnordic/nordic60/rev_a/info.json rename to keyboards/kbnordic/nordic60/rev_a/keyboard.json index 1d6b6eae861..0b1da369b36 100644 --- a/keyboards/kbnordic/nordic60/rev_a/info.json +++ b/keyboards/kbnordic/nordic60/rev_a/keyboard.json @@ -28,6 +28,14 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"], "rows": ["C2", "D0", "B0", "D6", "D5"] diff --git a/keyboards/kbnordic/nordic60/rev_a/rules.mk b/keyboards/kbnordic/nordic60/rev_a/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/kbnordic/nordic60/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kc60/info.json b/keyboards/kc60/keyboard.json similarity index 99% rename from keyboards/kc60/info.json rename to keyboards/kc60/keyboard.json index 5dbead0c5f4..e2c408e0c4c 100644 --- a/keyboards/kc60/info.json +++ b/keyboards/kc60/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6FFC", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "F6", "F7", "D5"] diff --git a/keyboards/kc60/rules.mk b/keyboards/kc60/rules.mk deleted file mode 100644 index 2b2f2b1159a..00000000000 --- a/keyboards/kc60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kc60se/info.json b/keyboards/kc60se/keyboard.json similarity index 98% rename from keyboards/kc60se/info.json rename to keyboards/kc60se/keyboard.json index ff9fa351651..b7123b5749d 100644 --- a/keyboards/kc60se/info.json +++ b/keyboards/kc60se/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/kc60se/rules.mk b/keyboards/kc60se/rules.mk deleted file mode 100644 index aa085b605e5..00000000000 --- a/keyboards/kc60se/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # default keymap does not map mouse -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebio/bigswitchseat/info.json b/keyboards/keebio/bigswitchseat/keyboard.json similarity index 76% rename from keyboards/keebio/bigswitchseat/info.json rename to keyboards/keebio/bigswitchseat/keyboard.json index f2fe9771ed4..b1acf6c1b39 100644 --- a/keyboards/keebio/bigswitchseat/info.json +++ b/keyboards/keebio/bigswitchseat/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1011", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0"], "rows": ["E6"] diff --git a/keyboards/keebio/bigswitchseat/rules.mk b/keyboards/keebio/bigswitchseat/rules.mk deleted file mode 100644 index 3f6eff7f550..00000000000 --- a/keyboards/keebio/bigswitchseat/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebio/choconum/info.json b/keyboards/keebio/choconum/keyboard.json similarity index 93% rename from keyboards/keebio/choconum/info.json rename to keyboards/keebio/choconum/keyboard.json index b5f50cc4866..0315a9f3dce 100644 --- a/keyboards/keebio/choconum/info.json +++ b/keyboards/keebio/choconum/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "STM32F072", "bootloader": "stm32-dfu", + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["B2", "B10", "B3", "B4"], diff --git a/keyboards/keebio/choconum/rules.mk b/keyboards/keebio/choconum/rules.mk deleted file mode 100644 index 67d4dee2c76..00000000000 --- a/keyboards/keebio/choconum/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/keebio/dilly/info.json b/keyboards/keebio/dilly/keyboard.json similarity index 92% rename from keyboards/keebio/dilly/info.json rename to keyboards/keebio/dilly/keyboard.json index b229ca021f2..45665940544 100644 --- a/keyboards/keebio/dilly/info.json +++ b/keyboards/keebio/dilly/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x113A", "device_version": "1.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "D4", "C6", "F6", "F5"], "rows": ["D7", "E6", "B4", "B1", "B3", "B2"] diff --git a/keyboards/keebio/dilly/rules.mk b/keyboards/keebio/dilly/rules.mk deleted file mode 100644 index 32e82925ccf..00000000000 --- a/keyboards/keebio/dilly/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/keebio/ergodicity/info.json b/keyboards/keebio/ergodicity/keyboard.json similarity index 95% rename from keyboards/keebio/ergodicity/info.json rename to keyboards/keebio/ergodicity/keyboard.json index 94c94193edc..1305a4359f1 100644 --- a/keyboards/keebio/ergodicity/info.json +++ b/keyboards/keebio/ergodicity/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x125F", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D7", "D6", "D4", "D3", "D2", "D1", "D0", "B7", "B3"], "rows": ["B0", "B1", "C7", "B6", "B4"] diff --git a/keyboards/keebio/ergodicity/rules.mk b/keyboards/keebio/ergodicity/rules.mk deleted file mode 100644 index c358b798e4c..00000000000 --- a/keyboards/keebio/ergodicity/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebio/laplace/info.json b/keyboards/keebio/laplace/keyboard.json similarity index 94% rename from keyboards/keebio/laplace/info.json rename to keyboards/keebio/laplace/keyboard.json index 6a81a6e8991..22cced0ee33 100644 --- a/keyboards/keebio/laplace/info.json +++ b/keyboards/keebio/laplace/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "D4" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D3", "F4", "D2", "F5", "D7", "B4", "C6", "E6"] diff --git a/keyboards/keebio/laplace/rules.mk b/keyboards/keebio/laplace/rules.mk deleted file mode 100644 index fb930c2a929..00000000000 --- a/keyboards/keebio/laplace/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/keebio/stick/info.json b/keyboards/keebio/stick/keyboard.json similarity index 93% rename from keyboards/keebio/stick/info.json rename to keyboards/keebio/stick/keyboard.json index b24d4d64308..2e2b3539abc 100644 --- a/keyboards/keebio/stick/info.json +++ b/keyboards/keebio/stick/keyboard.json @@ -85,6 +85,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "direct": [ ["F4", "B6", "B5", "B4", "E6", "D7", "F6", "F7", "B1", "B3", "B2", "F5"] diff --git a/keyboards/keebio/stick/rules.mk b/keyboards/keebio/stick/rules.mk deleted file mode 100644 index 0f932779f59..00000000000 --- a/keyboards/keebio/stick/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keebio/tragicforce68/info.json b/keyboards/keebio/tragicforce68/keyboard.json similarity index 98% rename from keyboards/keebio/tragicforce68/info.json rename to keyboards/keebio/tragicforce68/keyboard.json index 07d292728be..49ada60863c 100644 --- a/keyboards/keebio/tragicforce68/info.json +++ b/keyboards/keebio/tragicforce68/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0510", "device_version": "1.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D3", "D2", "D1", "D0", "B4", "E6", "C6", "D7", "D4"] diff --git a/keyboards/keebio/tragicforce68/rules.mk b/keyboards/keebio/tragicforce68/rules.mk deleted file mode 100644 index 86bb2554d89..00000000000 --- a/keyboards/keebio/tragicforce68/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebio/tukey/info.json b/keyboards/keebio/tukey/keyboard.json similarity index 82% rename from keyboards/keebio/tukey/info.json rename to keyboards/keebio/tukey/keyboard.json index 9df46b0c1e1..5d8bd37a282 100644 --- a/keyboards/keebio/tukey/info.json +++ b/keyboards/keebio/tukey/keyboard.json @@ -30,6 +30,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "direct": [ ["D4", "F6"] diff --git a/keyboards/keebio/tukey/rules.mk b/keyboards/keebio/tukey/rules.mk deleted file mode 100644 index 4465ace1727..00000000000 --- a/keyboards/keebio/tukey/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebmonkey/kbmg68/info.json b/keyboards/keebmonkey/kbmg68/keyboard.json similarity index 96% rename from keyboards/keebmonkey/kbmg68/info.json rename to keyboards/keebmonkey/kbmg68/keyboard.json index b56a61f4804..5cb0fa0e450 100644 --- a/keyboards/keebmonkey/kbmg68/info.json +++ b/keyboards/keebmonkey/kbmg68/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F7", "F6", "F5", "F4"], "rows": ["B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/keebmonkey/kbmg68/rules.mk b/keyboards/keebmonkey/kbmg68/rules.mk deleted file mode 100644 index 10d95a77523..00000000000 --- a/keyboards/keebmonkey/kbmg68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebsforall/coarse60/info.json b/keyboards/keebsforall/coarse60/keyboard.json similarity index 97% rename from keyboards/keebsforall/coarse60/info.json rename to keyboards/keebsforall/coarse60/keyboard.json index 11ef47d2cc6..d8e769914c5 100644 --- a/keyboards/keebsforall/coarse60/info.json +++ b/keyboards/keebsforall/coarse60/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x5341", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B1", "B0", "A7", "B14", "A5", "A4", "A3", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], "rows": ["A9", "A10", "B12", "A2", "C13"] diff --git a/keyboards/keebsforall/coarse60/rules.mk b/keyboards/keebsforall/coarse60/rules.mk deleted file mode 100644 index 33b9c9f1591..00000000000 --- a/keyboards/keebsforall/coarse60/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - - diff --git a/keyboards/keebsforall/freebird60/info.json b/keyboards/keebsforall/freebird60/keyboard.json similarity index 97% rename from keyboards/keebsforall/freebird60/info.json rename to keyboards/keebsforall/freebird60/keyboard.json index d2742610acb..3c4df7472a4 100644 --- a/keyboards/keebsforall/freebird60/info.json +++ b/keyboards/keebsforall/freebird60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xFB60", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D0", "D1", "D2", "D3", "D5"], "rows": ["F5", "F4", "F1", "F0", "F6"] diff --git a/keyboards/keebsforall/freebird60/rules.mk b/keyboards/keebsforall/freebird60/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/keebsforall/freebird60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebsforall/freebirdnp/lite/info.json b/keyboards/keebsforall/freebirdnp/lite/keyboard.json similarity index 93% rename from keyboards/keebsforall/freebirdnp/lite/info.json rename to keyboards/keebsforall/freebirdnp/lite/keyboard.json index 91d43ffef8b..c27bb0e2b99 100644 --- a/keyboards/keebsforall/freebirdnp/lite/info.json +++ b/keyboards/keebsforall/freebirdnp/lite/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1013", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "B2", "B1", "B0"], "rows": ["B7", "B6", "B5", "B4", "B3"] diff --git a/keyboards/keebsforall/freebirdnp/lite/rules.mk b/keyboards/keebsforall/freebirdnp/lite/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/keebsforall/freebirdnp/lite/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebsforall/freebirdnp/pro/info.json b/keyboards/keebsforall/freebirdnp/pro/keyboard.json similarity index 94% rename from keyboards/keebsforall/freebirdnp/pro/info.json rename to keyboards/keebsforall/freebirdnp/pro/keyboard.json index f3c83075263..7ed9584f823 100644 --- a/keyboards/keebsforall/freebirdnp/pro/info.json +++ b/keyboards/keebsforall/freebirdnp/pro/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1014", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "B2", "B1", "B0"], "rows": ["D3", "B7", "B6", "B5", "B4", "B3"] diff --git a/keyboards/keebsforall/freebirdnp/pro/rules.mk b/keyboards/keebsforall/freebirdnp/pro/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/keebsforall/freebirdnp/pro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/keebsforall/freebirdtkl/info.json b/keyboards/keebsforall/freebirdtkl/keyboard.json similarity index 99% rename from keyboards/keebsforall/freebirdtkl/info.json rename to keyboards/keebsforall/freebirdtkl/keyboard.json index eab9bcd23a2..a2c6ec426d9 100644 --- a/keyboards/keebsforall/freebirdtkl/info.json +++ b/keyboards/keebsforall/freebirdtkl/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0088", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D3", "D2", "D1"], "rows": ["B2", "B1", "B0", "B3", "D5", "B7"] diff --git a/keyboards/keebsforall/freebirdtkl/rules.mk b/keyboards/keebsforall/freebirdtkl/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/keebsforall/freebirdtkl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebzdotnet/fme/info.json b/keyboards/keebzdotnet/fme/keyboard.json similarity index 93% rename from keyboards/keebzdotnet/fme/info.json rename to keyboards/keebzdotnet/fme/keyboard.json index 2254343f7b9..f1a352c1e5e 100644 --- a/keyboards/keebzdotnet/fme/info.json +++ b/keyboards/keebzdotnet/fme/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8008", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B4", "B1", "B3", "B2"], "rows": ["B6", "B5", "B7", "D2"] diff --git a/keyboards/keebzdotnet/fme/rules.mk b/keyboards/keebzdotnet/fme/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/keebzdotnet/fme/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebzdotnet/wazowski/info.json b/keyboards/keebzdotnet/wazowski/keyboard.json similarity index 87% rename from keyboards/keebzdotnet/wazowski/info.json rename to keyboards/keebzdotnet/wazowski/keyboard.json index c993b41ac97..0047deeb4cd 100644 --- a/keyboards/keebzdotnet/wazowski/info.json +++ b/keyboards/keebzdotnet/wazowski/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x53FC", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "B1", "B3", "B2", "B6"], "rows": ["F4", "F5", "F6"] diff --git a/keyboards/keebzdotnet/wazowski/rules.mk b/keyboards/keebzdotnet/wazowski/rules.mk deleted file mode 100644 index 6e0404820cd..00000000000 --- a/keyboards/keebzdotnet/wazowski/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kegen/gboy/info.json b/keyboards/kegen/gboy/keyboard.json similarity index 99% rename from keyboards/kegen/gboy/info.json rename to keyboards/kegen/gboy/keyboard.json index 0e9f0f753d0..8c611d6664f 100644 --- a/keyboards/kegen/gboy/info.json +++ b/keyboards/kegen/gboy/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6762", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E2", "E6", "C6", "C7", "D7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "D4", "D6", "D5", "F0"], "rows": ["F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/kegen/gboy/rules.mk b/keyboards/kegen/gboy/rules.mk deleted file mode 100644 index de8df1910ce..00000000000 --- a/keyboards/kegen/gboy/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# comment out to disable the options. -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/keybee/keybee65/info.json b/keyboards/keybee/keybee65/keyboard.json similarity index 95% rename from keyboards/keybee/keybee65/info.json rename to keyboards/keybee/keybee65/keyboard.json index 30067891d7b..7952378b15b 100644 --- a/keyboards/keybee/keybee65/info.json +++ b/keyboards/keybee/keybee65/keyboard.json @@ -18,6 +18,15 @@ "rgblight": { "max_brightness": 96 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["E6", "D1", "D5", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["D3", "D2", "D0", "B0", "F0"] diff --git a/keyboards/keybee/keybee65/rules.mk b/keyboards/keybee/keybee65/rules.mk deleted file mode 100644 index c97335f3c53..00000000000 --- a/keyboards/keybee/keybee65/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keyboardio/atreus/info.json b/keyboards/keyboardio/atreus/keyboard.json similarity index 93% rename from keyboards/keyboardio/atreus/info.json rename to keyboards/keyboardio/atreus/keyboard.json index b251151be48..4bdea354bde 100644 --- a/keyboards/keyboardio/atreus/info.json +++ b/keyboards/keyboardio/atreus/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x2303", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["F7", "E2", "C7", "C6", "B6", "B5", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["F6", "F5", "F4", "F1"] diff --git a/keyboards/keyboardio/atreus/rules.mk b/keyboards/keyboardio/atreus/rules.mk deleted file mode 100644 index 2513240d91e..00000000000 --- a/keyboards/keyboardio/atreus/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/keycapsss/o4l_5x12/info.json b/keyboards/keycapsss/o4l_5x12/keyboard.json similarity index 98% rename from keyboards/keycapsss/o4l_5x12/info.json rename to keyboards/keycapsss/o4l_5x12/keyboard.json index 91dc0564683..8816155fcca 100644 --- a/keyboards/keycapsss/o4l_5x12/info.json +++ b/keyboards/keycapsss/o4l_5x12/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "F6", "F5", "F4"], "rows": ["F7", "B1", "B3", "B2", "B6"] diff --git a/keyboards/keycapsss/o4l_5x12/rules.mk b/keyboards/keycapsss/o4l_5x12/rules.mk deleted file mode 100644 index ede7e9753e0..00000000000 --- a/keyboards/keycapsss/o4l_5x12/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keychron/q60/ansi/info.json b/keyboards/keychron/q60/ansi/keyboard.json similarity index 94% rename from keyboards/keychron/q60/ansi/info.json rename to keyboards/keychron/q60/ansi/keyboard.json index 1d074c5e3ca..4d6f6808905 100644 --- a/keyboards/keychron/q60/ansi/info.json +++ b/keyboards/keychron/q60/ansi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x01C0", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/q60/ansi/rules.mk b/keyboards/keychron/q60/ansi/rules.mk deleted file mode 100644 index 468ed6fae39..00000000000 --- a/keyboards/keychron/q60/ansi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable. -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/s1/ansi/rgb/info.json b/keyboards/keychron/s1/ansi/rgb/keyboard.json similarity index 96% rename from keyboards/keychron/s1/ansi/rgb/info.json rename to keyboards/keychron/s1/ansi/rgb/keyboard.json index 2e78ccfe427..23ea66071eb 100644 --- a/keyboards/keychron/s1/ansi/rgb/info.json +++ b/keyboards/keychron/s1/ansi/rgb/keyboard.json @@ -35,6 +35,16 @@ "driver": "snled27351", "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "C15", "C14"], "rows": ["B5", "B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/s1/ansi/rgb/rules.mk b/keyboards/keychron/s1/ansi/rgb/rules.mk deleted file mode 100644 index cf31e094cbf..00000000000 --- a/keyboards/keychron/s1/ansi/rgb/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/s1/ansi/white/info.json b/keyboards/keychron/s1/ansi/white/keyboard.json similarity index 96% rename from keyboards/keychron/s1/ansi/white/info.json rename to keyboards/keychron/s1/ansi/white/keyboard.json index 0e20c9ebe65..cab38a4ae66 100644 --- a/keyboards/keychron/s1/ansi/white/info.json +++ b/keyboards/keychron/s1/ansi/white/keyboard.json @@ -35,6 +35,16 @@ "sleep": true, "react_on_keyup": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "led_matrix": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "C15", "C14"], "rows": ["B5", "B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/s1/ansi/white/rules.mk b/keyboards/keychron/s1/ansi/white/rules.mk deleted file mode 100644 index afcbe18d626..00000000000 --- a/keyboards/keychron/s1/ansi/white/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -LED_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v2/ansi/info.json b/keyboards/keychron/v2/ansi/keyboard.json similarity index 95% rename from keyboards/keychron/v2/ansi/info.json rename to keyboards/keychron/v2/ansi/keyboard.json index 528d4378294..015aae6e3ed 100644 --- a/keyboards/keychron/v2/ansi/info.json +++ b/keyboards/keychron/v2/ansi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0320", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v2/ansi/rules.mk b/keyboards/keychron/v2/ansi/rules.mk deleted file mode 100644 index cf31e094cbf..00000000000 --- a/keyboards/keychron/v2/ansi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v2/ansi_encoder/info.json b/keyboards/keychron/v2/ansi_encoder/keyboard.json similarity index 94% rename from keyboards/keychron/v2/ansi_encoder/info.json rename to keyboards/keychron/v2/ansi_encoder/keyboard.json index 42efdae9844..ca62bab1484 100644 --- a/keyboards/keychron/v2/ansi_encoder/info.json +++ b/keyboards/keychron/v2/ansi_encoder/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0321", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v2/ansi_encoder/rules.mk b/keyboards/keychron/v2/ansi_encoder/rules.mk deleted file mode 100644 index 5d77f099712..00000000000 --- a/keyboards/keychron/v2/ansi_encoder/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable Encoder -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v2/iso/info.json b/keyboards/keychron/v2/iso/keyboard.json similarity index 95% rename from keyboards/keychron/v2/iso/info.json rename to keyboards/keychron/v2/iso/keyboard.json index 171407e75f1..827f6132479 100644 --- a/keyboards/keychron/v2/iso/info.json +++ b/keyboards/keychron/v2/iso/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0322", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v2/iso/rules.mk b/keyboards/keychron/v2/iso/rules.mk deleted file mode 100644 index cf31e094cbf..00000000000 --- a/keyboards/keychron/v2/iso/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v2/iso_encoder/info.json b/keyboards/keychron/v2/iso_encoder/keyboard.json similarity index 94% rename from keyboards/keychron/v2/iso_encoder/info.json rename to keyboards/keychron/v2/iso_encoder/keyboard.json index 75a8bf1f1ff..10774d6974b 100644 --- a/keyboards/keychron/v2/iso_encoder/info.json +++ b/keyboards/keychron/v2/iso_encoder/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0323", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v2/iso_encoder/rules.mk b/keyboards/keychron/v2/iso_encoder/rules.mk deleted file mode 100644 index 5d77f099712..00000000000 --- a/keyboards/keychron/v2/iso_encoder/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable Encoder -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v2/jis/info.json b/keyboards/keychron/v2/jis/keyboard.json similarity index 95% rename from keyboards/keychron/v2/jis/info.json rename to keyboards/keychron/v2/jis/keyboard.json index 64058d4c130..c7759440092 100644 --- a/keyboards/keychron/v2/jis/info.json +++ b/keyboards/keychron/v2/jis/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0324", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v2/jis/rules.mk b/keyboards/keychron/v2/jis/rules.mk deleted file mode 100644 index cf31e094cbf..00000000000 --- a/keyboards/keychron/v2/jis/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v2/jis_encoder/info.json b/keyboards/keychron/v2/jis_encoder/keyboard.json similarity index 95% rename from keyboards/keychron/v2/jis_encoder/info.json rename to keyboards/keychron/v2/jis_encoder/keyboard.json index 12fadfec730..c783b3553e2 100644 --- a/keyboards/keychron/v2/jis_encoder/info.json +++ b/keyboards/keychron/v2/jis_encoder/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0325", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v2/jis_encoder/rules.mk b/keyboards/keychron/v2/jis_encoder/rules.mk deleted file mode 100644 index 5d77f099712..00000000000 --- a/keyboards/keychron/v2/jis_encoder/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable Encoder -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v3/ansi/info.json b/keyboards/keychron/v3/ansi/keyboard.json similarity index 95% rename from keyboards/keychron/v3/ansi/info.json rename to keyboards/keychron/v3/ansi/keyboard.json index f01b2394a7b..b8489a43b40 100644 --- a/keyboards/keychron/v3/ansi/info.json +++ b/keyboards/keychron/v3/ansi/keyboard.json @@ -3,6 +3,16 @@ "manufacturer": "Keychron", "url": "https://github.com/Keychron", "maintainer": "lalalademaxiya1", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "usb": { "vid": "0x3434", "pid": "0x0330", diff --git a/keyboards/keychron/v3/ansi/rules.mk b/keyboards/keychron/v3/ansi/rules.mk deleted file mode 100644 index cf31e094cbf..00000000000 --- a/keyboards/keychron/v3/ansi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v3/iso/info.json b/keyboards/keychron/v3/iso/keyboard.json similarity index 96% rename from keyboards/keychron/v3/iso/info.json rename to keyboards/keychron/v3/iso/keyboard.json index f57ccbd7d0a..b257deb1c0c 100644 --- a/keyboards/keychron/v3/iso/info.json +++ b/keyboards/keychron/v3/iso/keyboard.json @@ -3,6 +3,16 @@ "manufacturer": "Keychron", "url": "https://github.com/Keychron", "maintainer": "lalalademaxiya1", + "features": { + "bootmagic": true, + "command": false, + "console": true, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "usb": { "vid": "0x3434", "pid": "0x0332", diff --git a/keyboards/keychron/v3/iso/rules.mk b/keyboards/keychron/v3/iso/rules.mk deleted file mode 100644 index 118bf40e5a9..00000000000 --- a/keyboards/keychron/v3/iso/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v3/jis/info.json b/keyboards/keychron/v3/jis/keyboard.json similarity index 96% rename from keyboards/keychron/v3/jis/info.json rename to keyboards/keychron/v3/jis/keyboard.json index cce7372c317..f00716b2db1 100644 --- a/keyboards/keychron/v3/jis/info.json +++ b/keyboards/keychron/v3/jis/keyboard.json @@ -3,6 +3,16 @@ "manufacturer": "Keychron", "url": "https://github.com/Keychron", "maintainer": "lalalademaxiya1", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "usb": { "vid": "0x3434", "pid": "0x0334", diff --git a/keyboards/keychron/v3/jis/rules.mk b/keyboards/keychron/v3/jis/rules.mk deleted file mode 100644 index cf31e094cbf..00000000000 --- a/keyboards/keychron/v3/jis/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v4/ansi/info.json b/keyboards/keychron/v4/ansi/keyboard.json similarity index 94% rename from keyboards/keychron/v4/ansi/info.json rename to keyboards/keychron/v4/ansi/keyboard.json index a8b980ddd6c..d66eb3f9562 100644 --- a/keyboards/keychron/v4/ansi/info.json +++ b/keyboards/keychron/v4/ansi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0340", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v4/ansi/rules.mk b/keyboards/keychron/v4/ansi/rules.mk deleted file mode 100644 index 468ed6fae39..00000000000 --- a/keyboards/keychron/v4/ansi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable. -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v4/iso/info.json b/keyboards/keychron/v4/iso/keyboard.json similarity index 94% rename from keyboards/keychron/v4/iso/info.json rename to keyboards/keychron/v4/iso/keyboard.json index 81153c3621f..c7854307e4e 100644 --- a/keyboards/keychron/v4/iso/info.json +++ b/keyboards/keychron/v4/iso/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0342", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v4/iso/rules.mk b/keyboards/keychron/v4/iso/rules.mk deleted file mode 100644 index 468ed6fae39..00000000000 --- a/keyboards/keychron/v4/iso/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable. -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v7/ansi/info.json b/keyboards/keychron/v7/ansi/keyboard.json similarity index 95% rename from keyboards/keychron/v7/ansi/info.json rename to keyboards/keychron/v7/ansi/keyboard.json index ea01b3ff393..a60b46dc971 100644 --- a/keyboards/keychron/v7/ansi/info.json +++ b/keyboards/keychron/v7/ansi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0370", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "A10", "B5"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v7/ansi/rules.mk b/keyboards/keychron/v7/ansi/rules.mk deleted file mode 100644 index 468ed6fae39..00000000000 --- a/keyboards/keychron/v7/ansi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable. -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v7/iso/info.json b/keyboards/keychron/v7/iso/keyboard.json similarity index 95% rename from keyboards/keychron/v7/iso/info.json rename to keyboards/keychron/v7/iso/keyboard.json index e241232d065..0022222635b 100644 --- a/keyboards/keychron/v7/iso/info.json +++ b/keyboards/keychron/v7/iso/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0372", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "A10", "B5"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v7/iso/rules.mk b/keyboards/keychron/v7/iso/rules.mk deleted file mode 100644 index 468ed6fae39..00000000000 --- a/keyboards/keychron/v7/iso/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable. -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v8/ansi/info.json b/keyboards/keychron/v8/ansi/keyboard.json similarity index 95% rename from keyboards/keychron/v8/ansi/info.json rename to keyboards/keychron/v8/ansi/keyboard.json index df6ef81b8da..7827270228d 100644 --- a/keyboards/keychron/v8/ansi/info.json +++ b/keyboards/keychron/v8/ansi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0380", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v8/ansi/rules.mk b/keyboards/keychron/v8/ansi/rules.mk deleted file mode 100644 index 50b09aa58ac..00000000000 --- a/keyboards/keychron/v8/ansi/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v8/ansi_encoder/info.json b/keyboards/keychron/v8/ansi_encoder/keyboard.json similarity index 94% rename from keyboards/keychron/v8/ansi_encoder/info.json rename to keyboards/keychron/v8/ansi_encoder/keyboard.json index 100d215ee8a..a5d84021d08 100644 --- a/keyboards/keychron/v8/ansi_encoder/info.json +++ b/keyboards/keychron/v8/ansi_encoder/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0381", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v8/ansi_encoder/rules.mk b/keyboards/keychron/v8/ansi_encoder/rules.mk deleted file mode 100644 index bc154c1788b..00000000000 --- a/keyboards/keychron/v8/ansi_encoder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -ENCODER_ENABLE = yes # Enable Encoder -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v8/iso/info.json b/keyboards/keychron/v8/iso/keyboard.json similarity index 95% rename from keyboards/keychron/v8/iso/info.json rename to keyboards/keychron/v8/iso/keyboard.json index d7897406448..89310111f55 100644 --- a/keyboards/keychron/v8/iso/info.json +++ b/keyboards/keychron/v8/iso/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0382", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v8/iso/rules.mk b/keyboards/keychron/v8/iso/rules.mk deleted file mode 100644 index 4aa9221c247..00000000000 --- a/keyboards/keychron/v8/iso/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Enable Encoder -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keychron/v8/iso_encoder/info.json b/keyboards/keychron/v8/iso_encoder/keyboard.json similarity index 95% rename from keyboards/keychron/v8/iso_encoder/info.json rename to keyboards/keychron/v8/iso_encoder/keyboard.json index 23efd329aae..2e50de74212 100644 --- a/keyboards/keychron/v8/iso_encoder/info.json +++ b/keyboards/keychron/v8/iso_encoder/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0383", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "H3"], "rows": ["B4", "B3", "A15", "A14", "A13"] diff --git a/keyboards/keychron/v8/iso_encoder/rules.mk b/keyboards/keychron/v8/iso_encoder/rules.mk deleted file mode 100644 index bc154c1788b..00000000000 --- a/keyboards/keychron/v8/iso_encoder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable USB N-key Rollover -ENCODER_ENABLE = yes # Enable Encoder -DIP_SWITCH_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/keyhive/absinthe/info.json b/keyboards/keyhive/absinthe/keyboard.json similarity index 97% rename from keyboards/keyhive/absinthe/info.json rename to keyboards/keyhive/absinthe/keyboard.json index 1496756d9a2..2a58178bf16 100644 --- a/keyboards/keyhive/absinthe/info.json +++ b/keyboards/keyhive/absinthe/keyboard.json @@ -23,6 +23,16 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D3", "D0"], "rows": ["D2", "D1", "B6", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/keyhive/absinthe/rules.mk b/keyboards/keyhive/absinthe/rules.mk deleted file mode 100644 index 5d5924f767b..00000000000 --- a/keyboards/keyhive/absinthe/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/keyhive/ergosaurus/info.json b/keyboards/keyhive/ergosaurus/keyboard.json similarity index 96% rename from keyboards/keyhive/ergosaurus/info.json rename to keyboards/keyhive/ergosaurus/keyboard.json index 76d1988da08..bce4b9d0fec 100644 --- a/keyboards/keyhive/ergosaurus/info.json +++ b/keyboards/keyhive/ergosaurus/keyboard.json @@ -23,6 +23,14 @@ "static_gradient": true } }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D7", "C6", "D0", "D1", "F7", "B1", "B3", "B2"], "rows": ["B5", "B4", "E6", "D4", "F6", "D3", "D2", "F4", "F5"] diff --git a/keyboards/keyhive/ergosaurus/rules.mk b/keyboards/keyhive/ergosaurus/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/keyhive/ergosaurus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keyhive/maypad/info.json b/keyboards/keyhive/maypad/keyboard.json similarity index 95% rename from keyboards/keyhive/maypad/info.json rename to keyboards/keyhive/maypad/keyboard.json index 6f61b99df39..c4c39b0eddf 100644 --- a/keyboards/keyhive/maypad/info.json +++ b/keyboards/keyhive/maypad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4D50", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F7", "B1", "B3"], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/keyhive/maypad/rules.mk b/keyboards/keyhive/maypad/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/keyhive/maypad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keyhive/opus/info.json b/keyboards/keyhive/opus/keyboard.json similarity index 94% rename from keyboards/keyhive/opus/info.json rename to keyboards/keyhive/opus/keyboard.json index 5bef38ca0a4..252958c0b98 100644 --- a/keyboards/keyhive/opus/info.json +++ b/keyboards/keyhive/opus/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x4F50", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5", "F6", "F7"], "rows": ["B1", "B3", "B2", "B6"] diff --git a/keyboards/keyhive/opus/rules.mk b/keyboards/keyhive/opus/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/keyhive/opus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keyhive/smallice/info.json b/keyboards/keyhive/smallice/keyboard.json similarity index 95% rename from keyboards/keyhive/smallice/info.json rename to keyboards/keyhive/smallice/keyboard.json index fae716f8208..f7118ed3cf6 100644 --- a/keyboards/keyhive/smallice/info.json +++ b/keyboards/keyhive/smallice/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "F7", "F6", "F5", "F4", "F1", "D4", "D6", "D7", "D0", "D1", "D2", "D3", "D5"], "rows": ["B0", "B6", "B5", "B4"] diff --git a/keyboards/keyhive/smallice/rules.mk b/keyboards/keyhive/smallice/rules.mk deleted file mode 100644 index 2eba275490a..00000000000 --- a/keyboards/keyhive/smallice/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keyhive/southpole/info.json b/keyboards/keyhive/southpole/keyboard.json similarity index 96% rename from keyboards/keyhive/southpole/info.json rename to keyboards/keyhive/southpole/keyboard.json index 8514a299866..aea03ffc60b 100644 --- a/keyboards/keyhive/southpole/info.json +++ b/keyboards/keyhive/southpole/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "F0", "F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6", "D4", "E6"], "rows": ["D2", "D3", "C6", "C7", "D5"] diff --git a/keyboards/keyhive/southpole/rules.mk b/keyboards/keyhive/southpole/rules.mk deleted file mode 100644 index e3ebdd5cf3c..00000000000 --- a/keyboards/keyhive/southpole/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -#AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/keyhive/ut472/info.json b/keyboards/keyhive/ut472/keyboard.json similarity index 94% rename from keyboards/keyhive/ut472/info.json rename to keyboards/keyhive/ut472/keyboard.json index 6c3dd26eef6..340e5210742 100644 --- a/keyboards/keyhive/ut472/info.json +++ b/keyboards/keyhive/ut472/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "C6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C4", "C5", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "D6", "D5"], "rows": ["D1", "D2", "D3", "D4"] diff --git a/keyboards/keyhive/ut472/rules.mk b/keyboards/keyhive/ut472/rules.mk deleted file mode 100644 index 9ebb40efd6b..00000000000 --- a/keyboards/keyhive/ut472/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes diff --git a/keyboards/keyprez/corgi/info.json b/keyboards/keyprez/corgi/keyboard.json similarity index 94% rename from keyboards/keyprez/corgi/info.json rename to keyboards/keyprez/corgi/keyboard.json index 6e4c5682f52..07962899c4e 100644 --- a/keyboards/keyprez/corgi/info.json +++ b/keyboards/keyprez/corgi/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6", "D2", "B7"], "rows": ["F5", "F7", "B2", "B6", "F4", "F6", "B1", "B3"] diff --git a/keyboards/keyprez/corgi/rules.mk b/keyboards/keyprez/corgi/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/keyprez/corgi/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/keyprez/rhino/info.json b/keyboards/keyprez/rhino/keyboard.json similarity index 97% rename from keyboards/keyprez/rhino/info.json rename to keyboards/keyprez/rhino/keyboard.json index 105cc0446ac..4f334e8fcfa 100644 --- a/keyboards/keyprez/rhino/info.json +++ b/keyboards/keyprez/rhino/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D2", "D4", "D7", "E6", "B4", "B5"], "rows": ["B3", "B2", "B6", "B1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/keyprez/rhino/rules.mk b/keyboards/keyprez/rhino/rules.mk deleted file mode 100644 index 7439cd7de21..00000000000 --- a/keyboards/keyprez/rhino/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/keysofkings/twokey/info.json b/keyboards/keysofkings/twokey/keyboard.json similarity index 83% rename from keyboards/keysofkings/twokey/info.json rename to keyboards/keysofkings/twokey/keyboard.json index e7564bf2a54..5f9a84e58ba 100644 --- a/keyboards/keysofkings/twokey/info.json +++ b/keyboards/keysofkings/twokey/keyboard.json @@ -29,6 +29,17 @@ "ws2812": { "pin": "D3" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B3", "B2"], "rows": ["B4", "B5"] diff --git a/keyboards/keysofkings/twokey/rules.mk b/keyboards/keysofkings/twokey/rules.mk deleted file mode 100755 index 9982ce0a871..00000000000 --- a/keyboards/keysofkings/twokey/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/keyten/kt3700/info.json b/keyboards/keyten/kt3700/keyboard.json similarity index 94% rename from keyboards/keyten/kt3700/info.json rename to keyboards/keyten/kt3700/keyboard.json index 1a977797110..9f89ee14530 100644 --- a/keyboards/keyten/kt3700/info.json +++ b/keyboards/keyten/kt3700/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3700", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B13", "B9", "B8"], "rows": ["B12", "B7", "B5", "B4", "B3", "A15"] diff --git a/keyboards/keyten/kt3700/rules.mk b/keyboards/keyten/kt3700/rules.mk deleted file mode 100644 index e3ecf72b085..00000000000 --- a/keyboards/keyten/kt3700/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kikkou/info.json b/keyboards/kikkou/keyboard.json similarity index 97% rename from keyboards/kikkou/info.json rename to keyboards/kikkou/keyboard.json index ff891e8688e..af684bbc296 100644 --- a/keyboards/kikkou/info.json +++ b/keyboards/kikkou/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"], "rows": ["F0", "F1", "F4", "F5", "E6"] diff --git a/keyboards/kikkou/rules.mk b/keyboards/kikkou/rules.mk deleted file mode 100644 index d65d32df0aa..00000000000 --- a/keyboards/kikkou/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/kikoslab/ellora65/info.json b/keyboards/kikoslab/ellora65/keyboard.json similarity index 99% rename from keyboards/kikoslab/ellora65/info.json rename to keyboards/kikoslab/ellora65/keyboard.json index 0ab7f7015af..9dd8404a0bf 100644 --- a/keyboards/kikoslab/ellora65/info.json +++ b/keyboards/kikoslab/ellora65/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xE88F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "C6", "B6", "B5", "B4", "B3"], "rows": ["B7", "B2", "F1", "F4", "D6", "D7", "D5", "D4", "D3", "D2"] diff --git a/keyboards/kikoslab/ellora65/rules.mk b/keyboards/kikoslab/ellora65/rules.mk deleted file mode 100644 index 52e7b596ee2..00000000000 --- a/keyboards/kikoslab/ellora65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/kikoslab/kl90/info.json b/keyboards/kikoslab/kl90/keyboard.json similarity index 96% rename from keyboards/kikoslab/kl90/info.json rename to keyboards/kikoslab/kl90/keyboard.json index c925c028326..391008b58f5 100644 --- a/keyboards/kikoslab/kl90/info.json +++ b/keyboards/kikoslab/kl90/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xEA53", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true + }, "matrix_pins": { "cols": ["F2", "F0", "A2", "A1", "A0", "D2", "D3", "D4", "D5", "D6", "D7", "E0", "E1", "C0", "C1", "C2"], "rows": ["F1", "F3", "F4", "F5", "F6", "F7"] diff --git a/keyboards/kikoslab/kl90/rules.mk b/keyboards/kikoslab/kl90/rules.mk deleted file mode 100644 index a62bc3d00cd..00000000000 --- a/keyboards/kikoslab/kl90/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/kindakeyboards/conone65/info.json b/keyboards/kindakeyboards/conone65/keyboard.json similarity index 99% rename from keyboards/kindakeyboards/conone65/info.json rename to keyboards/kindakeyboards/conone65/keyboard.json index 6639665ba9b..0c44723f62b 100644 --- a/keyboards/kindakeyboards/conone65/info.json +++ b/keyboards/kindakeyboards/conone65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6AAB", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B7", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F6", "F5", "F4", "F1", "F0", "D0"], "rows": ["D5", "D3", "E6", "D1", "D2"] diff --git a/keyboards/kindakeyboards/conone65/rules.mk b/keyboards/kindakeyboards/conone65/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/kindakeyboards/conone65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kineticlabs/emu/hotswap/info.json b/keyboards/kineticlabs/emu/hotswap/keyboard.json similarity index 96% rename from keyboards/kineticlabs/emu/hotswap/info.json rename to keyboards/kineticlabs/emu/hotswap/keyboard.json index 8f9cb70fe04..ec53c2f6bfe 100644 --- a/keyboards/kineticlabs/emu/hotswap/info.json +++ b/keyboards/kineticlabs/emu/hotswap/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xC387", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "D4", "B3", "B1", "B0", "B7"] diff --git a/keyboards/kineticlabs/emu/hotswap/rules.mk b/keyboards/kineticlabs/emu/hotswap/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/kineticlabs/emu/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kineticlabs/emu/soldered/info.json b/keyboards/kineticlabs/emu/soldered/keyboard.json similarity index 98% rename from keyboards/kineticlabs/emu/soldered/info.json rename to keyboards/kineticlabs/emu/soldered/keyboard.json index 811a837f5a2..4aaf523d2ae 100644 --- a/keyboards/kineticlabs/emu/soldered/info.json +++ b/keyboards/kineticlabs/emu/soldered/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xC386", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "D4", "B3", "B1", "B0", "B7"] diff --git a/keyboards/kineticlabs/emu/soldered/rules.mk b/keyboards/kineticlabs/emu/soldered/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/kineticlabs/emu/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kingly_keys/ave/ortho/info.json b/keyboards/kingly_keys/ave/ortho/keyboard.json similarity index 97% rename from keyboards/kingly_keys/ave/ortho/info.json rename to keyboards/kingly_keys/ave/ortho/keyboard.json index c17f41dcb40..8c91b27615c 100644 --- a/keyboards/kingly_keys/ave/ortho/info.json +++ b/keyboards/kingly_keys/ave/ortho/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1225", "device_version": "0.1.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B3", "F4", "F7", "F6", "F5"] diff --git a/keyboards/kingly_keys/ave/ortho/rules.mk b/keyboards/kingly_keys/ave/ortho/rules.mk deleted file mode 100644 index 12ee1bcfbd2..00000000000 --- a/keyboards/kingly_keys/ave/ortho/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/kingly_keys/ave/staggered/info.json b/keyboards/kingly_keys/ave/staggered/keyboard.json similarity index 96% rename from keyboards/kingly_keys/ave/staggered/info.json rename to keyboards/kingly_keys/ave/staggered/keyboard.json index 66e6bb3a4c1..581e86c11b8 100644 --- a/keyboards/kingly_keys/ave/staggered/info.json +++ b/keyboards/kingly_keys/ave/staggered/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1225", "device_version": "0.1.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B3", "F4", "F7", "F6", "F5"] diff --git a/keyboards/kingly_keys/ave/staggered/rules.mk b/keyboards/kingly_keys/ave/staggered/rules.mk deleted file mode 100644 index 12ee1bcfbd2..00000000000 --- a/keyboards/kingly_keys/ave/staggered/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/kingly_keys/little_foot/info.json b/keyboards/kingly_keys/little_foot/keyboard.json similarity index 96% rename from keyboards/kingly_keys/little_foot/info.json rename to keyboards/kingly_keys/little_foot/keyboard.json index 314693d561e..19e6a0f5478 100644 --- a/keyboards/kingly_keys/little_foot/info.json +++ b/keyboards/kingly_keys/little_foot/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F7", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1"], "rows": ["F6", "B6", "B2", "B3", "B1"] diff --git a/keyboards/kingly_keys/little_foot/rules.mk b/keyboards/kingly_keys/little_foot/rules.mk deleted file mode 100644 index 53b742083f1..00000000000 --- a/keyboards/kingly_keys/little_foot/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/kingly_keys/romac/info.json b/keyboards/kingly_keys/romac/keyboard.json similarity index 86% rename from keyboards/kingly_keys/romac/info.json rename to keyboards/kingly_keys/romac/keyboard.json index a6a8a4b8eb3..4c5e9298481 100644 --- a/keyboards/kingly_keys/romac/info.json +++ b/keyboards/kingly_keys/romac/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F7", "B1", "B3"], "rows": ["D4", "C6", "D7", "E6"] diff --git a/keyboards/kingly_keys/romac/rules.mk b/keyboards/kingly_keys/romac/rules.mk deleted file mode 100644 index 5e7b5aadb5a..00000000000 --- a/keyboards/kingly_keys/romac/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no - diff --git a/keyboards/kingly_keys/romac_plus/info.json b/keyboards/kingly_keys/romac_plus/keyboard.json similarity index 87% rename from keyboards/kingly_keys/romac_plus/info.json rename to keyboards/kingly_keys/romac_plus/keyboard.json index 5808d7fe581..bc4ad616e18 100644 --- a/keyboards/kingly_keys/romac_plus/info.json +++ b/keyboards/kingly_keys/romac_plus/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F5", "F4"], "rows": ["C6", "D4", "D2", "D3"] diff --git a/keyboards/kingly_keys/romac_plus/rules.mk b/keyboards/kingly_keys/romac_plus/rules.mk deleted file mode 100644 index 3eef56841c4..00000000000 --- a/keyboards/kingly_keys/romac_plus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable support for EC11 Rotary Encoder -OLED_ENABLE = yes diff --git a/keyboards/kingly_keys/ropro/info.json b/keyboards/kingly_keys/ropro/keyboard.json similarity index 95% rename from keyboards/kingly_keys/ropro/info.json rename to keyboards/kingly_keys/ropro/keyboard.json index 8026d5c7643..ed0bba5366f 100644 --- a/keyboards/kingly_keys/ropro/info.json +++ b/keyboards/kingly_keys/ropro/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B3", "B2", "B6", "D2", "C7"], "rows": ["F4", "F5", "F6", "F7", "B1", "F1", null] diff --git a/keyboards/kingly_keys/ropro/rules.mk b/keyboards/kingly_keys/ropro/rules.mk deleted file mode 100644 index 2fde11543ff..00000000000 --- a/keyboards/kingly_keys/ropro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/kingly_keys/smd_milk/info.json b/keyboards/kingly_keys/smd_milk/keyboard.json similarity index 85% rename from keyboards/kingly_keys/smd_milk/info.json rename to keyboards/kingly_keys/smd_milk/keyboard.json index 84174ac248a..e510ea80b41 100644 --- a/keyboards/kingly_keys/smd_milk/info.json +++ b/keyboards/kingly_keys/smd_milk/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "B3" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D3"], "rows": ["C5", "D2"] diff --git a/keyboards/kingly_keys/smd_milk/rules.mk b/keyboards/kingly_keys/smd_milk/rules.mk deleted file mode 100644 index 5d1006936de..00000000000 --- a/keyboards/kingly_keys/smd_milk/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port. diff --git a/keyboards/kingly_keys/soap/info.json b/keyboards/kingly_keys/soap/keyboard.json similarity index 87% rename from keyboards/kingly_keys/soap/info.json rename to keyboards/kingly_keys/soap/keyboard.json index e6d2cee4212..b4f8fb9e86b 100644 --- a/keyboards/kingly_keys/soap/info.json +++ b/keyboards/kingly_keys/soap/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "B6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F1", "F0", "D5"], "rows": ["C7", "C6"] diff --git a/keyboards/kingly_keys/soap/rules.mk b/keyboards/kingly_keys/soap/rules.mk deleted file mode 100644 index 2fde11543ff..00000000000 --- a/keyboards/kingly_keys/soap/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/kira/kira75/info.json b/keyboards/kira/kira75/keyboard.json similarity index 96% rename from keyboards/kira/kira75/info.json rename to keyboards/kira/kira75/keyboard.json index 0a923fa44e4..c48f2bf4923 100644 --- a/keyboards/kira/kira75/info.json +++ b/keyboards/kira/kira75/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "C7", "C6", "B6", "B5", "B4", "F5", "F4", "F1", "F0", "E6", "B3", "B2", "B1", "B0"], "rows": ["D0", "D1", "D2", "D3", "D5", "D4"] diff --git a/keyboards/kira/kira75/rules.mk b/keyboards/kira/kira75/rules.mk deleted file mode 100644 index 609fcf84a87..00000000000 --- a/keyboards/kira/kira75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kira/kira80/info.json b/keyboards/kira/kira80/keyboard.json similarity index 99% rename from keyboards/kira/kira80/info.json rename to keyboards/kira/kira80/keyboard.json index 0ec9e0b258c..137e1f65656 100644 --- a/keyboards/kira/kira80/info.json +++ b/keyboards/kira/kira80/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xC583", "device_version": "1.0.2" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "A0", "C2", "D7"], "rows": ["B1", "B2", "B3", "B5", "B6", "B7", "B0"] diff --git a/keyboards/kira/kira80/rules.mk b/keyboards/kira/kira80/rules.mk deleted file mode 100644 index f7616462037..00000000000 --- a/keyboards/kira/kira80/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality diff --git a/keyboards/kiwikeebs/macro/info.json b/keyboards/kiwikeebs/macro/keyboard.json similarity index 84% rename from keyboards/kiwikeebs/macro/info.json rename to keyboards/kiwikeebs/macro/keyboard.json index 84b8afb9828..d8bc9f39254 100644 --- a/keyboards/kiwikeebs/macro/info.json +++ b/keyboards/kiwikeebs/macro/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4712", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F7", "B1", "B3", "B2"], "rows": ["E6", "D7"] diff --git a/keyboards/kiwikeebs/macro/rules.mk b/keyboards/kiwikeebs/macro/rules.mk deleted file mode 100644 index f0a88209b69..00000000000 --- a/keyboards/kiwikeebs/macro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/kiwikeebs/macro_v2/info.json b/keyboards/kiwikeebs/macro_v2/keyboard.json similarity index 84% rename from keyboards/kiwikeebs/macro_v2/info.json rename to keyboards/kiwikeebs/macro_v2/keyboard.json index efdf6d860f9..d9b693dd1ac 100644 --- a/keyboards/kiwikeebs/macro_v2/info.json +++ b/keyboards/kiwikeebs/macro_v2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4712", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "C6", "C7", "D4"], "rows": ["B5", "B4"] diff --git a/keyboards/kiwikeebs/macro_v2/rules.mk b/keyboards/kiwikeebs/macro_v2/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/kiwikeebs/macro_v2/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/kiwikey/wanderland/info.json b/keyboards/kiwikey/wanderland/keyboard.json similarity index 97% rename from keyboards/kiwikey/wanderland/info.json rename to keyboards/kiwikey/wanderland/keyboard.json index f0e9317fe17..b4d4d4f5166 100644 --- a/keyboards/kiwikey/wanderland/info.json +++ b/keyboards/kiwikey/wanderland/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x574C", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F6", "B4", "D7", "D6", "D5", "D2", "D3", "B0", "F0", "B1", "B2", "B3"], "rows": ["F4", "F1", "E6", "E2", "C7", "D4"] diff --git a/keyboards/kiwikey/wanderland/rules.mk b/keyboards/kiwikey/wanderland/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/kiwikey/wanderland/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kkatano/bakeneko60/info.json b/keyboards/kkatano/bakeneko60/keyboard.json similarity index 98% rename from keyboards/kkatano/bakeneko60/info.json rename to keyboards/kkatano/bakeneko60/keyboard.json index 1f6c5f8ac42..a8d9e655a19 100644 --- a/keyboards/kkatano/bakeneko60/info.json +++ b/keyboards/kkatano/bakeneko60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xCBDC", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/kkatano/bakeneko60/rules.mk b/keyboards/kkatano/bakeneko60/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/kkatano/bakeneko60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kkatano/bakeneko65/rev2/info.json b/keyboards/kkatano/bakeneko65/rev2/keyboard.json similarity index 98% rename from keyboards/kkatano/bakeneko65/rev2/info.json rename to keyboards/kkatano/bakeneko65/rev2/keyboard.json index fa20fc0fe2a..92193e52dbb 100644 --- a/keyboards/kkatano/bakeneko65/rev2/info.json +++ b/keyboards/kkatano/bakeneko65/rev2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4C82", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/kkatano/bakeneko65/rev2/rules.mk b/keyboards/kkatano/bakeneko65/rev2/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/kkatano/bakeneko65/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kkatano/bakeneko65/rev3/info.json b/keyboards/kkatano/bakeneko65/rev3/keyboard.json similarity index 99% rename from keyboards/kkatano/bakeneko65/rev3/info.json rename to keyboards/kkatano/bakeneko65/rev3/keyboard.json index d819d2e95a3..d0717c1893d 100644 --- a/keyboards/kkatano/bakeneko65/rev3/info.json +++ b/keyboards/kkatano/bakeneko65/rev3/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4C83", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/kkatano/bakeneko65/rev3/rules.mk b/keyboards/kkatano/bakeneko65/rev3/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/kkatano/bakeneko65/rev3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kkatano/bakeneko80/info.json b/keyboards/kkatano/bakeneko80/keyboard.json similarity index 97% rename from keyboards/kkatano/bakeneko80/info.json rename to keyboards/kkatano/bakeneko80/keyboard.json index 3549a3e8c79..ee005086c3b 100644 --- a/keyboards/kkatano/bakeneko80/info.json +++ b/keyboards/kkatano/bakeneko80/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8DEF", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["E6", "B0", "B1", "B7", "D1", "D0"] diff --git a/keyboards/kkatano/bakeneko80/rules.mk b/keyboards/kkatano/bakeneko80/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/kkatano/bakeneko80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kkatano/wallaby/info.json b/keyboards/kkatano/wallaby/keyboard.json similarity index 97% rename from keyboards/kkatano/wallaby/info.json rename to keyboards/kkatano/wallaby/keyboard.json index 6939509fac7..e7c76c46a0a 100644 --- a/keyboards/kkatano/wallaby/info.json +++ b/keyboards/kkatano/wallaby/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5967", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "C7", "C6", "D4", "D0", "E6", "F0", "F1", "F4", "F5", "F6", "F7", "D7", "D6", "D1", "D2", "D3"], "rows": ["B5", "B4", "B3", "B2", "B1", "B0"] diff --git a/keyboards/kkatano/wallaby/rules.mk b/keyboards/kkatano/wallaby/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/kkatano/wallaby/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kkatano/yurei/info.json b/keyboards/kkatano/yurei/keyboard.json similarity index 97% rename from keyboards/kkatano/yurei/info.json rename to keyboards/kkatano/yurei/keyboard.json index 20430f84903..32490148465 100644 --- a/keyboards/kkatano/yurei/info.json +++ b/keyboards/kkatano/yurei/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5D5E", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "C7", "C6", "D4", "D0", "E6", "F0", "F1", "F4", "F5", "F6", "F7", "D7", "D6", "D1", "D2", "D3"], "rows": ["B5", "B4", "B3", "B2", "B1", "B0"] diff --git a/keyboards/kkatano/yurei/rules.mk b/keyboards/kkatano/yurei/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/kkatano/yurei/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/knobgoblin/info.json b/keyboards/knobgoblin/keyboard.json similarity index 89% rename from keyboards/knobgoblin/info.json rename to keyboards/knobgoblin/keyboard.json index bdf826777d5..8494eea4659 100644 --- a/keyboards/knobgoblin/info.json +++ b/keyboards/knobgoblin/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "oled": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6"], "rows": ["D4", "B6", "B2", "B3", "B1"] diff --git a/keyboards/knobgoblin/rules.mk b/keyboards/knobgoblin/rules.mk deleted file mode 100644 index 41cfa4949a4..00000000000 --- a/keyboards/knobgoblin/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/knops/mini/info.json b/keyboards/knops/mini/keyboard.json similarity index 82% rename from keyboards/knops/mini/info.json rename to keyboards/knops/mini/keyboard.json index fc6e8053c38..721e3d7b36b 100644 --- a/keyboards/knops/mini/info.json +++ b/keyboards/knops/mini/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x9460", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["D0"] diff --git a/keyboards/knops/mini/rules.mk b/keyboards/knops/mini/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/knops/mini/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kona_classic/info.json b/keyboards/kona_classic/keyboard.json similarity index 99% rename from keyboards/kona_classic/info.json rename to keyboards/kona_classic/keyboard.json index 7202c358696..01388f363a8 100644 --- a/keyboards/kona_classic/info.json +++ b/keyboards/kona_classic/keyboard.json @@ -29,6 +29,14 @@ "ws2812": { "pin": "B2" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F4", "B5", "B4", "D7", "D6", "B0", "B1", "B3", "D2", "B7", "D0", "D1", "D3", "C6", "C7"], "rows": ["F1", "F5", "F6", "F7", "B6"] diff --git a/keyboards/kona_classic/rules.mk b/keyboards/kona_classic/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/kona_classic/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kopibeng/mnk65/info.json b/keyboards/kopibeng/mnk65/keyboard.json similarity index 99% rename from keyboards/kopibeng/mnk65/info.json rename to keyboards/kopibeng/mnk65/keyboard.json index 49944100cf7..24113c3ce51 100644 --- a/keyboards/kopibeng/mnk65/info.json +++ b/keyboards/kopibeng/mnk65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0651", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "F5"], "rows": ["B3", "D0", "F6", "F4", "F1"] diff --git a/keyboards/kopibeng/mnk65/rules.mk b/keyboards/kopibeng/mnk65/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/kopibeng/mnk65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kopibeng/mnk88/info.json b/keyboards/kopibeng/mnk88/keyboard.json similarity index 99% rename from keyboards/kopibeng/mnk88/info.json rename to keyboards/kopibeng/mnk88/keyboard.json index 67ef66c6479..8a63d6562b0 100644 --- a/keyboards/kopibeng/mnk88/info.json +++ b/keyboards/kopibeng/mnk88/keyboard.json @@ -25,6 +25,15 @@ "rgb_test": true } }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A2", "A1", "A0", "B11", "B10", "B2", "F1", "B1", "B0", "A7", "A6", "A5", "F0", "A4", "C15", "C14", "C13"], "rows": ["A8", "B15", "A9", "B12", "A3", "B14"] diff --git a/keyboards/kopibeng/mnk88/rules.mk b/keyboards/kopibeng/mnk88/rules.mk deleted file mode 100644 index 65bc2097f51..00000000000 --- a/keyboards/kopibeng/mnk88/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Enable Encoder - diff --git a/keyboards/kopibeng/typ65/info.json b/keyboards/kopibeng/typ65/keyboard.json similarity index 99% rename from keyboards/kopibeng/typ65/info.json rename to keyboards/kopibeng/typ65/keyboard.json index d142f099d84..c2598cadcb6 100644 --- a/keyboards/kopibeng/typ65/info.json +++ b/keyboards/kopibeng/typ65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x065E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F5", "F4", "F1", "F0", "E6"], "rows": ["D0", "D1", "D2", "F6", "B0"] diff --git a/keyboards/kopibeng/typ65/rules.mk b/keyboards/kopibeng/typ65/rules.mk deleted file mode 100644 index 76764d6e0d9..00000000000 --- a/keyboards/kopibeng/typ65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Enable Encoder \ No newline at end of file diff --git a/keyboards/kopibeng/xt60/info.json b/keyboards/kopibeng/xt60/keyboard.json similarity index 99% rename from keyboards/kopibeng/xt60/info.json rename to keyboards/kopibeng/xt60/keyboard.json index 2eefea13108..70b5a06ab4e 100644 --- a/keyboards/kopibeng/xt60/info.json +++ b/keyboards/kopibeng/xt60/keyboard.json @@ -24,6 +24,15 @@ "ws2812": { "pin": "F6" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F5", "F1", "F0", "C6", "B6", "B5", "B4", "D7", "D6", "D5", "D3", "D2", "D1"], "rows": ["F7", "F4", "D0", "B3", "B7"] diff --git a/keyboards/kopibeng/xt60/rules.mk b/keyboards/kopibeng/xt60/rules.mk deleted file mode 100644 index 0b221b7e17a..00000000000 --- a/keyboards/kopibeng/xt60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/kopibeng/xt60_singa/info.json b/keyboards/kopibeng/xt60_singa/keyboard.json similarity index 99% rename from keyboards/kopibeng/xt60_singa/info.json rename to keyboards/kopibeng/xt60_singa/keyboard.json index 7ccfee941d0..844d9b7aca6 100644 --- a/keyboards/kopibeng/xt60_singa/info.json +++ b/keyboards/kopibeng/xt60_singa/keyboard.json @@ -24,6 +24,15 @@ "ws2812": { "pin": "F6" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F5", "F1", "F0", "C6", "B6", "B5", "B4", "D7", "D6", "D5", "D3", "D2", "D1"], "rows": ["F7", "F4", "D0", "B3", "B7"] diff --git a/keyboards/kopibeng/xt60_singa/rules.mk b/keyboards/kopibeng/xt60_singa/rules.mk deleted file mode 100644 index 0b221b7e17a..00000000000 --- a/keyboards/kopibeng/xt60_singa/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/kopibeng/xt65/info.json b/keyboards/kopibeng/xt65/keyboard.json similarity index 98% rename from keyboards/kopibeng/xt65/info.json rename to keyboards/kopibeng/xt65/keyboard.json index d761667b9dd..f5d53e0af42 100644 --- a/keyboards/kopibeng/xt65/info.json +++ b/keyboards/kopibeng/xt65/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0650", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "B6", "C6", "C7", "F0", "F1", "F4", "F5", "F6", "F7", "B2", "B3", "B7"], "rows": ["B5", "B4", "D7", "D6", "D4"] diff --git a/keyboards/kopibeng/xt65/rules.mk b/keyboards/kopibeng/xt65/rules.mk deleted file mode 100644 index 45377383806..00000000000 --- a/keyboards/kopibeng/xt65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kopibeng/xt8x/info.json b/keyboards/kopibeng/xt8x/keyboard.json similarity index 99% rename from keyboards/kopibeng/xt8x/info.json rename to keyboards/kopibeng/xt8x/keyboard.json index 882dc0521aa..379ca9ee679 100644 --- a/keyboards/kopibeng/xt8x/info.json +++ b/keyboards/kopibeng/xt8x/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x8788", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A2", "A1", "A0", "B11", "B10", "B2", "F1", "B1", "B0", "A7", "A6", "A5", "F0", "A4", "C15", "C14", "C13"], "rows": ["A8", "B15", "A9", "B12", "A3", "B14"] diff --git a/keyboards/kopibeng/xt8x/rules.mk b/keyboards/kopibeng/xt8x/rules.mk deleted file mode 100644 index 65bc2097f51..00000000000 --- a/keyboards/kopibeng/xt8x/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Enable Encoder - diff --git a/keyboards/kprepublic/bm16s/info.json b/keyboards/kprepublic/bm16s/keyboard.json similarity index 89% rename from keyboards/kprepublic/bm16s/info.json rename to keyboards/kprepublic/bm16s/keyboard.json index de0d51cc4b2..c1dce5d3009 100644 --- a/keyboards/kprepublic/bm16s/info.json +++ b/keyboards/kprepublic/bm16s/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "E2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "D4", "D6"], "rows": ["D1", "D0", "D3", "D2"] diff --git a/keyboards/kprepublic/bm16s/rules.mk b/keyboards/kprepublic/bm16s/rules.mk deleted file mode 100755 index 483ffc81068..00000000000 --- a/keyboards/kprepublic/bm16s/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/info.json b/keyboards/kprepublic/bm40hsrgb/rev1/keyboard.json similarity index 95% rename from keyboards/kprepublic/bm40hsrgb/rev1/info.json rename to keyboards/kprepublic/bm40hsrgb/rev1/keyboard.json index c50ac648d04..83da66a0a1c 100644 --- a/keyboards/kprepublic/bm40hsrgb/rev1/info.json +++ b/keyboards/kprepublic/bm40hsrgb/rev1/keyboard.json @@ -64,6 +64,15 @@ "rgblight": { "max_brightness": 180 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B6", "C6", "B4", "D7", "D4", "D6", "C7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B3", "B2", "E6", "B5"] diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/rules.mk b/keyboards/kprepublic/bm40hsrgb/rev1/rules.mk deleted file mode 100755 index b0daa10a9ce..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/kprepublic/bm43a/info.json b/keyboards/kprepublic/bm43a/keyboard.json similarity index 94% rename from keyboards/kprepublic/bm43a/info.json rename to keyboards/kprepublic/bm43a/keyboard.json index 041da2164d1..79c089c68cf 100644 --- a/keyboards/kprepublic/bm43a/info.json +++ b/keyboards/kprepublic/bm43a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["D1", "F4", "F1", "F0"] diff --git a/keyboards/kprepublic/bm43a/rules.mk b/keyboards/kprepublic/bm43a/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/kprepublic/bm43a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kprepublic/bm43hsrgb/info.json b/keyboards/kprepublic/bm43hsrgb/keyboard.json similarity index 94% rename from keyboards/kprepublic/bm43hsrgb/info.json rename to keyboards/kprepublic/bm43hsrgb/keyboard.json index 93821f3b53e..9fa40bdd9cc 100755 --- a/keyboards/kprepublic/bm43hsrgb/info.json +++ b/keyboards/kprepublic/bm43hsrgb/keyboard.json @@ -29,6 +29,15 @@ "alternating": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "D2", "D1", "D0", "D7", "D6", "D4", "D5", "D3", "B7", "B3", "B2"], "rows": ["E6", "B6", "B4", "B5"] diff --git a/keyboards/kprepublic/bm43hsrgb/rules.mk b/keyboards/kprepublic/bm43hsrgb/rules.mk deleted file mode 100755 index f8265c4c244..00000000000 --- a/keyboards/kprepublic/bm43hsrgb/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -KEY_LOCK_ENABLE = no diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keyboard.json similarity index 96% rename from keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json rename to keyboards/kprepublic/bm60hsrgb_poker/rev1/keyboard.json index 5840054b8cf..d7923b84320 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keyboard.json @@ -78,6 +78,15 @@ "twinkle": true } }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], "rows": ["B0", "B1", "B2", "B3", "E6"] diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/rules.mk b/keyboards/kprepublic/bm60hsrgb_poker/rev1/rules.mk deleted file mode 100644 index 7b60a214125..00000000000 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/kprepublic/cospad/info.json b/keyboards/kprepublic/cospad/keyboard.json similarity index 97% rename from keyboards/kprepublic/cospad/info.json rename to keyboards/kprepublic/cospad/keyboard.json index 02551a2f46f..233e258e1d7 100644 --- a/keyboards/kprepublic/cospad/info.json +++ b/keyboards/kprepublic/cospad/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xB1E5", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7"], "rows": ["D0", "D1", "D2", "D3", "D4", "D5"] diff --git a/keyboards/kprepublic/cospad/rules.mk b/keyboards/kprepublic/cospad/rules.mk deleted file mode 100644 index 1955f1d315b..00000000000 --- a/keyboards/kprepublic/cospad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/keyboard.json similarity index 89% rename from keyboards/kprepublic/jj4x4/info.json rename to keyboards/kprepublic/jj4x4/keyboard.json index 5fc9c493430..2f53db2e88e 100644 --- a/keyboards/kprepublic/jj4x4/info.json +++ b/keyboards/kprepublic/jj4x4/keyboard.json @@ -9,6 +9,16 @@ "device_version": "2.0.0", "max_power": 100 }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A1", "A0", "A2", "A3"], "rows": ["B5", "B0", "B3", "B4"] diff --git a/keyboards/kprepublic/jj4x4/rules.mk b/keyboards/kprepublic/jj4x4/rules.mk deleted file mode 100644 index 5b9cc80e47a..00000000000 --- a/keyboards/kprepublic/jj4x4/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ktec/daisy/info.json b/keyboards/ktec/daisy/keyboard.json similarity index 96% rename from keyboards/ktec/daisy/info.json rename to keyboards/ktec/daisy/keyboard.json index 32a289dace2..3d230b03f48 100644 --- a/keyboards/ktec/daisy/info.json +++ b/keyboards/ktec/daisy/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xD7DC", "device_version": "5.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6"], "rows": ["D2", "D3", "D5", "B7"] diff --git a/keyboards/ktec/daisy/rules.mk b/keyboards/ktec/daisy/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/ktec/daisy/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ktec/staryu/info.json b/keyboards/ktec/staryu/keyboard.json similarity index 85% rename from keyboards/ktec/staryu/info.json rename to keyboards/ktec/staryu/keyboard.json index ec29a53168f..a2799703be5 100644 --- a/keyboards/ktec/staryu/info.json +++ b/keyboards/ktec/staryu/keyboard.json @@ -37,6 +37,16 @@ }, "processor": "atmega32u2", "bootloader": "lufa-dfu", + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "direct": [ [null, "D0", "D1"], diff --git a/keyboards/ktec/staryu/rules.mk b/keyboards/ktec/staryu/rules.mk deleted file mode 100755 index 8a6e2c7b715..00000000000 --- a/keyboards/ktec/staryu/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kv/revt/info.json b/keyboards/kv/revt/keyboard.json similarity index 97% rename from keyboards/kv/revt/info.json rename to keyboards/kv/revt/keyboard.json index 7697f2acbc0..c54a4ba537c 100644 --- a/keyboards/kv/revt/info.json +++ b/keyboards/kv/revt/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6520", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "B6", "B5", "B4", "B3", "B2", "B14", "B1", "B15", "B0", "B9", "B10", "B11", "B12", "A14", "A13", "A4", "A5", "A7", "A8", "A15"], "rows": ["A6", "B13", "B8", "A0", "A1", "A2"] diff --git a/keyboards/kv/revt/rules.mk b/keyboards/kv/revt/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/kv/revt/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/kwub/bloop/info.json b/keyboards/kwub/bloop/keyboard.json similarity index 98% rename from keyboards/kwub/bloop/info.json rename to keyboards/kwub/bloop/keyboard.json index d0a45bccfc4..b482b571be3 100644 --- a/keyboards/kwub/bloop/info.json +++ b/keyboards/kwub/bloop/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B4", "B5", "B6", "F6", "F1", "F7", "F0", "B0", "B7", "D3", "D2", "D1", "D5", "D4", "D6"], "rows": ["F5", "F4", "C6", "C7", "D7"] diff --git a/keyboards/kwub/bloop/rules.mk b/keyboards/kwub/bloop/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/kwub/bloop/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ky01/info.json b/keyboards/ky01/keyboard.json similarity index 96% rename from keyboards/ky01/info.json rename to keyboards/ky01/keyboard.json index 3439c6d768a..b9e4eeef70f 100644 --- a/keyboards/ky01/info.json +++ b/keyboards/ky01/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4B59", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B3", "B7", "D0", "D1", "D2", "D3", "D5", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6"], "rows": ["E6", "B5", "B4", "D7", "D4", "D6"] diff --git a/keyboards/ky01/rules.mk b/keyboards/ky01/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/ky01/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output From 80b72487ce053f128817c5d4c625a63cb3cf9c10 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 01:42:33 +0000 Subject: [PATCH 090/107] Migrate features from rules.mk to data drive - LMN (#23277) --- .../labbeminiv1/{info.json => keyboard.json} | 8 ++++++++ keyboards/labbe/labbeminiv1/rules.mk | 12 ------------ .../labyrinth75/{info.json => keyboard.json} | 9 +++++++++ keyboards/labyrinth75/rules.mk | 12 ------------ .../laneware/lpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/laneware/lpad/rules.mk | 14 -------------- .../laneware/lw67/{info.json => keyboard.json} | 9 +++++++++ keyboards/laneware/lw67/rules.mk | 13 ------------- .../laneware/lw75/{info.json => keyboard.json} | 9 +++++++++ keyboards/laneware/lw75/rules.mk | 13 ------------- .../macro1/{info.json => keyboard.json} | 9 +++++++++ keyboards/laneware/macro1/rules.mk | 13 ------------- .../latin60rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/latincompass/latin60rgb/rules.mk | 13 ------------- .../latinpad/{info.json => keyboard.json} | 11 +++++++++++ keyboards/latincompass/latinpad/rules.mk | 15 --------------- .../bolt/{info.json => keyboard.json} | 9 +++++++++ keyboards/lazydesigners/bolt/rules.mk | 12 ------------ .../cassette8/{info.json => keyboard.json} | 9 +++++++++ keyboards/lazydesigners/cassette8/rules.mk | 12 ------------ .../dimpleplus/{info.json => keyboard.json} | 10 ++++++++++ keyboards/lazydesigners/dimpleplus/rules.mk | 13 ------------- .../the30/{info.json => keyboard.json} | 9 +++++++++ keyboards/lazydesigners/the30/rules.mk | 12 ------------ .../the40/{info.json => keyboard.json} | 10 ++++++++++ keyboards/lazydesigners/the40/rules.mk | 12 ------------ .../the50/{info.json => keyboard.json} | 8 ++++++++ keyboards/lazydesigners/the50/rules.mk | 11 ----------- .../the60/rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/lazydesigners/the60/rev1/rules.mk | 10 ---------- .../the60/rev2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/lazydesigners/the60/rev2/rules.mk | 12 ------------ .../bigknob/{info.json => keyboard.json} | 10 ++++++++++ keyboards/leafcutterlabs/bigknob/rules.mk | 13 ------------- .../finger65/{info.json => keyboard.json} | 8 ++++++++ keyboards/leeku/finger65/rules.mk | 9 --------- .../lfkpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/lfkeyboards/lfkpad/rules.mk | 11 ----------- .../dolice/{info.json => keyboard.json} | 9 +++++++++ keyboards/linworks/dolice/rules.mk | 12 ------------ .../fave104/{info.json => keyboard.json} | 9 +++++++++ keyboards/linworks/fave104/rules.mk | 14 -------------- .../fave87/{info.json => keyboard.json} | 10 ++++++++++ keyboards/linworks/fave87/rules.mk | 11 ----------- .../whale75/{info.json => keyboard.json} | 11 +++++++++++ keyboards/linworks/whale75/rules.mk | 14 -------------- .../mute/{info.json => keyboard.json} | 9 +++++++++ keyboards/littlealby/mute/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 9 +++++++++ .../lizard_trick/tenkey_plusplus/rules.mk | 13 ------------- .../bongopad/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ll3macorn/bongopad/rules.mk | 15 --------------- .../lm60n/{info.json => keyboard.json} | 9 +++++++++ keyboards/lm_keyboard/lm60n/rules.mk | 12 ------------ .../corin/{info.json => keyboard.json} | 9 +++++++++ keyboards/longnald/corin/rules.mk | 12 ------------ .../lyso1/lefishe/{info.json => keyboard.json} | 9 +++++++++ keyboards/lyso1/lefishe/rules.mk | 14 -------------- keyboards/m10a/{info.json => keyboard.json} | 10 ++++++++++ keyboards/m10a/rules.mk | 14 -------------- .../m4_a/{info.json => keyboard.json} | 8 ++++++++ keyboards/machine_industries/m4_a/rules.mk | 12 ------------ .../mach3/{info.json => keyboard.json} | 10 ++++++++++ keyboards/machkeyboards/mach3/rules.mk | 13 ------------- .../mf34/{info.json => keyboard.json} | 9 +++++++++ keyboards/magic_force/mf34/rules.mk | 11 ----------- .../makeymakey/{info.json => keyboard.json} | 8 ++++++++ keyboards/makeymakey/rules.mk | 12 ------------ keyboards/makrosu/{info.json => keyboard.json} | 9 +++++++++ keyboards/makrosu/rules.mk | 13 ------------- .../macro/{info.json => keyboard.json} | 10 ++++++++++ keyboards/manyboard/macro/rules.mk | 13 ------------- .../6ball/{info.json => keyboard.json} | 10 ++++++++++ keyboards/maple_computing/6ball/rules.mk | 13 ------------- .../c39/{info.json => keyboard.json} | 8 ++++++++ keyboards/maple_computing/c39/rules.mk | 12 ------------ .../the_ruler/{info.json => keyboard.json} | 9 +++++++++ keyboards/maple_computing/the_ruler/rules.mk | 12 ------------ .../leftover30/{info.json => keyboard.json} | 9 +++++++++ keyboards/marksard/leftover30/rules.mk | 12 ------------ .../rev_a/{info.json => keyboard.json} | 8 ++++++++ .../masterworks/classy_tkl/rev_a/rules.mk | 12 ------------ .../cain_re/{info.json => keyboard.json} | 9 +++++++++ keyboards/matrix/cain_re/rules.mk | 12 ------------ .../matrix/falcon/{info.json => keyboard.json} | 9 +++++++++ keyboards/matrix/falcon/rules.mk | 12 ------------ .../m12og/rev2/{info.json => keyboard.json} | 9 +++++++++ keyboards/matrix/m12og/rev2/rules.mk | 12 ------------ .../matrix/me/{info.json => keyboard.json} | 9 +++++++++ keyboards/matrix/me/rules.mk | 12 ------------ .../m3n3van/{info.json => keyboard.json} | 9 +++++++++ keyboards/matthewdias/m3n3van/rules.mk | 13 ------------- .../minim/{info.json => keyboard.json} | 8 ++++++++ keyboards/matthewdias/minim/rules.mk | 12 ------------ .../model_v/{info.json => keyboard.json} | 8 ++++++++ keyboards/matthewdias/model_v/rules.mk | 12 ------------ .../txuu/{info.json => keyboard.json} | 8 ++++++++ keyboards/matthewdias/txuu/rules.mk | 12 ------------ .../pulse4k/{info.json => keyboard.json} | 10 ++++++++++ keyboards/maxr1998/pulse4k/rules.mk | 13 ------------- keyboards/mb44/{info.json => keyboard.json} | 9 +++++++++ keyboards/mb44/rules.mk | 13 ------------- keyboards/mc_76k/{info.json => keyboard.json} | 8 ++++++++ keyboards/mc_76k/rules.mk | 12 ------------ .../miniashen40/{info.json => keyboard.json} | 8 ++++++++ keyboards/mechanickeys/miniashen40/rules.mk | 12 ------------ .../acr60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechkeys/acr60/rules.mk | 12 ------------ .../alu84/{info.json => keyboard.json} | 11 +++++++++++ keyboards/mechkeys/alu84/rules.mk | 13 ------------- .../espectro/{info.json => keyboard.json} | 11 +++++++++++ keyboards/mechkeys/espectro/rules.mk | 13 ------------- .../mechkeys/mk60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechkeys/mk60/rules.mk | 12 ------------ .../foundation/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechlovin/foundation/rules.mk | 13 ------------- .../hex6c/{info.json => keyboard.json} | 9 +++++++++ keyboards/mechlovin/hex6c/rules.mk | 11 ----------- .../infinity88/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechlovin/infinity88/rules.mk | 11 ----------- .../infinityce/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechlovin/infinityce/rules.mk | 12 ------------ .../kanu/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechlovin/kanu/rules.mk | 12 ------------ .../kay60/{info.json => keyboard.json} | 9 +++++++++ keyboards/mechlovin/kay60/rules.mk | 12 ------------ .../kay65/{info.json => keyboard.json} | 9 +++++++++ keyboards/mechlovin/kay65/rules.mk | 12 ------------ .../olly/orion/{info.json => keyboard.json} | 9 +++++++++ keyboards/mechlovin/olly/orion/rules.mk | 13 ------------- .../pisces/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechlovin/pisces/rules.mk | 12 ------------ .../tmkl/{info.json => keyboard.json} | 9 +++++++++ keyboards/mechlovin/tmkl/rules.mk | 11 ----------- .../zed60/{info.json => keyboard.json} | 9 +++++++++ keyboards/mechlovin/zed60/rules.mk | 12 ------------ .../dawn/{info.json => keyboard.json} | 8 ++++++++ keyboards/mechstudio/dawn/rules.mk | 12 ------------ .../mercutio/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mechwild/mercutio/rules.mk | 14 -------------- .../murphpad/{info.json => keyboard.json} | 11 +++++++++++ keyboards/mechwild/murphpad/rules.mk | 14 -------------- .../mehkee96/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mehkee96/rules.mk | 10 ---------- .../zoom65/{info.json => keyboard.json} | 9 +++++++++ keyboards/meletrix/zoom65/rules.mk | 13 ------------- .../zoom65_lite/{info.json => keyboard.json} | 9 +++++++++ keyboards/meletrix/zoom65_lite/rules.mk | 13 ------------- .../zoom87/{info.json => keyboard.json} | 9 +++++++++ keyboards/meletrix/zoom87/rules.mk | 12 ------------ .../mj6xy/rev3/{info.json => keyboard.json} | 10 ++++++++++ keyboards/melgeek/mj6xy/rev3/rules.mk | 12 ------------ keyboards/meme/{info.json => keyboard.json} | 8 ++++++++ keyboards/meme/rules.mk | 11 ----------- keyboards/meow48/{info.json => keyboard.json} | 10 ++++++++++ keyboards/meow48/rules.mk | 13 ------------- keyboards/meow65/{info.json => keyboard.json} | 8 ++++++++ keyboards/meow65/rules.mk | 12 ------------ .../iso_macro/{info.json => keyboard.json} | 10 ++++++++++ keyboards/merge/iso_macro/rules.mk | 13 ------------- .../merge/uc1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/merge/uc1/rules.mk | 13 ------------- .../mesa/mesa_tkl/{info.json => keyboard.json} | 8 ++++++++ keyboards/mesa/mesa_tkl/rules.mk | 12 ------------ .../mikeneko65/{info.json => keyboard.json} | 8 ++++++++ keyboards/mikeneko65/rules.mk | 12 ------------ .../millipad/{info.json => keyboard.json} | 9 +++++++++ keyboards/millipad/rules.mk | 13 ------------- .../mini_elixivy/{info.json => keyboard.json} | 9 +++++++++ keyboards/mini_elixivy/rules.mk | 13 ------------- .../{info.json => keyboard.json} | 9 +++++++++ keyboards/mini_ten_key_plus/rules.mk | 13 ------------- .../minimacro5/{info.json => keyboard.json} | 10 ++++++++++ keyboards/minimacro5/rules.mk | 13 ------------- .../index_tab/{info.json => keyboard.json} | 9 +++++++++ keyboards/minimon/index_tab/rules.mk | 12 ------------ .../chocolatebar/{info.json => keyboard.json} | 10 ++++++++++ keyboards/misonoworks/chocolatebar/rules.mk | 14 -------------- .../karina/{info.json => keyboard.json} | 10 ++++++++++ keyboards/misonoworks/karina/rules.mk | 13 ------------- .../knife66/{info.json => keyboard.json} | 9 +++++++++ keyboards/misterknife/knife66/rules.mk | 13 ------------- .../knife66_iso/{info.json => keyboard.json} | 9 +++++++++ keyboards/misterknife/knife66_iso/rules.mk | 13 ------------- keyboards/miuni32/{info.json => keyboard.json} | 9 +++++++++ keyboards/miuni32/rules.mk | 12 ------------ keyboards/mixi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mixi/rules.mk | 13 ------------- .../ml/gas75/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ml/gas75/rules.mk | 18 ------------------ .../m48/rev1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mlego/m48/rev1/rules.mk | 13 ------------- .../m60/rev1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mlego/m60/rev1/rules.mk | 14 -------------- .../mmkzoo65/{info.json => keyboard.json} | 8 ++++++++ keyboards/mmkzoo65/rules.mk | 13 ------------- keyboards/mntre/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mntre/rules.mk | 13 ------------- .../m65ha_alpha/{info.json => keyboard.json} | 8 ++++++++ keyboards/mode/m65ha_alpha/rules.mk | 12 ------------ .../m65hi_alpha/{info.json => keyboard.json} | 8 ++++++++ keyboards/mode/m65hi_alpha/rules.mk | 12 ------------ .../mode/m65s/{info.json => keyboard.json} | 8 ++++++++ keyboards/mode/m65s/rules.mk | 12 ------------ .../m80v1/m80h/{info.json => keyboard.json} | 8 ++++++++ keyboards/mode/m80v1/m80h/rules.mk | 13 ------------- .../m80v1/m80s/{info.json => keyboard.json} | 8 ++++++++ keyboards/mode/m80v1/m80s/rules.mk | 13 ------------- .../m80v2/m80v2h/{info.json => keyboard.json} | 8 ++++++++ keyboards/mode/m80v2/m80v2h/rules.mk | 13 ------------- .../m80v2/m80v2s/{info.json => keyboard.json} | 8 ++++++++ keyboards/mode/m80v2/m80v2s/rules.mk | 13 ------------- .../ginkgo65/{info.json => keyboard.json} | 9 +++++++++ keyboards/mokey/ginkgo65/rules.mk | 12 ------------ .../ginkgo65hot/{info.json => keyboard.json} | 9 +++++++++ keyboards/mokey/ginkgo65hot/rules.mk | 12 ------------ .../mokey/ibis80/{info.json => keyboard.json} | 8 ++++++++ keyboards/mokey/ibis80/rules.mk | 12 ------------ .../mokey/mokey63/{info.json => keyboard.json} | 8 ++++++++ keyboards/mokey/mokey63/rules.mk | 12 ------------ .../mokey/mokey64/{info.json => keyboard.json} | 8 ++++++++ keyboards/mokey/mokey64/rules.mk | 12 ------------ .../mokey/xox70/{info.json => keyboard.json} | 8 ++++++++ keyboards/mokey/xox70/rules.mk | 12 ------------ .../xox70hot/{info.json => keyboard.json} | 8 ++++++++ keyboards/mokey/xox70hot/rules.mk | 12 ------------ keyboards/monarch/{info.json => keyboard.json} | 11 +++++++++++ keyboards/monarch/rules.mk | 15 --------------- .../xo87/rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/monstargear/xo87/rgb/rules.mk | 14 -------------- .../solderable/{info.json => keyboard.json} | 10 ++++++++++ keyboards/monstargear/xo87/solderable/rules.mk | 12 ------------ .../rewind/{info.json => keyboard.json} | 8 ++++++++ keyboards/montsinger/rewind/rules.mk | 12 ------------ keyboards/morizon/{info.json => keyboard.json} | 8 ++++++++ keyboards/morizon/rules.mk | 12 ------------ .../mb17/{info.json => keyboard.json} | 8 ++++++++ keyboards/mountainblocks/mb17/rules.mk | 12 ------------ .../m63_rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/mss_studio/m63_rgb/rules.mk | 15 --------------- .../m64_rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/mss_studio/m64_rgb/rules.mk | 15 --------------- .../mt/blocked65/{info.json => keyboard.json} | 9 +++++++++ keyboards/mt/blocked65/rules.mk | 12 ------------ keyboards/mt/mt40/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mt/mt40/rules.mk | 12 ------------ .../mt/mt980/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mt/mt980/rules.mk | 13 ------------- .../mtb60/hotswap/{info.json => keyboard.json} | 9 +++++++++ keyboards/mtbkeys/mtb60/hotswap/rules.mk | 12 ------------ .../mtb60/solder/{info.json => keyboard.json} | 9 +++++++++ keyboards/mtbkeys/mtb60/solder/rules.mk | 12 ------------ .../alicekk/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mwstudio/alicekk/rules.mk | 15 --------------- .../mw65_black/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mwstudio/mw65_black/rules.mk | 13 ------------- .../mw65_rgb/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mwstudio/mw65_rgb/rules.mk | 16 ---------------- .../mwstudio/mw75/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mwstudio/mw75/rules.mk | 14 -------------- .../mw75r2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/mwstudio/mw75r2/rules.mk | 14 -------------- .../wyvern/{info.json => keyboard.json} | 8 ++++++++ keyboards/mysticworks/wyvern/rules.mk | 12 ------------ .../nacly/ua62/{info.json => keyboard.json} | 8 ++++++++ keyboards/nacly/ua62/rules.mk | 12 ------------ .../ncc1701kb/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ncc1701kb/rules.mk | 14 -------------- keyboards/neito/{info.json => keyboard.json} | 11 +++++++++++ keyboards/neito/rules.mk | 13 ------------- keyboards/nemui/{info.json => keyboard.json} | 8 ++++++++ keyboards/nemui/rules.mk | 13 ------------- .../element_hs/{info.json => keyboard.json} | 10 ++++++++++ keyboards/neokeys/g67/element_hs/rules.mk | 14 -------------- .../g67/hotswap/{info.json => keyboard.json} | 10 ++++++++++ keyboards/neokeys/g67/hotswap/rules.mk | 14 -------------- .../g67/soldered/{info.json => keyboard.json} | 10 ++++++++++ keyboards/neokeys/g67/soldered/rules.mk | 12 ------------ .../newgame40/{info.json => keyboard.json} | 10 ++++++++++ keyboards/newgame40/rules.mk | 14 -------------- .../stream15/{info.json => keyboard.json} | 8 ++++++++ keyboards/nibiria/stream15/rules.mk | 13 ------------- .../hailey/{info.json => keyboard.json} | 9 +++++++++ keyboards/nightingale_studios/hailey/rules.mk | 13 ------------- .../alter/rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/nightly_boards/alter/rev1/rules.mk | 12 ------------ .../alter_lite/{info.json => keyboard.json} | 8 ++++++++ keyboards/nightly_boards/alter_lite/rules.mk | 11 ----------- .../daily60/{info.json => keyboard.json} | 8 ++++++++ keyboards/nightly_boards/daily60/rules.mk | 11 ----------- .../jisoo/{info.json => keyboard.json} | 8 ++++++++ keyboards/nightly_boards/jisoo/rules.mk | 11 ----------- .../n2/{info.json => keyboard.json} | 9 +++++++++ keyboards/nightly_boards/n2/rules.mk | 12 ------------ .../n87/{info.json => keyboard.json} | 10 ++++++++++ keyboards/nightly_boards/n87/rules.mk | 13 ------------- .../n9/{info.json => keyboard.json} | 9 +++++++++ keyboards/nightly_boards/n9/rules.mk | 11 ----------- .../octopadplus/{info.json => keyboard.json} | 10 ++++++++++ keyboards/nightly_boards/octopadplus/rules.mk | 13 ------------- .../ph_arisu/{info.json => keyboard.json} | 8 ++++++++ keyboards/nightly_boards/ph_arisu/rules.mk | 12 ------------ .../nightmare/{info.json => keyboard.json} | 8 ++++++++ keyboards/nightmare/rules.mk | 12 ------------ keyboards/nimrod/{info.json => keyboard.json} | 8 ++++++++ keyboards/nimrod/rules.mk | 12 ------------ .../n60_a/{info.json => keyboard.json} | 8 ++++++++ keyboards/nix_studio/n60_a/rules.mk | 14 -------------- .../day_off/{info.json => keyboard.json} | 9 +++++++++ keyboards/nixkeyboards/day_off/rules.mk | 13 ------------- .../v1/{info.json => keyboard.json} | 8 ++++++++ keyboards/nopunin10did/jabberwocky/v1/rules.mk | 12 ------------ .../v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/nopunin10did/jabberwocky/v2/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 9 +++++++++ .../nopunin10did/kastenwagen1840/rules.mk | 14 -------------- .../kastenwagen48/{info.json => keyboard.json} | 9 +++++++++ keyboards/nopunin10did/kastenwagen48/rules.mk | 14 -------------- .../railroad/rev0/{info.json => keyboard.json} | 8 ++++++++ keyboards/nopunin10did/railroad/rev0/rules.mk | 12 ------------ .../novelkeys/nk1/{info.json => keyboard.json} | 9 +++++++++ keyboards/novelkeys/nk1/rules.mk | 12 ------------ .../novelpad/{info.json => keyboard.json} | 10 ++++++++++ keyboards/novelkeys/novelpad/rules.mk | 12 ------------ .../noxary/220/{info.json => keyboard.json} | 9 +++++++++ keyboards/noxary/220/rules.mk | 12 ------------ .../noxary/268/{info.json => keyboard.json} | 9 +++++++++ keyboards/noxary/268/rules.mk | 12 ------------ .../noxary/268_2/{info.json => keyboard.json} | 9 +++++++++ keyboards/noxary/268_2/rules.mk | 12 ------------ .../268_2_rgb/{info.json => keyboard.json} | 10 ++++++++++ keyboards/noxary/268_2_rgb/rules.mk | 12 ------------ .../noxary/280/{info.json => keyboard.json} | 9 +++++++++ keyboards/noxary/280/rules.mk | 12 ------------ .../noxary/378/{info.json => keyboard.json} | 8 ++++++++ keyboards/noxary/378/rules.mk | 13 ------------- .../valhalla/{info.json => keyboard.json} | 8 ++++++++ keyboards/noxary/valhalla/rules.mk | 13 ------------- .../noxary/vulcan/{info.json => keyboard.json} | 8 ++++++++ keyboards/noxary/vulcan/rules.mk | 12 ------------ .../noxary/x268/{info.json => keyboard.json} | 10 ++++++++++ keyboards/noxary/x268/rules.mk | 12 ------------ keyboards/np12/{info.json => keyboard.json} | 9 +++++++++ keyboards/np12/rules.mk | 13 ------------- .../nyhxis/nfr_70/{info.json => keyboard.json} | 8 ++++++++ keyboards/nyhxis/nfr_70/rules.mk | 12 ------------ 346 files changed, 1572 insertions(+), 2173 deletions(-) rename keyboards/labbe/labbeminiv1/{info.json => keyboard.json} (79%) delete mode 100644 keyboards/labbe/labbeminiv1/rules.mk rename keyboards/labyrinth75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/labyrinth75/rules.mk rename keyboards/laneware/lpad/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/laneware/lpad/rules.mk rename keyboards/laneware/lw67/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/laneware/lw67/rules.mk rename keyboards/laneware/lw75/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/laneware/lw75/rules.mk rename keyboards/laneware/macro1/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/laneware/macro1/rules.mk rename keyboards/latincompass/latin60rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/latincompass/latin60rgb/rules.mk rename keyboards/latincompass/latinpad/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/latincompass/latinpad/rules.mk rename keyboards/lazydesigners/bolt/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/lazydesigners/bolt/rules.mk rename keyboards/lazydesigners/cassette8/{info.json => keyboard.json} (87%) delete mode 100755 keyboards/lazydesigners/cassette8/rules.mk rename keyboards/lazydesigners/dimpleplus/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/lazydesigners/dimpleplus/rules.mk rename keyboards/lazydesigners/the30/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/lazydesigners/the30/rules.mk rename keyboards/lazydesigners/the40/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/lazydesigners/the40/rules.mk rename keyboards/lazydesigners/the50/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/lazydesigners/the50/rules.mk rename keyboards/lazydesigners/the60/rev1/{info.json => keyboard.json} (95%) delete mode 100755 keyboards/lazydesigners/the60/rev1/rules.mk rename keyboards/lazydesigners/the60/rev2/{info.json => keyboard.json} (99%) delete mode 100755 keyboards/lazydesigners/the60/rev2/rules.mk rename keyboards/leafcutterlabs/bigknob/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/leafcutterlabs/bigknob/rules.mk rename keyboards/leeku/finger65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/leeku/finger65/rules.mk rename keyboards/lfkeyboards/lfkpad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/lfkeyboards/lfkpad/rules.mk rename keyboards/linworks/dolice/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/linworks/dolice/rules.mk rename keyboards/linworks/fave104/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/linworks/fave104/rules.mk rename keyboards/linworks/fave87/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/linworks/fave87/rules.mk rename keyboards/linworks/whale75/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/linworks/whale75/rules.mk rename keyboards/littlealby/mute/{info.json => keyboard.json} (74%) delete mode 100644 keyboards/littlealby/mute/rules.mk rename keyboards/lizard_trick/tenkey_plusplus/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/lizard_trick/tenkey_plusplus/rules.mk rename keyboards/ll3macorn/bongopad/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/ll3macorn/bongopad/rules.mk rename keyboards/lm_keyboard/lm60n/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/lm_keyboard/lm60n/rules.mk rename keyboards/longnald/corin/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/longnald/corin/rules.mk rename keyboards/lyso1/lefishe/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/lyso1/lefishe/rules.mk rename keyboards/m10a/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/m10a/rules.mk rename keyboards/machine_industries/m4_a/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/machine_industries/m4_a/rules.mk rename keyboards/machkeyboards/mach3/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/machkeyboards/mach3/rules.mk rename keyboards/magic_force/mf34/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/magic_force/mf34/rules.mk rename keyboards/makeymakey/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/makeymakey/rules.mk rename keyboards/makrosu/{info.json => keyboard.json} (83%) delete mode 100644 keyboards/makrosu/rules.mk rename keyboards/manyboard/macro/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/manyboard/macro/rules.mk rename keyboards/maple_computing/6ball/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/maple_computing/6ball/rules.mk rename keyboards/maple_computing/c39/{info.json => keyboard.json} (93%) delete mode 100755 keyboards/maple_computing/c39/rules.mk rename keyboards/maple_computing/the_ruler/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/maple_computing/the_ruler/rules.mk rename keyboards/marksard/leftover30/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/marksard/leftover30/rules.mk rename keyboards/masterworks/classy_tkl/rev_a/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/masterworks/classy_tkl/rev_a/rules.mk rename keyboards/matrix/cain_re/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/matrix/cain_re/rules.mk rename keyboards/matrix/falcon/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/matrix/falcon/rules.mk rename keyboards/matrix/m12og/rev2/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/matrix/m12og/rev2/rules.mk rename keyboards/matrix/me/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/matrix/me/rules.mk rename keyboards/matthewdias/m3n3van/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/matthewdias/m3n3van/rules.mk rename keyboards/matthewdias/minim/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/matthewdias/minim/rules.mk rename keyboards/matthewdias/model_v/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/matthewdias/model_v/rules.mk rename keyboards/matthewdias/txuu/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/matthewdias/txuu/rules.mk rename keyboards/maxr1998/pulse4k/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/maxr1998/pulse4k/rules.mk rename keyboards/mb44/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mb44/rules.mk rename keyboards/mc_76k/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mc_76k/rules.mk rename keyboards/mechanickeys/miniashen40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/mechanickeys/miniashen40/rules.mk rename keyboards/mechkeys/acr60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/mechkeys/acr60/rules.mk rename keyboards/mechkeys/alu84/{info.json => keyboard.json} (95%) delete mode 100755 keyboards/mechkeys/alu84/rules.mk rename keyboards/mechkeys/espectro/{info.json => keyboard.json} (98%) delete mode 100755 keyboards/mechkeys/espectro/rules.mk rename keyboards/mechkeys/mk60/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/mechkeys/mk60/rules.mk rename keyboards/mechlovin/foundation/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mechlovin/foundation/rules.mk rename keyboards/mechlovin/hex6c/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/mechlovin/hex6c/rules.mk rename keyboards/mechlovin/infinity88/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mechlovin/infinity88/rules.mk rename keyboards/mechlovin/infinityce/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mechlovin/infinityce/rules.mk rename keyboards/mechlovin/kanu/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mechlovin/kanu/rules.mk rename keyboards/mechlovin/kay60/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mechlovin/kay60/rules.mk rename keyboards/mechlovin/kay65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mechlovin/kay65/rules.mk rename keyboards/mechlovin/olly/orion/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mechlovin/olly/orion/rules.mk rename keyboards/mechlovin/pisces/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mechlovin/pisces/rules.mk rename keyboards/mechlovin/tmkl/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mechlovin/tmkl/rules.mk rename keyboards/mechlovin/zed60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mechlovin/zed60/rules.mk rename keyboards/mechstudio/dawn/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mechstudio/dawn/rules.mk rename keyboards/mechwild/mercutio/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mechwild/mercutio/rules.mk rename keyboards/mechwild/murphpad/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/mechwild/murphpad/rules.mk rename keyboards/mehkee96/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mehkee96/rules.mk rename keyboards/meletrix/zoom65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/meletrix/zoom65/rules.mk rename keyboards/meletrix/zoom65_lite/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/meletrix/zoom65_lite/rules.mk rename keyboards/meletrix/zoom87/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/meletrix/zoom87/rules.mk rename keyboards/melgeek/mj6xy/rev3/{info.json => keyboard.json} (79%) delete mode 100755 keyboards/melgeek/mj6xy/rev3/rules.mk rename keyboards/meme/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/meme/rules.mk rename keyboards/meow48/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/meow48/rules.mk rename keyboards/meow65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/meow65/rules.mk rename keyboards/merge/iso_macro/{info.json => keyboard.json} (83%) delete mode 100644 keyboards/merge/iso_macro/rules.mk rename keyboards/merge/uc1/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/merge/uc1/rules.mk rename keyboards/mesa/mesa_tkl/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mesa/mesa_tkl/rules.mk rename keyboards/mikeneko65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mikeneko65/rules.mk rename keyboards/millipad/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/millipad/rules.mk rename keyboards/mini_elixivy/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mini_elixivy/rules.mk rename keyboards/mini_ten_key_plus/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/mini_ten_key_plus/rules.mk rename keyboards/minimacro5/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/minimacro5/rules.mk rename keyboards/minimon/index_tab/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/minimon/index_tab/rules.mk rename keyboards/misonoworks/chocolatebar/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/misonoworks/chocolatebar/rules.mk rename keyboards/misonoworks/karina/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/misonoworks/karina/rules.mk rename keyboards/misterknife/knife66/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/misterknife/knife66/rules.mk rename keyboards/misterknife/knife66_iso/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/misterknife/knife66_iso/rules.mk rename keyboards/miuni32/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/miuni32/rules.mk rename keyboards/mixi/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/mixi/rules.mk rename keyboards/ml/gas75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ml/gas75/rules.mk rename keyboards/mlego/m48/rev1/{info.json => keyboard.json} (81%) delete mode 100644 keyboards/mlego/m48/rev1/rules.mk rename keyboards/mlego/m60/rev1/{info.json => keyboard.json} (81%) delete mode 100644 keyboards/mlego/m60/rev1/rules.mk rename keyboards/mmkzoo65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mmkzoo65/rules.mk rename keyboards/mntre/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/mntre/rules.mk rename keyboards/mode/m65ha_alpha/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mode/m65ha_alpha/rules.mk rename keyboards/mode/m65hi_alpha/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mode/m65hi_alpha/rules.mk rename keyboards/mode/m65s/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/mode/m65s/rules.mk rename keyboards/mode/m80v1/m80h/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mode/m80v1/m80h/rules.mk rename keyboards/mode/m80v1/m80s/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mode/m80v1/m80s/rules.mk rename keyboards/mode/m80v2/m80v2h/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mode/m80v2/m80v2h/rules.mk rename keyboards/mode/m80v2/m80v2s/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mode/m80v2/m80v2s/rules.mk rename keyboards/mokey/ginkgo65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/mokey/ginkgo65/rules.mk rename keyboards/mokey/ginkgo65hot/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/mokey/ginkgo65hot/rules.mk rename keyboards/mokey/ibis80/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/mokey/ibis80/rules.mk rename keyboards/mokey/mokey63/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mokey/mokey63/rules.mk rename keyboards/mokey/mokey64/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/mokey/mokey64/rules.mk rename keyboards/mokey/xox70/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/mokey/xox70/rules.mk rename keyboards/mokey/xox70hot/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mokey/xox70hot/rules.mk rename keyboards/monarch/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/monarch/rules.mk rename keyboards/monstargear/xo87/rgb/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/monstargear/xo87/rgb/rules.mk rename keyboards/monstargear/xo87/solderable/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/monstargear/xo87/solderable/rules.mk rename keyboards/montsinger/rewind/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/montsinger/rewind/rules.mk rename keyboards/morizon/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/morizon/rules.mk rename keyboards/mountainblocks/mb17/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/mountainblocks/mb17/rules.mk rename keyboards/mss_studio/m63_rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mss_studio/m63_rgb/rules.mk rename keyboards/mss_studio/m64_rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mss_studio/m64_rgb/rules.mk rename keyboards/mt/blocked65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mt/blocked65/rules.mk rename keyboards/mt/mt40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/mt/mt40/rules.mk rename keyboards/mt/mt980/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mt/mt980/rules.mk rename keyboards/mtbkeys/mtb60/hotswap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/mtbkeys/mtb60/hotswap/rules.mk rename keyboards/mtbkeys/mtb60/solder/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/mtbkeys/mtb60/solder/rules.mk rename keyboards/mwstudio/alicekk/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/mwstudio/alicekk/rules.mk rename keyboards/mwstudio/mw65_black/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/mwstudio/mw65_black/rules.mk rename keyboards/mwstudio/mw65_rgb/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mwstudio/mw65_rgb/rules.mk rename keyboards/mwstudio/mw75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mwstudio/mw75/rules.mk rename keyboards/mwstudio/mw75r2/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/mwstudio/mw75r2/rules.mk rename keyboards/mysticworks/wyvern/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/mysticworks/wyvern/rules.mk rename keyboards/nacly/ua62/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/nacly/ua62/rules.mk rename keyboards/ncc1701kb/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/ncc1701kb/rules.mk rename keyboards/neito/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/neito/rules.mk rename keyboards/nemui/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/nemui/rules.mk rename keyboards/neokeys/g67/element_hs/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/neokeys/g67/element_hs/rules.mk rename keyboards/neokeys/g67/hotswap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/neokeys/g67/hotswap/rules.mk rename keyboards/neokeys/g67/soldered/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/neokeys/g67/soldered/rules.mk rename keyboards/newgame40/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/newgame40/rules.mk rename keyboards/nibiria/stream15/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/nibiria/stream15/rules.mk rename keyboards/nightingale_studios/hailey/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/nightingale_studios/hailey/rules.mk rename keyboards/nightly_boards/alter/rev1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/nightly_boards/alter/rev1/rules.mk rename keyboards/nightly_boards/alter_lite/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/nightly_boards/alter_lite/rules.mk rename keyboards/nightly_boards/daily60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/nightly_boards/daily60/rules.mk rename keyboards/nightly_boards/jisoo/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/nightly_boards/jisoo/rules.mk rename keyboards/nightly_boards/n2/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/nightly_boards/n2/rules.mk rename keyboards/nightly_boards/n87/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/nightly_boards/n87/rules.mk rename keyboards/nightly_boards/n9/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/nightly_boards/n9/rules.mk rename keyboards/nightly_boards/octopadplus/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/nightly_boards/octopadplus/rules.mk rename keyboards/nightly_boards/ph_arisu/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/nightly_boards/ph_arisu/rules.mk rename keyboards/nightmare/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/nightmare/rules.mk rename keyboards/nimrod/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/nimrod/rules.mk rename keyboards/nix_studio/n60_a/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/nix_studio/n60_a/rules.mk rename keyboards/nixkeyboards/day_off/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/nixkeyboards/day_off/rules.mk rename keyboards/nopunin10did/jabberwocky/v1/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/nopunin10did/jabberwocky/v1/rules.mk rename keyboards/nopunin10did/jabberwocky/v2/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/nopunin10did/jabberwocky/v2/rules.mk rename keyboards/nopunin10did/kastenwagen1840/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/nopunin10did/kastenwagen1840/rules.mk rename keyboards/nopunin10did/kastenwagen48/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/nopunin10did/kastenwagen48/rules.mk rename keyboards/nopunin10did/railroad/rev0/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/nopunin10did/railroad/rev0/rules.mk rename keyboards/novelkeys/nk1/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/novelkeys/nk1/rules.mk rename keyboards/novelkeys/novelpad/{info.json => keyboard.json} (90%) delete mode 100755 keyboards/novelkeys/novelpad/rules.mk rename keyboards/noxary/220/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/noxary/220/rules.mk rename keyboards/noxary/268/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/noxary/268/rules.mk rename keyboards/noxary/268_2/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/noxary/268_2/rules.mk rename keyboards/noxary/268_2_rgb/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/noxary/268_2_rgb/rules.mk rename keyboards/noxary/280/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/noxary/280/rules.mk rename keyboards/noxary/378/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/noxary/378/rules.mk rename keyboards/noxary/valhalla/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/noxary/valhalla/rules.mk rename keyboards/noxary/vulcan/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/noxary/vulcan/rules.mk rename keyboards/noxary/x268/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/noxary/x268/rules.mk rename keyboards/np12/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/np12/rules.mk rename keyboards/nyhxis/nfr_70/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/nyhxis/nfr_70/rules.mk diff --git a/keyboards/labbe/labbeminiv1/info.json b/keyboards/labbe/labbeminiv1/keyboard.json similarity index 79% rename from keyboards/labbe/labbeminiv1/info.json rename to keyboards/labbe/labbeminiv1/keyboard.json index ff53873f2ba..1bb3b6ff4bd 100644 --- a/keyboards/labbe/labbeminiv1/info.json +++ b/keyboards/labbe/labbeminiv1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4C4D", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4"], "rows": ["F5", "F6"] diff --git a/keyboards/labbe/labbeminiv1/rules.mk b/keyboards/labbe/labbeminiv1/rules.mk deleted file mode 100644 index 57f52095a4e..00000000000 --- a/keyboards/labbe/labbeminiv1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/labyrinth75/info.json b/keyboards/labyrinth75/keyboard.json similarity index 96% rename from keyboards/labyrinth75/info.json rename to keyboards/labyrinth75/keyboard.json index 49b84b280a3..5ff83582b1f 100644 --- a/keyboards/labyrinth75/info.json +++ b/keyboards/labyrinth75/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x464B", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5"], "rows": ["B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"] diff --git a/keyboards/labyrinth75/rules.mk b/keyboards/labyrinth75/rules.mk deleted file mode 100644 index 502dc1b7bdf..00000000000 --- a/keyboards/labyrinth75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/laneware/lpad/info.json b/keyboards/laneware/lpad/keyboard.json similarity index 84% rename from keyboards/laneware/lpad/info.json rename to keyboards/laneware/lpad/keyboard.json index 0d8016f8427..473a6552c5d 100644 --- a/keyboards/laneware/lpad/info.json +++ b/keyboards/laneware/lpad/keyboard.json @@ -10,6 +10,15 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D4", "D6"], "rows": ["E6", "B7", "D0"] diff --git a/keyboards/laneware/lpad/rules.mk b/keyboards/laneware/lpad/rules.mk deleted file mode 100644 index 524fa11adca..00000000000 --- a/keyboards/laneware/lpad/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/laneware/lw67/info.json b/keyboards/laneware/lw67/keyboard.json similarity index 98% rename from keyboards/laneware/lw67/info.json rename to keyboards/laneware/lw67/keyboard.json index e9bba7c858f..08c5bc355cb 100644 --- a/keyboards/laneware/lw67/info.json +++ b/keyboards/laneware/lw67/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x9998", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "B0", "B1"], "rows": ["E6", "B7", "D0", "D1", "D2"] diff --git a/keyboards/laneware/lw67/rules.mk b/keyboards/laneware/lw67/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/laneware/lw67/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/laneware/lw75/info.json b/keyboards/laneware/lw75/keyboard.json similarity index 99% rename from keyboards/laneware/lw75/info.json rename to keyboards/laneware/lw75/keyboard.json index bb9aceb95f9..7fae15b1758 100644 --- a/keyboards/laneware/lw75/info.json +++ b/keyboards/laneware/lw75/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1111", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "B0", "B2"], "rows": ["E6", "B7", "D0", "D1", "D2", "B1"] diff --git a/keyboards/laneware/lw75/rules.mk b/keyboards/laneware/lw75/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/laneware/lw75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/laneware/macro1/info.json b/keyboards/laneware/macro1/keyboard.json similarity index 95% rename from keyboards/laneware/macro1/info.json rename to keyboards/laneware/macro1/keyboard.json index dd226270310..ea9be78cd34 100644 --- a/keyboards/laneware/macro1/info.json +++ b/keyboards/laneware/macro1/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x9999", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D4", "D6", "D7"], "rows": ["E6", "B7", "D0", "D1", "D2", "B3"] diff --git a/keyboards/laneware/macro1/rules.mk b/keyboards/laneware/macro1/rules.mk deleted file mode 100644 index f0a88209b69..00000000000 --- a/keyboards/laneware/macro1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/latincompass/latin60rgb/info.json b/keyboards/latincompass/latin60rgb/keyboard.json similarity index 96% rename from keyboards/latincompass/latin60rgb/info.json rename to keyboards/latincompass/latin60rgb/keyboard.json index 5fef17fd09b..6c9bfdc47b4 100644 --- a/keyboards/latincompass/latin60rgb/info.json +++ b/keyboards/latincompass/latin60rgb/keyboard.json @@ -42,6 +42,15 @@ "driver": "is31fl3733", "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0", "B1", "B2", "B3", "D6", "D4", "D3"], "rows": ["C7", "C6", "B6", "B5", "B4"] diff --git a/keyboards/latincompass/latin60rgb/rules.mk b/keyboards/latincompass/latin60rgb/rules.mk deleted file mode 100644 index ea646d3d939..00000000000 --- a/keyboards/latincompass/latin60rgb/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/latincompass/latinpad/info.json b/keyboards/latincompass/latinpad/keyboard.json similarity index 91% rename from keyboards/latincompass/latinpad/info.json rename to keyboards/latincompass/latinpad/keyboard.json index f007efbf882..1e2c8ca90c0 100644 --- a/keyboards/latincompass/latinpad/info.json +++ b/keyboards/latincompass/latinpad/keyboard.json @@ -42,6 +42,17 @@ }, "driver": "ws2812" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6"], "rows": ["F4", "F5", "F6", "F7", "B1"] diff --git a/keyboards/latincompass/latinpad/rules.mk b/keyboards/latincompass/latinpad/rules.mk deleted file mode 100644 index c6959a65903..00000000000 --- a/keyboards/latincompass/latinpad/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no -OLED_ENABLE = yes -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/keyboard.json similarity index 94% rename from keyboards/lazydesigners/bolt/info.json rename to keyboards/lazydesigners/bolt/keyboard.json index 8319972abda..c155c852df0 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "F7", "C6", "B3", "B7", "D0", "D3", "D2", "D1"], "rows": ["F0", "C7", "B6", "D5"] diff --git a/keyboards/lazydesigners/bolt/rules.mk b/keyboards/lazydesigners/bolt/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/lazydesigners/bolt/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/lazydesigners/cassette8/info.json b/keyboards/lazydesigners/cassette8/keyboard.json similarity index 87% rename from keyboards/lazydesigners/cassette8/info.json rename to keyboards/lazydesigners/cassette8/keyboard.json index c801c1352ea..623b804efe0 100755 --- a/keyboards/lazydesigners/cassette8/info.json +++ b/keyboards/lazydesigners/cassette8/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "C2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4", "B1", "B0"], "rows": ["B3", "B2"] diff --git a/keyboards/lazydesigners/cassette8/rules.mk b/keyboards/lazydesigners/cassette8/rules.mk deleted file mode 100755 index 58d6460e33e..00000000000 --- a/keyboards/lazydesigners/cassette8/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/lazydesigners/dimpleplus/info.json b/keyboards/lazydesigners/dimpleplus/keyboard.json similarity index 96% rename from keyboards/lazydesigners/dimpleplus/info.json rename to keyboards/lazydesigners/dimpleplus/keyboard.json index 35a40b60ff2..afae905c7b8 100644 --- a/keyboards/lazydesigners/dimpleplus/info.json +++ b/keyboards/lazydesigners/dimpleplus/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0061", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "D5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B3", "F0", "E6", "F4", "F5"] diff --git a/keyboards/lazydesigners/dimpleplus/rules.mk b/keyboards/lazydesigners/dimpleplus/rules.mk deleted file mode 100644 index e3b4d3b94d5..00000000000 --- a/keyboards/lazydesigners/dimpleplus/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/lazydesigners/the30/info.json b/keyboards/lazydesigners/the30/keyboard.json similarity index 91% rename from keyboards/lazydesigners/the30/info.json rename to keyboards/lazydesigners/the30/keyboard.json index fab36b7f9cc..64562ada664 100644 --- a/keyboards/lazydesigners/the30/info.json +++ b/keyboards/lazydesigners/the30/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0030", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B1", "B2", "B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6"], "rows": ["D0", "D1", "D2"] diff --git a/keyboards/lazydesigners/the30/rules.mk b/keyboards/lazydesigners/the30/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/lazydesigners/the30/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/lazydesigners/the40/info.json b/keyboards/lazydesigners/the40/keyboard.json similarity index 97% rename from keyboards/lazydesigners/the40/info.json rename to keyboards/lazydesigners/the40/keyboard.json index b87fc9a29dd..0e06e16ea8b 100644 --- a/keyboards/lazydesigners/the40/info.json +++ b/keyboards/lazydesigners/the40/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0042", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F6", "F7", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "B0"], "rows": ["D0", "D1", "B6", "F5"] diff --git a/keyboards/lazydesigners/the40/rules.mk b/keyboards/lazydesigners/the40/rules.mk deleted file mode 100644 index 8d59557bc89..00000000000 --- a/keyboards/lazydesigners/the40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/lazydesigners/the50/info.json b/keyboards/lazydesigners/the50/keyboard.json similarity index 95% rename from keyboards/lazydesigners/the50/info.json rename to keyboards/lazydesigners/the50/keyboard.json index 0c76516e803..75e39ab0ca0 100644 --- a/keyboards/lazydesigners/the50/info.json +++ b/keyboards/lazydesigners/the50/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0050", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"], "rows": ["B0", "B1", "B2", "B3"] diff --git a/keyboards/lazydesigners/the50/rules.mk b/keyboards/lazydesigners/the50/rules.mk deleted file mode 100644 index 0cc1bff4116..00000000000 --- a/keyboards/lazydesigners/the50/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality diff --git a/keyboards/lazydesigners/the60/rev1/info.json b/keyboards/lazydesigners/the60/rev1/keyboard.json similarity index 95% rename from keyboards/lazydesigners/the60/rev1/info.json rename to keyboards/lazydesigners/the60/rev1/keyboard.json index 7c1fa4883e4..f06e695bf42 100755 --- a/keyboards/lazydesigners/the60/rev1/info.json +++ b/keyboards/lazydesigners/the60/rev1/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/lazydesigners/the60/rev1/rules.mk b/keyboards/lazydesigners/the60/rev1/rules.mk deleted file mode 100755 index a0debe7a23e..00000000000 --- a/keyboards/lazydesigners/the60/rev1/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality diff --git a/keyboards/lazydesigners/the60/rev2/info.json b/keyboards/lazydesigners/the60/rev2/keyboard.json similarity index 99% rename from keyboards/lazydesigners/the60/rev2/info.json rename to keyboards/lazydesigners/the60/rev2/keyboard.json index 6070b3a59a2..f9a0fd95b50 100755 --- a/keyboards/lazydesigners/the60/rev2/info.json +++ b/keyboards/lazydesigners/the60/rev2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0062", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F7", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["B1", "B2", "B3", "F0", "F1"] diff --git a/keyboards/lazydesigners/the60/rev2/rules.mk b/keyboards/lazydesigners/the60/rev2/rules.mk deleted file mode 100755 index a4b56c37ddd..00000000000 --- a/keyboards/lazydesigners/the60/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/leafcutterlabs/bigknob/info.json b/keyboards/leafcutterlabs/bigknob/keyboard.json similarity index 85% rename from keyboards/leafcutterlabs/bigknob/info.json rename to keyboards/leafcutterlabs/bigknob/keyboard.json index 4e955777a75..8250f7eb614 100644 --- a/keyboards/leafcutterlabs/bigknob/info.json +++ b/keyboards/leafcutterlabs/bigknob/keyboard.json @@ -33,6 +33,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["B7", "D4", "D6", "F6", "F7"] diff --git a/keyboards/leafcutterlabs/bigknob/rules.mk b/keyboards/leafcutterlabs/bigknob/rules.mk deleted file mode 100644 index 5a3a85a3eb0..00000000000 --- a/keyboards/leafcutterlabs/bigknob/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable rotary encoders diff --git a/keyboards/leeku/finger65/info.json b/keyboards/leeku/finger65/keyboard.json similarity index 98% rename from keyboards/leeku/finger65/info.json rename to keyboards/leeku/finger65/keyboard.json index ad158a1a64c..c9b7338856c 100644 --- a/keyboards/leeku/finger65/info.json +++ b/keyboards/leeku/finger65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6050", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"], "rows": ["C3", "C4", "C5", "C6", "C7"] diff --git a/keyboards/leeku/finger65/rules.mk b/keyboards/leeku/finger65/rules.mk deleted file mode 100644 index d0fd1ea5dd6..00000000000 --- a/keyboards/leeku/finger65/rules.mk +++ /dev/null @@ -1,9 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover diff --git a/keyboards/lfkeyboards/lfkpad/info.json b/keyboards/lfkeyboards/lfkpad/keyboard.json similarity index 90% rename from keyboards/lfkeyboards/lfkpad/info.json rename to keyboards/lfkeyboards/lfkpad/keyboard.json index 0a41696cdce..50e02cb7ee4 100644 --- a/keyboards/lfkeyboards/lfkpad/info.json +++ b/keyboards/lfkeyboards/lfkpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3231", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F1", "F0", "D4", "D6"], "rows": ["D5", "F4", "F6", "F7", "C7", "C6"] diff --git a/keyboards/lfkeyboards/lfkpad/rules.mk b/keyboards/lfkeyboards/lfkpad/rules.mk deleted file mode 100644 index 996d454d74e..00000000000 --- a/keyboards/lfkeyboards/lfkpad/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -AUDIO_ENABLE = no # Audio output -WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan() isn't run every 250ms diff --git a/keyboards/linworks/dolice/info.json b/keyboards/linworks/dolice/keyboard.json similarity index 98% rename from keyboards/linworks/dolice/info.json rename to keyboards/linworks/dolice/keyboard.json index 23fb708cf64..6a556db6544 100644 --- a/keyboards/linworks/dolice/info.json +++ b/keyboards/linworks/dolice/keyboard.json @@ -8,6 +8,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "B4", "D5", "D3", "D2", "B2"], "rows": ["F5", "F4", "F6", "F7", "B0", "B7", "D7", "D6", "D4"] diff --git a/keyboards/linworks/dolice/rules.mk b/keyboards/linworks/dolice/rules.mk deleted file mode 100644 index 477fb5989c0..00000000000 --- a/keyboards/linworks/dolice/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/linworks/fave104/info.json b/keyboards/linworks/fave104/keyboard.json similarity index 99% rename from keyboards/linworks/fave104/info.json rename to keyboards/linworks/fave104/keyboard.json index e5fcf4f0c84..c71fdd56613 100644 --- a/keyboards/linworks/fave104/info.json +++ b/keyboards/linworks/fave104/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x000A", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B12", "B13", "B14", "B15", "A8", "A9", "A10", "A13", "A14", "A15", "B3"], "rows": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A0"] diff --git a/keyboards/linworks/fave104/rules.mk b/keyboards/linworks/fave104/rules.mk deleted file mode 100644 index d6925994b5f..00000000000 --- a/keyboards/linworks/fave104/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no - diff --git a/keyboards/linworks/fave87/info.json b/keyboards/linworks/fave87/keyboard.json similarity index 99% rename from keyboards/linworks/fave87/info.json rename to keyboards/linworks/fave87/keyboard.json index 8f551d8d391..9083b8c8ece 100644 --- a/keyboards/linworks/fave87/info.json +++ b/keyboards/linworks/fave87/keyboard.json @@ -8,6 +8,16 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F0", "E6", "B0", "B1", "B2", "B3", "D6", "D7"], "rows": ["D3", "D5", "D1", "D2", "D4", "D0", "F5", "F4", "F7", "F6", "B5", "B4"] diff --git a/keyboards/linworks/fave87/rules.mk b/keyboards/linworks/fave87/rules.mk deleted file mode 100644 index dd1bb7c54f6..00000000000 --- a/keyboards/linworks/fave87/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/keyboard.json similarity index 98% rename from keyboards/linworks/whale75/info.json rename to keyboards/linworks/whale75/keyboard.json index c5bd5d78b72..88598d8e8c9 100644 --- a/keyboards/linworks/whale75/info.json +++ b/keyboards/linworks/whale75/keyboard.json @@ -21,6 +21,17 @@ "pin": "B9", "driver": "pwm" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"], "rows": ["B3", "B4", "B5", "B6", "B7", "A0"] diff --git a/keyboards/linworks/whale75/rules.mk b/keyboards/linworks/whale75/rules.mk deleted file mode 100644 index 76b31f0a0a0..00000000000 --- a/keyboards/linworks/whale75/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - diff --git a/keyboards/littlealby/mute/info.json b/keyboards/littlealby/mute/keyboard.json similarity index 74% rename from keyboards/littlealby/mute/info.json rename to keyboards/littlealby/mute/keyboard.json index a4a2a5822ec..96c2e26a74a 100644 --- a/keyboards/littlealby/mute/info.json +++ b/keyboards/littlealby/mute/keyboard.json @@ -17,6 +17,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "direct": [ ["B5"] diff --git a/keyboards/littlealby/mute/rules.mk b/keyboards/littlealby/mute/rules.mk deleted file mode 100644 index e673ad8b73a..00000000000 --- a/keyboards/littlealby/mute/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/lizard_trick/tenkey_plusplus/info.json b/keyboards/lizard_trick/tenkey_plusplus/keyboard.json similarity index 90% rename from keyboards/lizard_trick/tenkey_plusplus/info.json rename to keyboards/lizard_trick/tenkey_plusplus/keyboard.json index a14dcbdee7d..9371ef22d66 100644 --- a/keyboards/lizard_trick/tenkey_plusplus/info.json +++ b/keyboards/lizard_trick/tenkey_plusplus/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "F7"], "rows": ["B7", "D4", "B5", "B6", "C6", "C7"] diff --git a/keyboards/lizard_trick/tenkey_plusplus/rules.mk b/keyboards/lizard_trick/tenkey_plusplus/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/lizard_trick/tenkey_plusplus/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/ll3macorn/bongopad/info.json b/keyboards/ll3macorn/bongopad/keyboard.json similarity index 84% rename from keyboards/ll3macorn/bongopad/info.json rename to keyboards/ll3macorn/bongopad/keyboard.json index cde72e5882f..7a6f0ff0430 100644 --- a/keyboards/ll3macorn/bongopad/info.json +++ b/keyboards/ll3macorn/bongopad/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x2949", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "oled": true, + "wpm": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6"], "rows": ["F7", "D7", "C6", "D4"] diff --git a/keyboards/ll3macorn/bongopad/rules.mk b/keyboards/ll3macorn/bongopad/rules.mk deleted file mode 100644 index 722f12e66ec..00000000000 --- a/keyboards/ll3macorn/bongopad/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -OLED_ENABLE = yes -WPM_ENABLE = yes diff --git a/keyboards/lm_keyboard/lm60n/info.json b/keyboards/lm_keyboard/lm60n/keyboard.json similarity index 99% rename from keyboards/lm_keyboard/lm60n/info.json rename to keyboards/lm_keyboard/lm60n/keyboard.json index 6698ed9f34d..fe7b1b946e8 100644 --- a/keyboards/lm_keyboard/lm60n/info.json +++ b/keyboards/lm_keyboard/lm60n/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4B01", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "C6", "B6", "B5", "F4", "F0", "E6"], "rows": ["F1", "F5", "F6", "F7", "B3", "B2", "B1"] diff --git a/keyboards/lm_keyboard/lm60n/rules.mk b/keyboards/lm_keyboard/lm60n/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/lm_keyboard/lm60n/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/longnald/corin/info.json b/keyboards/longnald/corin/keyboard.json similarity index 95% rename from keyboards/longnald/corin/info.json rename to keyboards/longnald/corin/keyboard.json index f3d42039222..a423348b784 100644 --- a/keyboards/longnald/corin/info.json +++ b/keyboards/longnald/corin/keyboard.json @@ -25,6 +25,15 @@ "static_gradient": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F1", "F5", "B1", "E6", "D4", "B7", "D1", "D2", "D0", "B4", "B6", "C6", "C7"], "rows": ["F4", "F0", "B2", "B3", "D5"] diff --git a/keyboards/longnald/corin/rules.mk b/keyboards/longnald/corin/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/longnald/corin/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/lyso1/lefishe/info.json b/keyboards/lyso1/lefishe/keyboard.json similarity index 98% rename from keyboards/lyso1/lefishe/info.json rename to keyboards/lyso1/lefishe/keyboard.json index b6c3b21aca2..d2036895658 100644 --- a/keyboards/lyso1/lefishe/info.json +++ b/keyboards/lyso1/lefishe/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6169", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "unicode": true + }, "matrix_pins": { "cols": ["F0", "F1", "D5", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D3", "D2", "D1", "D0", "B3", "B2", "B1"], "rows": ["B7", "F7", "F6", "F5", "F4"] diff --git a/keyboards/lyso1/lefishe/rules.mk b/keyboards/lyso1/lefishe/rules.mk deleted file mode 100644 index f91ecd04338..00000000000 --- a/keyboards/lyso1/lefishe/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes - diff --git a/keyboards/m10a/info.json b/keyboards/m10a/keyboard.json similarity index 82% rename from keyboards/m10a/info.json rename to keyboards/m10a/keyboard.json index 08da6e584a0..7f2c7c90b7c 100644 --- a/keyboards/m10a/info.json +++ b/keyboards/m10a/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x00AA", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["F5", "F1", "F0"], "rows": ["B6", "F7", "F6", "D6"] diff --git a/keyboards/m10a/rules.mk b/keyboards/m10a/rules.mk deleted file mode 100644 index df1f40ed766..00000000000 --- a/keyboards/m10a/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/machine_industries/m4_a/info.json b/keyboards/machine_industries/m4_a/keyboard.json similarity index 80% rename from keyboards/machine_industries/m4_a/info.json rename to keyboards/machine_industries/m4_a/keyboard.json index 7ab42a02130..bf89d742393 100644 --- a/keyboards/machine_industries/m4_a/info.json +++ b/keyboards/machine_industries/m4_a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x004A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F7"], "rows": ["C7", "C6"] diff --git a/keyboards/machine_industries/m4_a/rules.mk b/keyboards/machine_industries/m4_a/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/machine_industries/m4_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/machkeyboards/mach3/info.json b/keyboards/machkeyboards/mach3/keyboard.json similarity index 82% rename from keyboards/machkeyboards/mach3/info.json rename to keyboards/machkeyboards/mach3/keyboard.json index edb8793759a..9f9d492bcce 100644 --- a/keyboards/machkeyboards/mach3/info.json +++ b/keyboards/machkeyboards/mach3/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4D33", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "unicode": true + }, "matrix_pins": { "cols": ["E6", "B4", "B5"], "rows": ["D1", "D0", "D4"] diff --git a/keyboards/machkeyboards/mach3/rules.mk b/keyboards/machkeyboards/mach3/rules.mk deleted file mode 100644 index 75c6a286e5f..00000000000 --- a/keyboards/machkeyboards/mach3/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes diff --git a/keyboards/magic_force/mf34/info.json b/keyboards/magic_force/mf34/keyboard.json similarity index 95% rename from keyboards/magic_force/mf34/info.json rename to keyboards/magic_force/mf34/keyboard.json index 027904e7296..50ad33408f7 100644 --- a/keyboards/magic_force/mf34/info.json +++ b/keyboards/magic_force/mf34/keyboard.json @@ -64,6 +64,15 @@ "driver": "ws2812", "max_brightness": 200 }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A2", "A1", "B14", "B4", "B5", "B6", "B7"], "rows": ["A7", "B0", "B1", "B2", "B10", "B11"] diff --git a/keyboards/magic_force/mf34/rules.mk b/keyboards/magic_force/mf34/rules.mk deleted file mode 100644 index 24a8c52e481..00000000000 --- a/keyboards/magic_force/mf34/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -RGB_MATRIX_ENABLE = yes - -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/makeymakey/info.json b/keyboards/makeymakey/keyboard.json similarity index 89% rename from keyboards/makeymakey/info.json rename to keyboards/makeymakey/keyboard.json index 1fc7bf9415d..8f045350323 100644 --- a/keyboards/makeymakey/info.json +++ b/keyboards/makeymakey/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "direct": [ ["D6", "B4", "C7", "B1", "E6", "D7"], diff --git a/keyboards/makeymakey/rules.mk b/keyboards/makeymakey/rules.mk deleted file mode 100644 index 9244882477d..00000000000 --- a/keyboards/makeymakey/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/makrosu/info.json b/keyboards/makrosu/keyboard.json similarity index 83% rename from keyboards/makrosu/info.json rename to keyboards/makrosu/keyboard.json index ad6acdb100a..99b425d81a8 100644 --- a/keyboards/makrosu/info.json +++ b/keyboards/makrosu/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x8585", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B3", "B1", "F7", "F6", "F5"], "rows": ["B6"] diff --git a/keyboards/makrosu/rules.mk b/keyboards/makrosu/rules.mk deleted file mode 100644 index 0334a51bb5b..00000000000 --- a/keyboards/makrosu/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/manyboard/macro/info.json b/keyboards/manyboard/macro/keyboard.json similarity index 87% rename from keyboards/manyboard/macro/info.json rename to keyboards/manyboard/macro/keyboard.json index 10218337d96..b40861414f3 100644 --- a/keyboards/manyboard/macro/info.json +++ b/keyboards/manyboard/macro/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0015", "device_version": "1.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D4", "D5", "D6", "D7"], "rows": ["D0", "D1", "D2", "D3"] diff --git a/keyboards/manyboard/macro/rules.mk b/keyboards/manyboard/macro/rules.mk deleted file mode 100644 index 51c7b089b0c..00000000000 --- a/keyboards/manyboard/macro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Encoder Input diff --git a/keyboards/maple_computing/6ball/info.json b/keyboards/maple_computing/6ball/keyboard.json similarity index 84% rename from keyboards/maple_computing/6ball/info.json rename to keyboards/maple_computing/6ball/keyboard.json index 56531d6fa25..3f125c75c43 100644 --- a/keyboards/maple_computing/6ball/info.json +++ b/keyboards/maple_computing/6ball/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["F4", "D4", "B5", "B6", "B2", "F6"], "rows": ["F5"] diff --git a/keyboards/maple_computing/6ball/rules.mk b/keyboards/maple_computing/6ball/rules.mk deleted file mode 100644 index a73f2bd6931..00000000000 --- a/keyboards/maple_computing/6ball/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/maple_computing/c39/info.json b/keyboards/maple_computing/c39/keyboard.json similarity index 93% rename from keyboards/maple_computing/c39/info.json rename to keyboards/maple_computing/c39/keyboard.json index 8a70fe365e1..de4cbc6aebb 100755 --- a/keyboards/maple_computing/c39/info.json +++ b/keyboards/maple_computing/c39/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xCA39", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D7", "E6", "C6", "D2", "D3"], "rows": ["D1", "B4", "B5"] diff --git a/keyboards/maple_computing/c39/rules.mk b/keyboards/maple_computing/c39/rules.mk deleted file mode 100755 index 3328e87188b..00000000000 --- a/keyboards/maple_computing/c39/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # RGB Enable / Disable diff --git a/keyboards/maple_computing/the_ruler/info.json b/keyboards/maple_computing/the_ruler/keyboard.json similarity index 86% rename from keyboards/maple_computing/the_ruler/info.json rename to keyboards/maple_computing/the_ruler/keyboard.json index 9ba1355fdd3..c38af0a3205 100644 --- a/keyboards/maple_computing/the_ruler/info.json +++ b/keyboards/maple_computing/the_ruler/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "D7", "B4", "B5", "B6", "C6"], "rows": ["C7"] diff --git a/keyboards/maple_computing/the_ruler/rules.mk b/keyboards/maple_computing/the_ruler/rules.mk deleted file mode 100644 index 473689d8144..00000000000 --- a/keyboards/maple_computing/the_ruler/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/marksard/leftover30/info.json b/keyboards/marksard/leftover30/keyboard.json similarity index 96% rename from keyboards/marksard/leftover30/info.json rename to keyboards/marksard/leftover30/keyboard.json index 139214ad497..72a1f9a3e05 100644 --- a/keyboards/marksard/leftover30/info.json +++ b/keyboards/marksard/leftover30/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xDFA8", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6"], "rows": ["B6", "B2", "F7", "F6", "B3", "B1", "D4", "D0"] diff --git a/keyboards/marksard/leftover30/rules.mk b/keyboards/marksard/leftover30/rules.mk deleted file mode 100644 index 9f1aa1c0bff..00000000000 --- a/keyboards/marksard/leftover30/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/masterworks/classy_tkl/rev_a/info.json b/keyboards/masterworks/classy_tkl/rev_a/keyboard.json similarity index 98% rename from keyboards/masterworks/classy_tkl/rev_a/info.json rename to keyboards/masterworks/classy_tkl/rev_a/keyboard.json index d71614e7375..7c7458f9c89 100644 --- a/keyboards/masterworks/classy_tkl/rev_a/info.json +++ b/keyboards/masterworks/classy_tkl/rev_a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B4", "D7", "D6", "D4", "C6", "D5", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "B1", "B0", "E6", "F7"], "rows": ["C7", "F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/masterworks/classy_tkl/rev_a/rules.mk b/keyboards/masterworks/classy_tkl/rev_a/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/masterworks/classy_tkl/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/matrix/cain_re/info.json b/keyboards/matrix/cain_re/keyboard.json similarity index 98% rename from keyboards/matrix/cain_re/info.json rename to keyboards/matrix/cain_re/keyboard.json index 37e129f1f2f..02c6cbbeb56 100644 --- a/keyboards/matrix/cain_re/info.json +++ b/keyboards/matrix/cain_re/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "B5", "B6", "B3", "B2", "B1", "D0", "B4", "D6"], "rows": ["F0", "C7", "C6", "D5", "D2", "D4", "D7", "B7", "D1"] diff --git a/keyboards/matrix/cain_re/rules.mk b/keyboards/matrix/cain_re/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/matrix/cain_re/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/matrix/falcon/info.json b/keyboards/matrix/falcon/keyboard.json similarity index 97% rename from keyboards/matrix/falcon/info.json rename to keyboards/matrix/falcon/keyboard.json index 4984562fe05..0c387f5bc24 100644 --- a/keyboards/matrix/falcon/info.json +++ b/keyboards/matrix/falcon/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x474E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "B3", "B2", "B1", "B0", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F1", "B7", "F7", "F5", "F4"] diff --git a/keyboards/matrix/falcon/rules.mk b/keyboards/matrix/falcon/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/matrix/falcon/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/matrix/m12og/rev2/info.json b/keyboards/matrix/m12og/rev2/keyboard.json similarity index 98% rename from keyboards/matrix/m12og/rev2/info.json rename to keyboards/matrix/m12og/rev2/keyboard.json index 2205db43fa5..42df6a75e87 100644 --- a/keyboards/matrix/m12og/rev2/info.json +++ b/keyboards/matrix/m12og/rev2/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D0", "D2", "D6", "D4", "D5"], "rows": ["E6", "F0", "B7", "C7", "D3", "B0", "D1"] diff --git a/keyboards/matrix/m12og/rev2/rules.mk b/keyboards/matrix/m12og/rev2/rules.mk deleted file mode 100644 index f1af8ca4c9c..00000000000 --- a/keyboards/matrix/m12og/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/matrix/me/info.json b/keyboards/matrix/me/keyboard.json similarity index 98% rename from keyboards/matrix/me/info.json rename to keyboards/matrix/me/keyboard.json index 147fc7c5c87..8349fbd7e67 100644 --- a/keyboards/matrix/me/info.json +++ b/keyboards/matrix/me/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x454D", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B7", "B3", "B2", "B1", "B0", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "D7"], "rows": ["D3", "D5", "D4", "D6", "B5", "B4"] diff --git a/keyboards/matrix/me/rules.mk b/keyboards/matrix/me/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/matrix/me/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/matthewdias/m3n3van/info.json b/keyboards/matthewdias/m3n3van/keyboard.json similarity index 96% rename from keyboards/matthewdias/m3n3van/info.json rename to keyboards/matthewdias/m3n3van/keyboard.json index a6c4a53aeda..3fdfb7f61d3 100644 --- a/keyboards/matthewdias/m3n3van/info.json +++ b/keyboards/matthewdias/m3n3van/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x2323", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F1", "F7", "F0", "E6", "D3", "D0", "D1", "D2", "D4", "D6"], "rows": ["B5", "B6", "C6", "C7"] diff --git a/keyboards/matthewdias/m3n3van/rules.mk b/keyboards/matthewdias/m3n3van/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/matthewdias/m3n3van/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/matthewdias/minim/info.json b/keyboards/matthewdias/minim/keyboard.json similarity index 94% rename from keyboards/matthewdias/minim/info.json rename to keyboards/matthewdias/minim/keyboard.json index c431ae5f106..b9ff70ca408 100644 --- a/keyboards/matthewdias/minim/info.json +++ b/keyboards/matthewdias/minim/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAAAA", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F1", "F7", "F0", "B0", "D1", "B1", "D2", "B2", "D3", "D5", "B3"], "rows": ["D6", "D7", "B4", "B5"] diff --git a/keyboards/matthewdias/minim/rules.mk b/keyboards/matthewdias/minim/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/matthewdias/minim/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/matthewdias/model_v/info.json b/keyboards/matthewdias/model_v/keyboard.json similarity index 97% rename from keyboards/matthewdias/model_v/info.json rename to keyboards/matthewdias/model_v/keyboard.json index f3fa150d57f..00d4c4c0eb2 100644 --- a/keyboards/matthewdias/model_v/info.json +++ b/keyboards/matthewdias/model_v/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6D76", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7"], "rows": ["D3", "D5", "D6", "D4"] diff --git a/keyboards/matthewdias/model_v/rules.mk b/keyboards/matthewdias/model_v/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/matthewdias/model_v/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/matthewdias/txuu/info.json b/keyboards/matthewdias/txuu/keyboard.json similarity index 96% rename from keyboards/matthewdias/txuu/info.json rename to keyboards/matthewdias/txuu/keyboard.json index bfad8a5e670..b4c1597e5fc 100644 --- a/keyboards/matthewdias/txuu/info.json +++ b/keyboards/matthewdias/txuu/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x2809", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F5", "F6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["B1", "B0", "F7", "F4", "F1"] diff --git a/keyboards/matthewdias/txuu/rules.mk b/keyboards/matthewdias/txuu/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/matthewdias/txuu/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/maxr1998/pulse4k/info.json b/keyboards/maxr1998/pulse4k/keyboard.json similarity index 86% rename from keyboards/maxr1998/pulse4k/info.json rename to keyboards/maxr1998/pulse4k/keyboard.json index 5502edcb9ef..22d1d67a519 100644 --- a/keyboards/maxr1998/pulse4k/info.json +++ b/keyboards/maxr1998/pulse4k/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B7", "B3", "F0"], "rows": ["B4", "E6"] diff --git a/keyboards/maxr1998/pulse4k/rules.mk b/keyboards/maxr1998/pulse4k/rules.mk deleted file mode 100644 index 3b110a7ade0..00000000000 --- a/keyboards/maxr1998/pulse4k/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -ENCODER_ENABLE = yes # Rotary encoders -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/mb44/info.json b/keyboards/mb44/keyboard.json similarity index 98% rename from keyboards/mb44/info.json rename to keyboards/mb44/keyboard.json index 95acbc9ba24..c349d11d387 100644 --- a/keyboards/mb44/info.json +++ b/keyboards/mb44/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6D62", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C4", "C5", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0"], "rows": ["D1", "D6", "D5", "D4"] diff --git a/keyboards/mb44/rules.mk b/keyboards/mb44/rules.mk deleted file mode 100644 index 9d77ae8a3c8..00000000000 --- a/keyboards/mb44/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable rotary encoder diff --git a/keyboards/mc_76k/info.json b/keyboards/mc_76k/keyboard.json similarity index 97% rename from keyboards/mc_76k/info.json rename to keyboards/mc_76k/keyboard.json index 5e35e45c354..2d8e7351be8 100644 --- a/keyboards/mc_76k/info.json +++ b/keyboards/mc_76k/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4D43", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "D3", "D4", "B1", "D6", "D7", "B4", "B5", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["C7", "C6", "B6", "B0", "D1", "D0"] diff --git a/keyboards/mc_76k/rules.mk b/keyboards/mc_76k/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/mc_76k/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechanickeys/miniashen40/info.json b/keyboards/mechanickeys/miniashen40/keyboard.json similarity index 94% rename from keyboards/mechanickeys/miniashen40/info.json rename to keyboards/mechanickeys/miniashen40/keyboard.json index 78f1156d321..2adee31c1dd 100644 --- a/keyboards/mechanickeys/miniashen40/info.json +++ b/keyboards/mechanickeys/miniashen40/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6D6E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C5", "C4", "C3", "D0", "C2", "D1", "C1", "C0", "D4", "B0", "D7", "D6", "B5"], "rows": ["B1", "B2", "B3", "B4"] diff --git a/keyboards/mechanickeys/miniashen40/rules.mk b/keyboards/mechanickeys/miniashen40/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/mechanickeys/miniashen40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechkeys/acr60/info.json b/keyboards/mechkeys/acr60/keyboard.json similarity index 99% rename from keyboards/mechkeys/acr60/info.json rename to keyboards/mechkeys/acr60/keyboard.json index 04012cf2342..f2d618b8bd1 100644 --- a/keyboards/mechkeys/acr60/info.json +++ b/keyboards/mechkeys/acr60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xCA60", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/mechkeys/acr60/rules.mk b/keyboards/mechkeys/acr60/rules.mk deleted file mode 100644 index 32e82925ccf..00000000000 --- a/keyboards/mechkeys/acr60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/mechkeys/alu84/info.json b/keyboards/mechkeys/alu84/keyboard.json similarity index 95% rename from keyboards/mechkeys/alu84/info.json rename to keyboards/mechkeys/alu84/keyboard.json index 73efa61268e..890ddabbc44 100644 --- a/keyboards/mechkeys/alu84/info.json +++ b/keyboards/mechkeys/alu84/keyboard.json @@ -8,6 +8,17 @@ "pid": "0xCA75", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "F5", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4", "F6"], "rows": ["D0", "D1", "D2", "D3", "D5", "B7"] diff --git a/keyboards/mechkeys/alu84/rules.mk b/keyboards/mechkeys/alu84/rules.mk deleted file mode 100755 index 730863ddccc..00000000000 --- a/keyboards/mechkeys/alu84/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes diff --git a/keyboards/mechkeys/espectro/info.json b/keyboards/mechkeys/espectro/keyboard.json similarity index 98% rename from keyboards/mechkeys/espectro/info.json rename to keyboards/mechkeys/espectro/keyboard.json index 53dbc75dcf1..838ff42bd18 100644 --- a/keyboards/mechkeys/espectro/info.json +++ b/keyboards/mechkeys/espectro/keyboard.json @@ -8,6 +8,17 @@ "pid": "0xCA96", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["C6", "F1", "F4", "F5", "F6", "F7", "D7", "B4", "B5", "D0", "D1", "D2", "D3"], "rows": ["B7", "B3", "E6", "F0", "D5", "D4", "D6", "C7"] diff --git a/keyboards/mechkeys/espectro/rules.mk b/keyboards/mechkeys/espectro/rules.mk deleted file mode 100755 index 5b869c14545..00000000000 --- a/keyboards/mechkeys/espectro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes -SLEEP_LED_ENABLE = yes diff --git a/keyboards/mechkeys/mk60/info.json b/keyboards/mechkeys/mk60/keyboard.json similarity index 95% rename from keyboards/mechkeys/mk60/info.json rename to keyboards/mechkeys/mk60/keyboard.json index 4cc03cec3b1..c1e8af5348c 100644 --- a/keyboards/mechkeys/mk60/info.json +++ b/keyboards/mechkeys/mk60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/mechkeys/mk60/rules.mk b/keyboards/mechkeys/mk60/rules.mk deleted file mode 100644 index 0922d3d5112..00000000000 --- a/keyboards/mechkeys/mk60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechlovin/foundation/info.json b/keyboards/mechlovin/foundation/keyboard.json similarity index 98% rename from keyboards/mechlovin/foundation/info.json rename to keyboards/mechlovin/foundation/keyboard.json index bec0c883c5c..3bd05add2f1 100644 --- a/keyboards/mechlovin/foundation/info.json +++ b/keyboards/mechlovin/foundation/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0180", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A15", "B9", "B8", "B7", "B6", "B5", "B4", "B3"], "rows": ["B12", "B13", "B14", "A8", "A2"] diff --git a/keyboards/mechlovin/foundation/rules.mk b/keyboards/mechlovin/foundation/rules.mk deleted file mode 100644 index c0fdd8a2cea..00000000000 --- a/keyboards/mechlovin/foundation/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = yes -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechlovin/hex6c/info.json b/keyboards/mechlovin/hex6c/keyboard.json similarity index 99% rename from keyboards/mechlovin/hex6c/info.json rename to keyboards/mechlovin/hex6c/keyboard.json index 483566e7f48..e068420b81a 100644 --- a/keyboards/mechlovin/hex6c/info.json +++ b/keyboards/mechlovin/hex6c/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6C01", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A13", "A14", "A1", "A0", "C13", "B9", "B4", "B7", "B8", "B5", "B6", "A9", "A5", "A6", "A7", "B1", "B2", "B10", "B3", "B14", "B15"], "rows": ["A10", "B13", "B12", "B11", "C14", "C15"] diff --git a/keyboards/mechlovin/hex6c/rules.mk b/keyboards/mechlovin/hex6c/rules.mk deleted file mode 100644 index 61776ab8924..00000000000 --- a/keyboards/mechlovin/hex6c/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/mechlovin/infinity88/info.json b/keyboards/mechlovin/infinity88/keyboard.json similarity index 98% rename from keyboards/mechlovin/infinity88/info.json rename to keyboards/mechlovin/infinity88/keyboard.json index 3724d8a82d9..14371d24598 100644 --- a/keyboards/mechlovin/infinity88/info.json +++ b/keyboards/mechlovin/infinity88/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x8802", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C13", "B9", "B4", "B7", "B8", "B5", "B6", "A9", "A5", "A6", "A7", "B1", "B2", "B10", "B3", "B14", "B15"], "rows": ["A10", "B13", "B12", "B11", "C14", "C15"] diff --git a/keyboards/mechlovin/infinity88/rules.mk b/keyboards/mechlovin/infinity88/rules.mk deleted file mode 100644 index ca7f10db504..00000000000 --- a/keyboards/mechlovin/infinity88/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/mechlovin/infinityce/info.json b/keyboards/mechlovin/infinityce/keyboard.json similarity index 98% rename from keyboards/mechlovin/infinityce/info.json rename to keyboards/mechlovin/infinityce/keyboard.json index 0ded6a5eee8..5b10e056bac 100644 --- a/keyboards/mechlovin/infinityce/info.json +++ b/keyboards/mechlovin/infinityce/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x8801", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4", "B0", "D5", "D4", "D1", "D0", "E6", "F7", "F6", "F5", "F4", "F1", "F0", "B2", "D3", "D2"], "rows": ["D7", "D6", "B6", "B1", "C6", "C7"] diff --git a/keyboards/mechlovin/infinityce/rules.mk b/keyboards/mechlovin/infinityce/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/mechlovin/infinityce/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechlovin/kanu/info.json b/keyboards/mechlovin/kanu/keyboard.json similarity index 98% rename from keyboards/mechlovin/kanu/info.json rename to keyboards/mechlovin/kanu/keyboard.json index f8931cdff8c..10cd22319a8 100644 --- a/keyboards/mechlovin/kanu/info.json +++ b/keyboards/mechlovin/kanu/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4B4E", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"], "rows": ["B5", "B6", "D3", "C6", "C7"] diff --git a/keyboards/mechlovin/kanu/rules.mk b/keyboards/mechlovin/kanu/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/mechlovin/kanu/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechlovin/kay60/info.json b/keyboards/mechlovin/kay60/keyboard.json similarity index 97% rename from keyboards/mechlovin/kay60/info.json rename to keyboards/mechlovin/kay60/keyboard.json index 7e1ba1fa2d7..7c382739471 100644 --- a/keyboards/mechlovin/kay60/info.json +++ b/keyboards/mechlovin/kay60/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0601", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B2", "B3", "B7", "B4", "D7", "D6", "D4"], "rows": ["D5", "D3", "D2", "B1", "B5"] diff --git a/keyboards/mechlovin/kay60/rules.mk b/keyboards/mechlovin/kay60/rules.mk deleted file mode 100644 index 48c738da8f9..00000000000 --- a/keyboards/mechlovin/kay60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechlovin/kay65/info.json b/keyboards/mechlovin/kay65/keyboard.json similarity index 98% rename from keyboards/mechlovin/kay65/info.json rename to keyboards/mechlovin/kay65/keyboard.json index 9a8cf1b5d2f..f5d58979396 100644 --- a/keyboards/mechlovin/kay65/info.json +++ b/keyboards/mechlovin/kay65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6502", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "C7", "E6", "B0", "D2", "D1", "D0", "B3", "B2", "B1"], "rows": ["B7", "D3", "D5", "D4", "C6"] diff --git a/keyboards/mechlovin/kay65/rules.mk b/keyboards/mechlovin/kay65/rules.mk deleted file mode 100644 index 2eba275490a..00000000000 --- a/keyboards/mechlovin/kay65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechlovin/olly/orion/info.json b/keyboards/mechlovin/olly/orion/keyboard.json similarity index 98% rename from keyboards/mechlovin/olly/orion/info.json rename to keyboards/mechlovin/olly/orion/keyboard.json index 0c0ee86c95c..2780e219494 100644 --- a/keyboards/mechlovin/olly/orion/info.json +++ b/keyboards/mechlovin/olly/orion/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xD870", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B14", "B13", "B12", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "A15", "B3", "B4"], "rows": ["A8", "A9", "A10", "B11", "C13", "C14"] diff --git a/keyboards/mechlovin/olly/orion/rules.mk b/keyboards/mechlovin/olly/orion/rules.mk deleted file mode 100644 index ef83f572ccb..00000000000 --- a/keyboards/mechlovin/olly/orion/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/mechlovin/pisces/info.json b/keyboards/mechlovin/pisces/keyboard.json similarity index 97% rename from keyboards/mechlovin/pisces/info.json rename to keyboards/mechlovin/pisces/keyboard.json index bf084ba863c..37915826e66 100644 --- a/keyboards/mechlovin/pisces/info.json +++ b/keyboards/mechlovin/pisces/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6501", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "B1", "B3", "D0", "D1", "D2", "D3", "D5", "F4", "F1", "D4", "D6", "D7", "B4", "B5"], "rows": ["B0", "F0", "F5", "F6", "F7"] diff --git a/keyboards/mechlovin/pisces/rules.mk b/keyboards/mechlovin/pisces/rules.mk deleted file mode 100644 index bb8afde082e..00000000000 --- a/keyboards/mechlovin/pisces/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechlovin/tmkl/info.json b/keyboards/mechlovin/tmkl/keyboard.json similarity index 96% rename from keyboards/mechlovin/tmkl/info.json rename to keyboards/mechlovin/tmkl/keyboard.json index f5ff5420b4c..8b66e9a4666 100644 --- a/keyboards/mechlovin/tmkl/info.json +++ b/keyboards/mechlovin/tmkl/keyboard.json @@ -7,6 +7,15 @@ "pid": "0xC601", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A0", "C15", "B4", "B5", "B3", "C13", "C14"], "rows": ["A8", "A4", "A5", "A3", "A2", "A1"] diff --git a/keyboards/mechlovin/tmkl/rules.mk b/keyboards/mechlovin/tmkl/rules.mk deleted file mode 100644 index 80b09b5e419..00000000000 --- a/keyboards/mechlovin/tmkl/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/mechlovin/zed60/info.json b/keyboards/mechlovin/zed60/keyboard.json similarity index 98% rename from keyboards/mechlovin/zed60/info.json rename to keyboards/mechlovin/zed60/keyboard.json index 83b8c3f449e..39a8ae7ea78 100644 --- a/keyboards/mechlovin/zed60/info.json +++ b/keyboards/mechlovin/zed60/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0602", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A3", "A9", "A8", "B15", "B14", "B13", "B12", "B5", "B4", "B3", "A15", "B7", "B6"], "rows": ["B10", "B2", "B1", "B0", "A2"] diff --git a/keyboards/mechlovin/zed60/rules.mk b/keyboards/mechlovin/zed60/rules.mk deleted file mode 100644 index 622edc34081..00000000000 --- a/keyboards/mechlovin/zed60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mechstudio/dawn/info.json b/keyboards/mechstudio/dawn/keyboard.json similarity index 96% rename from keyboards/mechstudio/dawn/info.json rename to keyboards/mechstudio/dawn/keyboard.json index cc1f5a425f5..dc1894f4e5f 100644 --- a/keyboards/mechstudio/dawn/info.json +++ b/keyboards/mechstudio/dawn/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0004", "device_version": "0.0.4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D5", "D3", "D2"], "rows": ["B1", "B2", "B3", "D1", "D6", "D4"] diff --git a/keyboards/mechstudio/dawn/rules.mk b/keyboards/mechstudio/dawn/rules.mk deleted file mode 100644 index 0a7f474acba..00000000000 --- a/keyboards/mechstudio/dawn/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/mechwild/mercutio/info.json b/keyboards/mechwild/mercutio/keyboard.json similarity index 97% rename from keyboards/mechwild/mercutio/info.json rename to keyboards/mechwild/mercutio/keyboard.json index 796d22e3639..a07874e2a2a 100644 --- a/keyboards/mechwild/mercutio/info.json +++ b/keyboards/mechwild/mercutio/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1703", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true + }, "matrix_pins": { "cols": ["B0", "D7", "D6", "D5", "B1", "B2", "B3"], "rows": ["D0", "D1", "D4", "C3", "C0", "C1", "C2"] diff --git a/keyboards/mechwild/mercutio/rules.mk b/keyboards/mechwild/mercutio/rules.mk deleted file mode 100644 index a62bc3d00cd..00000000000 --- a/keyboards/mechwild/mercutio/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/mechwild/murphpad/info.json b/keyboards/mechwild/murphpad/keyboard.json similarity index 91% rename from keyboards/mechwild/murphpad/info.json rename to keyboards/mechwild/murphpad/keyboard.json index dd635fed599..a2a5eba926b 100644 --- a/keyboards/mechwild/murphpad/info.json +++ b/keyboards/mechwild/murphpad/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x1705", "device_version": "3.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "D7", "C6", "D4", "B6"], "rows": ["F5", "B2", "B3", "B1", "F7", "F6"] diff --git a/keyboards/mechwild/murphpad/rules.mk b/keyboards/mechwild/murphpad/rules.mk deleted file mode 100644 index df9b208bb21..00000000000 --- a/keyboards/mechwild/murphpad/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable encoder -OLED_ENABLE = yes diff --git a/keyboards/mehkee96/info.json b/keyboards/mehkee96/keyboard.json similarity index 96% rename from keyboards/mehkee96/info.json rename to keyboards/mehkee96/keyboard.json index 9a81cba932a..4f4d4853c8f 100644 --- a/keyboards/mehkee96/info.json +++ b/keyboards/mehkee96/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/mehkee96/rules.mk b/keyboards/mehkee96/rules.mk deleted file mode 100644 index e629a74231f..00000000000 --- a/keyboards/mehkee96/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes diff --git a/keyboards/meletrix/zoom65/info.json b/keyboards/meletrix/zoom65/keyboard.json similarity index 99% rename from keyboards/meletrix/zoom65/info.json rename to keyboards/meletrix/zoom65/keyboard.json index 59de004989f..997b6d55e39 100644 --- a/keyboards/meletrix/zoom65/info.json +++ b/keyboards/meletrix/zoom65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "E6", "D5", "F1", "F4"] diff --git a/keyboards/meletrix/zoom65/rules.mk b/keyboards/meletrix/zoom65/rules.mk deleted file mode 100644 index c310a235a93..00000000000 --- a/keyboards/meletrix/zoom65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable Encoder diff --git a/keyboards/meletrix/zoom65_lite/info.json b/keyboards/meletrix/zoom65_lite/keyboard.json similarity index 99% rename from keyboards/meletrix/zoom65_lite/info.json rename to keyboards/meletrix/zoom65_lite/keyboard.json index 932dc8571e2..990c34206db 100644 --- a/keyboards/meletrix/zoom65_lite/info.json +++ b/keyboards/meletrix/zoom65_lite/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "E6", "D5", "F1", "F4"] diff --git a/keyboards/meletrix/zoom65_lite/rules.mk b/keyboards/meletrix/zoom65_lite/rules.mk deleted file mode 100644 index c310a235a93..00000000000 --- a/keyboards/meletrix/zoom65_lite/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable Encoder diff --git a/keyboards/meletrix/zoom87/info.json b/keyboards/meletrix/zoom87/keyboard.json similarity index 99% rename from keyboards/meletrix/zoom87/info.json rename to keyboards/meletrix/zoom87/keyboard.json index 551bdc76aa9..b2cec7968fc 100644 --- a/keyboards/meletrix/zoom87/info.json +++ b/keyboards/meletrix/zoom87/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "D7", "D1", "D5", "F7", "D4", "F5", "F4", "F1", "C7", "C6", "B6", "B5", "B4", "E6", "B1", "B0"], "rows": ["B3", "B7", "B2", "F0", "D3", "D0"] diff --git a/keyboards/meletrix/zoom87/rules.mk b/keyboards/meletrix/zoom87/rules.mk deleted file mode 100644 index 9f087183c5e..00000000000 --- a/keyboards/meletrix/zoom87/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/melgeek/mj6xy/rev3/info.json b/keyboards/melgeek/mj6xy/rev3/keyboard.json similarity index 79% rename from keyboards/melgeek/mj6xy/rev3/info.json rename to keyboards/melgeek/mj6xy/rev3/keyboard.json index e6900656398..8888b78c2db 100644 --- a/keyboards/melgeek/mj6xy/rev3/info.json +++ b/keyboards/melgeek/mj6xy/rev3/keyboard.json @@ -1,4 +1,14 @@ { + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F7", "D2", "D1", "D0"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/melgeek/mj6xy/rev3/rules.mk b/keyboards/melgeek/mj6xy/rev3/rules.mk deleted file mode 100755 index 51b869696a0..00000000000 --- a/keyboards/melgeek/mj6xy/rev3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/meme/info.json b/keyboards/meme/keyboard.json similarity index 98% rename from keyboards/meme/info.json rename to keyboards/meme/keyboard.json index d844fc45ca4..e75f7e13aa6 100644 --- a/keyboards/meme/info.json +++ b/keyboards/meme/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D2", "B5", "B6", "C7", "C6", "C5", "C4"], "rows": ["C2", "D0", "D1", "D4", "D5", "D6", "B0", "B1", "B2", "B3"] diff --git a/keyboards/meme/rules.mk b/keyboards/meme/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/meme/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/meow48/info.json b/keyboards/meow48/keyboard.json similarity index 95% rename from keyboards/meow48/info.json rename to keyboards/meow48/keyboard.json index a38eee886bf..3bb78af1168 100644 --- a/keyboards/meow48/info.json +++ b/keyboards/meow48/keyboard.json @@ -30,6 +30,16 @@ "twinkle": true } }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5"] diff --git a/keyboards/meow48/rules.mk b/keyboards/meow48/rules.mk deleted file mode 100644 index 50a1438ecd3..00000000000 --- a/keyboards/meow48/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/meow65/info.json b/keyboards/meow65/keyboard.json similarity index 96% rename from keyboards/meow65/info.json rename to keyboards/meow65/keyboard.json index 2187a021fb4..510f8318c8c 100644 --- a/keyboards/meow65/info.json +++ b/keyboards/meow65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4D36", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "F6", "B0", "F4", "F1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "C7"], "rows": ["C6", "B6", "B5", "B7", "F7"] diff --git a/keyboards/meow65/rules.mk b/keyboards/meow65/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/meow65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/merge/iso_macro/info.json b/keyboards/merge/iso_macro/keyboard.json similarity index 83% rename from keyboards/merge/iso_macro/info.json rename to keyboards/merge/iso_macro/keyboard.json index fe20e701ba4..1c6d9052824 100644 --- a/keyboards/merge/iso_macro/info.json +++ b/keyboards/merge/iso_macro/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1200", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B4", "B5", "B6"], "rows": ["F4", "F5", "F6"] diff --git a/keyboards/merge/iso_macro/rules.mk b/keyboards/merge/iso_macro/rules.mk deleted file mode 100644 index f6b1d47e1a9..00000000000 --- a/keyboards/merge/iso_macro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/merge/uc1/info.json b/keyboards/merge/uc1/keyboard.json similarity index 85% rename from keyboards/merge/uc1/info.json rename to keyboards/merge/uc1/keyboard.json index b1f032417f1..85e9b03c64c 100644 --- a/keyboards/merge/uc1/info.json +++ b/keyboards/merge/uc1/keyboard.json @@ -30,6 +30,16 @@ "ws2812": { "pin": "B5" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B3", "B4"], "rows": ["B1", "B2"] diff --git a/keyboards/merge/uc1/rules.mk b/keyboards/merge/uc1/rules.mk deleted file mode 100644 index e78e1f6cec4..00000000000 --- a/keyboards/merge/uc1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/mesa/mesa_tkl/info.json b/keyboards/mesa/mesa_tkl/keyboard.json similarity index 98% rename from keyboards/mesa/mesa_tkl/info.json rename to keyboards/mesa/mesa_tkl/keyboard.json index 28379d19bb5..ac12e879778 100644 --- a/keyboards/mesa/mesa_tkl/info.json +++ b/keyboards/mesa/mesa_tkl/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3"], "rows": ["D2", "D1", "D0", "B0", "C6", "C7"] diff --git a/keyboards/mesa/mesa_tkl/rules.mk b/keyboards/mesa/mesa_tkl/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/mesa/mesa_tkl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mikeneko65/info.json b/keyboards/mikeneko65/keyboard.json similarity index 96% rename from keyboards/mikeneko65/info.json rename to keyboards/mikeneko65/keyboard.json index ebd6a4a7a4d..77bb74598e4 100644 --- a/keyboards/mikeneko65/info.json +++ b/keyboards/mikeneko65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6D54", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0", "B7", "D4", "D6", "D7", "B6", "B5", "B4"], "rows": ["D0", "D1", "D2", "D3", "C7"] diff --git a/keyboards/mikeneko65/rules.mk b/keyboards/mikeneko65/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/mikeneko65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/millipad/info.json b/keyboards/millipad/keyboard.json similarity index 86% rename from keyboards/millipad/info.json rename to keyboards/millipad/keyboard.json index 0734c9ae609..f7646b39ea6 100644 --- a/keyboards/millipad/info.json +++ b/keyboards/millipad/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "D7", "D6", "D4"], "rows": ["C6", "C7"] diff --git a/keyboards/millipad/rules.mk b/keyboards/millipad/rules.mk deleted file mode 100644 index 4b9105caf38..00000000000 --- a/keyboards/millipad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/mini_elixivy/info.json b/keyboards/mini_elixivy/keyboard.json similarity index 97% rename from keyboards/mini_elixivy/info.json rename to keyboards/mini_elixivy/keyboard.json index 396c27506c0..2485897ef60 100644 --- a/keyboards/mini_elixivy/info.json +++ b/keyboards/mini_elixivy/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "F5", "F4", "F1", "F0", "B7", "D0", "D1", "D2", "D3", "D4", "D6", "D7", "B4", "C6"], "rows": ["B5", "B6", "E6", "F6", "C7"] diff --git a/keyboards/mini_elixivy/rules.mk b/keyboards/mini_elixivy/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/mini_elixivy/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/mini_ten_key_plus/info.json b/keyboards/mini_ten_key_plus/keyboard.json similarity index 94% rename from keyboards/mini_ten_key_plus/info.json rename to keyboards/mini_ten_key_plus/keyboard.json index d8c0baa6cda..2284c58d3c6 100644 --- a/keyboards/mini_ten_key_plus/info.json +++ b/keyboards/mini_ten_key_plus/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5", "F4", "B6", "D7", "C6"], "rows": ["D4", "B1", "B5", "B4", "E6"] diff --git a/keyboards/mini_ten_key_plus/rules.mk b/keyboards/mini_ten_key_plus/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/mini_ten_key_plus/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/minimacro5/info.json b/keyboards/minimacro5/keyboard.json similarity index 87% rename from keyboards/minimacro5/info.json rename to keyboards/minimacro5/keyboard.json index 4396783673a..32be6abd5f6 100644 --- a/keyboards/minimacro5/info.json +++ b/keyboards/minimacro5/keyboard.json @@ -37,6 +37,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["F4", "B6", "B2", "D7", "B4"] diff --git a/keyboards/minimacro5/rules.mk b/keyboards/minimacro5/rules.mk deleted file mode 100644 index 897a356cf68..00000000000 --- a/keyboards/minimacro5/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes #enable rotary encoders diff --git a/keyboards/minimon/index_tab/info.json b/keyboards/minimon/index_tab/keyboard.json similarity index 98% rename from keyboards/minimon/index_tab/info.json rename to keyboards/minimon/index_tab/keyboard.json index 62a8d2df942..c8ff091790a 100644 --- a/keyboards/minimon/index_tab/info.json +++ b/keyboards/minimon/index_tab/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D2", "F1", "F0"], "rows": ["D3", "B7", "B3", "B2", "B1", "B0"] diff --git a/keyboards/minimon/index_tab/rules.mk b/keyboards/minimon/index_tab/rules.mk deleted file mode 100644 index 26982ff0073..00000000000 --- a/keyboards/minimon/index_tab/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/misonoworks/chocolatebar/info.json b/keyboards/misonoworks/chocolatebar/keyboard.json similarity index 94% rename from keyboards/misonoworks/chocolatebar/info.json rename to keyboards/misonoworks/chocolatebar/keyboard.json index 51ce82d1bac..cf34557bb12 100644 --- a/keyboards/misonoworks/chocolatebar/info.json +++ b/keyboards/misonoworks/chocolatebar/keyboard.json @@ -24,6 +24,16 @@ "ws2812": { "pin": "B1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "B3", "B2"], "rows": ["B0", "B7", "D2", "D3"] diff --git a/keyboards/misonoworks/chocolatebar/rules.mk b/keyboards/misonoworks/chocolatebar/rules.mk deleted file mode 100644 index e61a4270e14..00000000000 --- a/keyboards/misonoworks/chocolatebar/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no -OLED_ENABLE = yes diff --git a/keyboards/misonoworks/karina/info.json b/keyboards/misonoworks/karina/keyboard.json similarity index 93% rename from keyboards/misonoworks/karina/info.json rename to keyboards/misonoworks/karina/keyboard.json index d7bfaf11f02..cf01cbdbf27 100644 --- a/keyboards/misonoworks/karina/info.json +++ b/keyboards/misonoworks/karina/keyboard.json @@ -27,6 +27,16 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"], "rows": ["D2", "D3", "D5", "F0"] diff --git a/keyboards/misonoworks/karina/rules.mk b/keyboards/misonoworks/karina/rules.mk deleted file mode 100644 index 7e8534dae5a..00000000000 --- a/keyboards/misonoworks/karina/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/misterknife/knife66/info.json b/keyboards/misterknife/knife66/keyboard.json similarity index 99% rename from keyboards/misterknife/knife66/info.json rename to keyboards/misterknife/knife66/keyboard.json index aa196e14821..9e3d0c66b75 100644 --- a/keyboards/misterknife/knife66/info.json +++ b/keyboards/misterknife/knife66/keyboard.json @@ -31,6 +31,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], "rows": ["B15", "A8", "A3", "A2", "A1"] diff --git a/keyboards/misterknife/knife66/rules.mk b/keyboards/misterknife/knife66/rules.mk deleted file mode 100644 index 0098dc473ac..00000000000 --- a/keyboards/misterknife/knife66/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/misterknife/knife66_iso/info.json b/keyboards/misterknife/knife66_iso/keyboard.json similarity index 99% rename from keyboards/misterknife/knife66_iso/info.json rename to keyboards/misterknife/knife66_iso/keyboard.json index 98fb591a40c..88f87461093 100644 --- a/keyboards/misterknife/knife66_iso/info.json +++ b/keyboards/misterknife/knife66_iso/keyboard.json @@ -31,6 +31,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], "rows": ["B15", "A8", "A3", "A2", "A1"] diff --git a/keyboards/misterknife/knife66_iso/rules.mk b/keyboards/misterknife/knife66_iso/rules.mk deleted file mode 100644 index 0098dc473ac..00000000000 --- a/keyboards/misterknife/knife66_iso/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/miuni32/info.json b/keyboards/miuni32/keyboard.json similarity index 95% rename from keyboards/miuni32/info.json rename to keyboards/miuni32/keyboard.json index f9c9b5b7275..43f74f1812e 100644 --- a/keyboards/miuni32/info.json +++ b/keyboards/miuni32/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "D0" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "F1", "E6", "B7", "B3", "B2", "B1", "B0"], "rows": ["F0", "F4", "D7"] diff --git a/keyboards/miuni32/rules.mk b/keyboards/miuni32/rules.mk deleted file mode 100644 index 34c8bbc6337..00000000000 --- a/keyboards/miuni32/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes diff --git a/keyboards/mixi/info.json b/keyboards/mixi/keyboard.json similarity index 88% rename from keyboards/mixi/info.json rename to keyboards/mixi/keyboard.json index 44b1d0aad90..2f948931731 100644 --- a/keyboards/mixi/info.json +++ b/keyboards/mixi/keyboard.json @@ -37,6 +37,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "direct": [ ["D1", "D4", "F4"], diff --git a/keyboards/mixi/rules.mk b/keyboards/mixi/rules.mk deleted file mode 100644 index bb895a7bf2e..00000000000 --- a/keyboards/mixi/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = yes -AUDIO_ENABLE = no diff --git a/keyboards/ml/gas75/info.json b/keyboards/ml/gas75/keyboard.json similarity index 96% rename from keyboards/ml/gas75/info.json rename to keyboards/ml/gas75/keyboard.json index 492573c9be5..25289db9c8d 100644 --- a/keyboards/ml/gas75/info.json +++ b/keyboards/ml/gas75/keyboard.json @@ -56,6 +56,16 @@ "driver": "ws2812", "max_brightness": 200 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D1", "D2", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "E6", "B0", "B1", "B2", "B3"], "rows": ["D3", "D5", "D4", "D7", "D6", "B4"] diff --git a/keyboards/ml/gas75/rules.mk b/keyboards/ml/gas75/rules.mk deleted file mode 100644 index 27645344aeb..00000000000 --- a/keyboards/ml/gas75/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# RGB Matrix enabled -RGB_MATRIX_ENABLE = yes - -# Encoder enabled -ENCODER_ENABLE = yes diff --git a/keyboards/mlego/m48/rev1/info.json b/keyboards/mlego/m48/rev1/keyboard.json similarity index 81% rename from keyboards/mlego/m48/rev1/info.json rename to keyboards/mlego/m48/rev1/keyboard.json index a1f42260a24..c8259424f3e 100644 --- a/keyboards/mlego/m48/rev1/info.json +++ b/keyboards/mlego/m48/rev1/keyboard.json @@ -3,6 +3,16 @@ "pid": "0x6261", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"], "rows": ["A6", "A7", "B0", "B10"] diff --git a/keyboards/mlego/m48/rev1/rules.mk b/keyboards/mlego/m48/rev1/rules.mk deleted file mode 100644 index 52fd5e68dc5..00000000000 --- a/keyboards/mlego/m48/rev1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable encoder diff --git a/keyboards/mlego/m60/rev1/info.json b/keyboards/mlego/m60/rev1/keyboard.json similarity index 81% rename from keyboards/mlego/m60/rev1/info.json rename to keyboards/mlego/m60/rev1/keyboard.json index 293041db82f..989474db830 100644 --- a/keyboards/mlego/m60/rev1/info.json +++ b/keyboards/mlego/m60/rev1/keyboard.json @@ -3,6 +3,16 @@ "pid": "0x6161", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"], "rows": ["A6", "A7", "B0", "B1", "B10"] diff --git a/keyboards/mlego/m60/rev1/rules.mk b/keyboards/mlego/m60/rev1/rules.mk deleted file mode 100644 index a8c86807b4e..00000000000 --- a/keyboards/mlego/m60/rev1/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# - -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable encoder diff --git a/keyboards/mmkzoo65/info.json b/keyboards/mmkzoo65/keyboard.json similarity index 96% rename from keyboards/mmkzoo65/info.json rename to keyboards/mmkzoo65/keyboard.json index 504e7b10612..f023f34ef04 100644 --- a/keyboards/mmkzoo65/info.json +++ b/keyboards/mmkzoo65/keyboard.json @@ -10,6 +10,14 @@ "force_nkro": true, "polling_interval": 2 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["B2", "B3", "B7", "E6", "B0"] diff --git a/keyboards/mmkzoo65/rules.mk b/keyboards/mmkzoo65/rules.mk deleted file mode 100644 index 299541fa82d..00000000000 --- a/keyboards/mmkzoo65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no diff --git a/keyboards/mntre/info.json b/keyboards/mntre/keyboard.json similarity index 95% rename from keyboards/mntre/info.json rename to keyboards/mntre/keyboard.json index 90bfc3fc560..4e14dd19f53 100644 --- a/keyboards/mntre/info.json +++ b/keyboards/mntre/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1302", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "oled": true + }, "matrix_pins": { "cols": ["D5", "F7", "E6", "C7", "B3", "B2", "B1", "B0", "F0", "F1", "F4", "F5", "F6", "C6"], "rows": ["B6", "B5", "B4", "D7", "D6", "D4"] diff --git a/keyboards/mntre/rules.mk b/keyboards/mntre/rules.mk deleted file mode 100644 index a56f94b3128..00000000000 --- a/keyboards/mntre/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/mode/m65ha_alpha/info.json b/keyboards/mode/m65ha_alpha/keyboard.json similarity index 98% rename from keyboards/mode/m65ha_alpha/info.json rename to keyboards/mode/m65ha_alpha/keyboard.json index 3332182127c..8297f3b2bd6 100644 --- a/keyboards/mode/m65ha_alpha/info.json +++ b/keyboards/mode/m65ha_alpha/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6566", "device_version": "0.6.5" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"], "rows": ["A7", "A10", "D2", "C12", "B1", "C11"] diff --git a/keyboards/mode/m65ha_alpha/rules.mk b/keyboards/mode/m65ha_alpha/rules.mk deleted file mode 100644 index 942e6c10612..00000000000 --- a/keyboards/mode/m65ha_alpha/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mode/m65hi_alpha/info.json b/keyboards/mode/m65hi_alpha/keyboard.json similarity index 98% rename from keyboards/mode/m65hi_alpha/info.json rename to keyboards/mode/m65hi_alpha/keyboard.json index a2a4416efed..ff6c75f55be 100644 --- a/keyboards/mode/m65hi_alpha/info.json +++ b/keyboards/mode/m65hi_alpha/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6574", "device_version": "0.6.5" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"], "rows": ["A7", "A10", "D2", "C12", "B1", "C11"] diff --git a/keyboards/mode/m65hi_alpha/rules.mk b/keyboards/mode/m65hi_alpha/rules.mk deleted file mode 100644 index 942e6c10612..00000000000 --- a/keyboards/mode/m65hi_alpha/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mode/m65s/info.json b/keyboards/mode/m65s/keyboard.json similarity index 99% rename from keyboards/mode/m65s/info.json rename to keyboards/mode/m65s/keyboard.json index b1875027369..8ed817a1801 100644 --- a/keyboards/mode/m65s/info.json +++ b/keyboards/mode/m65s/keyboard.json @@ -11,6 +11,14 @@ "qmk": { "tap_keycode_delay": 50 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "A8", "A10", "A4", "A5", "A6", "C10", "A7", "C4", "C5", "A15", "B0", "B1", "B12", "B10", "B13"], "rows": ["A3", "B14", "B15", "C9", "C6", "C11"] diff --git a/keyboards/mode/m65s/rules.mk b/keyboards/mode/m65s/rules.mk deleted file mode 100644 index 4d827a42544..00000000000 --- a/keyboards/mode/m65s/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mode/m80v1/m80h/info.json b/keyboards/mode/m80v1/m80h/keyboard.json similarity index 96% rename from keyboards/mode/m80v1/m80h/info.json rename to keyboards/mode/m80v1/m80h/keyboard.json index f132f25fe58..8d743dcb62f 100644 --- a/keyboards/mode/m80v1/m80h/info.json +++ b/keyboards/mode/m80v1/m80h/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0081", "device_version": "0.7.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"], "rows": ["A10", "A15", "B3", "B9", "A3", "A4"] diff --git a/keyboards/mode/m80v1/m80h/rules.mk b/keyboards/mode/m80v1/m80h/rules.mk deleted file mode 100644 index 5742215e0a0..00000000000 --- a/keyboards/mode/m80v1/m80h/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/mode/m80v1/m80s/info.json b/keyboards/mode/m80v1/m80s/keyboard.json similarity index 96% rename from keyboards/mode/m80v1/m80s/info.json rename to keyboards/mode/m80v1/m80s/keyboard.json index 3c141c4e08a..f4585389344 100644 --- a/keyboards/mode/m80v1/m80s/info.json +++ b/keyboards/mode/m80v1/m80s/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0080", "device_version": "0.8.3" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"], "rows": ["A10", "A15", "B3", "B9", "A3", "A4"] diff --git a/keyboards/mode/m80v1/m80s/rules.mk b/keyboards/mode/m80v1/m80s/rules.mk deleted file mode 100644 index 5742215e0a0..00000000000 --- a/keyboards/mode/m80v1/m80s/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/mode/m80v2/m80v2h/info.json b/keyboards/mode/m80v2/m80v2h/keyboard.json similarity index 97% rename from keyboards/mode/m80v2/m80v2h/info.json rename to keyboards/mode/m80v2/m80v2h/keyboard.json index b332a6853b8..e8bd7f2912b 100644 --- a/keyboards/mode/m80v2/m80v2h/info.json +++ b/keyboards/mode/m80v2/m80v2h/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0083", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"], "rows": ["B12", "B13", "B14", "B3", "B4", "B9"] diff --git a/keyboards/mode/m80v2/m80v2h/rules.mk b/keyboards/mode/m80v2/m80v2h/rules.mk deleted file mode 100644 index 475d3a239cf..00000000000 --- a/keyboards/mode/m80v2/m80v2h/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/mode/m80v2/m80v2s/info.json b/keyboards/mode/m80v2/m80v2s/keyboard.json similarity index 97% rename from keyboards/mode/m80v2/m80v2s/info.json rename to keyboards/mode/m80v2/m80v2s/keyboard.json index 829448f9aed..8f5ecc9ac2e 100644 --- a/keyboards/mode/m80v2/m80v2s/info.json +++ b/keyboards/mode/m80v2/m80v2s/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0082", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"], "rows": ["B12", "B13", "B14", "B3", "B4", "B9"] diff --git a/keyboards/mode/m80v2/m80v2s/rules.mk b/keyboards/mode/m80v2/m80v2s/rules.mk deleted file mode 100644 index 475d3a239cf..00000000000 --- a/keyboards/mode/m80v2/m80v2s/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/mokey/ginkgo65/info.json b/keyboards/mokey/ginkgo65/keyboard.json similarity index 99% rename from keyboards/mokey/ginkgo65/info.json rename to keyboards/mokey/ginkgo65/keyboard.json index 4fffbd596a3..311d91f2d31 100644 --- a/keyboards/mokey/ginkgo65/info.json +++ b/keyboards/mokey/ginkgo65/keyboard.json @@ -11,6 +11,15 @@ "processor": "atmega32u4", "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/mokey/ginkgo65/rules.mk b/keyboards/mokey/ginkgo65/rules.mk deleted file mode 100644 index 14e80e7106b..00000000000 --- a/keyboards/mokey/ginkgo65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mokey/ginkgo65hot/info.json b/keyboards/mokey/ginkgo65hot/keyboard.json similarity index 95% rename from keyboards/mokey/ginkgo65hot/info.json rename to keyboards/mokey/ginkgo65hot/keyboard.json index d63a1f9beb2..1674607310c 100644 --- a/keyboards/mokey/ginkgo65hot/info.json +++ b/keyboards/mokey/ginkgo65hot/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x3366", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/mokey/ginkgo65hot/rules.mk b/keyboards/mokey/ginkgo65hot/rules.mk deleted file mode 100644 index 14e80e7106b..00000000000 --- a/keyboards/mokey/ginkgo65hot/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mokey/ibis80/info.json b/keyboards/mokey/ibis80/keyboard.json similarity index 98% rename from keyboards/mokey/ibis80/info.json rename to keyboards/mokey/ibis80/keyboard.json index 5324930df8e..d6cd985d016 100644 --- a/keyboards/mokey/ibis80/info.json +++ b/keyboards/mokey/ibis80/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3380", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4"], "rows": ["B0", "B1", "B2", "E6", "F0", "F1"] diff --git a/keyboards/mokey/ibis80/rules.mk b/keyboards/mokey/ibis80/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/mokey/ibis80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mokey/mokey63/info.json b/keyboards/mokey/mokey63/keyboard.json similarity index 97% rename from keyboards/mokey/mokey63/info.json rename to keyboards/mokey/mokey63/keyboard.json index bf0b078789f..bebc6005103 100644 --- a/keyboards/mokey/mokey63/info.json +++ b/keyboards/mokey/mokey63/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x063A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B5", "B6", "B2", "B3", "B1"] diff --git a/keyboards/mokey/mokey63/rules.mk b/keyboards/mokey/mokey63/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/mokey/mokey63/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mokey/mokey64/info.json b/keyboards/mokey/mokey64/keyboard.json similarity index 95% rename from keyboards/mokey/mokey64/info.json rename to keyboards/mokey/mokey64/keyboard.json index caff88fb420..0234cf6292d 100644 --- a/keyboards/mokey/mokey64/info.json +++ b/keyboards/mokey/mokey64/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x001A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D2", "D1", "D3", "D5", "D4", "D6", "D7", "B6"], "rows": ["B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/mokey/mokey64/rules.mk b/keyboards/mokey/mokey64/rules.mk deleted file mode 100644 index c21ddd50844..00000000000 --- a/keyboards/mokey/mokey64/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mokey/xox70/info.json b/keyboards/mokey/xox70/keyboard.json similarity index 99% rename from keyboards/mokey/xox70/info.json rename to keyboards/mokey/xox70/keyboard.json index 9d3216ab15f..4f8f5439f50 100644 --- a/keyboards/mokey/xox70/info.json +++ b/keyboards/mokey/xox70/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3370", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "C7", "F4", "F5", "F1", "B6", "D0", "D2", "D3", "D1", "D7", "D4", "D5", "D6", "B4", "B5", "C6", "B7"], "rows": ["F7", "B7", "F5", "F1", "B0"] diff --git a/keyboards/mokey/xox70/rules.mk b/keyboards/mokey/xox70/rules.mk deleted file mode 100644 index 33ab188ca78..00000000000 --- a/keyboards/mokey/xox70/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mokey/xox70hot/info.json b/keyboards/mokey/xox70hot/keyboard.json similarity index 96% rename from keyboards/mokey/xox70hot/info.json rename to keyboards/mokey/xox70hot/keyboard.json index 590684d79f3..7d5f338b626 100644 --- a/keyboards/mokey/xox70hot/info.json +++ b/keyboards/mokey/xox70hot/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3371", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "C7", "F4", "F5", "F1", "B6", "D0", "D2", "D3", "D1", "D7", "D4", "D5", "D6", "B4", "B5", "C6", "B7"], "rows": ["F7", "B7", "F5", "F1", "B0"] diff --git a/keyboards/mokey/xox70hot/rules.mk b/keyboards/mokey/xox70hot/rules.mk deleted file mode 100644 index 9e621339867..00000000000 --- a/keyboards/mokey/xox70hot/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/monarch/info.json b/keyboards/monarch/keyboard.json similarity index 97% rename from keyboards/monarch/info.json rename to keyboards/monarch/keyboard.json index ff47a1be3e1..f5dee1f9f60 100644 --- a/keyboards/monarch/info.json +++ b/keyboards/monarch/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x43C1", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B10", "B2", "B1", "B0", "A5", "A7", "A4", "A3", "B6"], "rows": ["A15", "B3", "B11", "A2", "A1", "B9"] diff --git a/keyboards/monarch/rules.mk b/keyboards/monarch/rules.mk deleted file mode 100644 index 195a2958ce7..00000000000 --- a/keyboards/monarch/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes -ENCODER_ENABLE = yes - diff --git a/keyboards/monstargear/xo87/rgb/info.json b/keyboards/monstargear/xo87/rgb/keyboard.json similarity index 97% rename from keyboards/monstargear/xo87/rgb/info.json rename to keyboards/monstargear/xo87/rgb/keyboard.json index c96111b0f29..cedc1868450 100644 --- a/keyboards/monstargear/xo87/rgb/info.json +++ b/keyboards/monstargear/xo87/rgb/keyboard.json @@ -64,6 +64,15 @@ "rgblight": { "max_brightness": 100 }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C5", "C3", "C1", "E1", "D6", "D2", "B7", "B3", "F6", "F7", "F3", "A5", "A1", "E2", "C7", "A6"], "rows": ["E6", "E7", "E3", "B0", "B1", "A2"] diff --git a/keyboards/monstargear/xo87/rgb/rules.mk b/keyboards/monstargear/xo87/rgb/rules.mk deleted file mode 100644 index 332aa40f385..00000000000 --- a/keyboards/monstargear/xo87/rgb/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -RAW_ENABLE = no diff --git a/keyboards/monstargear/xo87/solderable/info.json b/keyboards/monstargear/xo87/solderable/keyboard.json similarity index 99% rename from keyboards/monstargear/xo87/solderable/info.json rename to keyboards/monstargear/xo87/solderable/keyboard.json index 4c569a89dfd..f8436f4bacd 100644 --- a/keyboards/monstargear/xo87/solderable/info.json +++ b/keyboards/monstargear/xo87/solderable/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5344", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C5", "C3", "C1", "E1", "D6", "D2", "B7", "B3", "F6", "F7", "F3", "A5", "A1", "E2", "C7", "A6"], "rows": ["E6", "E7", "E3", "B0", "B1", "A2"] diff --git a/keyboards/monstargear/xo87/solderable/rules.mk b/keyboards/monstargear/xo87/solderable/rules.mk deleted file mode 100644 index d845a512bb7..00000000000 --- a/keyboards/monstargear/xo87/solderable/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/montsinger/rewind/info.json b/keyboards/montsinger/rewind/keyboard.json similarity index 94% rename from keyboards/montsinger/rewind/info.json rename to keyboards/montsinger/rewind/keyboard.json index 6e56b3de3bf..b8a70296633 100644 --- a/keyboards/montsinger/rewind/info.json +++ b/keyboards/montsinger/rewind/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x552F", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F7", "B1", "B3", "E6", "D7", "C6", "D4", "D0", "D1"], "rows": ["B5", "B4", "D2", "D3", "B2"] diff --git a/keyboards/montsinger/rewind/rules.mk b/keyboards/montsinger/rewind/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/montsinger/rewind/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/morizon/info.json b/keyboards/morizon/keyboard.json similarity index 95% rename from keyboards/morizon/info.json rename to keyboards/morizon/keyboard.json index 12cd59a31f7..440047c6902 100644 --- a/keyboards/morizon/info.json +++ b/keyboards/morizon/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/morizon/rules.mk b/keyboards/morizon/rules.mk deleted file mode 100644 index 03778480554..00000000000 --- a/keyboards/morizon/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -COMMAND_ENABLE = no # Commands for debug and configuration -CONSOLE_ENABLE = yes # Console for debug -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mountainblocks/mb17/info.json b/keyboards/mountainblocks/mb17/keyboard.json similarity index 89% rename from keyboards/mountainblocks/mb17/info.json rename to keyboards/mountainblocks/mb17/keyboard.json index 411e23a4206..dca8ca8ee97 100644 --- a/keyboards/mountainblocks/mb17/info.json +++ b/keyboards/mountainblocks/mb17/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0017", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "E6", "D7", "C6"], "rows": ["F4", "B1", "B3", "B2", "B6"] diff --git a/keyboards/mountainblocks/mb17/rules.mk b/keyboards/mountainblocks/mb17/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/mountainblocks/mb17/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mss_studio/m63_rgb/info.json b/keyboards/mss_studio/m63_rgb/keyboard.json similarity index 96% rename from keyboards/mss_studio/m63_rgb/info.json rename to keyboards/mss_studio/m63_rgb/keyboard.json index 3ac3725f1b0..1b1745bc201 100644 --- a/keyboards/mss_studio/m63_rgb/info.json +++ b/keyboards/mss_studio/m63_rgb/keyboard.json @@ -60,6 +60,15 @@ "driver": "ws2812", "max_brightness": 200 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B10", "A7", "A6", "A5", "A4", "B5", "B6", "A1", "B7", "B8", "B9"], "rows": ["B3", "B4", "A0", "A2", "A3"] diff --git a/keyboards/mss_studio/m63_rgb/rules.mk b/keyboards/mss_studio/m63_rgb/rules.mk deleted file mode 100644 index 138bf78056e..00000000000 --- a/keyboards/mss_studio/m63_rgb/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# RGB Matrix enabled -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/mss_studio/m64_rgb/info.json b/keyboards/mss_studio/m64_rgb/keyboard.json similarity index 96% rename from keyboards/mss_studio/m64_rgb/info.json rename to keyboards/mss_studio/m64_rgb/keyboard.json index f956ac50b5e..eb1cabb3059 100644 --- a/keyboards/mss_studio/m64_rgb/info.json +++ b/keyboards/mss_studio/m64_rgb/keyboard.json @@ -60,6 +60,15 @@ "driver": "ws2812", "max_brightness": 200 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B10", "A7", "A6", "A5", "A4", "B5", "B6", "A1", "B7", "B8", "B9"], "rows": ["B3", "B4", "A0", "A2", "A3"] diff --git a/keyboards/mss_studio/m64_rgb/rules.mk b/keyboards/mss_studio/m64_rgb/rules.mk deleted file mode 100644 index 138bf78056e..00000000000 --- a/keyboards/mss_studio/m64_rgb/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# RGB Matrix enabled -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/mt/blocked65/info.json b/keyboards/mt/blocked65/keyboard.json similarity index 96% rename from keyboards/mt/blocked65/info.json rename to keyboards/mt/blocked65/keyboard.json index d260a51b607..14e5942228d 100644 --- a/keyboards/mt/blocked65/info.json +++ b/keyboards/mt/blocked65/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "E2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/mt/blocked65/rules.mk b/keyboards/mt/blocked65/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/mt/blocked65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/keyboard.json similarity index 94% rename from keyboards/mt/mt40/info.json rename to keyboards/mt/mt40/keyboard.json index 83980bf7943..d1700389f7e 100644 --- a/keyboards/mt/mt40/info.json +++ b/keyboards/mt/mt40/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B7"] diff --git a/keyboards/mt/mt40/rules.mk b/keyboards/mt/mt40/rules.mk deleted file mode 100644 index 5aa98ed4d81..00000000000 --- a/keyboards/mt/mt40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/keyboard.json similarity index 96% rename from keyboards/mt/mt980/info.json rename to keyboards/mt/mt980/keyboard.json index b27bf8aae81..6ecc9f86108 100644 --- a/keyboards/mt/mt980/info.json +++ b/keyboards/mt/mt980/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/mt/mt980/rules.mk b/keyboards/mt/mt980/rules.mk deleted file mode 100644 index 9107b459049..00000000000 --- a/keyboards/mt/mt980/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes -KEY_LOCK_ENABLE = no diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/keyboard.json similarity index 95% rename from keyboards/mtbkeys/mtb60/hotswap/info.json rename to keyboards/mtbkeys/mtb60/hotswap/keyboard.json index 554587e8163..8d39de83230 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/info.json +++ b/keyboards/mtbkeys/mtb60/hotswap/keyboard.json @@ -32,6 +32,15 @@ "ws2812": { "pin": "D4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "B7", "B6", "F7", "C6", "C7", "F6", "F4", "F1", "F0", "F5", "E6"], "rows": ["D6", "D7", "B4", "B5", "D5"] diff --git a/keyboards/mtbkeys/mtb60/hotswap/rules.mk b/keyboards/mtbkeys/mtb60/hotswap/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/mtbkeys/mtb60/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/keyboard.json similarity index 99% rename from keyboards/mtbkeys/mtb60/solder/info.json rename to keyboards/mtbkeys/mtb60/solder/keyboard.json index dae43e69697..1770e3a997a 100644 --- a/keyboards/mtbkeys/mtb60/solder/info.json +++ b/keyboards/mtbkeys/mtb60/solder/keyboard.json @@ -32,6 +32,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F5", "F6", "F7", "D5", "D3", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["D0", "D1", "F4", "F1", "D2"] diff --git a/keyboards/mtbkeys/mtb60/solder/rules.mk b/keyboards/mtbkeys/mtb60/solder/rules.mk deleted file mode 100644 index 2eba275490a..00000000000 --- a/keyboards/mtbkeys/mtb60/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/mwstudio/alicekk/info.json b/keyboards/mwstudio/alicekk/keyboard.json similarity index 95% rename from keyboards/mwstudio/alicekk/info.json rename to keyboards/mwstudio/alicekk/keyboard.json index 75b65279d64..141be9909e3 100644 --- a/keyboards/mwstudio/alicekk/info.json +++ b/keyboards/mwstudio/alicekk/keyboard.json @@ -7,6 +7,16 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "A4", "A2", "A1", "B6", "B5", "B4", "B3", "A15"], "rows": ["A3", "A5", "A6", "A7", "B0"] diff --git a/keyboards/mwstudio/alicekk/rules.mk b/keyboards/mwstudio/alicekk/rules.mk deleted file mode 100644 index f365071da0e..00000000000 --- a/keyboards/mwstudio/alicekk/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - - diff --git a/keyboards/mwstudio/mw65_black/info.json b/keyboards/mwstudio/mw65_black/keyboard.json similarity index 97% rename from keyboards/mwstudio/mw65_black/info.json rename to keyboards/mwstudio/mw65_black/keyboard.json index 26463406587..8955cf96883 100644 --- a/keyboards/mwstudio/mw65_black/info.json +++ b/keyboards/mwstudio/mw65_black/keyboard.json @@ -16,6 +16,16 @@ "ws2812": { "pin": "C7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "D0", "D1", "D2", "D3", "D5", "C6", "F7", "F4", "F6", "F5", "F1", "F0"], "rows": ["D4", "D7", "B4", "B3", "B6"] diff --git a/keyboards/mwstudio/mw65_black/rules.mk b/keyboards/mwstudio/mw65_black/rules.mk deleted file mode 100644 index 6c261600bc0..00000000000 --- a/keyboards/mwstudio/mw65_black/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/mwstudio/mw65_rgb/info.json b/keyboards/mwstudio/mw65_rgb/keyboard.json similarity index 96% rename from keyboards/mwstudio/mw65_rgb/info.json rename to keyboards/mwstudio/mw65_rgb/keyboard.json index 502a112c43b..f1a8190948b 100644 --- a/keyboards/mwstudio/mw65_rgb/info.json +++ b/keyboards/mwstudio/mw65_rgb/keyboard.json @@ -57,6 +57,16 @@ "driver": "ws2812", "max_brightness": 200 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"], "rows": ["D0", "D1", "D2", "D3", "B7"] diff --git a/keyboards/mwstudio/mw65_rgb/rules.mk b/keyboards/mwstudio/mw65_rgb/rules.mk deleted file mode 100644 index faabb5cad76..00000000000 --- a/keyboards/mwstudio/mw65_rgb/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -RGB_MATRIX_ENABLE = yes - -ENCODER_ENABLE = yes diff --git a/keyboards/mwstudio/mw75/info.json b/keyboards/mwstudio/mw75/keyboard.json similarity index 96% rename from keyboards/mwstudio/mw75/info.json rename to keyboards/mwstudio/mw75/keyboard.json index 61533f6266f..d19d6b49ba1 100644 --- a/keyboards/mwstudio/mw75/info.json +++ b/keyboards/mwstudio/mw75/keyboard.json @@ -56,6 +56,16 @@ "driver": "ws2812", "max_brightness": 200 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"], "rows": ["B7", "D0", "D1", "D2", "D3", "D5", "B0"] diff --git a/keyboards/mwstudio/mw75/rules.mk b/keyboards/mwstudio/mw75/rules.mk deleted file mode 100644 index 041f588c14e..00000000000 --- a/keyboards/mwstudio/mw75/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/mwstudio/mw75r2/info.json b/keyboards/mwstudio/mw75r2/keyboard.json similarity index 96% rename from keyboards/mwstudio/mw75r2/info.json rename to keyboards/mwstudio/mw75r2/keyboard.json index 950ded1e80d..ae227830e59 100644 --- a/keyboards/mwstudio/mw75r2/info.json +++ b/keyboards/mwstudio/mw75r2/keyboard.json @@ -42,6 +42,16 @@ }, "driver": "ws2812" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D4", "D6", "F7", "F6", "E6", "F0", "F1", "F4", "F5"], "rows": ["B7", "D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/mwstudio/mw75r2/rules.mk b/keyboards/mwstudio/mw75r2/rules.mk deleted file mode 100644 index 041f588c14e..00000000000 --- a/keyboards/mwstudio/mw75r2/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/mysticworks/wyvern/info.json b/keyboards/mysticworks/wyvern/keyboard.json similarity index 99% rename from keyboards/mysticworks/wyvern/info.json rename to keyboards/mysticworks/wyvern/keyboard.json index 01c16c41f9b..ddc240dd8f3 100644 --- a/keyboards/mysticworks/wyvern/info.json +++ b/keyboards/mysticworks/wyvern/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "B0", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["D0", "D1", "D5", "D3", "F7", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/mysticworks/wyvern/rules.mk b/keyboards/mysticworks/wyvern/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/mysticworks/wyvern/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nacly/ua62/info.json b/keyboards/nacly/ua62/keyboard.json similarity index 95% rename from keyboards/nacly/ua62/info.json rename to keyboards/nacly/ua62/keyboard.json index 383825414b6..92323d51646 100644 --- a/keyboards/nacly/ua62/info.json +++ b/keyboards/nacly/ua62/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xFFFF", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D3", "D2", "D1", "D0", "D4"] diff --git a/keyboards/nacly/ua62/rules.mk b/keyboards/nacly/ua62/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/nacly/ua62/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ncc1701kb/info.json b/keyboards/ncc1701kb/keyboard.json similarity index 82% rename from keyboards/ncc1701kb/info.json rename to keyboards/ncc1701kb/keyboard.json index 246edae9475..f30b85f47ad 100644 --- a/keyboards/ncc1701kb/info.json +++ b/keyboards/ncc1701kb/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x1701", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["B4", "B5", "B6"], "rows": ["D4", "D6", "D7"] diff --git a/keyboards/ncc1701kb/rules.mk b/keyboards/ncc1701kb/rules.mk deleted file mode 100644 index 86884fb0826..00000000000 --- a/keyboards/ncc1701kb/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -ENCODER_ENABLE = yes diff --git a/keyboards/neito/info.json b/keyboards/neito/keyboard.json similarity index 95% rename from keyboards/neito/info.json rename to keyboards/neito/keyboard.json index fcf24c68c8e..d79ab685082 100644 --- a/keyboards/neito/info.json +++ b/keyboards/neito/keyboard.json @@ -8,6 +8,17 @@ "pid": "0xB44C", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F1", "F7", "B2", "D1", "D2", "B3", "B1"], "rows": ["E6", "F0", "F5", "F6", "C7", "C6", "B4", "D7", "D6", "D4"] diff --git a/keyboards/neito/rules.mk b/keyboards/neito/rules.mk deleted file mode 100644 index a36b9d8dca8..00000000000 --- a/keyboards/neito/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # We have a encoder diff --git a/keyboards/nemui/info.json b/keyboards/nemui/keyboard.json similarity index 96% rename from keyboards/nemui/info.json rename to keyboards/nemui/keyboard.json index 867512a8f57..d8fbc4db1c2 100644 --- a/keyboards/nemui/info.json +++ b/keyboards/nemui/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x2371", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B1", "B0", "B10", "B11", "A7", "B12", "B13", "B14", "A10", "A9", "A8", "B7", "B8", "B9"], "rows": ["A3", "A4", "A5", "A6", "A2"] diff --git a/keyboards/nemui/rules.mk b/keyboards/nemui/rules.mk deleted file mode 100644 index 7f4f202a1b7..00000000000 --- a/keyboards/nemui/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/neokeys/g67/element_hs/info.json b/keyboards/neokeys/g67/element_hs/keyboard.json similarity index 95% rename from keyboards/neokeys/g67/element_hs/info.json rename to keyboards/neokeys/g67/element_hs/keyboard.json index 707993d4a3c..f477c33d6a8 100644 --- a/keyboards/neokeys/g67/element_hs/info.json +++ b/keyboards/neokeys/g67/element_hs/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5049", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "key_lock": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "B7", "D5", "D1", "D2", "D3", "D4", "D0", "D6", "D7", "B4"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/neokeys/g67/element_hs/rules.mk b/keyboards/neokeys/g67/element_hs/rules.mk deleted file mode 100644 index f819a9f1e02..00000000000 --- a/keyboards/neokeys/g67/element_hs/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/neokeys/g67/hotswap/info.json b/keyboards/neokeys/g67/hotswap/keyboard.json similarity index 95% rename from keyboards/neokeys/g67/hotswap/info.json rename to keyboards/neokeys/g67/hotswap/keyboard.json index 526da4ba06d..937e802fa03 100644 --- a/keyboards/neokeys/g67/hotswap/info.json +++ b/keyboards/neokeys/g67/hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5048", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "key_lock": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B4"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/neokeys/g67/hotswap/rules.mk b/keyboards/neokeys/g67/hotswap/rules.mk deleted file mode 100644 index f819a9f1e02..00000000000 --- a/keyboards/neokeys/g67/hotswap/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/neokeys/g67/soldered/info.json b/keyboards/neokeys/g67/soldered/keyboard.json similarity index 99% rename from keyboards/neokeys/g67/soldered/info.json rename to keyboards/neokeys/g67/soldered/keyboard.json index 567a56d9268..541f07ee09c 100644 --- a/keyboards/neokeys/g67/soldered/info.json +++ b/keyboards/neokeys/g67/soldered/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5053", "device_version": "1.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B5", "B4"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/neokeys/g67/soldered/rules.mk b/keyboards/neokeys/g67/soldered/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/neokeys/g67/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/newgame40/info.json b/keyboards/newgame40/keyboard.json similarity index 93% rename from keyboards/newgame40/info.json rename to keyboards/newgame40/keyboard.json index 809d685ed1f..063260b99f6 100644 --- a/keyboards/newgame40/info.json +++ b/keyboards/newgame40/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F7", "B1", "B3", "B2"] diff --git a/keyboards/newgame40/rules.mk b/keyboards/newgame40/rules.mk deleted file mode 100644 index e05b73d6d98..00000000000 --- a/keyboards/newgame40/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -IOS_DEVICE_ENABLE = no # connect to IOS Device diff --git a/keyboards/nibiria/stream15/info.json b/keyboards/nibiria/stream15/keyboard.json similarity index 88% rename from keyboards/nibiria/stream15/info.json rename to keyboards/nibiria/stream15/keyboard.json index 0fe4b9ed23d..899a5ecbce0 100644 --- a/keyboards/nibiria/stream15/info.json +++ b/keyboards/nibiria/stream15/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A1", "A2", "B11", "B12", "B13"], "rows": ["B10", "B9", "B8"] diff --git a/keyboards/nibiria/stream15/rules.mk b/keyboards/nibiria/stream15/rules.mk deleted file mode 100644 index c3b8e77d77a..00000000000 --- a/keyboards/nibiria/stream15/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/nightingale_studios/hailey/info.json b/keyboards/nightingale_studios/hailey/keyboard.json similarity index 98% rename from keyboards/nightingale_studios/hailey/info.json rename to keyboards/nightingale_studios/hailey/keyboard.json index 588bb832102..ccf4e9adba6 100644 --- a/keyboards/nightingale_studios/hailey/info.json +++ b/keyboards/nightingale_studios/hailey/keyboard.json @@ -7,6 +7,15 @@ "pid": "0x4879", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A4", "A3", "F1", "F0", "C15", "C14", "C13", "B11", "B10", "B2", "B1", "B0", "A7", "A5", "A6", "B5", "A15"], "rows": ["A8", "B15", "B14", "B13", "B12", "B6", "A14"] diff --git a/keyboards/nightingale_studios/hailey/rules.mk b/keyboards/nightingale_studios/hailey/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/nightingale_studios/hailey/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/nightly_boards/alter/rev1/info.json b/keyboards/nightly_boards/alter/rev1/keyboard.json similarity index 96% rename from keyboards/nightly_boards/alter/rev1/info.json rename to keyboards/nightly_boards/alter/rev1/keyboard.json index 48e8da0c9ae..84eb93fac31 100644 --- a/keyboards/nightly_boards/alter/rev1/info.json +++ b/keyboards/nightly_boards/alter/rev1/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B0", "B1", "B2", "B3"], "rows": ["F7", "F6", "F5", "E6", "D0", "B7", "D5", "D3", "D2", "D1"] diff --git a/keyboards/nightly_boards/alter/rev1/rules.mk b/keyboards/nightly_boards/alter/rev1/rules.mk deleted file mode 100644 index 178b634fcbe..00000000000 --- a/keyboards/nightly_boards/alter/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nightly_boards/alter_lite/info.json b/keyboards/nightly_boards/alter_lite/keyboard.json similarity index 96% rename from keyboards/nightly_boards/alter_lite/info.json rename to keyboards/nightly_boards/alter_lite/keyboard.json index 4fe29568a01..f92e848d22a 100644 --- a/keyboards/nightly_boards/alter_lite/info.json +++ b/keyboards/nightly_boards/alter_lite/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0013", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "E6", "B6", "C6", "C7", "F7", "F6", "F5", "F4"], "rows": ["F0", "F1", "D3", "D5", "B5"] diff --git a/keyboards/nightly_boards/alter_lite/rules.mk b/keyboards/nightly_boards/alter_lite/rules.mk deleted file mode 100644 index 1576a6efb62..00000000000 --- a/keyboards/nightly_boards/alter_lite/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow \ No newline at end of file diff --git a/keyboards/nightly_boards/daily60/info.json b/keyboards/nightly_boards/daily60/keyboard.json similarity index 99% rename from keyboards/nightly_boards/daily60/info.json rename to keyboards/nightly_boards/daily60/keyboard.json index 8a00c5e2d6b..7a05b2f86d8 100644 --- a/keyboards/nightly_boards/daily60/info.json +++ b/keyboards/nightly_boards/daily60/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x0024", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["GP22", "GP0", "GP1", "GP2", "GP5", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP14", "GP15"], "rows": ["GP23", "GP24", "GP20", "GP19", "GP18"] diff --git a/keyboards/nightly_boards/daily60/rules.mk b/keyboards/nightly_boards/daily60/rules.mk deleted file mode 100644 index 0cd6926a62a..00000000000 --- a/keyboards/nightly_boards/daily60/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/nightly_boards/jisoo/info.json b/keyboards/nightly_boards/jisoo/keyboard.json similarity index 96% rename from keyboards/nightly_boards/jisoo/info.json rename to keyboards/nightly_boards/jisoo/keyboard.json index 4dca4dec609..978c6c323ba 100644 --- a/keyboards/nightly_boards/jisoo/info.json +++ b/keyboards/nightly_boards/jisoo/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x0025", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["GP25", "GP14", "GP13", "GP12", "GP11", "GP10", "GP9", "GP8", "GP7", "GP6", "GP5", "GP4", "GP3", "GP2", "GP1", "GP0"], "rows": ["GP26", "GP27", "GP28", "GP18", "GP19", "GP20"] diff --git a/keyboards/nightly_boards/jisoo/rules.mk b/keyboards/nightly_boards/jisoo/rules.mk deleted file mode 100644 index 0cd6926a62a..00000000000 --- a/keyboards/nightly_boards/jisoo/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/nightly_boards/n2/info.json b/keyboards/nightly_boards/n2/keyboard.json similarity index 84% rename from keyboards/nightly_boards/n2/info.json rename to keyboards/nightly_boards/n2/keyboard.json index 2a068e1a2e9..050f6fedeef 100644 --- a/keyboards/nightly_boards/n2/info.json +++ b/keyboards/nightly_boards/n2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "C6"], "rows": ["F1", "C7"] diff --git a/keyboards/nightly_boards/n2/rules.mk b/keyboards/nightly_boards/n2/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/nightly_boards/n2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nightly_boards/n87/info.json b/keyboards/nightly_boards/n87/keyboard.json similarity index 98% rename from keyboards/nightly_boards/n87/info.json rename to keyboards/nightly_boards/n87/keyboard.json index 71f78c1f3ac..fd8589b18d8 100644 --- a/keyboards/nightly_boards/n87/info.json +++ b/keyboards/nightly_boards/n87/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "C7", "C6", "B6", "B5", "D6"], "rows": ["B0", "B1", "B2", "B3", "F1", "F0", "D7", "B4", "D1", "D2", "D3", "D5"] diff --git a/keyboards/nightly_boards/n87/rules.mk b/keyboards/nightly_boards/n87/rules.mk deleted file mode 100644 index a32639a0b58..00000000000 --- a/keyboards/nightly_boards/n87/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output - diff --git a/keyboards/nightly_boards/n9/info.json b/keyboards/nightly_boards/n9/keyboard.json similarity index 88% rename from keyboards/nightly_boards/n9/info.json rename to keyboards/nightly_boards/n9/keyboard.json index e3fd75c9609..6adb9efe683 100644 --- a/keyboards/nightly_boards/n9/info.json +++ b/keyboards/nightly_boards/n9/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0012", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "D4"], "rows": ["F4", "B1", "B3"] diff --git a/keyboards/nightly_boards/n9/rules.mk b/keyboards/nightly_boards/n9/rules.mk deleted file mode 100644 index c2fee558278..00000000000 --- a/keyboards/nightly_boards/n9/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/nightly_boards/octopadplus/info.json b/keyboards/nightly_boards/octopadplus/keyboard.json similarity index 89% rename from keyboards/nightly_boards/octopadplus/info.json rename to keyboards/nightly_boards/octopadplus/keyboard.json index 7a27cef0208..629aa93aa3e 100644 --- a/keyboards/nightly_boards/octopadplus/info.json +++ b/keyboards/nightly_boards/octopadplus/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0014", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F5", "C7", "D7", "F4", "D2"], "rows": ["F6", "D3"] diff --git a/keyboards/nightly_boards/octopadplus/rules.mk b/keyboards/nightly_boards/octopadplus/rules.mk deleted file mode 100644 index 89c0d63d8b9..00000000000 --- a/keyboards/nightly_boards/octopadplus/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = yes # Enable Rotary Encoders - diff --git a/keyboards/nightly_boards/ph_arisu/info.json b/keyboards/nightly_boards/ph_arisu/keyboard.json similarity index 96% rename from keyboards/nightly_boards/ph_arisu/info.json rename to keyboards/nightly_boards/ph_arisu/keyboard.json index 43cd5ad1a0c..90cd8f3b8f6 100644 --- a/keyboards/nightly_boards/ph_arisu/info.json +++ b/keyboards/nightly_boards/ph_arisu/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/nightly_boards/ph_arisu/rules.mk b/keyboards/nightly_boards/ph_arisu/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/nightly_boards/ph_arisu/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nightmare/info.json b/keyboards/nightmare/keyboard.json similarity index 97% rename from keyboards/nightmare/info.json rename to keyboards/nightmare/keyboard.json index 87f0187e597..c41d95e64d8 100644 --- a/keyboards/nightmare/info.json +++ b/keyboards/nightmare/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4E49", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B4", "B5", "D3", "D2", "D1", "D0", "F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D4", "C6", "D7", "E6"] diff --git a/keyboards/nightmare/rules.mk b/keyboards/nightmare/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/nightmare/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nimrod/info.json b/keyboards/nimrod/keyboard.json similarity index 98% rename from keyboards/nimrod/info.json rename to keyboards/nimrod/keyboard.json index 4c14f8fd071..5f07885d0d7 100644 --- a/keyboards/nimrod/info.json +++ b/keyboards/nimrod/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x720D", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "F4", "B5", "B4", "E6", "F6", "F7", "B1", "B3", "B2"], "rows": ["F5", "B6", "D7", "C6"] diff --git a/keyboards/nimrod/rules.mk b/keyboards/nimrod/rules.mk deleted file mode 100644 index fadee908150..00000000000 --- a/keyboards/nimrod/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nix_studio/n60_a/info.json b/keyboards/nix_studio/n60_a/keyboard.json similarity index 95% rename from keyboards/nix_studio/n60_a/info.json rename to keyboards/nix_studio/n60_a/keyboard.json index dc04bfca6a5..3f9b4dd0869 100644 --- a/keyboards/nix_studio/n60_a/info.json +++ b/keyboards/nix_studio/n60_a/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3630", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/nix_studio/n60_a/rules.mk b/keyboards/nix_studio/n60_a/rules.mk deleted file mode 100644 index 7fb99d788f2..00000000000 --- a/keyboards/nix_studio/n60_a/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - - diff --git a/keyboards/nixkeyboards/day_off/info.json b/keyboards/nixkeyboards/day_off/keyboard.json similarity index 99% rename from keyboards/nixkeyboards/day_off/info.json rename to keyboards/nixkeyboards/day_off/keyboard.json index 1dfdc38867b..2edbcdf883b 100644 --- a/keyboards/nixkeyboards/day_off/info.json +++ b/keyboards/nixkeyboards/day_off/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x444F", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B3", "B7", "F5", "F4", "F1"] diff --git a/keyboards/nixkeyboards/day_off/rules.mk b/keyboards/nixkeyboards/day_off/rules.mk deleted file mode 100644 index bb4ad767b29..00000000000 --- a/keyboards/nixkeyboards/day_off/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/nopunin10did/jabberwocky/v1/info.json b/keyboards/nopunin10did/jabberwocky/v1/keyboard.json similarity index 98% rename from keyboards/nopunin10did/jabberwocky/v1/info.json rename to keyboards/nopunin10did/jabberwocky/v1/keyboard.json index 59ecc815b0f..b82a9642c71 100644 --- a/keyboards/nopunin10did/jabberwocky/v1/info.json +++ b/keyboards/nopunin10did/jabberwocky/v1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4A57", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "D7", "C6", "D4", "D0", "D2", "D3"], "rows": ["E6", "B4", "B5", "B7", "D5", "C7", "F1", "F0", "B1", "B3", "B2", "B6"] diff --git a/keyboards/nopunin10did/jabberwocky/v1/rules.mk b/keyboards/nopunin10did/jabberwocky/v1/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/nopunin10did/jabberwocky/v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nopunin10did/jabberwocky/v2/info.json b/keyboards/nopunin10did/jabberwocky/v2/keyboard.json similarity index 98% rename from keyboards/nopunin10did/jabberwocky/v2/info.json rename to keyboards/nopunin10did/jabberwocky/v2/keyboard.json index 263ae7df8ff..549daef9719 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/info.json +++ b/keyboards/nopunin10did/jabberwocky/v2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4A58", "device_version": "0.2.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D2", "D3", "D5", "B5", "D7", "F6", "F7", "C7", "B6"], "rows": ["B2", "B3", "B1", "D4", "B4", "D1", "E6", "B0", "F0", "F1", "F4", "F5"] diff --git a/keyboards/nopunin10did/jabberwocky/v2/rules.mk b/keyboards/nopunin10did/jabberwocky/v2/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/nopunin10did/jabberwocky/v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nopunin10did/kastenwagen1840/info.json b/keyboards/nopunin10did/kastenwagen1840/keyboard.json similarity index 98% rename from keyboards/nopunin10did/kastenwagen1840/info.json rename to keyboards/nopunin10did/kastenwagen1840/keyboard.json index a43f84fa576..771df3d82c7 100644 --- a/keyboards/nopunin10did/kastenwagen1840/info.json +++ b/keyboards/nopunin10did/kastenwagen1840/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4B57", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "E6", "D7"], "rows": ["B4", "B5", "B7", "D5", "C7", "F1", "F0", "B6"] diff --git a/keyboards/nopunin10did/kastenwagen1840/rules.mk b/keyboards/nopunin10did/kastenwagen1840/rules.mk deleted file mode 100644 index 0cf05c09d15..00000000000 --- a/keyboards/nopunin10did/kastenwagen1840/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes # Enable rotary encoder input diff --git a/keyboards/nopunin10did/kastenwagen48/info.json b/keyboards/nopunin10did/kastenwagen48/keyboard.json similarity index 97% rename from keyboards/nopunin10did/kastenwagen48/info.json rename to keyboards/nopunin10did/kastenwagen48/keyboard.json index 20332aaa43f..58a9d7c2a80 100644 --- a/keyboards/nopunin10did/kastenwagen48/info.json +++ b/keyboards/nopunin10did/kastenwagen48/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4B30", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "E6"], "rows": ["B4", "B5", "B7", "D5", "C7", "F1", "F0", "B6"] diff --git a/keyboards/nopunin10did/kastenwagen48/rules.mk b/keyboards/nopunin10did/kastenwagen48/rules.mk deleted file mode 100644 index 0cf05c09d15..00000000000 --- a/keyboards/nopunin10did/kastenwagen48/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes # Enable rotary encoder input diff --git a/keyboards/nopunin10did/railroad/rev0/info.json b/keyboards/nopunin10did/railroad/rev0/keyboard.json similarity index 97% rename from keyboards/nopunin10did/railroad/rev0/info.json rename to keyboards/nopunin10did/railroad/rev0/keyboard.json index 04c3f7e5e9e..db740a4d483 100644 --- a/keyboards/nopunin10did/railroad/rev0/info.json +++ b/keyboards/nopunin10did/railroad/rev0/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x9111", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D4", "D6", "D7", "B4", "B5", "B6"], "rows": ["D2", "D3", "D5", "C6", "C7", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/nopunin10did/railroad/rev0/rules.mk b/keyboards/nopunin10did/railroad/rev0/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/nopunin10did/railroad/rev0/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/novelkeys/nk1/info.json b/keyboards/novelkeys/nk1/keyboard.json similarity index 84% rename from keyboards/novelkeys/nk1/info.json rename to keyboards/novelkeys/nk1/keyboard.json index 480bc968c2f..0fa15cf9f2a 100755 --- a/keyboards/novelkeys/nk1/info.json +++ b/keyboards/novelkeys/nk1/keyboard.json @@ -31,6 +31,15 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["D4"] diff --git a/keyboards/novelkeys/nk1/rules.mk b/keyboards/novelkeys/nk1/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/novelkeys/nk1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/novelkeys/novelpad/info.json b/keyboards/novelkeys/novelpad/keyboard.json similarity index 90% rename from keyboards/novelkeys/novelpad/info.json rename to keyboards/novelkeys/novelpad/keyboard.json index 1e5f6b4f73c..03c76764dfb 100644 --- a/keyboards/novelkeys/novelpad/info.json +++ b/keyboards/novelkeys/novelpad/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6070", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "D6", "D5", "D4"], "rows": ["C2", "C4", "C5", "C6", "C7"] diff --git a/keyboards/novelkeys/novelpad/rules.mk b/keyboards/novelkeys/novelpad/rules.mk deleted file mode 100755 index 40888f5a30e..00000000000 --- a/keyboards/novelkeys/novelpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # In-switch LEDs -AUDIO_ENABLE = no # There is no available timer or pin for audio on the NovelPad -RGBLIGHT_ENABLE = yes # RGB LEDs for underglow, installed and enabled by default for the NovelPad diff --git a/keyboards/noxary/220/info.json b/keyboards/noxary/220/keyboard.json similarity index 90% rename from keyboards/noxary/220/info.json rename to keyboards/noxary/220/keyboard.json index 9b04a0465f1..f40c0f7280a 100644 --- a/keyboards/noxary/220/info.json +++ b/keyboards/noxary/220/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0899", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B4", "C5", "D2", "D1"], "rows": ["C4", "B0", "D3", "D4", "D5", "D6"] diff --git a/keyboards/noxary/220/rules.mk b/keyboards/noxary/220/rules.mk deleted file mode 100644 index 8dea3757839..00000000000 --- a/keyboards/noxary/220/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/noxary/268/info.json b/keyboards/noxary/268/keyboard.json similarity index 98% rename from keyboards/noxary/268/info.json rename to keyboards/noxary/268/keyboard.json index b1bbeace6f2..bb0bc191d39 100644 --- a/keyboards/noxary/268/info.json +++ b/keyboards/noxary/268/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0A79", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "E6", "B0", "D1", "B2", "B3", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["F5", "F4", "F0", "F1", "D0"] diff --git a/keyboards/noxary/268/rules.mk b/keyboards/noxary/268/rules.mk deleted file mode 100644 index 8dea3757839..00000000000 --- a/keyboards/noxary/268/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/noxary/268_2/info.json b/keyboards/noxary/268_2/keyboard.json similarity index 98% rename from keyboards/noxary/268_2/info.json rename to keyboards/noxary/268_2/keyboard.json index a652276c6d1..6e983a07f61 100644 --- a/keyboards/noxary/268_2/info.json +++ b/keyboards/noxary/268_2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0A7A", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "B6", "C7", "F4", "E6", "D0", "D7", "D1", "D2", "B4", "D6", "D4", "D5", "F1", "D3", "B1"], "rows": ["F7", "F6", "F5", "F0", "B5"] diff --git a/keyboards/noxary/268_2/rules.mk b/keyboards/noxary/268_2/rules.mk deleted file mode 100644 index 4caf87aa2b1..00000000000 --- a/keyboards/noxary/268_2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/noxary/268_2_rgb/info.json b/keyboards/noxary/268_2_rgb/keyboard.json similarity index 98% rename from keyboards/noxary/268_2_rgb/info.json rename to keyboards/noxary/268_2_rgb/keyboard.json index f742581e0fb..971e4450367 100644 --- a/keyboards/noxary/268_2_rgb/info.json +++ b/keyboards/noxary/268_2_rgb/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0A7C", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F1", "E6", "B2", "B1", "D6", "B4", "D7", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["F6", "F5", "F4", "F0", "B6"] diff --git a/keyboards/noxary/268_2_rgb/rules.mk b/keyboards/noxary/268_2_rgb/rules.mk deleted file mode 100644 index 1955f1d315b..00000000000 --- a/keyboards/noxary/268_2_rgb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/noxary/280/info.json b/keyboards/noxary/280/keyboard.json similarity index 96% rename from keyboards/noxary/280/info.json rename to keyboards/noxary/280/keyboard.json index aca07e4fa92..f4b77260a57 100644 --- a/keyboards/noxary/280/info.json +++ b/keyboards/noxary/280/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0AF1", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "B0", "B3"], "rows": ["F0", "E6", "D6", "D4", "F6", "F5", "F4", "F1", "B2", "D3", "D2", "D1"] diff --git a/keyboards/noxary/280/rules.mk b/keyboards/noxary/280/rules.mk deleted file mode 100644 index 8dea3757839..00000000000 --- a/keyboards/noxary/280/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/noxary/378/info.json b/keyboards/noxary/378/keyboard.json similarity index 98% rename from keyboards/noxary/378/info.json rename to keyboards/noxary/378/keyboard.json index 198f34a3e1d..09c5d39b048 100644 --- a/keyboards/noxary/378/info.json +++ b/keyboards/noxary/378/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x017A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A7", "A3", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A2", "A1", "A0", "F1", "F0", "C14", "C15"], "rows": ["A10", "B11", "A4", "A5", "A6"] diff --git a/keyboards/noxary/378/rules.mk b/keyboards/noxary/378/rules.mk deleted file mode 100644 index 93e50cd795b..00000000000 --- a/keyboards/noxary/378/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/noxary/valhalla/info.json b/keyboards/noxary/valhalla/keyboard.json similarity index 98% rename from keyboards/noxary/valhalla/info.json rename to keyboards/noxary/valhalla/keyboard.json index 165a4155a9d..9cf12969c18 100644 --- a/keyboards/noxary/valhalla/info.json +++ b/keyboards/noxary/valhalla/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5648", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B12", "B11", "B10", "B2", "B1", "B0", "A10", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], "rows": ["A8", "A9", "B13", "B14", "B15"] diff --git a/keyboards/noxary/valhalla/rules.mk b/keyboards/noxary/valhalla/rules.mk deleted file mode 100644 index 93e50cd795b..00000000000 --- a/keyboards/noxary/valhalla/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/noxary/vulcan/info.json b/keyboards/noxary/vulcan/keyboard.json similarity index 95% rename from keyboards/noxary/vulcan/info.json rename to keyboards/noxary/vulcan/keyboard.json index 579ab525f45..8ae658f68e1 100644 --- a/keyboards/noxary/vulcan/info.json +++ b/keyboards/noxary/vulcan/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0011", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["D1", "D0", "D2", "F0", "F1"] diff --git a/keyboards/noxary/vulcan/rules.mk b/keyboards/noxary/vulcan/rules.mk deleted file mode 100644 index ab9ede17169..00000000000 --- a/keyboards/noxary/vulcan/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/noxary/x268/info.json b/keyboards/noxary/x268/keyboard.json similarity index 95% rename from keyboards/noxary/x268/info.json rename to keyboards/noxary/x268/keyboard.json index cd94a8cdd5a..675cc0b1a39 100644 --- a/keyboards/noxary/x268/info.json +++ b/keyboards/noxary/x268/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0A7B", "device_version": "0.7.8" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "B6", "C7", "F4", "E6", "B2", "D6", "D0", "D1", "D7", "D4", "D5", "D3", "F1", "D2", "B1"], "rows": ["F7", "F6", "F5", "F0", "B4"] diff --git a/keyboards/noxary/x268/rules.mk b/keyboards/noxary/x268/rules.mk deleted file mode 100644 index a4b56c37ddd..00000000000 --- a/keyboards/noxary/x268/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/np12/info.json b/keyboards/np12/keyboard.json similarity index 86% rename from keyboards/np12/info.json rename to keyboards/np12/keyboard.json index 834c51f5774..d7f6f8cfb7c 100644 --- a/keyboards/np12/info.json +++ b/keyboards/np12/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4401", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "F6"], "rows": ["D7", "E6", "B4", "F7"] diff --git a/keyboards/np12/rules.mk b/keyboards/np12/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/np12/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/nyhxis/nfr_70/info.json b/keyboards/nyhxis/nfr_70/keyboard.json similarity index 98% rename from keyboards/nyhxis/nfr_70/info.json rename to keyboards/nyhxis/nfr_70/keyboard.json index d6d621db78e..0fbb4681d8a 100644 --- a/keyboards/nyhxis/nfr_70/info.json +++ b/keyboards/nyhxis/nfr_70/keyboard.json @@ -4,6 +4,14 @@ "url": "https://github.com/Nyhxis/keyboard-resources/tree/master/NFR-70", "maintainer": "Nyhxis", "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D3", "D2", "D1", "D0", "C6", "D4", "E6", "D7", "B5", "B4", "B6"] diff --git a/keyboards/nyhxis/nfr_70/rules.mk b/keyboards/nyhxis/nfr_70/rules.mk deleted file mode 100644 index d65d32df0aa..00000000000 --- a/keyboards/nyhxis/nfr_70/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file From 01473075f8e78adcfbd4f9f4b6bb1d7682a7ee4d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 01:42:55 +0000 Subject: [PATCH 091/107] Migrate features from rules.mk to data driven - EFGH (#23248) --- keyboards/e88/{info.json => keyboard.json} | 8 ++++++++ keyboards/e88/rules.mk | 12 ------------ .../quadrant/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ealdin/quadrant/rules.mk | 13 ------------- .../earth_rover/{info.json => keyboard.json} | 8 ++++++++ keyboards/earth_rover/rules.mk | 12 ------------ .../aeroboard/{info.json => keyboard.json} | 10 ++++++++++ keyboards/eason/aeroboard/rules.mk | 13 ------------- .../capsule65/{info.json => keyboard.json} | 9 +++++++++ keyboards/eason/capsule65/rules.mk | 12 ------------ .../greatsword80/{info.json => keyboard.json} | 8 ++++++++ keyboards/eason/greatsword80/rules.mk | 12 ------------ .../rev1/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ebastler/isometria_75/rev1/rules.mk | 14 -------------- keyboards/edc40/{info.json => keyboard.json} | 9 +++++++++ keyboards/edc40/rules.mk | 13 ------------- keyboards/edda/{info.json => keyboard.json} | 8 ++++++++ keyboards/edda/rules.mk | 12 ------------ .../hardlight/mk1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/edi/hardlight/mk1/rules.mk | 13 ------------- .../standaside/{info.json => keyboard.json} | 9 +++++++++ keyboards/edi/standaside/rules.mk | 12 ------------ keyboards/ein_60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ein_60/rules.mk | 15 --------------- .../emajesty/eiri/{info.json => keyboard.json} | 8 ++++++++ keyboards/emajesty/eiri/rules.mk | 12 ------------ keyboards/emi20/{info.json => keyboard.json} | 8 ++++++++ keyboards/emi20/rules.mk | 12 ------------ .../nqg/{info.json => keyboard.json} | 8 ++++++++ keyboards/emptystring/nqg/rules.mk | 12 ------------ .../ek60/{info.json => keyboard.json} | 8 ++++++++ keyboards/eniigmakeyboards/ek60/rules.mk | 12 ------------ .../ek65/{info.json => keyboard.json} | 8 ++++++++ keyboards/eniigmakeyboards/ek65/rules.mk | 12 ------------ .../ek87/{info.json => keyboard.json} | 8 ++++++++ keyboards/eniigmakeyboards/ek87/rules.mk | 12 ------------ keyboards/ep/40/{info.json => keyboard.json} | 8 ++++++++ keyboards/ep/40/rules.mk | 12 ------------ keyboards/ep/96/{info.json => keyboard.json} | 8 ++++++++ keyboards/ep/96/rules.mk | 12 ------------ .../ep/comsn/hs68/{info.json => keyboard.json} | 8 ++++++++ keyboards/ep/comsn/hs68/rules.mk | 12 ------------ .../mollydooker/{info.json => keyboard.json} | 9 +++++++++ keyboards/ep/comsn/mollydooker/rules.mk | 12 ------------ .../tf_longeboye/{info.json => keyboard.json} | 8 ++++++++ keyboards/ep/comsn/tf_longeboye/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 9 +++++++++ keyboards/eternal_keypad/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 8 ++++++++ .../evancookaudio/sleepingdinosaur/rules.mk | 12 ------------ .../tenpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/evancookaudio/tenpad/rules.mk | 12 ------------ .../eve/meteor/{info.json => keyboard.json} | 9 +++++++++ keyboards/eve/meteor/rules.mk | 10 ---------- keyboards/evil80/{info.json => keyboard.json} | 9 +++++++++ keyboards/evil80/rules.mk | 12 ------------ keyboards/evolv/{info.json => keyboard.json} | 10 ++++++++++ keyboards/evolv/rules.mk | 14 -------------- .../evyd13/eon65/{info.json => keyboard.json} | 9 +++++++++ keyboards/evyd13/eon65/rules.mk | 12 ------------ .../evyd13/eon75/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/eon75/rules.mk | 12 ------------ .../evyd13/eon87/{info.json => keyboard.json} | 9 +++++++++ keyboards/evyd13/eon87/rules.mk | 12 ------------ .../evyd13/eon95/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/eon95/rules.mk | 12 ------------ .../gh80_1800/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/gh80_1800/rules.mk | 11 ----------- .../gh80_3700/{info.json => keyboard.json} | 9 +++++++++ keyboards/evyd13/gh80_3700/rules.mk | 12 ------------ .../evyd13/gud70/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/gud70/rules.mk | 12 ------------ .../minitomic/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/minitomic/rules.mk | 12 ------------ .../evyd13/mx5160/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/mx5160/rules.mk | 12 ------------ .../evyd13/nt750/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/nt750/rules.mk | 12 ------------ .../evyd13/nt980/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/nt980/rules.mk | 12 ------------ .../omrontkl/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/omrontkl/rules.mk | 12 ------------ .../plain60/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/plain60/rules.mk | 12 ------------ .../quackfire/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/quackfire/rules.mk | 12 ------------ .../solheim68/{info.json => keyboard.json} | 8 ++++++++ keyboards/evyd13/solheim68/rules.mk | 12 ------------ .../evyd13/ta65/{info.json => keyboard.json} | 10 ++++++++++ keyboards/evyd13/ta65/rules.mk | 13 ------------- .../wonderland/{info.json => keyboard.json} | 10 ++++++++++ keyboards/evyd13/wonderland/rules.mk | 14 -------------- .../exclusive/e65/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exclusive/e65/rules.mk | 12 ------------ .../e6_rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/exclusive/e6_rgb/rules.mk | 13 ------------- .../e6v2/le/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exclusive/e6v2/le/rules.mk | 12 ------------ .../e6v2/le_bmc/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exclusive/e6v2/le_bmc/rules.mk | 12 ------------ .../e6v2/oe/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exclusive/e6v2/oe/rules.mk | 12 ------------ .../e6v2/oe_bmc/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exclusive/e6v2/oe_bmc/rules.mk | 12 ------------ .../e7v1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exclusive/e7v1/rules.mk | 12 ------------ .../e7v1se/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exclusive/e7v1se/rules.mk | 12 ------------ keyboards/exent/{info.json => keyboard.json} | 10 ++++++++++ keyboards/exent/rules.mk | 11 ----------- .../babyv/{info.json => keyboard.json} | 10 ++++++++++ keyboards/eyeohdesigns/babyv/rules.mk | 12 ------------ .../sprh/{info.json => keyboard.json} | 9 +++++++++ keyboards/eyeohdesigns/sprh/rules.mk | 13 ------------- .../theboulevard/{info.json => keyboard.json} | 10 ++++++++++ keyboards/eyeohdesigns/theboulevard/rules.mk | 13 ------------- keyboards/facew/{info.json => keyboard.json} | 10 ++++++++++ keyboards/facew/rules.mk | 10 ---------- .../feels/feels65/{info.json => keyboard.json} | 8 ++++++++ keyboards/feels/feels65/rules.mk | 12 ------------ .../ffkeebs/siris/{info.json => keyboard.json} | 9 +++++++++ keyboards/ffkeebs/siris/rules.mk | 13 ------------- .../bigswitch/{info.json => keyboard.json} | 9 +++++++++ keyboards/flehrad/bigswitch/rules.mk | 13 ------------- .../downbubble/{info.json => keyboard.json} | 8 ++++++++ keyboards/flehrad/downbubble/rules.mk | 12 ------------ .../numbrero/{info.json => keyboard.json} | 8 ++++++++ keyboards/flehrad/numbrero/rules.mk | 12 ------------ .../snagpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/flehrad/snagpad/rules.mk | 12 ------------ .../tradestation/{info.json => keyboard.json} | 8 ++++++++ keyboards/flehrad/tradestation/rules.mk | 12 ------------ keyboards/fleuron/{info.json => keyboard.json} | 9 +++++++++ keyboards/fleuron/rules.mk | 13 ------------- .../cornelius/{info.json => keyboard.json} | 8 ++++++++ keyboards/foostan/cornelius/rules.mk | 12 ------------ .../key65/hotswap/{info.json => keyboard.json} | 10 ++++++++++ keyboards/foxlab/key65/hotswap/rules.mk | 12 ------------ .../universal/{info.json => keyboard.json} | 10 ++++++++++ keyboards/foxlab/key65/universal/rules.mk | 12 ------------ .../hotswap/{info.json => keyboard.json} | 10 ++++++++++ keyboards/foxlab/leaf60/hotswap/rules.mk | 12 ------------ .../universal/{info.json => keyboard.json} | 10 ++++++++++ keyboards/foxlab/leaf60/universal/rules.mk | 12 ------------ .../foxlab/time80/{info.json => keyboard.json} | 8 ++++++++ keyboards/foxlab/time80/rules.mk | 10 ---------- .../info.json => hotswap/keyboard.json} | 18 ++++++++++++++---- keyboards/foxlab/time_re/hotswap/rules.mk | 12 ------------ .../info.json => universal/keyboard.json} | 18 ++++++++++++++---- keyboards/foxlab/time_re/universal/rules.mk | 12 ------------ .../southpaw75/{info.json => keyboard.json} | 8 ++++++++ keyboards/fr4/southpaw75/rules.mk | 12 ------------ .../fr4/unix60/{info.json => keyboard.json} | 8 ++++++++ keyboards/fr4/unix60/rules.mk | 12 ------------ .../free_willy/{info.json => keyboard.json} | 8 ++++++++ keyboards/free_willy/rules.mk | 12 ------------ .../friedrich/{info.json => keyboard.json} | 8 ++++++++ keyboards/friedrich/rules.mk | 12 ------------ .../nano/{info.json => keyboard.json} | 9 +++++++++ keyboards/frooastboard/nano/rules.mk | 12 ------------ .../ft/mars80/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ft/mars80/rules.mk | 10 ---------- .../function96/v1/{info.json => keyboard.json} | 8 ++++++++ keyboards/function96/v1/rules.mk | 12 ------------ .../function96/v2/{info.json => keyboard.json} | 8 ++++++++ keyboards/function96/v2/rules.mk | 12 ------------ keyboards/funky40/{info.json => keyboard.json} | 8 ++++++++ keyboards/funky40/rules.mk | 12 ------------ .../lex60/{info.json => keyboard.json} | 9 +++++++++ keyboards/gami_studio/lex60/rules.mk | 12 ------------ .../macropad_v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/geekboards/macropad_v2/rules.mk | 14 -------------- .../tester/{info.json => keyboard.json} | 9 +++++++++ keyboards/geekboards/tester/rules.mk | 12 ------------ .../panda65_01/{info.json => keyboard.json} | 8 ++++++++ keyboards/generic_panda/panda65_01/rules.mk | 12 ------------ .../eclipse_65/{info.json => keyboard.json} | 8 ++++++++ keyboards/genone/eclipse_65/rules.mk | 12 ------------ .../genone/g1_65/{info.json => keyboard.json} | 8 ++++++++ keyboards/genone/g1_65/rules.mk | 12 ------------ .../hotswap/{info.json => keyboard.json} | 8 ++++++++ keyboards/ggkeyboards/genesis/hotswap/rules.mk | 12 ------------ .../solder/{info.json => keyboard.json} | 8 ++++++++ keyboards/ggkeyboards/genesis/solder/rules.mk | 12 ------------ .../gh60/revc/{info.json => keyboard.json} | 8 ++++++++ keyboards/gh60/revc/rules.mk | 10 ---------- .../gh60/satan/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gh60/satan/rules.mk | 12 ------------ .../gh60/v1p3/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gh60/v1p3/rules.mk | 12 ------------ .../gh80_3000/{info.json => keyboard.json} | 8 ++++++++ keyboards/gh80_3000/rules.mk | 12 ------------ keyboards/ghs/rar/{info.json => keyboard.json} | 9 +++++++++ keyboards/ghs/rar/rules.mk | 12 ------------ .../gk6/{info.json => keyboard.json} | 9 +++++++++ keyboards/gizmo_engineering/gk6/rules.mk | 14 -------------- .../gkb_m16/{info.json => keyboard.json} | 9 +++++++++ keyboards/gkeyboard/gkb_m16/rules.mk | 12 ------------ .../p65/ansi/{info.json => keyboard.json} | 9 +++++++++ keyboards/gmmk/gmmk2/p65/ansi/rules.mk | 13 ------------- .../gmmk2/p65/iso/{info.json => keyboard.json} | 9 +++++++++ keyboards/gmmk/gmmk2/p65/iso/rules.mk | 13 ------------- .../p96/ansi/{info.json => keyboard.json} | 9 +++++++++ keyboards/gmmk/gmmk2/p96/ansi/rules.mk | 13 ------------- .../gmmk2/p96/iso/{info.json => keyboard.json} | 9 +++++++++ keyboards/gmmk/gmmk2/p96/iso/rules.mk | 13 ------------- .../pro/rev1/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gmmk/pro/rev1/ansi/rules.mk | 14 -------------- .../pro/rev1/iso/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gmmk/pro/rev1/iso/rules.mk | 14 -------------- .../pro/rev2/ansi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gmmk/pro/rev2/ansi/rules.mk | 14 -------------- .../pro/rev2/iso/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gmmk/pro/rev2/iso/rules.mk | 17 ----------------- .../{info.json => keyboard.json} | 9 +++++++++ keyboards/gorthage_truck/rules.mk | 14 -------------- keyboards/gowla/{info.json => keyboard.json} | 8 ++++++++ keyboards/gowla/rules.mk | 12 ------------ .../aero75/{info.json => keyboard.json} | 9 +++++++++ keyboards/gray_studio/aero75/rules.mk | 13 ------------- .../apollo80/{info.json => keyboard.json} | 9 +++++++++ keyboards/gray_studio/apollo80/rules.mk | 12 ------------ .../hb85/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gray_studio/hb85/rules.mk | 10 ---------- .../space65/{info.json => keyboard.json} | 10 ++++++++++ keyboards/gray_studio/space65/rules.mk | 12 ------------ .../space65r3/{info.json => keyboard.json} | 9 +++++++++ keyboards/gray_studio/space65r3/rules.mk | 13 ------------- .../grid600/press/{info.json => keyboard.json} | 9 +++++++++ keyboards/grid600/press/rules.mk | 12 ------------ .../h0oni/deskpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/h0oni/deskpad/rules.mk | 13 ------------- .../h0oni/hotduck/{info.json => keyboard.json} | 9 +++++++++ keyboards/h0oni/hotduck/rules.mk | 12 ------------ .../elemental75/{info.json => keyboard.json} | 10 ++++++++++ keyboards/halokeys/elemental75/rules.mk | 13 ------------- keyboards/han60/{info.json => keyboard.json} | 8 ++++++++ keyboards/han60/rules.mk | 12 ------------ .../2x5keypad/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/2x5keypad/rules.mk | 13 ------------- .../3dfoxc/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/3dfoxc/rules.mk | 12 ------------ .../412_64/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/412_64/rules.mk | 11 ----------- .../6key/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/6key/rules.mk | 13 ------------- .../6macro/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/6macro/rules.mk | 14 -------------- .../aek64/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/aek64/rules.mk | 11 ----------- .../aim65/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/aim65/rules.mk | 12 ------------ .../amigopunk/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/amigopunk/rules.mk | 14 -------------- .../angel/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/angel/rules.mk | 12 ------------ .../aplx2/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/aplx2/rules.mk | 12 ------------ .../aranck/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/aranck/rules.mk | 12 ------------ .../arrow_pad/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/arrow_pad/rules.mk | 11 ----------- .../atreus50/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/atreus50/rules.mk | 12 ------------ .../axon/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/axon/rules.mk | 12 ------------ .../bigmac/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/bigmac/rules.mk | 12 ------------ .../bolek/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/bolek/rules.mk | 12 ------------ .../redragon_vara/{info.json => keyboard.json} | 8 ++++++++ .../handwired/boss566y/redragon_vara/rules.mk | 12 ------------ .../bstk100/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/bstk100/rules.mk | 12 ------------ .../cans12er/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/cans12er/rules.mk | 12 ------------ .../carpolly/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/carpolly/rules.mk | 15 --------------- .../cmd60/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/cmd60/rules.mk | 11 ----------- .../co60/rev1/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/co60/rev1/rules.mk | 12 ------------ .../co60/rev6/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/co60/rev6/rules.mk | 13 ------------- .../co60/rev7/{info.json => keyboard.json} | 11 +++++++++++ keyboards/handwired/co60/rev7/rules.mk | 13 ------------- .../64key/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/concertina/64key/rules.mk | 12 ------------ .../croxsplit44/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/croxsplit44/rules.mk | 12 ------------ .../dactyl_left/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/dactyl_left/rules.mk | 12 ------------ .../daishi/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/daishi/rules.mk | 14 -------------- .../dc/mc/001/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/dc/mc/001/rules.mk | 13 ------------- .../ddg_56/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/ddg_56/rules.mk | 11 ----------- .../eagleii/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/eagleii/rules.mk | 12 ------------ .../ergocheap/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/ergocheap/rules.mk | 14 -------------- .../evk/v1_3/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/evk/v1_3/rules.mk | 12 ------------ .../fc200rt_qmk/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/fc200rt_qmk/rules.mk | 12 ------------ .../fivethirteen/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/fivethirteen/rules.mk | 11 ----------- .../floorboard/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/floorboard/rules.mk | 12 ------------ .../gamenum/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/gamenum/rules.mk | 11 ----------- .../heisenberg/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/heisenberg/rules.mk | 12 ------------ .../hexon38/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/hexon38/rules.mk | 12 ------------ .../hnah108/{info.json => keyboard.json} | 11 +++++++++++ keyboards/handwired/hnah108/rules.mk | 14 -------------- .../hnah40/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/hnah40/rules.mk | 12 ------------ .../hnah40rgb/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/hnah40rgb/rules.mk | 13 ------------- .../hwpm87/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/hwpm87/rules.mk | 14 -------------- .../{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/ibm_wheelwriter/rules.mk | 12 ------------ .../jn68m/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/jn68m/rules.mk | 12 ------------ .../jopr/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/jopr/rules.mk | 13 ------------- .../jot50/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/jot50/rules.mk | 12 ------------ .../jotpad16/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/jotpad16/rules.mk | 12 ------------ .../juliet/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/juliet/rules.mk | 12 ------------ .../k8split/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/k8split/rules.mk | 12 ------------ .../k_numpad17/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/k_numpad17/rules.mk | 12 ------------ .../kbod/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/kbod/rules.mk | 11 ----------- .../leftynumpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/leftynumpad/rules.mk | 12 ------------ .../lovelive9/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/lovelive9/rules.mk | 12 ------------ .../magicforce61/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/magicforce61/rules.mk | 11 ----------- .../magicforce68/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/magicforce68/rules.mk | 11 ----------- .../{info.json => keyboard.json} | 8 ++++++++ .../handwired/mechboards_micropad/rules.mk | 12 ------------ .../minorca/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/minorca/rules.mk | 12 ------------ .../misterdeck/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/misterdeck/rules.mk | 12 ------------ .../mutepad/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/mutepad/rules.mk | 13 ------------- .../nicekey/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/nicekey/rules.mk | 12 ------------ .../nozbe_macro/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/nozbe_macro/rules.mk | 12 ------------ .../numpad20/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/numpad20/rules.mk | 11 ----------- .../spaget/{info.json => keyboard.json} | 11 +++++++++++ .../handwired/obuwunkunubi/spaget/rules.mk | 17 ----------------- .../{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/oem_ansi_fullsize/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/oem_iso_fullsize/rules.mk | 12 ------------ .../ortho5x13/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/ortho5x13/rules.mk | 11 ----------- .../ortho5x14/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/ortho5x14/rules.mk | 11 ----------- .../pilcrow/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/pilcrow/rules.mk | 11 ----------- .../prime_exl/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/prime_exl/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/prime_exl_plus/rules.mk | 12 ------------ .../promicro/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/prkl30/promicro/rules.mk | 13 ------------- .../pteron/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/pteron/rules.mk | 11 ----------- .../pteron38/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/pteron38/rules.mk | 12 ------------ .../pteron44/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/pteron44/rules.mk | 12 ------------ .../retro_refit/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/retro_refit/rules.mk | 10 ---------- .../rs60/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/rs60/rules.mk | 12 ------------ .../selene/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/selene/rules.mk | 12 ------------ .../sick68/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/sick68/rules.mk | 12 ------------ .../sick_pad/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/sick_pad/rules.mk | 12 ------------ .../snatchpad/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/snatchpad/rules.mk | 14 -------------- .../space_oddity/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/space_oddity/rules.mk | 13 ------------- .../steamvan/rev1/{info.json => keyboard.json} | 11 +++++++++++ keyboards/handwired/steamvan/rev1/rules.mk | 14 -------------- .../sticc14/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/sticc14/rules.mk | 12 ------------ .../2x3/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/stream_cheap/2x3/rules.mk | 12 ------------ .../2x5/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/stream_cheap/2x5/rules.mk | 12 ------------ .../astro65/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/swiftrax/astro65/rules.mk | 12 ------------ .../bebol/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/swiftrax/bebol/rules.mk | 12 ------------ .../beegboy/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/swiftrax/beegboy/rules.mk | 13 ------------- .../bumblebee/{info.json => keyboard.json} | 10 ++++++++++ .../handwired/swiftrax/bumblebee/rules.mk | 13 ------------- .../cowfish/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/swiftrax/cowfish/rules.mk | 12 ------------ .../digicarp65/{info.json => keyboard.json} | 9 +++++++++ .../handwired/swiftrax/digicarp65/rules.mk | 13 ------------- .../digicarpice/{info.json => keyboard.json} | 8 ++++++++ .../handwired/swiftrax/digicarpice/rules.mk | 12 ------------ .../equator/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/swiftrax/equator/rules.mk | 12 ------------ .../glacier/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/swiftrax/glacier/rules.mk | 12 ------------ .../joypad/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/swiftrax/joypad/rules.mk | 13 ------------- .../{info.json => keyboard.json} | 10 ++++++++++ .../handwired/swiftrax/koalafications/rules.mk | 14 -------------- .../swiftrax/nodu/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/swiftrax/nodu/rules.mk | 12 ------------ .../pandamic/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/swiftrax/pandamic/rules.mk | 13 ------------- .../the_galleon/{info.json => keyboard.json} | 9 +++++++++ .../handwired/swiftrax/the_galleon/rules.mk | 14 -------------- .../unsplit/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/swiftrax/unsplit/rules.mk | 13 ------------- .../walter/{info.json => keyboard.json} | 10 ++++++++++ keyboards/handwired/swiftrax/walter/rules.mk | 13 ------------- .../t111/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/t111/rules.mk | 13 ------------- .../tennie/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/tennie/rules.mk | 12 ------------ .../terminus_mini/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/terminus_mini/rules.mk | 12 ------------ .../traveller/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/traveller/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/tritium_numpad/rules.mk | 12 ------------ .../twig/twig50/{info.json => keyboard.json} | 9 +++++++++ keyboards/handwired/twig/twig50/rules.mk | 12 ------------ .../{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/unicomp_mini_m/rules.mk | 12 ------------ .../videowriter/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/videowriter/rules.mk | 12 ------------ .../wabi/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/wabi/rules.mk | 12 ------------ .../woodpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/woodpad/rules.mk | 12 ------------ .../z150/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/z150/rules.mk | 13 ------------- .../zergo/{info.json => keyboard.json} | 8 ++++++++ keyboards/handwired/zergo/rules.mk | 12 ------------ .../otd_plus/{info.json => keyboard.json} | 8 ++++++++ keyboards/hardlineworks/otd_plus/rules.mk | 12 ------------ .../wm1_hotswap/{info.json => keyboard.json} | 9 +++++++++ keyboards/heliar/wm1_hotswap/rules.mk | 12 ------------ .../hfdkb/ac001/{info.json => keyboard.json} | 9 +++++++++ keyboards/hfdkb/ac001/rules.mk | 12 ------------ .../hhkb_lite_2/{info.json => keyboard.json} | 9 +++++++++ keyboards/hhkb_lite_2/rules.mk | 13 ------------- keyboards/hifumi/{info.json => keyboard.json} | 9 +++++++++ keyboards/hifumi/rules.mk | 13 ------------- .../h08_ocelot/{info.json => keyboard.json} | 9 +++++++++ keyboards/hineybush/h08_ocelot/rules.mk | 12 ------------ .../hineybush/h10/{info.json => keyboard.json} | 9 +++++++++ keyboards/hineybush/h10/rules.mk | 12 ------------ .../hineybush/h60/{info.json => keyboard.json} | 11 +++++++++++ keyboards/hineybush/h60/rules.mk | 13 ------------- .../hineybush/h65/{info.json => keyboard.json} | 10 ++++++++++ keyboards/hineybush/h65/rules.mk | 12 ------------ .../h65_hotswap/{info.json => keyboard.json} | 10 ++++++++++ keyboards/hineybush/h65_hotswap/rules.mk | 12 ------------ .../h660s/{info.json => keyboard.json} | 11 +++++++++++ keyboards/hineybush/h660s/rules.mk | 13 ------------- .../h75_singa/{info.json => keyboard.json} | 10 ++++++++++ keyboards/hineybush/h75_singa/rules.mk | 12 ------------ .../hineyg80/{info.json => keyboard.json} | 8 ++++++++ keyboards/hineybush/hineyg80/rules.mk | 12 ------------ .../physix/{info.json => keyboard.json} | 10 ++++++++++ keyboards/hineybush/physix/rules.mk | 12 ------------ .../sm68/{info.json => keyboard.json} | 9 +++++++++ keyboards/hineybush/sm68/rules.mk | 12 ------------ .../hnahkb/freyr/{info.json => keyboard.json} | 9 +++++++++ keyboards/hnahkb/freyr/rules.mk | 12 ------------ .../hnahkb/stella/{info.json => keyboard.json} | 10 ++++++++++ keyboards/hnahkb/stella/rules.mk | 12 ------------ .../southpaw75/{info.json => keyboard.json} | 8 ++++++++ keyboards/holyswitch/southpaw75/rules.mk | 12 ------------ keyboards/horizon/{info.json => keyboard.json} | 8 ++++++++ keyboards/horizon/rules.mk | 12 ------------ .../black_e65/{info.json => keyboard.json} | 10 ++++++++++ .../horrortroll/chinese_pcb/black_e65/rules.mk | 12 ------------ .../devil68_pro/{info.json => keyboard.json} | 9 +++++++++ .../chinese_pcb/devil68_pro/rules.mk | 15 --------------- .../paws60/{info.json => keyboard.json} | 8 ++++++++ keyboards/horrortroll/paws60/rules.mk | 12 ------------ keyboards/hp69/{info.json => keyboard.json} | 9 +++++++++ keyboards/hp69/rules.mk | 12 ------------ .../huytbt/h50/{info.json => keyboard.json} | 8 ++++++++ keyboards/huytbt/h50/rules.mk | 10 ---------- 514 files changed, 2258 insertions(+), 3158 deletions(-) rename keyboards/e88/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/e88/rules.mk rename keyboards/ealdin/quadrant/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ealdin/quadrant/rules.mk rename keyboards/earth_rover/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/earth_rover/rules.mk rename keyboards/eason/aeroboard/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/eason/aeroboard/rules.mk rename keyboards/eason/capsule65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/eason/capsule65/rules.mk rename keyboards/eason/greatsword80/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/eason/greatsword80/rules.mk rename keyboards/ebastler/isometria_75/rev1/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ebastler/isometria_75/rev1/rules.mk rename keyboards/edc40/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/edc40/rules.mk rename keyboards/edda/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/edda/rules.mk rename keyboards/edi/hardlight/mk1/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/edi/hardlight/mk1/rules.mk rename keyboards/edi/standaside/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/edi/standaside/rules.mk rename keyboards/ein_60/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/ein_60/rules.mk rename keyboards/emajesty/eiri/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/emajesty/eiri/rules.mk rename keyboards/emi20/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/emi20/rules.mk rename keyboards/emptystring/nqg/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/emptystring/nqg/rules.mk rename keyboards/eniigmakeyboards/ek60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/eniigmakeyboards/ek60/rules.mk rename keyboards/eniigmakeyboards/ek65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/eniigmakeyboards/ek65/rules.mk rename keyboards/eniigmakeyboards/ek87/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/eniigmakeyboards/ek87/rules.mk rename keyboards/ep/40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/ep/40/rules.mk rename keyboards/ep/96/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/ep/96/rules.mk rename keyboards/ep/comsn/hs68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ep/comsn/hs68/rules.mk rename keyboards/ep/comsn/mollydooker/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ep/comsn/mollydooker/rules.mk rename keyboards/ep/comsn/tf_longeboye/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ep/comsn/tf_longeboye/rules.mk rename keyboards/eternal_keypad/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/eternal_keypad/rules.mk rename keyboards/evancookaudio/sleepingdinosaur/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/evancookaudio/sleepingdinosaur/rules.mk rename keyboards/evancookaudio/tenpad/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/evancookaudio/tenpad/rules.mk rename keyboards/eve/meteor/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/eve/meteor/rules.mk rename keyboards/evil80/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/evil80/rules.mk rename keyboards/evolv/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evolv/rules.mk rename keyboards/evyd13/eon65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/evyd13/eon65/rules.mk rename keyboards/evyd13/eon75/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evyd13/eon75/rules.mk rename keyboards/evyd13/eon87/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evyd13/eon87/rules.mk rename keyboards/evyd13/eon95/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/evyd13/eon95/rules.mk rename keyboards/evyd13/gh80_1800/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/evyd13/gh80_1800/rules.mk rename keyboards/evyd13/gh80_3700/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/evyd13/gh80_3700/rules.mk rename keyboards/evyd13/gud70/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evyd13/gud70/rules.mk rename keyboards/evyd13/minitomic/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/evyd13/minitomic/rules.mk rename keyboards/evyd13/mx5160/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/evyd13/mx5160/rules.mk rename keyboards/evyd13/nt750/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evyd13/nt750/rules.mk rename keyboards/evyd13/nt980/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/evyd13/nt980/rules.mk rename keyboards/evyd13/omrontkl/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evyd13/omrontkl/rules.mk rename keyboards/evyd13/plain60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/evyd13/plain60/rules.mk rename keyboards/evyd13/quackfire/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evyd13/quackfire/rules.mk rename keyboards/evyd13/solheim68/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/evyd13/solheim68/rules.mk rename keyboards/evyd13/ta65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/evyd13/ta65/rules.mk rename keyboards/evyd13/wonderland/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/evyd13/wonderland/rules.mk rename keyboards/exclusive/e65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/exclusive/e65/rules.mk rename keyboards/exclusive/e6_rgb/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/exclusive/e6_rgb/rules.mk rename keyboards/exclusive/e6v2/le/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/exclusive/e6v2/le/rules.mk rename keyboards/exclusive/e6v2/le_bmc/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/exclusive/e6v2/le_bmc/rules.mk rename keyboards/exclusive/e6v2/oe/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/exclusive/e6v2/oe/rules.mk rename keyboards/exclusive/e6v2/oe_bmc/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/exclusive/e6v2/oe_bmc/rules.mk rename keyboards/exclusive/e7v1/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/exclusive/e7v1/rules.mk rename keyboards/exclusive/e7v1se/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/exclusive/e7v1se/rules.mk rename keyboards/exent/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/exent/rules.mk rename keyboards/eyeohdesigns/babyv/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/eyeohdesigns/babyv/rules.mk rename keyboards/eyeohdesigns/sprh/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/eyeohdesigns/sprh/rules.mk rename keyboards/eyeohdesigns/theboulevard/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/eyeohdesigns/theboulevard/rules.mk rename keyboards/facew/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/facew/rules.mk rename keyboards/feels/feels65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/feels/feels65/rules.mk rename keyboards/ffkeebs/siris/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ffkeebs/siris/rules.mk rename keyboards/flehrad/bigswitch/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/flehrad/bigswitch/rules.mk rename keyboards/flehrad/downbubble/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/flehrad/downbubble/rules.mk rename keyboards/flehrad/numbrero/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/flehrad/numbrero/rules.mk rename keyboards/flehrad/snagpad/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/flehrad/snagpad/rules.mk rename keyboards/flehrad/tradestation/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/flehrad/tradestation/rules.mk rename keyboards/fleuron/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/fleuron/rules.mk rename keyboards/foostan/cornelius/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/foostan/cornelius/rules.mk rename keyboards/foxlab/key65/hotswap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/foxlab/key65/hotswap/rules.mk rename keyboards/foxlab/key65/universal/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/foxlab/key65/universal/rules.mk rename keyboards/foxlab/leaf60/hotswap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/foxlab/leaf60/hotswap/rules.mk rename keyboards/foxlab/leaf60/universal/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/foxlab/leaf60/universal/rules.mk rename keyboards/foxlab/time80/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/foxlab/time80/rules.mk rename keyboards/foxlab/time_re/{universal/info.json => hotswap/keyboard.json} (96%) delete mode 100644 keyboards/foxlab/time_re/hotswap/rules.mk rename keyboards/foxlab/time_re/{hotswap/info.json => universal/keyboard.json} (96%) delete mode 100644 keyboards/foxlab/time_re/universal/rules.mk rename keyboards/fr4/southpaw75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/fr4/southpaw75/rules.mk rename keyboards/fr4/unix60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/fr4/unix60/rules.mk rename keyboards/free_willy/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/free_willy/rules.mk rename keyboards/friedrich/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/friedrich/rules.mk rename keyboards/frooastboard/nano/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/frooastboard/nano/rules.mk rename keyboards/ft/mars80/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ft/mars80/rules.mk rename keyboards/function96/v1/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/function96/v1/rules.mk rename keyboards/function96/v2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/function96/v2/rules.mk rename keyboards/funky40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/funky40/rules.mk rename keyboards/gami_studio/lex60/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/gami_studio/lex60/rules.mk rename keyboards/geekboards/macropad_v2/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/geekboards/macropad_v2/rules.mk rename keyboards/geekboards/tester/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/geekboards/tester/rules.mk rename keyboards/generic_panda/panda65_01/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/generic_panda/panda65_01/rules.mk rename keyboards/genone/eclipse_65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/genone/eclipse_65/rules.mk rename keyboards/genone/g1_65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/genone/g1_65/rules.mk rename keyboards/ggkeyboards/genesis/hotswap/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/ggkeyboards/genesis/hotswap/rules.mk rename keyboards/ggkeyboards/genesis/solder/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ggkeyboards/genesis/solder/rules.mk rename keyboards/gh60/revc/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/gh60/revc/rules.mk rename keyboards/gh60/satan/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/gh60/satan/rules.mk rename keyboards/gh60/v1p3/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/gh60/v1p3/rules.mk rename keyboards/gh80_3000/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/gh80_3000/rules.mk rename keyboards/ghs/rar/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ghs/rar/rules.mk rename keyboards/gizmo_engineering/gk6/{info.json => keyboard.json} (98%) delete mode 100755 keyboards/gizmo_engineering/gk6/rules.mk rename keyboards/gkeyboard/gkb_m16/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/gkeyboard/gkb_m16/rules.mk rename keyboards/gmmk/gmmk2/p65/ansi/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/gmmk/gmmk2/p65/ansi/rules.mk rename keyboards/gmmk/gmmk2/p65/iso/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/gmmk/gmmk2/p65/iso/rules.mk rename keyboards/gmmk/gmmk2/p96/ansi/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/gmmk/gmmk2/p96/ansi/rules.mk rename keyboards/gmmk/gmmk2/p96/iso/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/gmmk/gmmk2/p96/iso/rules.mk rename keyboards/gmmk/pro/rev1/ansi/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/gmmk/pro/rev1/ansi/rules.mk rename keyboards/gmmk/pro/rev1/iso/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/gmmk/pro/rev1/iso/rules.mk rename keyboards/gmmk/pro/rev2/ansi/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/gmmk/pro/rev2/ansi/rules.mk rename keyboards/gmmk/pro/rev2/iso/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/gmmk/pro/rev2/iso/rules.mk rename keyboards/gorthage_truck/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/gorthage_truck/rules.mk rename keyboards/gowla/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/gowla/rules.mk rename keyboards/gray_studio/aero75/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/gray_studio/aero75/rules.mk rename keyboards/gray_studio/apollo80/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/gray_studio/apollo80/rules.mk rename keyboards/gray_studio/hb85/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/gray_studio/hb85/rules.mk rename keyboards/gray_studio/space65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/gray_studio/space65/rules.mk rename keyboards/gray_studio/space65r3/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/gray_studio/space65r3/rules.mk rename keyboards/grid600/press/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/grid600/press/rules.mk rename keyboards/h0oni/deskpad/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/h0oni/deskpad/rules.mk rename keyboards/h0oni/hotduck/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/h0oni/hotduck/rules.mk rename keyboards/halokeys/elemental75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/halokeys/elemental75/rules.mk rename keyboards/han60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/han60/rules.mk rename keyboards/handwired/2x5keypad/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/handwired/2x5keypad/rules.mk rename keyboards/handwired/3dfoxc/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/3dfoxc/rules.mk rename keyboards/handwired/412_64/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/412_64/rules.mk rename keyboards/handwired/6key/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/handwired/6key/rules.mk rename keyboards/handwired/6macro/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/handwired/6macro/rules.mk rename keyboards/handwired/aek64/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/aek64/rules.mk rename keyboards/handwired/aim65/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/aim65/rules.mk rename keyboards/handwired/amigopunk/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/amigopunk/rules.mk rename keyboards/handwired/angel/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/angel/rules.mk rename keyboards/handwired/aplx2/{info.json => keyboard.json} (76%) delete mode 100644 keyboards/handwired/aplx2/rules.mk rename keyboards/handwired/aranck/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/handwired/aranck/rules.mk rename keyboards/handwired/arrow_pad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/handwired/arrow_pad/rules.mk rename keyboards/handwired/atreus50/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/atreus50/rules.mk rename keyboards/handwired/axon/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/handwired/axon/rules.mk rename keyboards/handwired/bigmac/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/bigmac/rules.mk rename keyboards/handwired/bolek/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/handwired/bolek/rules.mk rename keyboards/handwired/boss566y/redragon_vara/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/boss566y/redragon_vara/rules.mk rename keyboards/handwired/bstk100/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/handwired/bstk100/rules.mk rename keyboards/handwired/cans12er/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/handwired/cans12er/rules.mk rename keyboards/handwired/carpolly/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/carpolly/rules.mk rename keyboards/handwired/cmd60/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/cmd60/rules.mk rename keyboards/handwired/co60/rev1/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/handwired/co60/rev1/rules.mk rename keyboards/handwired/co60/rev6/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/handwired/co60/rev6/rules.mk rename keyboards/handwired/co60/rev7/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/handwired/co60/rev7/rules.mk rename keyboards/handwired/concertina/64key/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/concertina/64key/rules.mk rename keyboards/handwired/croxsplit44/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/croxsplit44/rules.mk rename keyboards/handwired/dactyl_left/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/handwired/dactyl_left/rules.mk rename keyboards/handwired/daishi/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/daishi/rules.mk rename keyboards/handwired/dc/mc/001/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/handwired/dc/mc/001/rules.mk rename keyboards/handwired/ddg_56/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/ddg_56/rules.mk rename keyboards/handwired/eagleii/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/eagleii/rules.mk rename keyboards/handwired/ergocheap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/ergocheap/rules.mk rename keyboards/handwired/evk/v1_3/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/evk/v1_3/rules.mk rename keyboards/handwired/fc200rt_qmk/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/fc200rt_qmk/rules.mk rename keyboards/handwired/fivethirteen/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/fivethirteen/rules.mk rename keyboards/handwired/floorboard/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/floorboard/rules.mk rename keyboards/handwired/gamenum/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/handwired/gamenum/rules.mk rename keyboards/handwired/heisenberg/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/heisenberg/rules.mk rename keyboards/handwired/hexon38/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/handwired/hexon38/rules.mk rename keyboards/handwired/hnah108/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/handwired/hnah108/rules.mk rename keyboards/handwired/hnah40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/hnah40/rules.mk rename keyboards/handwired/hnah40rgb/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/hnah40rgb/rules.mk rename keyboards/handwired/hwpm87/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/hwpm87/rules.mk rename keyboards/handwired/ibm_wheelwriter/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/ibm_wheelwriter/rules.mk rename keyboards/handwired/jn68m/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/jn68m/rules.mk rename keyboards/handwired/jopr/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/jopr/rules.mk rename keyboards/handwired/jot50/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/jot50/rules.mk rename keyboards/handwired/jotpad16/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/handwired/jotpad16/rules.mk rename keyboards/handwired/juliet/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/handwired/juliet/rules.mk rename keyboards/handwired/k8split/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/k8split/rules.mk rename keyboards/handwired/k_numpad17/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/handwired/k_numpad17/rules.mk rename keyboards/handwired/kbod/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/kbod/rules.mk rename keyboards/handwired/leftynumpad/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/handwired/leftynumpad/rules.mk rename keyboards/handwired/lovelive9/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/handwired/lovelive9/rules.mk rename keyboards/handwired/magicforce61/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/magicforce61/rules.mk rename keyboards/handwired/magicforce68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/magicforce68/rules.mk rename keyboards/handwired/mechboards_micropad/{info.json => keyboard.json} (79%) delete mode 100644 keyboards/handwired/mechboards_micropad/rules.mk rename keyboards/handwired/minorca/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/minorca/rules.mk rename keyboards/handwired/misterdeck/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/handwired/misterdeck/rules.mk rename keyboards/handwired/mutepad/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/handwired/mutepad/rules.mk rename keyboards/handwired/nicekey/{info.json => keyboard.json} (74%) delete mode 100644 keyboards/handwired/nicekey/rules.mk rename keyboards/handwired/nozbe_macro/{info.json => keyboard.json} (78%) delete mode 100644 keyboards/handwired/nozbe_macro/rules.mk rename keyboards/handwired/numpad20/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/handwired/numpad20/rules.mk rename keyboards/handwired/obuwunkunubi/spaget/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/handwired/obuwunkunubi/spaget/rules.mk rename keyboards/handwired/oem_ansi_fullsize/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/oem_ansi_fullsize/rules.mk rename keyboards/handwired/oem_iso_fullsize/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/oem_iso_fullsize/rules.mk rename keyboards/handwired/ortho5x13/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/ortho5x13/rules.mk rename keyboards/handwired/ortho5x14/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/ortho5x14/rules.mk rename keyboards/handwired/pilcrow/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/handwired/pilcrow/rules.mk rename keyboards/handwired/prime_exl/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/prime_exl/rules.mk rename keyboards/handwired/prime_exl_plus/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/prime_exl_plus/rules.mk rename keyboards/handwired/prkl30/promicro/{info.json => keyboard.json} (77%) delete mode 100644 keyboards/handwired/prkl30/promicro/rules.mk rename keyboards/handwired/pteron/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/pteron/rules.mk rename keyboards/handwired/pteron38/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/handwired/pteron38/rules.mk rename keyboards/handwired/pteron44/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/pteron44/rules.mk rename keyboards/handwired/retro_refit/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/retro_refit/rules.mk rename keyboards/handwired/rs60/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/rs60/rules.mk rename keyboards/handwired/selene/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/selene/rules.mk rename keyboards/handwired/sick68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/sick68/rules.mk rename keyboards/handwired/sick_pad/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/handwired/sick_pad/rules.mk rename keyboards/handwired/snatchpad/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/handwired/snatchpad/rules.mk rename keyboards/handwired/space_oddity/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/space_oddity/rules.mk rename keyboards/handwired/steamvan/rev1/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/steamvan/rev1/rules.mk rename keyboards/handwired/sticc14/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/handwired/sticc14/rules.mk rename keyboards/handwired/stream_cheap/2x3/{info.json => keyboard.json} (83%) delete mode 100644 keyboards/handwired/stream_cheap/2x3/rules.mk rename keyboards/handwired/stream_cheap/2x5/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/handwired/stream_cheap/2x5/rules.mk rename keyboards/handwired/swiftrax/astro65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/swiftrax/astro65/rules.mk rename keyboards/handwired/swiftrax/bebol/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/handwired/swiftrax/bebol/rules.mk rename keyboards/handwired/swiftrax/beegboy/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/swiftrax/beegboy/rules.mk rename keyboards/handwired/swiftrax/bumblebee/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/swiftrax/bumblebee/rules.mk rename keyboards/handwired/swiftrax/cowfish/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/handwired/swiftrax/cowfish/rules.mk rename keyboards/handwired/swiftrax/digicarp65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/handwired/swiftrax/digicarp65/rules.mk rename keyboards/handwired/swiftrax/digicarpice/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/swiftrax/digicarpice/rules.mk rename keyboards/handwired/swiftrax/equator/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/swiftrax/equator/rules.mk rename keyboards/handwired/swiftrax/glacier/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/handwired/swiftrax/glacier/rules.mk rename keyboards/handwired/swiftrax/joypad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/handwired/swiftrax/joypad/rules.mk rename keyboards/handwired/swiftrax/koalafications/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/handwired/swiftrax/koalafications/rules.mk rename keyboards/handwired/swiftrax/nodu/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/swiftrax/nodu/rules.mk rename keyboards/handwired/swiftrax/pandamic/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/swiftrax/pandamic/rules.mk rename keyboards/handwired/swiftrax/the_galleon/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/handwired/swiftrax/the_galleon/rules.mk rename keyboards/handwired/swiftrax/unsplit/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/swiftrax/unsplit/rules.mk rename keyboards/handwired/swiftrax/walter/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/handwired/swiftrax/walter/rules.mk rename keyboards/handwired/t111/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/t111/rules.mk rename keyboards/handwired/tennie/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/handwired/tennie/rules.mk rename keyboards/handwired/terminus_mini/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/terminus_mini/rules.mk rename keyboards/handwired/traveller/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/traveller/rules.mk rename keyboards/handwired/tritium_numpad/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/handwired/tritium_numpad/rules.mk rename keyboards/handwired/twig/twig50/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/handwired/twig/twig50/rules.mk rename keyboards/handwired/unicomp_mini_m/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/handwired/unicomp_mini_m/rules.mk rename keyboards/handwired/videowriter/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/videowriter/rules.mk rename keyboards/handwired/wabi/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/wabi/rules.mk rename keyboards/handwired/woodpad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/handwired/woodpad/rules.mk rename keyboards/handwired/z150/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/z150/rules.mk rename keyboards/handwired/zergo/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/handwired/zergo/rules.mk rename keyboards/hardlineworks/otd_plus/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/hardlineworks/otd_plus/rules.mk rename keyboards/heliar/wm1_hotswap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/heliar/wm1_hotswap/rules.mk rename keyboards/hfdkb/ac001/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/hfdkb/ac001/rules.mk rename keyboards/hhkb_lite_2/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/hhkb_lite_2/rules.mk rename keyboards/hifumi/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/hifumi/rules.mk rename keyboards/hineybush/h08_ocelot/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/hineybush/h08_ocelot/rules.mk rename keyboards/hineybush/h10/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/hineybush/h10/rules.mk rename keyboards/hineybush/h60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/hineybush/h60/rules.mk rename keyboards/hineybush/h65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/hineybush/h65/rules.mk rename keyboards/hineybush/h65_hotswap/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/hineybush/h65_hotswap/rules.mk rename keyboards/hineybush/h660s/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/hineybush/h660s/rules.mk rename keyboards/hineybush/h75_singa/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/hineybush/h75_singa/rules.mk rename keyboards/hineybush/hineyg80/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/hineybush/hineyg80/rules.mk rename keyboards/hineybush/physix/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/hineybush/physix/rules.mk rename keyboards/hineybush/sm68/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/hineybush/sm68/rules.mk rename keyboards/hnahkb/freyr/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/hnahkb/freyr/rules.mk rename keyboards/hnahkb/stella/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/hnahkb/stella/rules.mk rename keyboards/holyswitch/southpaw75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/holyswitch/southpaw75/rules.mk rename keyboards/horizon/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/horizon/rules.mk rename keyboards/horrortroll/chinese_pcb/black_e65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/horrortroll/chinese_pcb/black_e65/rules.mk rename keyboards/horrortroll/chinese_pcb/devil68_pro/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/horrortroll/chinese_pcb/devil68_pro/rules.mk rename keyboards/horrortroll/paws60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/horrortroll/paws60/rules.mk rename keyboards/hp69/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/hp69/rules.mk rename keyboards/huytbt/h50/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/huytbt/h50/rules.mk diff --git a/keyboards/e88/info.json b/keyboards/e88/keyboard.json similarity index 99% rename from keyboards/e88/info.json rename to keyboards/e88/keyboard.json index c169788341f..4d3fe72caa6 100644 --- a/keyboards/e88/info.json +++ b/keyboards/e88/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0187", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D0", "D1", "D2", "D3", "B3", "B2", "B1", "E6", "D5", "D6", "D4"], "rows": ["B7", "D7", "B4", "C6", "B5", "B6"] diff --git a/keyboards/e88/rules.mk b/keyboards/e88/rules.mk deleted file mode 100644 index 6ff9b4e02ba..00000000000 --- a/keyboards/e88/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ealdin/quadrant/info.json b/keyboards/ealdin/quadrant/keyboard.json similarity index 98% rename from keyboards/ealdin/quadrant/info.json rename to keyboards/ealdin/quadrant/keyboard.json index 75b36063a67..12ef41c41bd 100644 --- a/keyboards/ealdin/quadrant/info.json +++ b/keyboards/ealdin/quadrant/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5154", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B7", "F6", "F5", "F4"], "rows": ["B2", "F7", "B3", "B6", "B1"] diff --git a/keyboards/ealdin/quadrant/rules.mk b/keyboards/ealdin/quadrant/rules.mk deleted file mode 100644 index a8ce2452a8c..00000000000 --- a/keyboards/ealdin/quadrant/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable rotary encoders diff --git a/keyboards/earth_rover/info.json b/keyboards/earth_rover/keyboard.json similarity index 88% rename from keyboards/earth_rover/info.json rename to keyboards/earth_rover/keyboard.json index f53eb4d6108..0ab2cb08a0c 100644 --- a/keyboards/earth_rover/info.json +++ b/keyboards/earth_rover/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEE11", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7"], "rows": ["D4", "C6", "D7", "E6"] diff --git a/keyboards/earth_rover/rules.mk b/keyboards/earth_rover/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/earth_rover/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eason/aeroboard/info.json b/keyboards/eason/aeroboard/keyboard.json similarity index 97% rename from keyboards/eason/aeroboard/info.json rename to keyboards/eason/aeroboard/keyboard.json index c8046d40e4f..3d8c2a6db61 100644 --- a/keyboards/eason/aeroboard/info.json +++ b/keyboards/eason/aeroboard/keyboard.json @@ -28,6 +28,16 @@ "pin": "B15", "driver": "spi" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B9", "B8", "B7", "B6", "B5", "B4", "B3", "B11", "A15", "A10", "A9", "B14", "B13", "B12", "A5", "A4"], "rows": ["B10", "B1", "B0", "A7", "A6"] diff --git a/keyboards/eason/aeroboard/rules.mk b/keyboards/eason/aeroboard/rules.mk deleted file mode 100644 index f8a65f43e91..00000000000 --- a/keyboards/eason/aeroboard/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes diff --git a/keyboards/eason/capsule65/info.json b/keyboards/eason/capsule65/keyboard.json similarity index 99% rename from keyboards/eason/capsule65/info.json rename to keyboards/eason/capsule65/keyboard.json index 1ad66fdd653..87b7b945680 100644 --- a/keyboards/eason/capsule65/info.json +++ b/keyboards/eason/capsule65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6E6E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D2", "D3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "E2", "B3", "B1", "B0", "B2"], "rows": ["F4", "D1", "B7", "D0", "F5"] diff --git a/keyboards/eason/capsule65/rules.mk b/keyboards/eason/capsule65/rules.mk deleted file mode 100644 index b96c8ddbec0..00000000000 --- a/keyboards/eason/capsule65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eason/greatsword80/info.json b/keyboards/eason/greatsword80/keyboard.json similarity index 97% rename from keyboards/eason/greatsword80/info.json rename to keyboards/eason/greatsword80/keyboard.json index 74c469f7ced..6500fac9784 100644 --- a/keyboards/eason/greatsword80/info.json +++ b/keyboards/eason/greatsword80/keyboard.json @@ -12,6 +12,14 @@ "caps_lock": "F0", "on_state": 0 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D6", "D7", "B4", "B5", "B6", "C6", "C7", "E2", "F7", "F6", "F5", "F4", "B0", "B1", "B2", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5", "D4"] diff --git a/keyboards/eason/greatsword80/rules.mk b/keyboards/eason/greatsword80/rules.mk deleted file mode 100644 index 2542628fd4a..00000000000 --- a/keyboards/eason/greatsword80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ebastler/isometria_75/rev1/info.json b/keyboards/ebastler/isometria_75/rev1/keyboard.json similarity index 95% rename from keyboards/ebastler/isometria_75/rev1/info.json rename to keyboards/ebastler/isometria_75/rev1/keyboard.json index ad53a34525b..cf36d60df13 100644 --- a/keyboards/ebastler/isometria_75/rev1/info.json +++ b/keyboards/ebastler/isometria_75/rev1/keyboard.json @@ -21,6 +21,17 @@ "pin": "B3", "driver": "pwm" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B12", "B13", "B14", "B15", "A8", "A10", "A13", "A14", "B9", "C13", "F0", "F1", "A0", "B2", "B10", "B11"], "rows": ["A15", "B4", "B5", "B6", "B7", "B8"] diff --git a/keyboards/ebastler/isometria_75/rev1/rules.mk b/keyboards/ebastler/isometria_75/rev1/rules.mk deleted file mode 100644 index 76b31f0a0a0..00000000000 --- a/keyboards/ebastler/isometria_75/rev1/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - diff --git a/keyboards/edc40/info.json b/keyboards/edc40/keyboard.json similarity index 93% rename from keyboards/edc40/info.json rename to keyboards/edc40/keyboard.json index ccd1b12a0d4..304fb3f1123 100644 --- a/keyboards/edc40/info.json +++ b/keyboards/edc40/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D0", "D1", "D2", "D3", "D5", "B4", "B5"], "rows": ["D4", "D6", "D7", "F7"] diff --git a/keyboards/edc40/rules.mk b/keyboards/edc40/rules.mk deleted file mode 100644 index 11a655da353..00000000000 --- a/keyboards/edc40/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes diff --git a/keyboards/edda/info.json b/keyboards/edda/keyboard.json similarity index 97% rename from keyboards/edda/info.json rename to keyboards/edda/keyboard.json index 3cf050fb9ea..4a997abeac5 100644 --- a/keyboards/edda/info.json +++ b/keyboards/edda/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4544", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B3", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["F1", "F0", "E6", "B5", "B4"] diff --git a/keyboards/edda/rules.mk b/keyboards/edda/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/edda/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/edi/hardlight/mk1/info.json b/keyboards/edi/hardlight/mk1/keyboard.json similarity index 94% rename from keyboards/edi/hardlight/mk1/info.json rename to keyboards/edi/hardlight/mk1/keyboard.json index dc8bcd01c66..7f33c262278 100644 --- a/keyboards/edi/hardlight/mk1/info.json +++ b/keyboards/edi/hardlight/mk1/keyboard.json @@ -6,6 +6,16 @@ "pid": "0x2401", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "key_lock": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B5"], "rows": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4"] diff --git a/keyboards/edi/hardlight/mk1/rules.mk b/keyboards/edi/hardlight/mk1/rules.mk deleted file mode 100644 index 1763386b87e..00000000000 --- a/keyboards/edi/hardlight/mk1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -KEY_LOCK_ENABLE = yes \ No newline at end of file diff --git a/keyboards/edi/standaside/info.json b/keyboards/edi/standaside/keyboard.json similarity index 95% rename from keyboards/edi/standaside/info.json rename to keyboards/edi/standaside/keyboard.json index 69f94729fb8..ccfa5cf1da7 100644 --- a/keyboards/edi/standaside/info.json +++ b/keyboards/edi/standaside/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0412", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["D1", "F4", "F6", "F7", "B1", "B3", "B2", "B6"] diff --git a/keyboards/edi/standaside/rules.mk b/keyboards/edi/standaside/rules.mk deleted file mode 100644 index 8dd3faf689b..00000000000 --- a/keyboards/edi/standaside/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable RGB underlighting support diff --git a/keyboards/ein_60/info.json b/keyboards/ein_60/keyboard.json similarity index 94% rename from keyboards/ein_60/info.json rename to keyboards/ein_60/keyboard.json index 14b5578f259..cb84c45095f 100644 --- a/keyboards/ein_60/info.json +++ b/keyboards/ein_60/keyboard.json @@ -36,6 +36,16 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": true + }, "matrix_pins": { "cols": ["A3", "A2", "A1", "A0", "F6", "F5", "F0", "E0", "E1", "C0", "C1", "C2", "C3"], "rows": ["F1", "F2", "F3", "F4"] diff --git a/keyboards/ein_60/rules.mk b/keyboards/ein_60/rules.mk deleted file mode 100644 index 541e00aa442..00000000000 --- a/keyboards/ein_60/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = no # Enable for pretty RGB matrix effects -ENCODER_ENABLE = yes # Enables the use of one or more encoders -OLED_ENABLE = yes # Enables the use of OLED displays diff --git a/keyboards/emajesty/eiri/info.json b/keyboards/emajesty/eiri/keyboard.json similarity index 94% rename from keyboards/emajesty/eiri/info.json rename to keyboards/emajesty/eiri/keyboard.json index 3163fb1cf57..6941bb921d9 100644 --- a/keyboards/emajesty/eiri/info.json +++ b/keyboards/emajesty/eiri/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x9372", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["B4", "B5", "B2", "B6"] diff --git a/keyboards/emajesty/eiri/rules.mk b/keyboards/emajesty/eiri/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/emajesty/eiri/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/emi20/info.json b/keyboards/emi20/keyboard.json similarity index 89% rename from keyboards/emi20/info.json rename to keyboards/emi20/keyboard.json index c4406cec31b..56f13af8759 100644 --- a/keyboards/emi20/info.json +++ b/keyboards/emi20/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "C6", "B5", "B4"], "rows": ["F4", "F5", "F6", "F7", "B6"] diff --git a/keyboards/emi20/rules.mk b/keyboards/emi20/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/emi20/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/emptystring/nqg/info.json b/keyboards/emptystring/nqg/keyboard.json similarity index 93% rename from keyboards/emptystring/nqg/info.json rename to keyboards/emptystring/nqg/keyboard.json index a64d7067190..96f9391dcc8 100644 --- a/keyboards/emptystring/nqg/info.json +++ b/keyboards/emptystring/nqg/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0037", "device_version": "1.0.0" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F7", "F6", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1"], "rows": ["B6", "B2", "B3", "B1"] diff --git a/keyboards/emptystring/nqg/rules.mk b/keyboards/emptystring/nqg/rules.mk deleted file mode 100644 index ca64cddccd2..00000000000 --- a/keyboards/emptystring/nqg/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/eniigmakeyboards/ek60/info.json b/keyboards/eniigmakeyboards/ek60/keyboard.json similarity index 99% rename from keyboards/eniigmakeyboards/ek60/info.json rename to keyboards/eniigmakeyboards/ek60/keyboard.json index c4116f2daa0..6446dbce341 100644 --- a/keyboards/eniigmakeyboards/ek60/info.json +++ b/keyboards/eniigmakeyboards/ek60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "C6", "F6", "B6", "F5", "F4", "B5", "F1", "E6", "D0", "D7", "D5", "D1", "D3", "D2"], "rows": ["B2", "B1", "B0", "F0", "B4"] diff --git a/keyboards/eniigmakeyboards/ek60/rules.mk b/keyboards/eniigmakeyboards/ek60/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/eniigmakeyboards/ek60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eniigmakeyboards/ek65/info.json b/keyboards/eniigmakeyboards/ek65/keyboard.json similarity index 98% rename from keyboards/eniigmakeyboards/ek65/info.json rename to keyboards/eniigmakeyboards/ek65/keyboard.json index f97de35dd24..129a73e5651 100644 --- a/keyboards/eniigmakeyboards/ek65/info.json +++ b/keyboards/eniigmakeyboards/ek65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "E6", "B2", "B1", "B0"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/eniigmakeyboards/ek65/rules.mk b/keyboards/eniigmakeyboards/ek65/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/eniigmakeyboards/ek65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eniigmakeyboards/ek87/info.json b/keyboards/eniigmakeyboards/ek87/keyboard.json similarity index 99% rename from keyboards/eniigmakeyboards/ek87/info.json rename to keyboards/eniigmakeyboards/ek87/keyboard.json index 78a4c799fb8..553c34ac53e 100644 --- a/keyboards/eniigmakeyboards/ek87/info.json +++ b/keyboards/eniigmakeyboards/ek87/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "F0", "F1", "E6", "D3", "D2", "D1"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0"] diff --git a/keyboards/eniigmakeyboards/ek87/rules.mk b/keyboards/eniigmakeyboards/ek87/rules.mk deleted file mode 100644 index 9e8f5833179..00000000000 --- a/keyboards/eniigmakeyboards/ek87/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ep/40/info.json b/keyboards/ep/40/keyboard.json similarity index 94% rename from keyboards/ep/40/info.json rename to keyboards/ep/40/keyboard.json index 9ceef32703c..e04bb8ca09c 100644 --- a/keyboards/ep/40/info.json +++ b/keyboards/ep/40/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x4040", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "F1", "F0", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["C7", "C6", "B6", "B5"] diff --git a/keyboards/ep/40/rules.mk b/keyboards/ep/40/rules.mk deleted file mode 100644 index 7829a2753bb..00000000000 --- a/keyboards/ep/40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ep/96/info.json b/keyboards/ep/96/keyboard.json similarity index 97% rename from keyboards/ep/96/info.json rename to keyboards/ep/96/keyboard.json index d554c9297f1..a6708a3a80b 100644 --- a/keyboards/ep/96/info.json +++ b/keyboards/ep/96/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x9696", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"], "rows": ["B0", "B1", "B3", "B2", "B7", "C6"] diff --git a/keyboards/ep/96/rules.mk b/keyboards/ep/96/rules.mk deleted file mode 100644 index 7829a2753bb..00000000000 --- a/keyboards/ep/96/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ep/comsn/hs68/info.json b/keyboards/ep/comsn/hs68/keyboard.json similarity index 96% rename from keyboards/ep/comsn/hs68/info.json rename to keyboards/ep/comsn/hs68/keyboard.json index 28b1044b917..80ebbcf9a87 100644 --- a/keyboards/ep/comsn/hs68/info.json +++ b/keyboards/ep/comsn/hs68/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x6868", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B3", "B2", "B7", "D3", "F1", "D5", "D6", "D7", "F4", "F5", "C7", "C6", "F0"], "rows": ["B6", "B5", "B4", "D0", "F6"] diff --git a/keyboards/ep/comsn/hs68/rules.mk b/keyboards/ep/comsn/hs68/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/ep/comsn/hs68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ep/comsn/mollydooker/info.json b/keyboards/ep/comsn/mollydooker/keyboard.json similarity index 96% rename from keyboards/ep/comsn/mollydooker/info.json rename to keyboards/ep/comsn/mollydooker/keyboard.json index 868a418403d..dd5f9e6739a 100644 --- a/keyboards/ep/comsn/mollydooker/info.json +++ b/keyboards/ep/comsn/mollydooker/keyboard.json @@ -7,6 +7,15 @@ "pid": "0x9696", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B1", "B2", "B3", "E6", "B7", "F1", "F0", "D0", "D1", "D7", "D5", "D4", "D6", "B4", "B5", "D3", "B6", "C6", "C7"], "rows": ["F4", "F5", "F6", "F7", "D2"] diff --git a/keyboards/ep/comsn/mollydooker/rules.mk b/keyboards/ep/comsn/mollydooker/rules.mk deleted file mode 100644 index 7cc66e743d4..00000000000 --- a/keyboards/ep/comsn/mollydooker/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ep/comsn/tf_longeboye/info.json b/keyboards/ep/comsn/tf_longeboye/keyboard.json similarity index 96% rename from keyboards/ep/comsn/tf_longeboye/info.json rename to keyboards/ep/comsn/tf_longeboye/keyboard.json index 0ab6b6d5208..deb00d24061 100644 --- a/keyboards/ep/comsn/tf_longeboye/info.json +++ b/keyboards/ep/comsn/tf_longeboye/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x9696", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "F0", "F1", "C7", "D5", "B7", "E6", "D7", "C6", "D4", "D0"], "rows": ["B5", "B4", "D1", "D2", "D3"] diff --git a/keyboards/ep/comsn/tf_longeboye/rules.mk b/keyboards/ep/comsn/tf_longeboye/rules.mk deleted file mode 100644 index c58df49ea8f..00000000000 --- a/keyboards/ep/comsn/tf_longeboye/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eternal_keypad/info.json b/keyboards/eternal_keypad/keyboard.json similarity index 93% rename from keyboards/eternal_keypad/info.json rename to keyboards/eternal_keypad/keyboard.json index d17b501909c..c35a66986d7 100644 --- a/keyboards/eternal_keypad/info.json +++ b/keyboards/eternal_keypad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xDB00", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["B5", "B4", "E6", "D7", "C6"] diff --git a/keyboards/eternal_keypad/rules.mk b/keyboards/eternal_keypad/rules.mk deleted file mode 100644 index 0855a8f38f8..00000000000 --- a/keyboards/eternal_keypad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evancookaudio/sleepingdinosaur/info.json b/keyboards/evancookaudio/sleepingdinosaur/keyboard.json similarity index 92% rename from keyboards/evancookaudio/sleepingdinosaur/info.json rename to keyboards/evancookaudio/sleepingdinosaur/keyboard.json index 688dda6341f..c6b77a26c89 100644 --- a/keyboards/evancookaudio/sleepingdinosaur/info.json +++ b/keyboards/evancookaudio/sleepingdinosaur/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D1", "D0", "D4", "C6", "D7"] diff --git a/keyboards/evancookaudio/sleepingdinosaur/rules.mk b/keyboards/evancookaudio/sleepingdinosaur/rules.mk deleted file mode 100644 index 6ff9b4e02ba..00000000000 --- a/keyboards/evancookaudio/sleepingdinosaur/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evancookaudio/tenpad/info.json b/keyboards/evancookaudio/tenpad/keyboard.json similarity index 85% rename from keyboards/evancookaudio/tenpad/info.json rename to keyboards/evancookaudio/tenpad/keyboard.json index 0a628634881..46107a1c9b2 100644 --- a/keyboards/evancookaudio/tenpad/info.json +++ b/keyboards/evancookaudio/tenpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1"], "rows": ["D0", "D1"] diff --git a/keyboards/evancookaudio/tenpad/rules.mk b/keyboards/evancookaudio/tenpad/rules.mk deleted file mode 100644 index e10edc34f25..00000000000 --- a/keyboards/evancookaudio/tenpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eve/meteor/info.json b/keyboards/eve/meteor/keyboard.json similarity index 97% rename from keyboards/eve/meteor/info.json rename to keyboards/eve/meteor/keyboard.json index ba8e4569584..a8136496f0e 100644 --- a/keyboards/eve/meteor/info.json +++ b/keyboards/eve/meteor/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4D54", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C2", "C3", "C4", "C5", "C6", "C7", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "D7"], "rows": ["B5", "B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/eve/meteor/rules.mk b/keyboards/eve/meteor/rules.mk deleted file mode 100644 index 88711b21277..00000000000 --- a/keyboards/eve/meteor/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = no diff --git a/keyboards/evil80/info.json b/keyboards/evil80/keyboard.json similarity index 96% rename from keyboards/evil80/info.json rename to keyboards/evil80/keyboard.json index 8e843f18952..68e99167843 100644 --- a/keyboards/evil80/info.json +++ b/keyboards/evil80/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B1", "C6", "C7", "E6", "F6", "F7"], "rows": ["F1", "F4", "F5", "F0", "B3", "B0"] diff --git a/keyboards/evil80/rules.mk b/keyboards/evil80/rules.mk deleted file mode 100644 index 21fa7badffb..00000000000 --- a/keyboards/evil80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/evolv/info.json b/keyboards/evolv/keyboard.json similarity index 98% rename from keyboards/evolv/info.json rename to keyboards/evolv/keyboard.json index 4274e9e4377..ab4ccfd9d79 100644 --- a/keyboards/evolv/info.json +++ b/keyboards/evolv/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0E75", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A6", "A5", "A4", "A3", "A2", "A1", "A0", "C14", "F0", "C15", "B9", "B8", "B7", "B6", "B5", "B4"], "rows": ["B10", "B11", "A7", "B0", "B1", "B2"] diff --git a/keyboards/evolv/rules.mk b/keyboards/evolv/rules.mk deleted file mode 100644 index 87802fbd6f5..00000000000 --- a/keyboards/evolv/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - diff --git a/keyboards/evyd13/eon65/info.json b/keyboards/evyd13/eon65/keyboard.json similarity index 99% rename from keyboards/evyd13/eon65/info.json rename to keyboards/evyd13/eon65/keyboard.json index 7d0f3ab2e00..66bae813826 100644 --- a/keyboards/evyd13/eon65/info.json +++ b/keyboards/evyd13/eon65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAEB4", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "D2", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["D3", "D5", "B1", "B2", "B3"] diff --git a/keyboards/evyd13/eon65/rules.mk b/keyboards/evyd13/eon65/rules.mk deleted file mode 100644 index 8eee1b53bbe..00000000000 --- a/keyboards/evyd13/eon65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/eon75/info.json b/keyboards/evyd13/eon75/keyboard.json similarity index 98% rename from keyboards/evyd13/eon75/info.json rename to keyboards/evyd13/eon75/keyboard.json index 07a55549101..9908f4a9cc1 100644 --- a/keyboards/evyd13/eon75/info.json +++ b/keyboards/evyd13/eon75/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5C62", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B3"], "rows": ["D1", "D0", "D3", "D2", "D6", "D4", "D7", "B4", "B5", "B6", "C6", "C7"] diff --git a/keyboards/evyd13/eon75/rules.mk b/keyboards/evyd13/eon75/rules.mk deleted file mode 100644 index 6ff9b4e02ba..00000000000 --- a/keyboards/evyd13/eon75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/eon87/info.json b/keyboards/evyd13/eon87/keyboard.json similarity index 98% rename from keyboards/evyd13/eon87/info.json rename to keyboards/evyd13/eon87/keyboard.json index bc9dcec1286..ad0d42eaf93 100644 --- a/keyboards/evyd13/eon87/info.json +++ b/keyboards/evyd13/eon87/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAA6B", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "E6", "B7", "D3", "D2"], "rows": ["B1", "B2", "B3", "D4", "D1", "D5"] diff --git a/keyboards/evyd13/eon87/rules.mk b/keyboards/evyd13/eon87/rules.mk deleted file mode 100644 index 008b63b24e0..00000000000 --- a/keyboards/evyd13/eon87/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/eon95/info.json b/keyboards/evyd13/eon95/keyboard.json similarity index 99% rename from keyboards/evyd13/eon95/info.json rename to keyboards/evyd13/eon95/keyboard.json index c928894dbae..6b5ee8f191b 100644 --- a/keyboards/evyd13/eon95/info.json +++ b/keyboards/evyd13/eon95/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8A18", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B3", "B2", "B1"], "rows": ["D1", "D0", "D3", "D2", "D6", "D4", "D7", "B4", "B5", "B6", "C6", "C7"] diff --git a/keyboards/evyd13/eon95/rules.mk b/keyboards/evyd13/eon95/rules.mk deleted file mode 100644 index 6ff9b4e02ba..00000000000 --- a/keyboards/evyd13/eon95/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/gh80_1800/info.json b/keyboards/evyd13/gh80_1800/keyboard.json similarity index 99% rename from keyboards/evyd13/gh80_1800/info.json rename to keyboards/evyd13/gh80_1800/keyboard.json index 86a7eaf9b4d..3200086a171 100644 --- a/keyboards/evyd13/gh80_1800/info.json +++ b/keyboards/evyd13/gh80_1800/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8B23", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D3", "D2", "D1", "D0", "B7"], "rows": ["D5", "B4", "B5", "B6", "C6", "C7", "B0", "B2", "B1", "B3"] diff --git a/keyboards/evyd13/gh80_1800/rules.mk b/keyboards/evyd13/gh80_1800/rules.mk deleted file mode 100644 index 1d7a3a739f2..00000000000 --- a/keyboards/evyd13/gh80_1800/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/evyd13/gh80_3700/info.json b/keyboards/evyd13/gh80_3700/keyboard.json similarity index 94% rename from keyboards/evyd13/gh80_3700/info.json rename to keyboards/evyd13/gh80_3700/keyboard.json index 6f4f5c3e4f9..fee94f3a55f 100644 --- a/keyboards/evyd13/gh80_3700/info.json +++ b/keyboards/evyd13/gh80_3700/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x633A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "D7", "D6", "D4"], "rows": ["B3", "C7", "C6", "B6", "B5", "B4"] diff --git a/keyboards/evyd13/gh80_3700/rules.mk b/keyboards/evyd13/gh80_3700/rules.mk deleted file mode 100644 index f41f81105e4..00000000000 --- a/keyboards/evyd13/gh80_3700/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -ENCODER_ENABLE = yes # Enable support for rotary encoders diff --git a/keyboards/evyd13/gud70/info.json b/keyboards/evyd13/gud70/keyboard.json similarity index 98% rename from keyboards/evyd13/gud70/info.json rename to keyboards/evyd13/gud70/keyboard.json index 8e4b7199439..00211d61672 100644 --- a/keyboards/evyd13/gud70/info.json +++ b/keyboards/evyd13/gud70/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x198B", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D1", "D0", "B4", "B5", "B6", "C6", "C7", "F0", "F1", "F4", "F5", "F6", "F7"], "rows": ["D7", "D6", "D4", "E6", "B7"] diff --git a/keyboards/evyd13/gud70/rules.mk b/keyboards/evyd13/gud70/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/evyd13/gud70/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/minitomic/info.json b/keyboards/evyd13/minitomic/keyboard.json similarity index 97% rename from keyboards/evyd13/minitomic/info.json rename to keyboards/evyd13/minitomic/keyboard.json index 3146b514102..4bf23b1a564 100644 --- a/keyboards/evyd13/minitomic/info.json +++ b/keyboards/evyd13/minitomic/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0145", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "B6", "B5", "B4", "D7", "F0", "F1", "F4", "F5", "F6", "F7", "B7", "E6"], "rows": ["B1", "B3", "D4", "D6"] diff --git a/keyboards/evyd13/minitomic/rules.mk b/keyboards/evyd13/minitomic/rules.mk deleted file mode 100644 index 27b0a2549ed..00000000000 --- a/keyboards/evyd13/minitomic/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/mx5160/info.json b/keyboards/evyd13/mx5160/keyboard.json similarity index 99% rename from keyboards/evyd13/mx5160/info.json rename to keyboards/evyd13/mx5160/keyboard.json index b9c7e54a571..5b430797ec7 100644 --- a/keyboards/evyd13/mx5160/info.json +++ b/keyboards/evyd13/mx5160/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5160", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "F7", "F6", "F5", "F4", "F1", "F0", "E6"], "rows": ["C6", "C7", "B5", "B6", "D7", "B4", "D4", "D6", "D5", "D3"] diff --git a/keyboards/evyd13/mx5160/rules.mk b/keyboards/evyd13/mx5160/rules.mk deleted file mode 100644 index 1ffb0c55b90..00000000000 --- a/keyboards/evyd13/mx5160/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/nt750/info.json b/keyboards/evyd13/nt750/keyboard.json similarity index 98% rename from keyboards/evyd13/nt750/info.json rename to keyboards/evyd13/nt750/keyboard.json index b12c2b5352d..5ead6193dea 100644 --- a/keyboards/evyd13/nt750/info.json +++ b/keyboards/evyd13/nt750/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3320", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "E6", "B1", "B0"], "rows": ["B2", "B3", "B7", "D0", "D1", "D2"] diff --git a/keyboards/evyd13/nt750/rules.mk b/keyboards/evyd13/nt750/rules.mk deleted file mode 100644 index bb5eab12a15..00000000000 --- a/keyboards/evyd13/nt750/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/evyd13/nt980/info.json b/keyboards/evyd13/nt980/keyboard.json similarity index 99% rename from keyboards/evyd13/nt980/info.json rename to keyboards/evyd13/nt980/keyboard.json index d8d31e0e7fe..307f35cecc1 100644 --- a/keyboards/evyd13/nt980/info.json +++ b/keyboards/evyd13/nt980/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAAF8", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "E6", "D3", "D2"], "rows": ["B0", "B1", "D1", "D0", "C6", "C7", "B5", "B6", "B4", "D7", "D4", "D6"] diff --git a/keyboards/evyd13/nt980/rules.mk b/keyboards/evyd13/nt980/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/evyd13/nt980/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/omrontkl/info.json b/keyboards/evyd13/omrontkl/keyboard.json similarity index 98% rename from keyboards/evyd13/omrontkl/info.json rename to keyboards/evyd13/omrontkl/keyboard.json index e5c01ddae44..28f59b4f537 100644 --- a/keyboards/evyd13/omrontkl/info.json +++ b/keyboards/evyd13/omrontkl/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEA78", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "C7", "F1", "C6", "F4", "B6", "F5", "B5", "F6", "B4", "F7", "D7", "D6", "D5", "B3", "B1", "B2"], "rows": ["D0", "D1", "D2", "D3", "D4", "B7"] diff --git a/keyboards/evyd13/omrontkl/rules.mk b/keyboards/evyd13/omrontkl/rules.mk deleted file mode 100644 index 3f6eff7f550..00000000000 --- a/keyboards/evyd13/omrontkl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/plain60/info.json b/keyboards/evyd13/plain60/keyboard.json similarity index 99% rename from keyboards/evyd13/plain60/info.json rename to keyboards/evyd13/plain60/keyboard.json index 7db6a08f078..711bc515596 100644 --- a/keyboards/evyd13/plain60/info.json +++ b/keyboards/evyd13/plain60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0160", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D2", "D1", "D0", "D3", "D5", "B5", "F0", "B6", "C6", "C7", "F1", "F4", "F5", "F6", "F7"], "rows": ["B4", "D7", "D6", "D4", "E6"] diff --git a/keyboards/evyd13/plain60/rules.mk b/keyboards/evyd13/plain60/rules.mk deleted file mode 100644 index 6eb8e9eb37a..00000000000 --- a/keyboards/evyd13/plain60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no diff --git a/keyboards/evyd13/quackfire/info.json b/keyboards/evyd13/quackfire/keyboard.json similarity index 98% rename from keyboards/evyd13/quackfire/info.json rename to keyboards/evyd13/quackfire/keyboard.json index 493559b38ee..a0d0e819fa5 100644 --- a/keyboards/evyd13/quackfire/info.json +++ b/keyboards/evyd13/quackfire/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x87C9", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "F1", "B1", "D5", "D2", "D1", "D0", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["D3", "F5", "F4", "F0", "B7", "B2", "E6", "B0"] diff --git a/keyboards/evyd13/quackfire/rules.mk b/keyboards/evyd13/quackfire/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/evyd13/quackfire/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/solheim68/info.json b/keyboards/evyd13/solheim68/keyboard.json similarity index 99% rename from keyboards/evyd13/solheim68/info.json rename to keyboards/evyd13/solheim68/keyboard.json index f348b985568..d48281763e8 100644 --- a/keyboards/evyd13/solheim68/info.json +++ b/keyboards/evyd13/solheim68/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x7BFF", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["E6", "B0", "B1", "B2", "B3"] diff --git a/keyboards/evyd13/solheim68/rules.mk b/keyboards/evyd13/solheim68/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/evyd13/solheim68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/evyd13/ta65/info.json b/keyboards/evyd13/ta65/keyboard.json similarity index 98% rename from keyboards/evyd13/ta65/info.json rename to keyboards/evyd13/ta65/keyboard.json index 38da22f4067..97090c611cb 100644 --- a/keyboards/evyd13/ta65/info.json +++ b/keyboards/evyd13/ta65/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x7465", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "D1", "D0", "D3", "D5", "C7", "C6", "B6", "B5", "F0", "F1", "F4", "F5", "F6", "F7", "B0"], "rows": ["B4", "D7", "D6", "D4", "B3"] diff --git a/keyboards/evyd13/ta65/rules.mk b/keyboards/evyd13/ta65/rules.mk deleted file mode 100644 index 27132e67478..00000000000 --- a/keyboards/evyd13/ta65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/evyd13/wonderland/info.json b/keyboards/evyd13/wonderland/keyboard.json similarity index 97% rename from keyboards/evyd13/wonderland/info.json rename to keyboards/evyd13/wonderland/keyboard.json index 1609c969718..526416fd716 100644 --- a/keyboards/evyd13/wonderland/info.json +++ b/keyboards/evyd13/wonderland/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xA71C", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "velocikey": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "E6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/evyd13/wonderland/rules.mk b/keyboards/evyd13/wonderland/rules.mk deleted file mode 100644 index 5cf8a3ec50f..00000000000 --- a/keyboards/evyd13/wonderland/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -AUTO_SHIFT_ENABLE = no -VELOCIKEY_ENABLE = yes diff --git a/keyboards/exclusive/e65/info.json b/keyboards/exclusive/e65/keyboard.json similarity index 99% rename from keyboards/exclusive/e65/info.json rename to keyboards/exclusive/e65/keyboard.json index 76f37e9883b..14bed7b7651 100644 --- a/keyboards/exclusive/e65/info.json +++ b/keyboards/exclusive/e65/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xE605", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "C7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "F0", "F1", "F4", "F5", "F6", "F7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/exclusive/e65/rules.mk b/keyboards/exclusive/e65/rules.mk deleted file mode 100644 index 363aa021cbe..00000000000 --- a/keyboards/exclusive/e65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/exclusive/e6_rgb/info.json b/keyboards/exclusive/e6_rgb/keyboard.json similarity index 98% rename from keyboards/exclusive/e6_rgb/info.json rename to keyboards/exclusive/e6_rgb/keyboard.json index 3b833c3a97f..36c186584f3 100644 --- a/keyboards/exclusive/e6_rgb/info.json +++ b/keyboards/exclusive/e6_rgb/keyboard.json @@ -11,6 +11,15 @@ "rgb_matrix": { "driver": "is31fl3733" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "B4", "B5", "B6", "C6", "C7", "F7", "F0", "B0", "B1", "D2", "D3", "B3", "B2"], "rows": ["F1", "F4", "F5", "F6", "D6"] diff --git a/keyboards/exclusive/e6_rgb/rules.mk b/keyboards/exclusive/e6_rgb/rules.mk deleted file mode 100644 index 0bdf20535c3..00000000000 --- a/keyboards/exclusive/e6_rgb/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = no # Use RGB matrix diff --git a/keyboards/exclusive/e6v2/le/info.json b/keyboards/exclusive/e6v2/le/keyboard.json similarity index 98% rename from keyboards/exclusive/e6v2/le/info.json rename to keyboards/exclusive/e6v2/le/keyboard.json index 551efa299c1..e6d551126ee 100644 --- a/keyboards/exclusive/e6v2/le/info.json +++ b/keyboards/exclusive/e6v2/le/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/exclusive/e6v2/le/rules.mk b/keyboards/exclusive/e6v2/le/rules.mk deleted file mode 100644 index 854004ccf73..00000000000 --- a/keyboards/exclusive/e6v2/le/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/exclusive/e6v2/le_bmc/info.json b/keyboards/exclusive/e6v2/le_bmc/keyboard.json similarity index 98% rename from keyboards/exclusive/e6v2/le_bmc/info.json rename to keyboards/exclusive/e6v2/le_bmc/keyboard.json index 123ab8f7bb3..09d99d670f9 100644 --- a/keyboards/exclusive/e6v2/le_bmc/info.json +++ b/keyboards/exclusive/e6v2/le_bmc/keyboard.json @@ -7,6 +7,16 @@ "pid": "0xE62D", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "C2", "C3", "C4", "C5", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/exclusive/e6v2/le_bmc/rules.mk b/keyboards/exclusive/e6v2/le_bmc/rules.mk deleted file mode 100644 index 0a7c71a8ee3..00000000000 --- a/keyboards/exclusive/e6v2/le_bmc/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/exclusive/e6v2/oe/info.json b/keyboards/exclusive/e6v2/oe/keyboard.json similarity index 98% rename from keyboards/exclusive/e6v2/oe/info.json rename to keyboards/exclusive/e6v2/oe/keyboard.json index 90a9a8b40b0..587205d2df2 100644 --- a/keyboards/exclusive/e6v2/oe/info.json +++ b/keyboards/exclusive/e6v2/oe/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "B5", "B4", "D7", "D6", "D4", "F6", "F7", "F5", "F4", "F1", "F0", "B0", "B1"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/exclusive/e6v2/oe/rules.mk b/keyboards/exclusive/e6v2/oe/rules.mk deleted file mode 100644 index 854004ccf73..00000000000 --- a/keyboards/exclusive/e6v2/oe/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/exclusive/e6v2/oe_bmc/info.json b/keyboards/exclusive/e6v2/oe_bmc/keyboard.json similarity index 98% rename from keyboards/exclusive/e6v2/oe_bmc/info.json rename to keyboards/exclusive/e6v2/oe_bmc/keyboard.json index 65be093b493..7ff30992491 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/info.json +++ b/keyboards/exclusive/e6v2/oe_bmc/keyboard.json @@ -7,6 +7,16 @@ "pid": "0xE62B", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "C2", "C3", "C4", "C5", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/exclusive/e6v2/oe_bmc/rules.mk b/keyboards/exclusive/e6v2/oe_bmc/rules.mk deleted file mode 100644 index 0a7c71a8ee3..00000000000 --- a/keyboards/exclusive/e6v2/oe_bmc/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/exclusive/e7v1/info.json b/keyboards/exclusive/e7v1/keyboard.json similarity index 99% rename from keyboards/exclusive/e7v1/info.json rename to keyboards/exclusive/e7v1/keyboard.json index ed94f9805e5..c6efe800b4f 100644 --- a/keyboards/exclusive/e7v1/info.json +++ b/keyboards/exclusive/e7v1/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xE701", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7", "F1"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/exclusive/e7v1/rules.mk b/keyboards/exclusive/e7v1/rules.mk deleted file mode 100644 index 363aa021cbe..00000000000 --- a/keyboards/exclusive/e7v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/exclusive/e7v1se/info.json b/keyboards/exclusive/e7v1se/keyboard.json similarity index 96% rename from keyboards/exclusive/e7v1se/info.json rename to keyboards/exclusive/e7v1se/keyboard.json index 33e17f14b58..6dcb6ac8664 100644 --- a/keyboards/exclusive/e7v1se/info.json +++ b/keyboards/exclusive/e7v1se/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x7051", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D1", "D0", "D7", "D6", "D4", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F4"], "rows": ["E6", "B0", "B1", "B2", "B3", "F0"] diff --git a/keyboards/exclusive/e7v1se/rules.mk b/keyboards/exclusive/e7v1se/rules.mk deleted file mode 100644 index 5681a9b5977..00000000000 --- a/keyboards/exclusive/e7v1se/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/exent/info.json b/keyboards/exent/keyboard.json similarity index 98% rename from keyboards/exent/info.json rename to keyboards/exent/keyboard.json index 54d54f08978..1fcd11084b4 100644 --- a/keyboards/exent/info.json +++ b/keyboards/exent/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4558", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "C2", "C3", "C4", "C5", "C6", "C7", "A7", "A6", "A5", "A4", "A3", "A1", "A0"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6"] diff --git a/keyboards/exent/rules.mk b/keyboards/exent/rules.mk deleted file mode 100644 index e402cb508cf..00000000000 --- a/keyboards/exent/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eyeohdesigns/babyv/info.json b/keyboards/eyeohdesigns/babyv/keyboard.json similarity index 98% rename from keyboards/eyeohdesigns/babyv/info.json rename to keyboards/eyeohdesigns/babyv/keyboard.json index 14f52889ba0..11975331897 100644 --- a/keyboards/eyeohdesigns/babyv/info.json +++ b/keyboards/eyeohdesigns/babyv/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "B4", "D7", "D6", "D4", "B0", "B1", "B2", "F0", "F1", "F4"], "rows": ["B5", "D2", "D5", "D3"] diff --git a/keyboards/eyeohdesigns/babyv/rules.mk b/keyboards/eyeohdesigns/babyv/rules.mk deleted file mode 100644 index 5b9cc80e47a..00000000000 --- a/keyboards/eyeohdesigns/babyv/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/eyeohdesigns/sprh/info.json b/keyboards/eyeohdesigns/sprh/keyboard.json similarity index 99% rename from keyboards/eyeohdesigns/sprh/info.json rename to keyboards/eyeohdesigns/sprh/keyboard.json index 3ef613f9a92..55fe0cf4e41 100644 --- a/keyboards/eyeohdesigns/sprh/info.json +++ b/keyboards/eyeohdesigns/sprh/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "C6", "B6", "B5", "B4", "D7", "D6", "F7", "D4"], "rows": ["B3", "B7", "D2", "D5", "D3"] diff --git a/keyboards/eyeohdesigns/sprh/rules.mk b/keyboards/eyeohdesigns/sprh/rules.mk deleted file mode 100644 index 3e97617a39e..00000000000 --- a/keyboards/eyeohdesigns/sprh/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/eyeohdesigns/theboulevard/info.json b/keyboards/eyeohdesigns/theboulevard/keyboard.json similarity index 99% rename from keyboards/eyeohdesigns/theboulevard/info.json rename to keyboards/eyeohdesigns/theboulevard/keyboard.json index afec9c4419d..94007dd2c55 100644 --- a/keyboards/eyeohdesigns/theboulevard/info.json +++ b/keyboards/eyeohdesigns/theboulevard/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["F7", "B1", "E6", "F0", "F1"] diff --git a/keyboards/eyeohdesigns/theboulevard/rules.mk b/keyboards/eyeohdesigns/theboulevard/rules.mk deleted file mode 100644 index 8561958b642..00000000000 --- a/keyboards/eyeohdesigns/theboulevard/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/facew/info.json b/keyboards/facew/keyboard.json similarity index 97% rename from keyboards/facew/info.json rename to keyboards/facew/keyboard.json index 1f7844a8ef7..a8a7543b7a6 100644 --- a/keyboards/facew/info.json +++ b/keyboards/facew/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/facew/rules.mk b/keyboards/facew/rules.mk deleted file mode 100644 index 166b3d3ec8d..00000000000 --- a/keyboards/facew/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/feels/feels65/info.json b/keyboards/feels/feels65/keyboard.json similarity index 99% rename from keyboards/feels/feels65/info.json rename to keyboards/feels/feels65/keyboard.json index efa67dd33ab..f43078f69ec 100644 --- a/keyboards/feels/feels65/info.json +++ b/keyboards/feels/feels65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE965", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0", "B1", "B2", "B3"], "rows": ["D5", "D3", "D2", "D1", "D0"] diff --git a/keyboards/feels/feels65/rules.mk b/keyboards/feels/feels65/rules.mk deleted file mode 100644 index c6b71a4aaa6..00000000000 --- a/keyboards/feels/feels65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ffkeebs/siris/info.json b/keyboards/ffkeebs/siris/keyboard.json similarity index 95% rename from keyboards/ffkeebs/siris/info.json rename to keyboards/ffkeebs/siris/keyboard.json index 6a1347cdf61..86531b6d01f 100644 --- a/keyboards/ffkeebs/siris/info.json +++ b/keyboards/ffkeebs/siris/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xE96C", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D2", "D1", "D0", "B7", "B3", "B2", "F0", "F1", "F4", "F5", "F6", "F7"], "rows": ["B5", "B4", "D7", "D6", "D4"] diff --git a/keyboards/ffkeebs/siris/rules.mk b/keyboards/ffkeebs/siris/rules.mk deleted file mode 100644 index b9cfa98be04..00000000000 --- a/keyboards/ffkeebs/siris/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary Encoder \ No newline at end of file diff --git a/keyboards/flehrad/bigswitch/info.json b/keyboards/flehrad/bigswitch/keyboard.json similarity index 82% rename from keyboards/flehrad/bigswitch/info.json rename to keyboards/flehrad/bigswitch/keyboard.json index cf981b0d90e..a56c0b1e9ef 100644 --- a/keyboards/flehrad/bigswitch/info.json +++ b/keyboards/flehrad/bigswitch/keyboard.json @@ -25,6 +25,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B6"], "rows": ["B5"] diff --git a/keyboards/flehrad/bigswitch/rules.mk b/keyboards/flehrad/bigswitch/rules.mk deleted file mode 100644 index e39d118e931..00000000000 --- a/keyboards/flehrad/bigswitch/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port. - diff --git a/keyboards/flehrad/downbubble/info.json b/keyboards/flehrad/downbubble/keyboard.json similarity index 99% rename from keyboards/flehrad/downbubble/info.json rename to keyboards/flehrad/downbubble/keyboard.json index fa81b51e429..94f29b89f2b 100644 --- a/keyboards/flehrad/downbubble/info.json +++ b/keyboards/flehrad/downbubble/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "E1", "E0", "D7", "D6", "D5", "D4", "D3", "D2", "D1", "D0", "B7"], "rows": ["F1", "F2", "F3", "F4", "F5", "F6"] diff --git a/keyboards/flehrad/downbubble/rules.mk b/keyboards/flehrad/downbubble/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/flehrad/downbubble/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/flehrad/numbrero/info.json b/keyboards/flehrad/numbrero/keyboard.json similarity index 94% rename from keyboards/flehrad/numbrero/info.json rename to keyboards/flehrad/numbrero/keyboard.json index 9f86df14d9d..035aaa85b9c 100644 --- a/keyboards/flehrad/numbrero/info.json +++ b/keyboards/flehrad/numbrero/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "F5", "F4"], "rows": ["F6", "B5", "B4", "E6", "F7"] diff --git a/keyboards/flehrad/numbrero/rules.mk b/keyboards/flehrad/numbrero/rules.mk deleted file mode 100644 index 06845b8e21c..00000000000 --- a/keyboards/flehrad/numbrero/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/flehrad/snagpad/info.json b/keyboards/flehrad/snagpad/keyboard.json similarity index 93% rename from keyboards/flehrad/snagpad/info.json rename to keyboards/flehrad/snagpad/keyboard.json index 7795b0a6b7e..3c513a4b485 100644 --- a/keyboards/flehrad/snagpad/info.json +++ b/keyboards/flehrad/snagpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5350", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7"], "rows": ["D1", "D0", "D4", "C6", "D7"] diff --git a/keyboards/flehrad/snagpad/rules.mk b/keyboards/flehrad/snagpad/rules.mk deleted file mode 100644 index 06845b8e21c..00000000000 --- a/keyboards/flehrad/snagpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/flehrad/tradestation/info.json b/keyboards/flehrad/tradestation/keyboard.json similarity index 92% rename from keyboards/flehrad/tradestation/info.json rename to keyboards/flehrad/tradestation/keyboard.json index fff21fa7bc0..52620b87be8 100644 --- a/keyboards/flehrad/tradestation/info.json +++ b/keyboards/flehrad/tradestation/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F7", "B1", "D7", "E6"], "rows": ["D1", "C6", "D4", "D0"] diff --git a/keyboards/flehrad/tradestation/rules.mk b/keyboards/flehrad/tradestation/rules.mk deleted file mode 100644 index 06845b8e21c..00000000000 --- a/keyboards/flehrad/tradestation/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/fleuron/info.json b/keyboards/fleuron/keyboard.json similarity index 96% rename from keyboards/fleuron/info.json rename to keyboards/fleuron/keyboard.json index 70be63d3c20..dbf11d6161c 100644 --- a/keyboards/fleuron/info.json +++ b/keyboards/fleuron/keyboard.json @@ -7,6 +7,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "B6", "B3", "B5", "B4", "D7", "D4", "D5", "D3", "D2", "D1", "D0", "B7", "B0", "B1", "B2"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/fleuron/rules.mk b/keyboards/fleuron/rules.mk deleted file mode 100644 index b59c21b0333..00000000000 --- a/keyboards/fleuron/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output - -RGBLIGHT_ENABLE = yes diff --git a/keyboards/foostan/cornelius/info.json b/keyboards/foostan/cornelius/keyboard.json similarity index 94% rename from keyboards/foostan/cornelius/info.json rename to keyboards/foostan/cornelius/keyboard.json index fc67cc0100d..a8dba9c3e74 100644 --- a/keyboards/foostan/cornelius/info.json +++ b/keyboards/foostan/cornelius/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["B0", "B1", "B2", "C7"] diff --git a/keyboards/foostan/cornelius/rules.mk b/keyboards/foostan/cornelius/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/foostan/cornelius/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/foxlab/key65/hotswap/info.json b/keyboards/foxlab/key65/hotswap/keyboard.json similarity index 95% rename from keyboards/foxlab/key65/hotswap/info.json rename to keyboards/foxlab/key65/hotswap/keyboard.json index 20f5c06ecd1..0a98932eb00 100644 --- a/keyboards/foxlab/key65/hotswap/info.json +++ b/keyboards/foxlab/key65/hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F4", "F1", "F0", "B0", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["D2", "D1", "D0", "D3", "B3"] diff --git a/keyboards/foxlab/key65/hotswap/rules.mk b/keyboards/foxlab/key65/hotswap/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/foxlab/key65/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/foxlab/key65/universal/info.json b/keyboards/foxlab/key65/universal/keyboard.json similarity index 98% rename from keyboards/foxlab/key65/universal/info.json rename to keyboards/foxlab/key65/universal/keyboard.json index e2e526303d0..7523d7051d3 100644 --- a/keyboards/foxlab/key65/universal/info.json +++ b/keyboards/foxlab/key65/universal/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B1", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "B0"], "rows": ["D0", "D1", "F0", "F4", "F1"] diff --git a/keyboards/foxlab/key65/universal/rules.mk b/keyboards/foxlab/key65/universal/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/foxlab/key65/universal/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/foxlab/leaf60/hotswap/info.json b/keyboards/foxlab/leaf60/hotswap/keyboard.json similarity index 95% rename from keyboards/foxlab/leaf60/hotswap/info.json rename to keyboards/foxlab/leaf60/hotswap/keyboard.json index f7f3d202ff6..8c74898e37d 100644 --- a/keyboards/foxlab/leaf60/hotswap/info.json +++ b/keyboards/foxlab/leaf60/hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F4", "F1", "F0", "B0", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["D2", "D1", "D0", "D3", "D5"] diff --git a/keyboards/foxlab/leaf60/hotswap/rules.mk b/keyboards/foxlab/leaf60/hotswap/rules.mk deleted file mode 100644 index 0922d3d5112..00000000000 --- a/keyboards/foxlab/leaf60/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/foxlab/leaf60/universal/info.json b/keyboards/foxlab/leaf60/universal/keyboard.json similarity index 98% rename from keyboards/foxlab/leaf60/universal/info.json rename to keyboards/foxlab/leaf60/universal/keyboard.json index f4b9c704f74..1cf7f235a51 100644 --- a/keyboards/foxlab/leaf60/universal/info.json +++ b/keyboards/foxlab/leaf60/universal/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["D0", "D1", "F0", "F4", "F1"] diff --git a/keyboards/foxlab/leaf60/universal/rules.mk b/keyboards/foxlab/leaf60/universal/rules.mk deleted file mode 100644 index 0922d3d5112..00000000000 --- a/keyboards/foxlab/leaf60/universal/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/foxlab/time80/info.json b/keyboards/foxlab/time80/keyboard.json similarity index 99% rename from keyboards/foxlab/time80/info.json rename to keyboards/foxlab/time80/keyboard.json index b19e3c31041..29a374b5649 100644 --- a/keyboards/foxlab/time80/info.json +++ b/keyboards/foxlab/time80/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7", "A0"], "rows": ["B1", "B2", "B3", "B5", "B6", "B7", "B0"] diff --git a/keyboards/foxlab/time80/rules.mk b/keyboards/foxlab/time80/rules.mk deleted file mode 100644 index 62a9a9a51a6..00000000000 --- a/keyboards/foxlab/time80/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/foxlab/time_re/universal/info.json b/keyboards/foxlab/time_re/hotswap/keyboard.json similarity index 96% rename from keyboards/foxlab/time_re/universal/info.json rename to keyboards/foxlab/time_re/hotswap/keyboard.json index a7c9bbc7e62..cfef3317f20 100644 --- a/keyboards/foxlab/time_re/universal/info.json +++ b/keyboards/foxlab/time_re/hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D4", "D6", "D2", "D3", "D5"], "rows": ["D1", "D0", "B3", "B0", "B2", "B1"] @@ -16,6 +26,10 @@ "backlight": { "pin": "B7" }, + "indicators": { + "caps_lock": "E6", + "on_state": 0 + }, "ws2812": { "pin": "E2" }, @@ -38,10 +52,6 @@ "twinkle": true } }, - "indicators": { - "caps_lock": "E6", - "on_state": 0 - }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/foxlab/time_re/hotswap/rules.mk b/keyboards/foxlab/time_re/hotswap/rules.mk deleted file mode 100644 index d96164b489f..00000000000 --- a/keyboards/foxlab/time_re/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/foxlab/time_re/hotswap/info.json b/keyboards/foxlab/time_re/universal/keyboard.json similarity index 96% rename from keyboards/foxlab/time_re/hotswap/info.json rename to keyboards/foxlab/time_re/universal/keyboard.json index d210a854377..b53364a5896 100644 --- a/keyboards/foxlab/time_re/hotswap/info.json +++ b/keyboards/foxlab/time_re/universal/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D4", "D6", "D2", "D3", "D5"], "rows": ["D1", "D0", "B3", "B0", "B2", "B1"] @@ -16,10 +26,6 @@ "backlight": { "pin": "B7" }, - "indicators": { - "caps_lock": "E6", - "on_state": 0 - }, "ws2812": { "pin": "E2" }, @@ -42,6 +48,10 @@ "twinkle": true } }, + "indicators": { + "caps_lock": "E6", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/foxlab/time_re/universal/rules.mk b/keyboards/foxlab/time_re/universal/rules.mk deleted file mode 100644 index 37ab2ebad17..00000000000 --- a/keyboards/foxlab/time_re/universal/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/fr4/southpaw75/info.json b/keyboards/fr4/southpaw75/keyboard.json similarity index 96% rename from keyboards/fr4/southpaw75/info.json rename to keyboards/fr4/southpaw75/keyboard.json index 3eb325d0eb6..d29aa877373 100644 --- a/keyboards/fr4/southpaw75/info.json +++ b/keyboards/fr4/southpaw75/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x350C", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4"] diff --git a/keyboards/fr4/southpaw75/rules.mk b/keyboards/fr4/southpaw75/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/fr4/southpaw75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/fr4/unix60/info.json b/keyboards/fr4/unix60/keyboard.json similarity index 98% rename from keyboards/fr4/unix60/info.json rename to keyboards/fr4/unix60/keyboard.json index 14c686a0407..a6c3d0cb6a0 100644 --- a/keyboards/fr4/unix60/info.json +++ b/keyboards/fr4/unix60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5558", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "B4", "B5", "F4", "F5", "F6", "F7", "B1", "B3"], "rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7"] diff --git a/keyboards/fr4/unix60/rules.mk b/keyboards/fr4/unix60/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/fr4/unix60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/free_willy/info.json b/keyboards/free_willy/keyboard.json similarity index 93% rename from keyboards/free_willy/info.json rename to keyboards/free_willy/keyboard.json index c9457da71d2..512d56516aa 100644 --- a/keyboards/free_willy/info.json +++ b/keyboards/free_willy/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4657", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/free_willy/rules.mk b/keyboards/free_willy/rules.mk deleted file mode 100644 index 1ffb0c55b90..00000000000 --- a/keyboards/free_willy/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/friedrich/info.json b/keyboards/friedrich/keyboard.json similarity index 95% rename from keyboards/friedrich/info.json rename to keyboards/friedrich/keyboard.json index d3d3fc950e7..d5dd68e0bc4 100644 --- a/keyboards/friedrich/info.json +++ b/keyboards/friedrich/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB4A2", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F7", "E6", "B2", "B3", "D4", "D6", "D7", "B4", "C6", "B5", "B6"], "rows": ["F4", "F1", "F0", "F5", "D5"] diff --git a/keyboards/friedrich/rules.mk b/keyboards/friedrich/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/friedrich/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/frooastboard/nano/info.json b/keyboards/frooastboard/nano/keyboard.json similarity index 86% rename from keyboards/frooastboard/nano/info.json rename to keyboards/frooastboard/nano/keyboard.json index c81d7a3dfb0..5d7783145e0 100644 --- a/keyboards/frooastboard/nano/info.json +++ b/keyboards/frooastboard/nano/keyboard.json @@ -15,6 +15,15 @@ ] } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "rows": ["B0", "B1"], "cols": ["B2", "B3"] diff --git a/keyboards/frooastboard/nano/rules.mk b/keyboards/frooastboard/nano/rules.mk deleted file mode 100644 index c4f25d88037..00000000000 --- a/keyboards/frooastboard/nano/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ft/mars80/info.json b/keyboards/ft/mars80/keyboard.json similarity index 98% rename from keyboards/ft/mars80/info.json rename to keyboards/ft/mars80/keyboard.json index 82727ffd3e7..1d5e53dcbe1 100644 --- a/keyboards/ft/mars80/info.json +++ b/keyboards/ft/mars80/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2"], "rows": ["B0", "B1", "B2", "B3", "B5", "B6", "B7"] diff --git a/keyboards/ft/mars80/rules.mk b/keyboards/ft/mars80/rules.mk deleted file mode 100644 index 51df0b642e1..00000000000 --- a/keyboards/ft/mars80/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/function96/v1/info.json b/keyboards/function96/v1/keyboard.json similarity index 97% rename from keyboards/function96/v1/info.json rename to keyboards/function96/v1/keyboard.json index 63bd287f473..945042b284b 100644 --- a/keyboards/function96/v1/info.json +++ b/keyboards/function96/v1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x672A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B12", "A13", "A14", "A15", "B3", "B4", "B5", "B6", "B7", "B8"], "rows": ["F1", "F0", "C15", "C14", "C13", "B9"] diff --git a/keyboards/function96/v1/rules.mk b/keyboards/function96/v1/rules.mk deleted file mode 100644 index 9dc5131823e..00000000000 --- a/keyboards/function96/v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/function96/v2/info.json b/keyboards/function96/v2/keyboard.json similarity index 99% rename from keyboards/function96/v2/info.json rename to keyboards/function96/v2/keyboard.json index 88d54b5147e..21d677d9a59 100644 --- a/keyboards/function96/v2/info.json +++ b/keyboards/function96/v2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x672B", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "A14", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9"], "rows": ["A9", "A8", "B15", "B14", "B13", "B12"] diff --git a/keyboards/function96/v2/rules.mk b/keyboards/function96/v2/rules.mk deleted file mode 100644 index 9dc5131823e..00000000000 --- a/keyboards/function96/v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/funky40/info.json b/keyboards/funky40/keyboard.json similarity index 94% rename from keyboards/funky40/info.json rename to keyboards/funky40/keyboard.json index 43a424a664d..5825c0e3b70 100644 --- a/keyboards/funky40/info.json +++ b/keyboards/funky40/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xC4B5", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "F5", "F4", "F7", "B1", "B6", "B2", "B3", "D2", "F6", "E6", "D7"], "rows": ["D4", "C6", "B4", "B5"] diff --git a/keyboards/funky40/rules.mk b/keyboards/funky40/rules.mk deleted file mode 100644 index d963880594e..00000000000 --- a/keyboards/funky40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration - this may disable space cadet right shift/enter -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gami_studio/lex60/info.json b/keyboards/gami_studio/lex60/keyboard.json similarity index 95% rename from keyboards/gami_studio/lex60/info.json rename to keyboards/gami_studio/lex60/keyboard.json index 871d1f77fc4..be1715c8448 100644 --- a/keyboards/gami_studio/lex60/info.json +++ b/keyboards/gami_studio/lex60/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B7", "F7", "C7", "E6", "C6", "F0", "B6", "F1", "B5", "F4", "B4", "F5", "D7", "F6", "D6"], "rows": ["D5", "D4", "B0", "D2", "D3"] diff --git a/keyboards/gami_studio/lex60/rules.mk b/keyboards/gami_studio/lex60/rules.mk deleted file mode 100644 index f2e6e3b073e..00000000000 --- a/keyboards/gami_studio/lex60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/geekboards/macropad_v2/info.json b/keyboards/geekboards/macropad_v2/keyboard.json similarity index 91% rename from keyboards/geekboards/macropad_v2/info.json rename to keyboards/geekboards/macropad_v2/keyboard.json index cb8c3b81be9..035a83c157d 100644 --- a/keyboards/geekboards/macropad_v2/info.json +++ b/keyboards/geekboards/macropad_v2/keyboard.json @@ -55,6 +55,15 @@ }, "processor": "STM32F072", "bootloader": "stm32-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "direct": [ ["B13", "B15", "B3", "B5"], diff --git a/keyboards/geekboards/macropad_v2/rules.mk b/keyboards/geekboards/macropad_v2/rules.mk deleted file mode 100644 index c49a369dd02..00000000000 --- a/keyboards/geekboards/macropad_v2/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/geekboards/tester/info.json b/keyboards/geekboards/tester/keyboard.json similarity index 92% rename from keyboards/geekboards/tester/info.json rename to keyboards/geekboards/tester/keyboard.json index 03fb6827512..0bd115906d2 100644 --- a/keyboards/geekboards/tester/info.json +++ b/keyboards/geekboards/tester/keyboard.json @@ -52,6 +52,15 @@ }, "driver": "is31fl3731" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F7", "F6", "D2", "D3"], "rows": ["B0", "D4"] diff --git a/keyboards/geekboards/tester/rules.mk b/keyboards/geekboards/tester/rules.mk deleted file mode 100644 index 8ac152f428a..00000000000 --- a/keyboards/geekboards/tester/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Use RGB matrix diff --git a/keyboards/generic_panda/panda65_01/info.json b/keyboards/generic_panda/panda65_01/keyboard.json similarity index 97% rename from keyboards/generic_panda/panda65_01/info.json rename to keyboards/generic_panda/panda65_01/keyboard.json index 8e8b58b5c01..098f3df1c02 100644 --- a/keyboards/generic_panda/panda65_01/info.json +++ b/keyboards/generic_panda/panda65_01/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6501", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["A3", "A10", "B7", "B6", "B5", "B4", "B3", "A15", "A14", "A2", "A1", "A0", "F1", "F0", "B10", "B11"], "rows": ["A9", "A8", "B15", "A6", "A4"] diff --git a/keyboards/generic_panda/panda65_01/rules.mk b/keyboards/generic_panda/panda65_01/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/generic_panda/panda65_01/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/genone/eclipse_65/info.json b/keyboards/genone/eclipse_65/keyboard.json similarity index 96% rename from keyboards/genone/eclipse_65/info.json rename to keyboards/genone/eclipse_65/keyboard.json index d97a15616b6..aeb2d8973c8 100644 --- a/keyboards/genone/eclipse_65/info.json +++ b/keyboards/genone/eclipse_65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x2222", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"], "rows": ["B3", "B7", "B0", "B1", "B2"] diff --git a/keyboards/genone/eclipse_65/rules.mk b/keyboards/genone/eclipse_65/rules.mk deleted file mode 100644 index 2155cba5650..00000000000 --- a/keyboards/genone/eclipse_65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keybaord RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/genone/g1_65/info.json b/keyboards/genone/g1_65/keyboard.json similarity index 96% rename from keyboards/genone/g1_65/info.json rename to keyboards/genone/g1_65/keyboard.json index eed4c85ab55..367bdfe7bbb 100644 --- a/keyboards/genone/g1_65/info.json +++ b/keyboards/genone/g1_65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"], "rows": ["B3", "B7", "B0", "B1", "B2"] diff --git a/keyboards/genone/g1_65/rules.mk b/keyboards/genone/g1_65/rules.mk deleted file mode 100644 index 2155cba5650..00000000000 --- a/keyboards/genone/g1_65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keybaord RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ggkeyboards/genesis/hotswap/info.json b/keyboards/ggkeyboards/genesis/hotswap/keyboard.json similarity index 97% rename from keyboards/ggkeyboards/genesis/hotswap/info.json rename to keyboards/ggkeyboards/genesis/hotswap/keyboard.json index 72663cf6d25..5cd4f077168 100644 --- a/keyboards/ggkeyboards/genesis/hotswap/info.json +++ b/keyboards/ggkeyboards/genesis/hotswap/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xD4D3", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C6", "C7"], "rows": ["C5", "C4", "C3", "C2", "C1", "C0"] diff --git a/keyboards/ggkeyboards/genesis/hotswap/rules.mk b/keyboards/ggkeyboards/genesis/hotswap/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/ggkeyboards/genesis/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ggkeyboards/genesis/solder/info.json b/keyboards/ggkeyboards/genesis/solder/keyboard.json similarity index 98% rename from keyboards/ggkeyboards/genesis/solder/info.json rename to keyboards/ggkeyboards/genesis/solder/keyboard.json index 7649b7b04b3..485be430e59 100644 --- a/keyboards/ggkeyboards/genesis/solder/info.json +++ b/keyboards/ggkeyboards/genesis/solder/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xD4D2", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C6", "C7"], "rows": ["C5", "C4", "C3", "C2", "C1", "C0"] diff --git a/keyboards/ggkeyboards/genesis/solder/rules.mk b/keyboards/ggkeyboards/genesis/solder/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/ggkeyboards/genesis/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gh60/revc/info.json b/keyboards/gh60/revc/keyboard.json similarity index 99% rename from keyboards/gh60/revc/info.json rename to keyboards/gh60/revc/keyboard.json index c8b881841b2..bc30efd02f5 100644 --- a/keyboards/gh60/revc/info.json +++ b/keyboards/gh60/revc/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/gh60/revc/rules.mk b/keyboards/gh60/revc/rules.mk deleted file mode 100644 index 53acbde1062..00000000000 --- a/keyboards/gh60/revc/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -# CONSOLE_ENABLE = yes # Console for debug -# COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality diff --git a/keyboards/gh60/satan/info.json b/keyboards/gh60/satan/keyboard.json similarity index 99% rename from keyboards/gh60/satan/info.json rename to keyboards/gh60/satan/keyboard.json index 53e2b04df65..54e9d42bcd4 100644 --- a/keyboards/gh60/satan/info.json +++ b/keyboards/gh60/satan/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0002", "device_version": "0.0.3" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/gh60/satan/rules.mk b/keyboards/gh60/satan/rules.mk deleted file mode 100644 index 4680ba6e6f0..00000000000 --- a/keyboards/gh60/satan/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no diff --git a/keyboards/gh60/v1p3/info.json b/keyboards/gh60/v1p3/keyboard.json similarity index 99% rename from keyboards/gh60/v1p3/info.json rename to keyboards/gh60/v1p3/keyboard.json index 0597c2e7a07..18ac7608bb9 100644 --- a/keyboards/gh60/v1p3/info.json +++ b/keyboards/gh60/v1p3/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B4", "B5"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/gh60/v1p3/rules.mk b/keyboards/gh60/v1p3/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/gh60/v1p3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gh80_3000/info.json b/keyboards/gh80_3000/keyboard.json similarity index 99% rename from keyboards/gh80_3000/info.json rename to keyboards/gh80_3000/keyboard.json index 4d4bca16613..f5f4ba75332 100644 --- a/keyboards/gh80_3000/info.json +++ b/keyboards/gh80_3000/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "C6", "B4", "D7", "B3", "B2", "B0", "E6", "B1", "D1", "D6"], "rows": ["F4", "F1", "F0", "F5", "F6", "F7", "D4", "D5", "D3", "D2", "D0"] diff --git a/keyboards/gh80_3000/rules.mk b/keyboards/gh80_3000/rules.mk deleted file mode 100644 index 51c80ed6cf1..00000000000 --- a/keyboards/gh80_3000/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/ghs/rar/info.json b/keyboards/ghs/rar/keyboard.json similarity index 99% rename from keyboards/ghs/rar/info.json rename to keyboards/ghs/rar/keyboard.json index 6bf890b3f8d..e033b08f510 100644 --- a/keyboards/ghs/rar/info.json +++ b/keyboards/ghs/rar/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "D0" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "D1"], "rows": ["B0", "B7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"] diff --git a/keyboards/ghs/rar/rules.mk b/keyboards/ghs/rar/rules.mk deleted file mode 100644 index 8288dff3765..00000000000 --- a/keyboards/ghs/rar/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gizmo_engineering/gk6/info.json b/keyboards/gizmo_engineering/gk6/keyboard.json similarity index 98% rename from keyboards/gizmo_engineering/gk6/info.json rename to keyboards/gizmo_engineering/gk6/keyboard.json index 8a50b365f59..d68b356d9cf 100644 --- a/keyboards/gizmo_engineering/gk6/info.json +++ b/keyboards/gizmo_engineering/gk6/keyboard.json @@ -27,6 +27,15 @@ "react_on_keyup": true, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B5", "C6", "C7", "F7", "F6", "D5", "D3", "D2", "F1", "F4", "B7", "F5"], "rows": ["B6", "B4", "D7", "D6", "D4"] diff --git a/keyboards/gizmo_engineering/gk6/rules.mk b/keyboards/gizmo_engineering/gk6/rules.mk deleted file mode 100755 index c6a142275fd..00000000000 --- a/keyboards/gizmo_engineering/gk6/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/gkeyboard/gkb_m16/info.json b/keyboards/gkeyboard/gkb_m16/keyboard.json similarity index 90% rename from keyboards/gkeyboard/gkb_m16/info.json rename to keyboards/gkeyboard/gkb_m16/keyboard.json index 9d80eba885c..0d4ddbd4c3c 100644 --- a/keyboards/gkeyboard/gkb_m16/info.json +++ b/keyboards/gkeyboard/gkb_m16/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "F1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7"], "rows": ["D4", "D5", "D6", "D7"] diff --git a/keyboards/gkeyboard/gkb_m16/rules.mk b/keyboards/gkeyboard/gkb_m16/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/gkeyboard/gkb_m16/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gmmk/gmmk2/p65/ansi/info.json b/keyboards/gmmk/gmmk2/p65/ansi/keyboard.json similarity index 95% rename from keyboards/gmmk/gmmk2/p65/ansi/info.json rename to keyboards/gmmk/gmmk2/p65/ansi/keyboard.json index 2d2230a3b91..a5c4c92552f 100644 --- a/keyboards/gmmk/gmmk2/p65/ansi/info.json +++ b/keyboards/gmmk/gmmk2/p65/ansi/keyboard.json @@ -11,6 +11,15 @@ "qmk": { "tap_keycode_delay": 10 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8"] diff --git a/keyboards/gmmk/gmmk2/p65/ansi/rules.mk b/keyboards/gmmk/gmmk2/p65/ansi/rules.mk deleted file mode 100644 index 2d2e9895fd8..00000000000 --- a/keyboards/gmmk/gmmk2/p65/ansi/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite. -MOUSEKEY_ENABLE = yes # Mouse keys. -EXTRAKEY_ENABLE = yes # Audio control and System control. -CONSOLE_ENABLE = no # Console for debug. -COMMAND_ENABLE = no # Commands for debug and configuration. -NKRO_ENABLE = yes # Enable NKRO Rollover. -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality. -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow. -AUDIO_ENABLE = no # Audio output. -RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects. diff --git a/keyboards/gmmk/gmmk2/p65/iso/info.json b/keyboards/gmmk/gmmk2/p65/iso/keyboard.json similarity index 95% rename from keyboards/gmmk/gmmk2/p65/iso/info.json rename to keyboards/gmmk/gmmk2/p65/iso/keyboard.json index aa31b50f612..a4576c8c7f1 100644 --- a/keyboards/gmmk/gmmk2/p65/iso/info.json +++ b/keyboards/gmmk/gmmk2/p65/iso/keyboard.json @@ -11,6 +11,15 @@ "qmk": { "tap_keycode_delay": 10 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8"] diff --git a/keyboards/gmmk/gmmk2/p65/iso/rules.mk b/keyboards/gmmk/gmmk2/p65/iso/rules.mk deleted file mode 100644 index 2d2e9895fd8..00000000000 --- a/keyboards/gmmk/gmmk2/p65/iso/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite. -MOUSEKEY_ENABLE = yes # Mouse keys. -EXTRAKEY_ENABLE = yes # Audio control and System control. -CONSOLE_ENABLE = no # Console for debug. -COMMAND_ENABLE = no # Commands for debug and configuration. -NKRO_ENABLE = yes # Enable NKRO Rollover. -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality. -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow. -AUDIO_ENABLE = no # Audio output. -RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects. diff --git a/keyboards/gmmk/gmmk2/p96/ansi/info.json b/keyboards/gmmk/gmmk2/p96/ansi/keyboard.json similarity index 97% rename from keyboards/gmmk/gmmk2/p96/ansi/info.json rename to keyboards/gmmk/gmmk2/p96/ansi/keyboard.json index d7e0e38ceb1..8fd81ba1a08 100644 --- a/keyboards/gmmk/gmmk2/p96/ansi/info.json +++ b/keyboards/gmmk/gmmk2/p96/ansi/keyboard.json @@ -11,6 +11,15 @@ "qmk": { "tap_keycode_delay": 10 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"] diff --git a/keyboards/gmmk/gmmk2/p96/ansi/rules.mk b/keyboards/gmmk/gmmk2/p96/ansi/rules.mk deleted file mode 100644 index 2d2e9895fd8..00000000000 --- a/keyboards/gmmk/gmmk2/p96/ansi/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite. -MOUSEKEY_ENABLE = yes # Mouse keys. -EXTRAKEY_ENABLE = yes # Audio control and System control. -CONSOLE_ENABLE = no # Console for debug. -COMMAND_ENABLE = no # Commands for debug and configuration. -NKRO_ENABLE = yes # Enable NKRO Rollover. -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality. -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow. -AUDIO_ENABLE = no # Audio output. -RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects. diff --git a/keyboards/gmmk/gmmk2/p96/iso/info.json b/keyboards/gmmk/gmmk2/p96/iso/keyboard.json similarity index 97% rename from keyboards/gmmk/gmmk2/p96/iso/info.json rename to keyboards/gmmk/gmmk2/p96/iso/keyboard.json index c5079a22dd6..040b6f9c6fc 100644 --- a/keyboards/gmmk/gmmk2/p96/iso/info.json +++ b/keyboards/gmmk/gmmk2/p96/iso/keyboard.json @@ -11,6 +11,15 @@ "qmk": { "tap_keycode_delay": 10 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"] diff --git a/keyboards/gmmk/gmmk2/p96/iso/rules.mk b/keyboards/gmmk/gmmk2/p96/iso/rules.mk deleted file mode 100644 index 2d2e9895fd8..00000000000 --- a/keyboards/gmmk/gmmk2/p96/iso/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite. -MOUSEKEY_ENABLE = yes # Mouse keys. -EXTRAKEY_ENABLE = yes # Audio control and System control. -CONSOLE_ENABLE = no # Console for debug. -COMMAND_ENABLE = no # Commands for debug and configuration. -NKRO_ENABLE = yes # Enable NKRO Rollover. -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality. -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow. -AUDIO_ENABLE = no # Audio output. -RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects. diff --git a/keyboards/gmmk/pro/rev1/ansi/info.json b/keyboards/gmmk/pro/rev1/ansi/keyboard.json similarity index 96% rename from keyboards/gmmk/pro/rev1/ansi/info.json rename to keyboards/gmmk/pro/rev1/ansi/keyboard.json index 533a3796568..867f7e1d027 100644 --- a/keyboards/gmmk/pro/rev1/ansi/info.json +++ b/keyboards/gmmk/pro/rev1/ansi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5044", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"] diff --git a/keyboards/gmmk/pro/rev1/ansi/rules.mk b/keyboards/gmmk/pro/rev1/ansi/rules.mk deleted file mode 100644 index 6d23fe350a4..00000000000 --- a/keyboards/gmmk/pro/rev1/ansi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/gmmk/pro/rev1/iso/info.json b/keyboards/gmmk/pro/rev1/iso/keyboard.json similarity index 96% rename from keyboards/gmmk/pro/rev1/iso/info.json rename to keyboards/gmmk/pro/rev1/iso/keyboard.json index 90f66171aa4..6eabec96feb 100644 --- a/keyboards/gmmk/pro/rev1/iso/info.json +++ b/keyboards/gmmk/pro/rev1/iso/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5044", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"] diff --git a/keyboards/gmmk/pro/rev1/iso/rules.mk b/keyboards/gmmk/pro/rev1/iso/rules.mk deleted file mode 100644 index 6d23fe350a4..00000000000 --- a/keyboards/gmmk/pro/rev1/iso/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/gmmk/pro/rev2/ansi/info.json b/keyboards/gmmk/pro/rev2/ansi/keyboard.json similarity index 96% rename from keyboards/gmmk/pro/rev2/ansi/info.json rename to keyboards/gmmk/pro/rev2/ansi/keyboard.json index 56150443166..21bc7df7fb3 100644 --- a/keyboards/gmmk/pro/rev2/ansi/info.json +++ b/keyboards/gmmk/pro/rev2/ansi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5044", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"] diff --git a/keyboards/gmmk/pro/rev2/ansi/rules.mk b/keyboards/gmmk/pro/rev2/ansi/rules.mk deleted file mode 100644 index 6d23fe350a4..00000000000 --- a/keyboards/gmmk/pro/rev2/ansi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/gmmk/pro/rev2/iso/info.json b/keyboards/gmmk/pro/rev2/iso/keyboard.json similarity index 96% rename from keyboards/gmmk/pro/rev2/iso/info.json rename to keyboards/gmmk/pro/rev2/iso/keyboard.json index 3b7c0ca5445..83d1fd30284 100644 --- a/keyboards/gmmk/pro/rev2/iso/info.json +++ b/keyboards/gmmk/pro/rev2/iso/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5044", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"] diff --git a/keyboards/gmmk/pro/rev2/iso/rules.mk b/keyboards/gmmk/pro/rev2/iso/rules.mk deleted file mode 100644 index 46eda64be72..00000000000 --- a/keyboards/gmmk/pro/rev2/iso/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/gorthage_truck/info.json b/keyboards/gorthage_truck/keyboard.json similarity index 98% rename from keyboards/gorthage_truck/info.json rename to keyboards/gorthage_truck/keyboard.json index 688a8fc575b..1a0a364f967 100644 --- a/keyboards/gorthage_truck/info.json +++ b/keyboards/gorthage_truck/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x58E4", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F7", "D6", "E6", "B0", "B1", "B2"], "rows": ["C6", "B6", "B5", "B4", "C7", "B3", "B7", "D7"] diff --git a/keyboards/gorthage_truck/rules.mk b/keyboards/gorthage_truck/rules.mk deleted file mode 100644 index 453f0a34d38..00000000000 --- a/keyboards/gorthage_truck/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/gowla/info.json b/keyboards/gowla/keyboard.json similarity index 85% rename from keyboards/gowla/info.json rename to keyboards/gowla/keyboard.json index 680ee27e597..0f64cad79bb 100644 --- a/keyboards/gowla/info.json +++ b/keyboards/gowla/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE9B6", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6"], "rows": ["D1", "D0", "D4"] diff --git a/keyboards/gowla/rules.mk b/keyboards/gowla/rules.mk deleted file mode 100644 index 84ab7f32b2b..00000000000 --- a/keyboards/gowla/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gray_studio/aero75/info.json b/keyboards/gray_studio/aero75/keyboard.json similarity index 97% rename from keyboards/gray_studio/aero75/info.json rename to keyboards/gray_studio/aero75/keyboard.json index f6de1b9f966..4119aff5b6e 100644 --- a/keyboards/gray_studio/aero75/info.json +++ b/keyboards/gray_studio/aero75/keyboard.json @@ -37,6 +37,15 @@ "override_rgb": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A3", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "B1", "A8", "B15", "B14", "B13"], "rows": ["A7", "A6", "B12", "A2", "A1", "A0"] diff --git a/keyboards/gray_studio/aero75/rules.mk b/keyboards/gray_studio/aero75/rules.mk deleted file mode 100644 index 4a544448674..00000000000 --- a/keyboards/gray_studio/aero75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gray_studio/apollo80/info.json b/keyboards/gray_studio/apollo80/keyboard.json similarity index 97% rename from keyboards/gray_studio/apollo80/info.json rename to keyboards/gray_studio/apollo80/keyboard.json index 21fa7c72d25..f3425aa20dd 100644 --- a/keyboards/gray_studio/apollo80/info.json +++ b/keyboards/gray_studio/apollo80/keyboard.json @@ -33,6 +33,15 @@ "animation": "rainbow_mood" } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D4", "D6", "D2", "D3", "D5"], "rows": ["D1", "D0", "B3", "B0", "B2", "B1"] diff --git a/keyboards/gray_studio/apollo80/rules.mk b/keyboards/gray_studio/apollo80/rules.mk deleted file mode 100644 index bb40a3ee66c..00000000000 --- a/keyboards/gray_studio/apollo80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/gray_studio/hb85/info.json b/keyboards/gray_studio/hb85/keyboard.json similarity index 98% rename from keyboards/gray_studio/hb85/info.json rename to keyboards/gray_studio/hb85/keyboard.json index c0bd4749c14..61387a27094 100644 --- a/keyboards/gray_studio/hb85/info.json +++ b/keyboards/gray_studio/hb85/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x2000", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/gray_studio/hb85/rules.mk b/keyboards/gray_studio/hb85/rules.mk deleted file mode 100644 index 51df0b642e1..00000000000 --- a/keyboards/gray_studio/hb85/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/gray_studio/space65/info.json b/keyboards/gray_studio/space65/keyboard.json similarity index 98% rename from keyboards/gray_studio/space65/info.json rename to keyboards/gray_studio/space65/keyboard.json index db7c2f3b68b..7d5270d0da6 100644 --- a/keyboards/gray_studio/space65/info.json +++ b/keyboards/gray_studio/space65/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x3000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B0", "B3", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["D0", "D1", "F0", "F4", "F1"] diff --git a/keyboards/gray_studio/space65/rules.mk b/keyboards/gray_studio/space65/rules.mk deleted file mode 100644 index 0922d3d5112..00000000000 --- a/keyboards/gray_studio/space65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/gray_studio/space65r3/info.json b/keyboards/gray_studio/space65r3/keyboard.json similarity index 98% rename from keyboards/gray_studio/space65r3/info.json rename to keyboards/gray_studio/space65r3/keyboard.json index 7e559ab3fa8..5895a591944 100644 --- a/keyboards/gray_studio/space65r3/info.json +++ b/keyboards/gray_studio/space65r3/keyboard.json @@ -37,6 +37,15 @@ "override_rgb": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A3", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "B0", "A8", "B15", "B14", "B13"], "rows": ["A6", "B12", "A2", "A0", "A1"] diff --git a/keyboards/gray_studio/space65r3/rules.mk b/keyboards/gray_studio/space65r3/rules.mk deleted file mode 100644 index edf9d72c6e6..00000000000 --- a/keyboards/gray_studio/space65r3/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output on port C6 diff --git a/keyboards/grid600/press/info.json b/keyboards/grid600/press/keyboard.json similarity index 85% rename from keyboards/grid600/press/info.json rename to keyboards/grid600/press/keyboard.json index e808036385d..df8f857afeb 100644 --- a/keyboards/grid600/press/info.json +++ b/keyboards/grid600/press/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x7539", "device_version": "0.0.5" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6"], "rows": ["F0"] diff --git a/keyboards/grid600/press/rules.mk b/keyboards/grid600/press/rules.mk deleted file mode 100644 index cae8f12b1b7..00000000000 --- a/keyboards/grid600/press/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/h0oni/deskpad/info.json b/keyboards/h0oni/deskpad/keyboard.json similarity index 82% rename from keyboards/h0oni/deskpad/info.json rename to keyboards/h0oni/deskpad/keyboard.json index e51aa7e7dfc..471d101693b 100644 --- a/keyboards/h0oni/deskpad/info.json +++ b/keyboards/h0oni/deskpad/keyboard.json @@ -11,6 +11,15 @@ "tapping": { "term": 250 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D4", "D1"], "rows": ["D7", "C6"] diff --git a/keyboards/h0oni/deskpad/rules.mk b/keyboards/h0oni/deskpad/rules.mk deleted file mode 100644 index 3f362330c96..00000000000 --- a/keyboards/h0oni/deskpad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/h0oni/hotduck/info.json b/keyboards/h0oni/hotduck/keyboard.json similarity index 96% rename from keyboards/h0oni/hotduck/info.json rename to keyboards/h0oni/hotduck/keyboard.json index 939d1ec262b..c034e7a3a48 100644 --- a/keyboards/h0oni/hotduck/info.json +++ b/keyboards/h0oni/hotduck/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6844", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"], "rows": ["B6", "B2", "B3", "B1", "F7", "F6", "F5"] diff --git a/keyboards/h0oni/hotduck/rules.mk b/keyboards/h0oni/hotduck/rules.mk deleted file mode 100644 index bb40a3ee66c..00000000000 --- a/keyboards/h0oni/hotduck/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/halokeys/elemental75/info.json b/keyboards/halokeys/elemental75/keyboard.json similarity index 96% rename from keyboards/halokeys/elemental75/info.json rename to keyboards/halokeys/elemental75/keyboard.json index 1ee23d967ba..ccb1de12b68 100644 --- a/keyboards/halokeys/elemental75/info.json +++ b/keyboards/halokeys/elemental75/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xEA75", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "B1", "B0", "B10", "B11", "B13", "B14", "B15", "A8", "A9", "A14", "A15", "B3", "B4", "B7"], "rows": ["A2", "A3", "A4", "A5", "A6", "A7"] diff --git a/keyboards/halokeys/elemental75/rules.mk b/keyboards/halokeys/elemental75/rules.mk deleted file mode 100644 index c5c4d8f35f1..00000000000 --- a/keyboards/halokeys/elemental75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/han60/info.json b/keyboards/han60/keyboard.json similarity index 99% rename from keyboards/han60/info.json rename to keyboards/han60/keyboard.json index 0373a5e6588..d1dcff6baf6 100644 --- a/keyboards/han60/info.json +++ b/keyboards/han60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xFB60", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["D5", "D3", "D2", "D1", "D0"] diff --git a/keyboards/han60/rules.mk b/keyboards/han60/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/han60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/2x5keypad/info.json b/keyboards/handwired/2x5keypad/keyboard.json similarity index 85% rename from keyboards/handwired/2x5keypad/info.json rename to keyboards/handwired/2x5keypad/keyboard.json index b33273e19db..8b492c6fe6c 100644 --- a/keyboards/handwired/2x5keypad/info.json +++ b/keyboards/handwired/2x5keypad/keyboard.json @@ -11,6 +11,14 @@ "tapping": { "term": 250 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4"], "rows": ["B3", "B2"] diff --git a/keyboards/handwired/2x5keypad/rules.mk b/keyboards/handwired/2x5keypad/rules.mk deleted file mode 100644 index 81d4ba4f3b5..00000000000 --- a/keyboards/handwired/2x5keypad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -AUDIO_ENABLE = no -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -COMMAND_ENABLE = no # Commands for debug and configuration -CONSOLE_ENABLE= no # Console for debug -EXTRAKEY_ENABLE = yes # Audio control and System control -MOUSEKEY_ENABLE = yes # Mouse keys -NKRO_ENABLE = yes # Enable N-Key Rollover - -RGBLIGHT_ENABLE = no diff --git a/keyboards/handwired/3dfoxc/info.json b/keyboards/handwired/3dfoxc/keyboard.json similarity index 96% rename from keyboards/handwired/3dfoxc/info.json rename to keyboards/handwired/3dfoxc/keyboard.json index c1fec23580e..7675acd73b1 100644 --- a/keyboards/handwired/3dfoxc/info.json +++ b/keyboards/handwired/3dfoxc/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["F0", "F1", "C7", "D5", "B7"] diff --git a/keyboards/handwired/3dfoxc/rules.mk b/keyboards/handwired/3dfoxc/rules.mk deleted file mode 100644 index c6b71a4aaa6..00000000000 --- a/keyboards/handwired/3dfoxc/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/412_64/info.json b/keyboards/handwired/412_64/keyboard.json similarity index 95% rename from keyboards/handwired/412_64/info.json rename to keyboards/handwired/412_64/keyboard.json index 0468744b1bf..736c1886bbb 100644 --- a/keyboards/handwired/412_64/info.json +++ b/keyboards/handwired/412_64/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0412", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "D2", "D0", "D1", "D4", "C6", "D7", "E6"], "rows": ["D3", "F4", "F5", "F6", "F7", "B1", "B3", "B2"] diff --git a/keyboards/handwired/412_64/rules.mk b/keyboards/handwired/412_64/rules.mk deleted file mode 100644 index 0ad8161240c..00000000000 --- a/keyboards/handwired/412_64/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/6key/info.json b/keyboards/handwired/6key/keyboard.json similarity index 80% rename from keyboards/handwired/6key/info.json rename to keyboards/handwired/6key/keyboard.json index 8e33a60e2e8..7883c1e7840 100644 --- a/keyboards/handwired/6key/info.json +++ b/keyboards/handwired/6key/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dip_switch": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1"], "rows": ["B4", "D0"] diff --git a/keyboards/handwired/6key/rules.mk b/keyboards/handwired/6key/rules.mk deleted file mode 100644 index 64e4af7ab76..00000000000 --- a/keyboards/handwired/6key/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes diff --git a/keyboards/handwired/6macro/info.json b/keyboards/handwired/6macro/keyboard.json similarity index 84% rename from keyboards/handwired/6macro/info.json rename to keyboards/handwired/6macro/keyboard.json index 63dc42e7db6..702008de344 100644 --- a/keyboards/handwired/6macro/info.json +++ b/keyboards/handwired/6macro/keyboard.json @@ -26,6 +26,16 @@ "rgb_matrix": { "driver": "ws2812" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2"], "rows": ["B3", "B4"] diff --git a/keyboards/handwired/6macro/rules.mk b/keyboards/handwired/6macro/rules.mk deleted file mode 100644 index 083cc21a34a..00000000000 --- a/keyboards/handwired/6macro/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -UNICODE_ENABLE = yes # Unicode -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/aek64/info.json b/keyboards/handwired/aek64/keyboard.json similarity index 94% rename from keyboards/handwired/aek64/info.json rename to keyboards/handwired/aek64/keyboard.json index e71156e9882..a06ed6deccb 100644 --- a/keyboards/handwired/aek64/info.json +++ b/keyboards/handwired/aek64/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6464", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["F0", "E6", "E7", "B0", "B1", "B2", "B3", "B4", "B5", "B6", "D3", "D0", "D1", "D2"], "rows": ["E0", "E1", "C0", "C1", "C2"] diff --git a/keyboards/handwired/aek64/rules.mk b/keyboards/handwired/aek64/rules.mk deleted file mode 100644 index 1295dc41baf..00000000000 --- a/keyboards/handwired/aek64/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -UNICODE_ENABLE = yes # Enable support for arrow keys icon on the second layer. -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes diff --git a/keyboards/handwired/aim65/info.json b/keyboards/handwired/aim65/keyboard.json similarity index 95% rename from keyboards/handwired/aim65/info.json rename to keyboards/handwired/aim65/keyboard.json index e7c363794fe..3f026a91fa3 100644 --- a/keyboards/handwired/aim65/info.json +++ b/keyboards/handwired/aim65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0F34", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "C6", "B6", "B2", "F7", "F6", "F5", "F4"], "rows": ["D0", "D4", "D7", "E6", "B4", "B5", "B3", "B1"] diff --git a/keyboards/handwired/aim65/rules.mk b/keyboards/handwired/aim65/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/aim65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/amigopunk/info.json b/keyboards/handwired/amigopunk/keyboard.json similarity index 95% rename from keyboards/handwired/amigopunk/info.json rename to keyboards/handwired/amigopunk/keyboard.json index 301c358140d..d9ef295a4f3 100644 --- a/keyboards/handwired/amigopunk/info.json +++ b/keyboards/handwired/amigopunk/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1805", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4", "B3", "B2", "B1", "B0", "E7", "E6", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"], "rows": ["C0", "C1", "C2", "C3", "C4", "C5"] diff --git a/keyboards/handwired/amigopunk/rules.mk b/keyboards/handwired/amigopunk/rules.mk deleted file mode 100644 index 9c75f75d52d..00000000000 --- a/keyboards/handwired/amigopunk/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/handwired/angel/info.json b/keyboards/handwired/angel/keyboard.json similarity index 94% rename from keyboards/handwired/angel/info.json rename to keyboards/handwired/angel/keyboard.json index 10916016cfc..6a4b40bb214 100644 --- a/keyboards/handwired/angel/info.json +++ b/keyboards/handwired/angel/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0805", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B3", "B1", "F7", "F6", "F5"], "rows": ["B6", "B2", "B5", "B4"] diff --git a/keyboards/handwired/angel/rules.mk b/keyboards/handwired/angel/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/handwired/angel/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/aplx2/info.json b/keyboards/handwired/aplx2/keyboard.json similarity index 76% rename from keyboards/handwired/aplx2/info.json rename to keyboards/handwired/aplx2/keyboard.json index d3f7962fe7c..6a9d7130bda 100644 --- a/keyboards/handwired/aplx2/info.json +++ b/keyboards/handwired/aplx2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0030", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "D3"], "rows": ["D1"] diff --git a/keyboards/handwired/aplx2/rules.mk b/keyboards/handwired/aplx2/rules.mk deleted file mode 100644 index 3e66b069b36..00000000000 --- a/keyboards/handwired/aplx2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/aranck/info.json b/keyboards/handwired/aranck/keyboard.json similarity index 93% rename from keyboards/handwired/aranck/info.json rename to keyboards/handwired/aranck/keyboard.json index d7bf45b8848..ddd72b0e654 100644 --- a/keyboards/handwired/aranck/info.json +++ b/keyboards/handwired/aranck/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D3", "D2", "D1", "D0"] diff --git a/keyboards/handwired/aranck/rules.mk b/keyboards/handwired/aranck/rules.mk deleted file mode 100644 index 63666f07d75..00000000000 --- a/keyboards/handwired/aranck/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output diff --git a/keyboards/handwired/arrow_pad/info.json b/keyboards/handwired/arrow_pad/keyboard.json similarity index 90% rename from keyboards/handwired/arrow_pad/info.json rename to keyboards/handwired/arrow_pad/keyboard.json index 79016d5d21e..237c1f0749c 100644 --- a/keyboards/handwired/arrow_pad/info.json +++ b/keyboards/handwired/arrow_pad/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/handwired/arrow_pad/rules.mk b/keyboards/handwired/arrow_pad/rules.mk deleted file mode 100644 index df4dea661be..00000000000 --- a/keyboards/handwired/arrow_pad/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/atreus50/info.json b/keyboards/handwired/atreus50/keyboard.json similarity index 95% rename from keyboards/handwired/atreus50/info.json rename to keyboards/handwired/atreus50/keyboard.json index 3df8e9f7bb1..dc62d3e849e 100644 --- a/keyboards/handwired/atreus50/info.json +++ b/keyboards/handwired/atreus50/keyboard.json @@ -27,6 +27,14 @@ "ws2812": { "pin": "C6" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D3", "D2", "D1", "D0"] diff --git a/keyboards/handwired/atreus50/rules.mk b/keyboards/handwired/atreus50/rules.mk deleted file mode 100644 index d9e13747733..00000000000 --- a/keyboards/handwired/atreus50/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/handwired/axon/info.json b/keyboards/handwired/axon/keyboard.json similarity index 98% rename from keyboards/handwired/axon/info.json rename to keyboards/handwired/axon/keyboard.json index 0d12e92dbe4..fe7818d97f0 100644 --- a/keyboards/handwired/axon/info.json +++ b/keyboards/handwired/axon/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "D7", "B1", "B2", "C0", "C1", "C2", "C3", "C4", "C5", "D1"], "rows": ["D5", "D6", "D4", "D0"] diff --git a/keyboards/handwired/axon/rules.mk b/keyboards/handwired/axon/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/axon/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/bigmac/info.json b/keyboards/handwired/bigmac/keyboard.json similarity index 96% rename from keyboards/handwired/bigmac/info.json rename to keyboards/handwired/bigmac/keyboard.json index 2481a63db5f..8eff62a7eaa 100644 --- a/keyboards/handwired/bigmac/info.json +++ b/keyboards/handwired/bigmac/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1010", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4", "D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4"], "rows": ["F0", "F1", "C7", "D5", "B7"] diff --git a/keyboards/handwired/bigmac/rules.mk b/keyboards/handwired/bigmac/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/handwired/bigmac/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/bolek/info.json b/keyboards/handwired/bolek/keyboard.json similarity index 93% rename from keyboards/handwired/bolek/info.json rename to keyboards/handwired/bolek/keyboard.json index e8cf3c82db3..a966044ebe8 100644 --- a/keyboards/handwired/bolek/info.json +++ b/keyboards/handwired/bolek/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3708", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "E6", "D7", "C6", "D0", "D4"], "rows": ["F4", "F5", "F6", "B5", "D3", "D2", "D1", "B4"] diff --git a/keyboards/handwired/bolek/rules.mk b/keyboards/handwired/bolek/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/bolek/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/boss566y/redragon_vara/info.json b/keyboards/handwired/boss566y/redragon_vara/keyboard.json similarity index 97% rename from keyboards/handwired/boss566y/redragon_vara/info.json rename to keyboards/handwired/boss566y/redragon_vara/keyboard.json index a4d0b11b58b..b75caa6544f 100644 --- a/keyboards/handwired/boss566y/redragon_vara/info.json +++ b/keyboards/handwired/boss566y/redragon_vara/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "C6", "D5", "C7", "D4", "D7", "B4", "B5", "B6"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0", "F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/handwired/boss566y/redragon_vara/rules.mk b/keyboards/handwired/boss566y/redragon_vara/rules.mk deleted file mode 100644 index 42dce570241..00000000000 --- a/keyboards/handwired/boss566y/redragon_vara/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/bstk100/info.json b/keyboards/handwired/bstk100/keyboard.json similarity index 90% rename from keyboards/handwired/bstk100/info.json rename to keyboards/handwired/bstk100/keyboard.json index 257203511ae..b4f036631db 100644 --- a/keyboards/handwired/bstk100/info.json +++ b/keyboards/handwired/bstk100/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB100", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7", "C6"], "rows": ["B6", "B2", "B3", "B1", "F7"] diff --git a/keyboards/handwired/bstk100/rules.mk b/keyboards/handwired/bstk100/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/bstk100/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/cans12er/info.json b/keyboards/handwired/cans12er/keyboard.json similarity index 86% rename from keyboards/handwired/cans12er/info.json rename to keyboards/handwired/cans12er/keyboard.json index c51fad15eeb..058f8a98b16 100644 --- a/keyboards/handwired/cans12er/info.json +++ b/keyboards/handwired/cans12er/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D4", "C6", "D7"], "rows": ["F7", "B1", "B3"] diff --git a/keyboards/handwired/cans12er/rules.mk b/keyboards/handwired/cans12er/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/handwired/cans12er/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/carpolly/info.json b/keyboards/handwired/carpolly/keyboard.json similarity index 94% rename from keyboards/handwired/carpolly/info.json rename to keyboards/handwired/carpolly/keyboard.json index a0f28d3eebb..c727e801810 100644 --- a/keyboards/handwired/carpolly/info.json +++ b/keyboards/handwired/carpolly/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0017", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "C7"], "rows": ["B0", "B1", "B2", "B3"] diff --git a/keyboards/handwired/carpolly/rules.mk b/keyboards/handwired/carpolly/rules.mk deleted file mode 100644 index c71e41438f5..00000000000 --- a/keyboards/handwired/carpolly/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# generated by KBFirmware JSON to QMK Parser -# https://noroadsleft.github.io/kbf_qmk_converter/ diff --git a/keyboards/handwired/cmd60/info.json b/keyboards/handwired/cmd60/keyboard.json similarity index 95% rename from keyboards/handwired/cmd60/info.json rename to keyboards/handwired/cmd60/keyboard.json index 7236fc79615..4ac953e560a 100644 --- a/keyboards/handwired/cmd60/info.json +++ b/keyboards/handwired/cmd60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "C6", "D7", "B4", "B5", "B6"], "rows": ["F0", "F4", "F5", "F6", "F7"] diff --git a/keyboards/handwired/cmd60/rules.mk b/keyboards/handwired/cmd60/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/cmd60/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/co60/rev1/info.json b/keyboards/handwired/co60/rev1/keyboard.json similarity index 99% rename from keyboards/handwired/co60/rev1/info.json rename to keyboards/handwired/co60/rev1/keyboard.json index 3676b624b1a..1bf60673fb9 100644 --- a/keyboards/handwired/co60/rev1/info.json +++ b/keyboards/handwired/co60/rev1/keyboard.json @@ -3,6 +3,16 @@ "usb": { "device_version": "1.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "leader": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B2", "B5", "B4", "D7", "D6", "B3", "B0"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/handwired/co60/rev1/rules.mk b/keyboards/handwired/co60/rev1/rules.mk deleted file mode 100644 index 3d0b53a5dd4..00000000000 --- a/keyboards/handwired/co60/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -LEADER_ENABLE = yes # Turn on leader support diff --git a/keyboards/handwired/co60/rev6/info.json b/keyboards/handwired/co60/rev6/keyboard.json similarity index 99% rename from keyboards/handwired/co60/rev6/info.json rename to keyboards/handwired/co60/rev6/keyboard.json index d51d450803d..e772f0ba425 100644 --- a/keyboards/handwired/co60/rev6/info.json +++ b/keyboards/handwired/co60/rev6/keyboard.json @@ -3,6 +3,16 @@ "usb": { "device_version": "6.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "leader": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A2", "A3", "A6", "B14", "B15", "A8", "A9", "A7", "B3", "B4", "C14", "C15", "C13", "B5", "B6"], "rows": ["B0", "B1", "B2", "A15", "A10"] diff --git a/keyboards/handwired/co60/rev6/rules.mk b/keyboards/handwired/co60/rev6/rules.mk deleted file mode 100644 index ca3fc91ea5a..00000000000 --- a/keyboards/handwired/co60/rev6/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BACKLIGHT_ENABLE = yes -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality -LEADER_ENABLE = yes diff --git a/keyboards/handwired/co60/rev7/info.json b/keyboards/handwired/co60/rev7/keyboard.json similarity index 99% rename from keyboards/handwired/co60/rev7/info.json rename to keyboards/handwired/co60/rev7/keyboard.json index 0fb11d04181..967c673d39c 100644 --- a/keyboards/handwired/co60/rev7/info.json +++ b/keyboards/handwired/co60/rev7/keyboard.json @@ -3,6 +3,17 @@ "usb": { "device_version": "7.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "leader": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A9", "A3", "A4", "A5", "A6", "B0", "B1", "A15", "B3", "B4", "B5", "C13", "C14", "C15"], "rows": ["A8", "A2", "B13", "B2", "B10"] diff --git a/keyboards/handwired/co60/rev7/rules.mk b/keyboards/handwired/co60/rev7/rules.mk deleted file mode 100644 index 3d43c0cadbe..00000000000 --- a/keyboards/handwired/co60/rev7/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BACKLIGHT_ENABLE = yes -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality -LEADER_ENABLE = yes diff --git a/keyboards/handwired/concertina/64key/info.json b/keyboards/handwired/concertina/64key/keyboard.json similarity index 95% rename from keyboards/handwired/concertina/64key/info.json rename to keyboards/handwired/concertina/64key/keyboard.json index 2786c334519..71719c8505f 100644 --- a/keyboards/handwired/concertina/64key/info.json +++ b/keyboards/handwired/concertina/64key/keyboard.json @@ -14,6 +14,14 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/handwired/concertina/64key/rules.mk b/keyboards/handwired/concertina/64key/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/concertina/64key/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/croxsplit44/info.json b/keyboards/handwired/croxsplit44/keyboard.json similarity index 94% rename from keyboards/handwired/croxsplit44/info.json rename to keyboards/handwired/croxsplit44/keyboard.json index c788072d920..d497942b953 100644 --- a/keyboards/handwired/croxsplit44/info.json +++ b/keyboards/handwired/croxsplit44/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "C4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "B5", "B4", "D2", "C0", "C1", "F5", "F4", "F3", "F2", "F1", "F0"], "rows": ["D4", "D5", "D6", "D7"] diff --git a/keyboards/handwired/croxsplit44/rules.mk b/keyboards/handwired/croxsplit44/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/handwired/croxsplit44/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/dactyl_left/info.json b/keyboards/handwired/dactyl_left/keyboard.json similarity index 93% rename from keyboards/handwired/dactyl_left/info.json rename to keyboards/handwired/dactyl_left/keyboard.json index d05e3a5d79a..ba374c87a34 100644 --- a/keyboards/handwired/dactyl_left/info.json +++ b/keyboards/handwired/dactyl_left/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "B7", "B3", "B2", "B1", "B0"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/handwired/dactyl_left/rules.mk b/keyboards/handwired/dactyl_left/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/handwired/dactyl_left/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/daishi/info.json b/keyboards/handwired/daishi/keyboard.json similarity index 97% rename from keyboards/handwired/daishi/info.json rename to keyboards/handwired/daishi/keyboard.json index 6b6508eb83b..22044faab3c 100644 --- a/keyboards/handwired/daishi/info.json +++ b/keyboards/handwired/daishi/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "dynamic_macro": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "E7", "E3", "B0", "B1", "B2", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "F7", "F6", "F5", "F4", "F3"], "rows": ["D6", "D7", "E0", "E1", "C0", "C1", "C2"] diff --git a/keyboards/handwired/daishi/rules.mk b/keyboards/handwired/daishi/rules.mk deleted file mode 100644 index 41a36f4cca9..00000000000 --- a/keyboards/handwired/daishi/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. -ENCODER_ENABLE = yes # Add rotary encoder support -DYNAMIC_MACRO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/handwired/dc/mc/001/info.json b/keyboards/handwired/dc/mc/001/keyboard.json similarity index 82% rename from keyboards/handwired/dc/mc/001/info.json rename to keyboards/handwired/dc/mc/001/keyboard.json index 404cf2e45dc..c91df1ca8bc 100644 --- a/keyboards/handwired/dc/mc/001/info.json +++ b/keyboards/handwired/dc/mc/001/keyboard.json @@ -19,6 +19,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "direct": [ ["B4", "B0", "B1", "B2", "B3"] diff --git a/keyboards/handwired/dc/mc/001/rules.mk b/keyboards/handwired/dc/mc/001/rules.mk deleted file mode 100644 index c94a511d8be..00000000000 --- a/keyboards/handwired/dc/mc/001/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -ENCODER_ENABLE = yes # Using a rotary encoder for volume control -MOUSEKEY_ENABLE = no # Mouse keys -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/ddg_56/info.json b/keyboards/handwired/ddg_56/keyboard.json similarity index 96% rename from keyboards/handwired/ddg_56/info.json rename to keyboards/handwired/ddg_56/keyboard.json index a077e7925df..e211821dae5 100644 --- a/keyboards/handwired/ddg_56/info.json +++ b/keyboards/handwired/ddg_56/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xB195", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A2", "B8", "B13", "B14", "B4", "B11", "B12", "A13", "A15", "A8", "A7", "A6", "B0", "B1"], "rows": ["B5", "B15", "B9", "B10", "A14"] diff --git a/keyboards/handwired/ddg_56/rules.mk b/keyboards/handwired/ddg_56/rules.mk deleted file mode 100644 index 93900acf532..00000000000 --- a/keyboards/handwired/ddg_56/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output diff --git a/keyboards/handwired/eagleii/info.json b/keyboards/handwired/eagleii/keyboard.json similarity index 96% rename from keyboards/handwired/eagleii/info.json rename to keyboards/handwired/eagleii/keyboard.json index 7e40afdedd2..4179a4cdd62 100644 --- a/keyboards/handwired/eagleii/info.json +++ b/keyboards/handwired/eagleii/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x9789", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D2", "C6", "E6", "D5", "B3", "D3", "D1", "C7", "F0", "B6", "B1", "F4"], "rows": ["D0", "B5", "F1", "B2", "F7", "F6", "D4", "D7", "B4", "B7", "F5", "B0"] diff --git a/keyboards/handwired/eagleii/rules.mk b/keyboards/handwired/eagleii/rules.mk deleted file mode 100644 index 694c2ccd384..00000000000 --- a/keyboards/handwired/eagleii/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = no -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/handwired/ergocheap/info.json b/keyboards/handwired/ergocheap/keyboard.json similarity index 95% rename from keyboards/handwired/ergocheap/info.json rename to keyboards/handwired/ergocheap/keyboard.json index 17d78632377..72be536d64b 100644 --- a/keyboards/handwired/ergocheap/info.json +++ b/keyboards/handwired/ergocheap/keyboard.json @@ -11,6 +11,15 @@ "tapping": { "term": 500 }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["A8", "A9", "B14", "B12", "B13", "B15", "B3", "B11", "A4", "A5", "A6", "A7", "B0", "B1", "B10"], "rows": ["B5", "B6", "B7", "B9", "B8"] diff --git a/keyboards/handwired/ergocheap/rules.mk b/keyboards/handwired/ergocheap/rules.mk deleted file mode 100644 index 10c9a692dff..00000000000 --- a/keyboards/handwired/ergocheap/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes diff --git a/keyboards/handwired/evk/v1_3/info.json b/keyboards/handwired/evk/v1_3/keyboard.json similarity index 96% rename from keyboards/handwired/evk/v1_3/info.json rename to keyboards/handwired/evk/v1_3/keyboard.json index 7e3baab9add..5553db0a1f0 100644 --- a/keyboards/handwired/evk/v1_3/info.json +++ b/keyboards/handwired/evk/v1_3/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "C6", "C7", "F0", "F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0"] diff --git a/keyboards/handwired/evk/v1_3/rules.mk b/keyboards/handwired/evk/v1_3/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/handwired/evk/v1_3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/fc200rt_qmk/info.json b/keyboards/handwired/fc200rt_qmk/keyboard.json similarity index 96% rename from keyboards/handwired/fc200rt_qmk/info.json rename to keyboards/handwired/fc200rt_qmk/keyboard.json index 41c1ab563f7..1cde9518811 100644 --- a/keyboards/handwired/fc200rt_qmk/info.json +++ b/keyboards/handwired/fc200rt_qmk/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xFFFF", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D2", "D3", "C6", "C7", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1"], "rows": ["B0", "B1", "B2", "B3", "E6", "B7", "D0", "D1"] diff --git a/keyboards/handwired/fc200rt_qmk/rules.mk b/keyboards/handwired/fc200rt_qmk/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/handwired/fc200rt_qmk/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/fivethirteen/info.json b/keyboards/handwired/fivethirteen/keyboard.json similarity index 95% rename from keyboards/handwired/fivethirteen/info.json rename to keyboards/handwired/fivethirteen/keyboard.json index 66d556f7ac1..11baaf78cc1 100644 --- a/keyboards/handwired/fivethirteen/info.json +++ b/keyboards/handwired/fivethirteen/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "F0", "D0", "D1", "D2", "D3", "C6", "C7", "D6", "D7"], "rows": ["F6", "F7", "B6", "B5", "B4"] diff --git a/keyboards/handwired/fivethirteen/rules.mk b/keyboards/handwired/fivethirteen/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/fivethirteen/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/floorboard/info.json b/keyboards/handwired/floorboard/keyboard.json similarity index 94% rename from keyboards/handwired/floorboard/info.json rename to keyboards/handwired/floorboard/keyboard.json index 262a26afb6e..97e6395957f 100644 --- a/keyboards/handwired/floorboard/info.json +++ b/keyboards/handwired/floorboard/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B7", "B6", "B5", "B4", "B3", "B2", "B1", "B9", "B0", "B15", "B14", "B13"], "rows": ["A2", "A1", "A0", "B8"] diff --git a/keyboards/handwired/floorboard/rules.mk b/keyboards/handwired/floorboard/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/handwired/floorboard/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/gamenum/info.json b/keyboards/handwired/gamenum/keyboard.json similarity index 89% rename from keyboards/handwired/gamenum/info.json rename to keyboards/handwired/gamenum/keyboard.json index 78dbfce5f76..17460f4dcaa 100644 --- a/keyboards/handwired/gamenum/info.json +++ b/keyboards/handwired/gamenum/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5678", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5"], "rows": ["B6", "B2", "B3", "B1", "F7"] diff --git a/keyboards/handwired/gamenum/rules.mk b/keyboards/handwired/gamenum/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/gamenum/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/heisenberg/info.json b/keyboards/handwired/heisenberg/keyboard.json similarity index 94% rename from keyboards/handwired/heisenberg/info.json rename to keyboards/handwired/heisenberg/keyboard.json index 09e03bd0631..88f001d0754 100644 --- a/keyboards/handwired/heisenberg/info.json +++ b/keyboards/handwired/heisenberg/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "D4" }, + "features": { + "audio": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D3", "D2", "D1", "D0"] diff --git a/keyboards/handwired/heisenberg/rules.mk b/keyboards/handwired/heisenberg/rules.mk deleted file mode 100644 index bf4e1231535..00000000000 --- a/keyboards/handwired/heisenberg/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output diff --git a/keyboards/handwired/hexon38/info.json b/keyboards/handwired/hexon38/keyboard.json similarity index 93% rename from keyboards/handwired/hexon38/info.json rename to keyboards/handwired/hexon38/keyboard.json index 5bb94b0c405..dfc11eb532f 100644 --- a/keyboards/handwired/hexon38/info.json +++ b/keyboards/handwired/hexon38/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "D3", "D2", "D1", "D0", "B7", "F6", "F7", "B6", "B5", "B4", "D7"], "rows": ["B0", "F0", "B2", "F4"] diff --git a/keyboards/handwired/hexon38/rules.mk b/keyboards/handwired/hexon38/rules.mk deleted file mode 100644 index fb9061cbb5a..00000000000 --- a/keyboards/handwired/hexon38/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/handwired/hnah108/info.json b/keyboards/handwired/hnah108/keyboard.json similarity index 98% rename from keyboards/handwired/hnah108/info.json rename to keyboards/handwired/hnah108/keyboard.json index 63017532e3e..e062dcee6f2 100644 --- a/keyboards/handwired/hnah108/info.json +++ b/keyboards/handwired/hnah108/keyboard.json @@ -56,6 +56,17 @@ }, "driver": "ws2812" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F0", "E6", "B0", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], "rows": ["F7", "F6", "F5", "F4", "F1", "C7", "B4", "B5", "B6", "C6"] diff --git a/keyboards/handwired/hnah108/rules.mk b/keyboards/handwired/hnah108/rules.mk deleted file mode 100644 index ec5f27bde82..00000000000 --- a/keyboards/handwired/hnah108/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/handwired/hnah40/info.json b/keyboards/handwired/hnah40/keyboard.json similarity index 94% rename from keyboards/handwired/hnah40/info.json rename to keyboards/handwired/hnah40/keyboard.json index b35f3fc40cc..649ad84d100 100644 --- a/keyboards/handwired/hnah40/info.json +++ b/keyboards/handwired/hnah40/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.2", "max_power": 100 }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "D7", "D6", "D5", "B2", "B1", "C0", "C1", "C2", "C3", "D1"], "rows": ["B4", "B5", "B3", "D4"] diff --git a/keyboards/handwired/hnah40/rules.mk b/keyboards/handwired/hnah40/rules.mk deleted file mode 100644 index d4acd7ecd13..00000000000 --- a/keyboards/handwired/hnah40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/hnah40rgb/info.json b/keyboards/handwired/hnah40rgb/keyboard.json similarity index 97% rename from keyboards/handwired/hnah40rgb/info.json rename to keyboards/handwired/hnah40rgb/keyboard.json index 51a934564c3..753b5dd00a6 100644 --- a/keyboards/handwired/hnah40rgb/info.json +++ b/keyboards/handwired/hnah40rgb/keyboard.json @@ -65,6 +65,15 @@ "max_brightness": 200, "react_on_keyup": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D5", "D6", "D3", "D2", "B6", "C6", "C7", "F7", "F6", "F5", "F4"], "rows": ["B7", "D7", "F1", "F0"] diff --git a/keyboards/handwired/hnah40rgb/rules.mk b/keyboards/handwired/hnah40rgb/rules.mk deleted file mode 100644 index 7c04c864834..00000000000 --- a/keyboards/handwired/hnah40rgb/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/handwired/hwpm87/info.json b/keyboards/handwired/hwpm87/keyboard.json similarity index 96% rename from keyboards/handwired/hwpm87/info.json rename to keyboards/handwired/hwpm87/keyboard.json index 88079c32adc..0dbbb0472a1 100644 --- a/keyboards/handwired/hwpm87/info.json +++ b/keyboards/handwired/hwpm87/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B7", "F0", "F1", "D6", "C7", "B6", "F7", "F6", "F5", "F4"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/handwired/hwpm87/rules.mk b/keyboards/handwired/hwpm87/rules.mk deleted file mode 100644 index 90f47aeb931..00000000000 --- a/keyboards/handwired/hwpm87/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - - diff --git a/keyboards/handwired/ibm_wheelwriter/info.json b/keyboards/handwired/ibm_wheelwriter/keyboard.json similarity index 96% rename from keyboards/handwired/ibm_wheelwriter/info.json rename to keyboards/handwired/ibm_wheelwriter/keyboard.json index 4ec01887e16..91f56540e2a 100644 --- a/keyboards/handwired/ibm_wheelwriter/info.json +++ b/keyboards/handwired/ibm_wheelwriter/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5F89", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"], "rows": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2"] diff --git a/keyboards/handwired/ibm_wheelwriter/rules.mk b/keyboards/handwired/ibm_wheelwriter/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/handwired/ibm_wheelwriter/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/jn68m/info.json b/keyboards/handwired/jn68m/keyboard.json similarity index 97% rename from keyboards/handwired/jn68m/info.json rename to keyboards/handwired/jn68m/keyboard.json index 6c83157843b..25dfb005ebf 100644 --- a/keyboards/handwired/jn68m/info.json +++ b/keyboards/handwired/jn68m/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1010", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "E6", "D1"], "rows": ["B0", "B1", "D5", "D3", "D2"] diff --git a/keyboards/handwired/jn68m/rules.mk b/keyboards/handwired/jn68m/rules.mk deleted file mode 100644 index d4acd7ecd13..00000000000 --- a/keyboards/handwired/jn68m/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/jopr/info.json b/keyboards/handwired/jopr/keyboard.json similarity index 97% rename from keyboards/handwired/jopr/info.json rename to keyboards/handwired/jopr/keyboard.json index 78fb52cb995..c01e622325f 100644 --- a/keyboards/handwired/jopr/info.json +++ b/keyboards/handwired/jopr/keyboard.json @@ -17,6 +17,15 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "B0", "F7", "E6", "F6", "B5", "C7", "B4", "D1"], "rows": ["D0", "D6", "D2", "D4", "D3", "D5", "D7", "C6", "B6", "F5"] diff --git a/keyboards/handwired/jopr/rules.mk b/keyboards/handwired/jopr/rules.mk deleted file mode 100644 index 5bb5e8e0dc0..00000000000 --- a/keyboards/handwired/jopr/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -UNICODE_ENABLE = yes -RGBLIGHT_ENABLE = no diff --git a/keyboards/handwired/jot50/info.json b/keyboards/handwired/jot50/keyboard.json similarity index 94% rename from keyboards/handwired/jot50/info.json rename to keyboards/handwired/jot50/keyboard.json index 07a369a9372..260fd6dffc9 100644 --- a/keyboards/handwired/jot50/info.json +++ b/keyboards/handwired/jot50/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "D3", "D2", "D1", "D0", "D4", "C6"], "rows": ["D7", "E6", "B4", "B6", "B2"] diff --git a/keyboards/handwired/jot50/rules.mk b/keyboards/handwired/jot50/rules.mk deleted file mode 100644 index 8135e806711..00000000000 --- a/keyboards/handwired/jot50/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/handwired/jotpad16/info.json b/keyboards/handwired/jotpad16/keyboard.json similarity index 88% rename from keyboards/handwired/jotpad16/info.json rename to keyboards/handwired/jotpad16/keyboard.json index 289ef636b4b..944af735efe 100644 --- a/keyboards/handwired/jotpad16/info.json +++ b/keyboards/handwired/jotpad16/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "D7", "B3", "B1"], "rows": ["B6", "B2", "D2", "D3"] diff --git a/keyboards/handwired/jotpad16/rules.mk b/keyboards/handwired/jotpad16/rules.mk deleted file mode 100644 index 39356ef6f6d..00000000000 --- a/keyboards/handwired/jotpad16/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/handwired/juliet/info.json b/keyboards/handwired/juliet/keyboard.json similarity index 98% rename from keyboards/handwired/juliet/info.json rename to keyboards/handwired/juliet/keyboard.json index d723557d4b1..e08a0266923 100644 --- a/keyboards/handwired/juliet/info.json +++ b/keyboards/handwired/juliet/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4069", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B1", "B3", "B2", "B6"], "rows": ["F5", "D2", "D3", "F4"] diff --git a/keyboards/handwired/juliet/rules.mk b/keyboards/handwired/juliet/rules.mk deleted file mode 100644 index fa6fbf34d9f..00000000000 --- a/keyboards/handwired/juliet/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/k8split/info.json b/keyboards/handwired/k8split/keyboard.json similarity index 94% rename from keyboards/handwired/k8split/info.json rename to keyboards/handwired/k8split/keyboard.json index 3ec5d1c36f9..62ea64604a0 100644 --- a/keyboards/handwired/k8split/info.json +++ b/keyboards/handwired/k8split/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xC868", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["D5", "D3", "D2", "D1", "D0", "B7"] diff --git a/keyboards/handwired/k8split/rules.mk b/keyboards/handwired/k8split/rules.mk deleted file mode 100644 index 3e66b069b36..00000000000 --- a/keyboards/handwired/k8split/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/k_numpad17/info.json b/keyboards/handwired/k_numpad17/keyboard.json similarity index 89% rename from keyboards/handwired/k_numpad17/info.json rename to keyboards/handwired/k_numpad17/keyboard.json index 97d5f38774b..edf69bc5d58 100644 --- a/keyboards/handwired/k_numpad17/info.json +++ b/keyboards/handwired/k_numpad17/keyboard.json @@ -11,6 +11,14 @@ "tapping": { "term": 400 }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B1", "F6", "F4"], "rows": ["D1", "D4", "C6", "D7", "E6"] diff --git a/keyboards/handwired/k_numpad17/rules.mk b/keyboards/handwired/k_numpad17/rules.mk deleted file mode 100644 index d0901838085..00000000000 --- a/keyboards/handwired/k_numpad17/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no diff --git a/keyboards/handwired/kbod/info.json b/keyboards/handwired/kbod/keyboard.json similarity index 95% rename from keyboards/handwired/kbod/info.json rename to keyboards/handwired/kbod/keyboard.json index 69005c65790..127595a0cee 100644 --- a/keyboards/handwired/kbod/info.json +++ b/keyboards/handwired/kbod/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "F0", "F1", "F4", "F5", "F6", "F7"], "rows": ["C6", "D7", "E6", "B4", "B5", "B6", "B7", "D6"] diff --git a/keyboards/handwired/kbod/rules.mk b/keyboards/handwired/kbod/rules.mk deleted file mode 100644 index 14ece75f470..00000000000 --- a/keyboards/handwired/kbod/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/leftynumpad/info.json b/keyboards/handwired/leftynumpad/keyboard.json similarity index 91% rename from keyboards/handwired/leftynumpad/info.json rename to keyboards/handwired/leftynumpad/keyboard.json index 0a769a43f9d..045fd7e8757 100644 --- a/keyboards/handwired/leftynumpad/info.json +++ b/keyboards/handwired/leftynumpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xBEEF", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "B4", "B5", "B6", "B2"], "rows": ["D1", "D0", "D4", "C6", "D7"] diff --git a/keyboards/handwired/leftynumpad/rules.mk b/keyboards/handwired/leftynumpad/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/leftynumpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/lovelive9/info.json b/keyboards/handwired/lovelive9/keyboard.json similarity index 88% rename from keyboards/handwired/lovelive9/info.json rename to keyboards/handwired/lovelive9/keyboard.json index 835fa55bef6..f8962bf7618 100644 --- a/keyboards/handwired/lovelive9/info.json +++ b/keyboards/handwired/lovelive9/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "max_power": 400 }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "B6", "B2", "D7", "B1", "F7", "F6", "F5", "F4"], "rows": [null] diff --git a/keyboards/handwired/lovelive9/rules.mk b/keyboards/handwired/lovelive9/rules.mk deleted file mode 100644 index f99fed15e7f..00000000000 --- a/keyboards/handwired/lovelive9/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/handwired/magicforce61/info.json b/keyboards/handwired/magicforce61/keyboard.json similarity index 95% rename from keyboards/handwired/magicforce61/info.json rename to keyboards/handwired/magicforce61/keyboard.json index 9ec845614c7..dbcae2f21af 100644 --- a/keyboards/handwired/magicforce61/info.json +++ b/keyboards/handwired/magicforce61/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B5", "B4", "B3", "B2", "B1", "B0", "E7", "E6", "F0", "F1", "F2", "F3", "F4", "F5"], "rows": ["D0", "D1", "D2", "D3", "D4"] diff --git a/keyboards/handwired/magicforce61/rules.mk b/keyboards/handwired/magicforce61/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/magicforce61/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/magicforce68/info.json b/keyboards/handwired/magicforce68/keyboard.json similarity index 96% rename from keyboards/handwired/magicforce68/info.json rename to keyboards/handwired/magicforce68/keyboard.json index dcffe0f5d74..a9afdf913a2 100644 --- a/keyboards/handwired/magicforce68/info.json +++ b/keyboards/handwired/magicforce68/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B2", "B0", "D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B7", "D6"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/handwired/magicforce68/rules.mk b/keyboards/handwired/magicforce68/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/magicforce68/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/mechboards_micropad/info.json b/keyboards/handwired/mechboards_micropad/keyboard.json similarity index 79% rename from keyboards/handwired/mechboards_micropad/info.json rename to keyboards/handwired/mechboards_micropad/keyboard.json index a61a11bc942..16e6653a338 100644 --- a/keyboards/handwired/mechboards_micropad/info.json +++ b/keyboards/handwired/mechboards_micropad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B2", "B3", "B1", "F7"], "rows": ["B6"] diff --git a/keyboards/handwired/mechboards_micropad/rules.mk b/keyboards/handwired/mechboards_micropad/rules.mk deleted file mode 100644 index d4acd7ecd13..00000000000 --- a/keyboards/handwired/mechboards_micropad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/minorca/info.json b/keyboards/handwired/minorca/keyboard.json similarity index 94% rename from keyboards/handwired/minorca/info.json rename to keyboards/handwired/minorca/keyboard.json index ba2b6d0ed59..9642927f1ae 100644 --- a/keyboards/handwired/minorca/info.json +++ b/keyboards/handwired/minorca/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6660", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3"] diff --git a/keyboards/handwired/minorca/rules.mk b/keyboards/handwired/minorca/rules.mk deleted file mode 100644 index 283a46b6ae1..00000000000 --- a/keyboards/handwired/minorca/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/misterdeck/info.json b/keyboards/handwired/misterdeck/keyboard.json similarity index 86% rename from keyboards/handwired/misterdeck/info.json rename to keyboards/handwired/misterdeck/keyboard.json index 59062f16dc9..02c43487818 100644 --- a/keyboards/handwired/misterdeck/info.json +++ b/keyboards/handwired/misterdeck/keyboard.json @@ -11,6 +11,14 @@ "processor": "atmega32u4", "bootloader": "caterina", "diode_direction": "ROW2COL", + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5"], "rows": ["D1", "D0", "D4"] diff --git a/keyboards/handwired/misterdeck/rules.mk b/keyboards/handwired/misterdeck/rules.mk deleted file mode 100644 index 20825c8cfa6..00000000000 --- a/keyboards/handwired/misterdeck/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/mutepad/info.json b/keyboards/handwired/mutepad/keyboard.json similarity index 82% rename from keyboards/handwired/mutepad/info.json rename to keyboards/handwired/mutepad/keyboard.json index 5adb2505fbc..9bb273d4e85 100644 --- a/keyboards/handwired/mutepad/info.json +++ b/keyboards/handwired/mutepad/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B1", "B3", "B2", "B6"], "rows": ["F6"] diff --git a/keyboards/handwired/mutepad/rules.mk b/keyboards/handwired/mutepad/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/handwired/mutepad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/handwired/nicekey/info.json b/keyboards/handwired/nicekey/keyboard.json similarity index 74% rename from keyboards/handwired/nicekey/info.json rename to keyboards/handwired/nicekey/keyboard.json index 066e5b852f9..0ae1b3280bf 100644 --- a/keyboards/handwired/nicekey/info.json +++ b/keyboards/handwired/nicekey/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6464", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C6"], "rows": ["B6"] diff --git a/keyboards/handwired/nicekey/rules.mk b/keyboards/handwired/nicekey/rules.mk deleted file mode 100644 index 59c896dbff6..00000000000 --- a/keyboards/handwired/nicekey/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/nozbe_macro/info.json b/keyboards/handwired/nozbe_macro/keyboard.json similarity index 78% rename from keyboards/handwired/nozbe_macro/info.json rename to keyboards/handwired/nozbe_macro/keyboard.json index a4b37eec4a8..c87205c9177 100644 --- a/keyboards/handwired/nozbe_macro/info.json +++ b/keyboards/handwired/nozbe_macro/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6"], "rows": ["B0"] diff --git a/keyboards/handwired/nozbe_macro/rules.mk b/keyboards/handwired/nozbe_macro/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/handwired/nozbe_macro/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/numpad20/info.json b/keyboards/handwired/numpad20/keyboard.json similarity index 89% rename from keyboards/handwired/numpad20/info.json rename to keyboards/handwired/numpad20/keyboard.json index 5c96b7e5dbb..7e3888bbe0a 100644 --- a/keyboards/handwired/numpad20/info.json +++ b/keyboards/handwired/numpad20/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0504", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "F5", "F4"], "rows": ["F6", "B1", "B3", "B6", "B5"] diff --git a/keyboards/handwired/numpad20/rules.mk b/keyboards/handwired/numpad20/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/numpad20/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/obuwunkunubi/spaget/info.json b/keyboards/handwired/obuwunkunubi/spaget/keyboard.json similarity index 88% rename from keyboards/handwired/obuwunkunubi/spaget/info.json rename to keyboards/handwired/obuwunkunubi/spaget/keyboard.json index 001705ee729..7cbf1b3c0bc 100644 --- a/keyboards/handwired/obuwunkunubi/spaget/info.json +++ b/keyboards/handwired/obuwunkunubi/spaget/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x6969", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "unicode": true + }, "matrix_pins": { "cols": ["B1", "B3", "B2", "B6"], "rows": ["D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/handwired/obuwunkunubi/spaget/rules.mk b/keyboards/handwired/obuwunkunubi/spaget/rules.mk deleted file mode 100644 index 9652815de21..00000000000 --- a/keyboards/handwired/obuwunkunubi/spaget/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -UNICODE_ENABLE = yes # Unicode -AUDIO_ENABLE = no # Audio output - -OLED_ENABLE = yes -ENCODER_ENABLE = yes # Enable encoder support diff --git a/keyboards/handwired/oem_ansi_fullsize/info.json b/keyboards/handwired/oem_ansi_fullsize/keyboard.json similarity index 97% rename from keyboards/handwired/oem_ansi_fullsize/info.json rename to keyboards/handwired/oem_ansi_fullsize/keyboard.json index ac892719adb..6c48bfcc369 100644 --- a/keyboards/handwired/oem_ansi_fullsize/info.json +++ b/keyboards/handwired/oem_ansi_fullsize/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C3", "C2", "C1", "C0", "E1", "E0", "D7", "E6", "D5", "D4", "D3", "D2", "D1", "D0", "B7", "B0", "B1", "B2", "B3", "B4", "B5", "F6"], "rows": ["F5", "F4", "F3", "F2", "F1", "F0"] diff --git a/keyboards/handwired/oem_ansi_fullsize/rules.mk b/keyboards/handwired/oem_ansi_fullsize/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/handwired/oem_ansi_fullsize/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/oem_iso_fullsize/info.json b/keyboards/handwired/oem_iso_fullsize/keyboard.json similarity index 97% rename from keyboards/handwired/oem_iso_fullsize/info.json rename to keyboards/handwired/oem_iso_fullsize/keyboard.json index e943b65643f..dcff4541f1e 100644 --- a/keyboards/handwired/oem_iso_fullsize/info.json +++ b/keyboards/handwired/oem_iso_fullsize/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x7070", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C2", "C1", "E0", "D4", "D5", "A4", "A0", "B2", "B0", "E7", "E6", "D6", "B1", "B3", "D3", "D2", "B6", "F7", "F0", "F1", "F2"], "rows": ["C0", "B4", "F3", "F4", "F5", "F6"] diff --git a/keyboards/handwired/oem_iso_fullsize/rules.mk b/keyboards/handwired/oem_iso_fullsize/rules.mk deleted file mode 100644 index ac49f53a205..00000000000 --- a/keyboards/handwired/oem_iso_fullsize/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/ortho5x13/info.json b/keyboards/handwired/ortho5x13/keyboard.json similarity index 95% rename from keyboards/handwired/ortho5x13/info.json rename to keyboards/handwired/ortho5x13/keyboard.json index 3fed9e24602..097ac3863d1 100644 --- a/keyboards/handwired/ortho5x13/info.json +++ b/keyboards/handwired/ortho5x13/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x050D", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D3", "D2", "D1", "D0", "D4"] diff --git a/keyboards/handwired/ortho5x13/rules.mk b/keyboards/handwired/ortho5x13/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/ortho5x13/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/ortho5x14/info.json b/keyboards/handwired/ortho5x14/keyboard.json similarity index 95% rename from keyboards/handwired/ortho5x14/info.json rename to keyboards/handwired/ortho5x14/keyboard.json index 67b4cc4c2e0..fe34f2b800f 100644 --- a/keyboards/handwired/ortho5x14/info.json +++ b/keyboards/handwired/ortho5x14/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x050D", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B4", "E6", "D7", "C6", "D4", "D0", "D1"], "rows": ["F0", "F1", "C7", "D5", "B7"] diff --git a/keyboards/handwired/ortho5x14/rules.mk b/keyboards/handwired/ortho5x14/rules.mk deleted file mode 100644 index c8758ba64c3..00000000000 --- a/keyboards/handwired/ortho5x14/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/pilcrow/info.json b/keyboards/handwired/pilcrow/keyboard.json similarity index 93% rename from keyboards/handwired/pilcrow/info.json rename to keyboards/handwired/pilcrow/keyboard.json index 0a826c6ba8b..b1c96a495e5 100644 --- a/keyboards/handwired/pilcrow/info.json +++ b/keyboards/handwired/pilcrow/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "F5", "F6", "B6", "B2", "F4", "B5"], "rows": ["B4", "F7", "B1", "B3"] diff --git a/keyboards/handwired/pilcrow/rules.mk b/keyboards/handwired/pilcrow/rules.mk deleted file mode 100644 index b6e2a5f9a41..00000000000 --- a/keyboards/handwired/pilcrow/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/prime_exl/info.json b/keyboards/handwired/prime_exl/keyboard.json similarity index 96% rename from keyboards/handwired/prime_exl/info.json rename to keyboards/handwired/prime_exl/keyboard.json index 9a4d4b96366..ea8f6821a29 100644 --- a/keyboards/handwired/prime_exl/info.json +++ b/keyboards/handwired/prime_exl/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6578", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "B3", "B2", "D1", "D2", "D3", "F7", "F6", "F5"], "rows": ["B1", "E6", "D5", "D6", "B4", "D7", "D4", "F1", "F0", "B0"] diff --git a/keyboards/handwired/prime_exl/rules.mk b/keyboards/handwired/prime_exl/rules.mk deleted file mode 100644 index 9ce191fd81e..00000000000 --- a/keyboards/handwired/prime_exl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/prime_exl_plus/info.json b/keyboards/handwired/prime_exl_plus/keyboard.json similarity index 96% rename from keyboards/handwired/prime_exl_plus/info.json rename to keyboards/handwired/prime_exl_plus/keyboard.json index c463d5baa7a..4ff9bb10494 100644 --- a/keyboards/handwired/prime_exl_plus/info.json +++ b/keyboards/handwired/prime_exl_plus/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "D4" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "C7", "C6", "B6", "B7", "B3", "D1", "D0"], "rows": ["D2", "D6", "B4", "F1", "E6", "F0", "F4", "B5", "D7", "D3"] diff --git a/keyboards/handwired/prime_exl_plus/rules.mk b/keyboards/handwired/prime_exl_plus/rules.mk deleted file mode 100644 index 18684e62d3e..00000000000 --- a/keyboards/handwired/prime_exl_plus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/prkl30/promicro/info.json b/keyboards/handwired/prkl30/promicro/keyboard.json similarity index 77% rename from keyboards/handwired/prkl30/promicro/info.json rename to keyboards/handwired/prkl30/promicro/keyboard.json index 395cb9f2760..d681781c8be 100644 --- a/keyboards/handwired/prkl30/promicro/info.json +++ b/keyboards/handwired/prkl30/promicro/keyboard.json @@ -1,4 +1,14 @@ { + "features": { + "bootmagic": false, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "B5", "F6", "F5", "F4", "F7", "B1", "B3", "B2", "B6"], "rows": ["D4", "C6", "D7", "E6"] diff --git a/keyboards/handwired/prkl30/promicro/rules.mk b/keyboards/handwired/prkl30/promicro/rules.mk deleted file mode 100644 index a4e07e76d82..00000000000 --- a/keyboards/handwired/prkl30/promicro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -ENCODER_ENABLE = yes -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no -AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port. diff --git a/keyboards/handwired/pteron/info.json b/keyboards/handwired/pteron/keyboard.json similarity index 95% rename from keyboards/handwired/pteron/info.json rename to keyboards/handwired/pteron/keyboard.json index c8b5e9d4d8c..7aa2470cc15 100644 --- a/keyboards/handwired/pteron/info.json +++ b/keyboards/handwired/pteron/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F6", "F5", "F7", "B1", "B3", "C6", "D4", "D0", "D1", "D2", "D3"], "rows": ["D7", "E6", "B4", "B5", "B6"] diff --git a/keyboards/handwired/pteron/rules.mk b/keyboards/handwired/pteron/rules.mk deleted file mode 100644 index a77b52c38bd..00000000000 --- a/keyboards/handwired/pteron/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no diff --git a/keyboards/handwired/pteron38/info.json b/keyboards/handwired/pteron38/keyboard.json similarity index 93% rename from keyboards/handwired/pteron38/info.json rename to keyboards/handwired/pteron38/keyboard.json index 6770e467eb0..266aefec1f7 100644 --- a/keyboards/handwired/pteron38/info.json +++ b/keyboards/handwired/pteron38/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F6", "F5", "F7", "B1", "B3", "C6", "D4", "D0", "D1", "D2"], "rows": ["E6", "B4", "B5", "B6"] diff --git a/keyboards/handwired/pteron38/rules.mk b/keyboards/handwired/pteron38/rules.mk deleted file mode 100644 index 3e66b069b36..00000000000 --- a/keyboards/handwired/pteron38/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/pteron44/info.json b/keyboards/handwired/pteron44/keyboard.json similarity index 94% rename from keyboards/handwired/pteron44/info.json rename to keyboards/handwired/pteron44/keyboard.json index da32096bf12..26321317eb5 100644 --- a/keyboards/handwired/pteron44/info.json +++ b/keyboards/handwired/pteron44/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x542C", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F6", "F5", "F7", "B1", "B3", "C6", "D4", "D0", "D1", "D2", "D3"], "rows": ["E6", "B4", "B5", "B6"] diff --git a/keyboards/handwired/pteron44/rules.mk b/keyboards/handwired/pteron44/rules.mk deleted file mode 100644 index 3e66b069b36..00000000000 --- a/keyboards/handwired/pteron44/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/retro_refit/info.json b/keyboards/handwired/retro_refit/keyboard.json similarity index 96% rename from keyboards/handwired/retro_refit/info.json rename to keyboards/handwired/retro_refit/keyboard.json index ca0dffdc832..d1a5831fc36 100644 --- a/keyboards/handwired/retro_refit/info.json +++ b/keyboards/handwired/retro_refit/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D2", "D3", "C7", "D5"], "rows": ["D4", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/handwired/retro_refit/rules.mk b/keyboards/handwired/retro_refit/rules.mk deleted file mode 100644 index eb35f5c4d2a..00000000000 --- a/keyboards/handwired/retro_refit/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality diff --git a/keyboards/handwired/rs60/info.json b/keyboards/handwired/rs60/keyboard.json similarity index 95% rename from keyboards/handwired/rs60/info.json rename to keyboards/handwired/rs60/keyboard.json index 214eb64dfcd..15364743432 100644 --- a/keyboards/handwired/rs60/info.json +++ b/keyboards/handwired/rs60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4260", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "D4", "D0", "D1", "D2", "D3", "F4", "F5", "F6", "F7", "B1", "B3"], "rows": ["B5", "B6", "B4", "B2", "E6"] diff --git a/keyboards/handwired/rs60/rules.mk b/keyboards/handwired/rs60/rules.mk deleted file mode 100644 index c827f15dcf8..00000000000 --- a/keyboards/handwired/rs60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. diff --git a/keyboards/handwired/selene/info.json b/keyboards/handwired/selene/keyboard.json similarity index 97% rename from keyboards/handwired/selene/info.json rename to keyboards/handwired/selene/keyboard.json index b99e41bda58..ed3231981df 100644 --- a/keyboards/handwired/selene/info.json +++ b/keyboards/handwired/selene/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "A3" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A9", "A10", "B11", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "C14", "A4", "A5", "A6", "A7", "A8", "A15", "A13", "A14", "B12"], "rows": ["B10", "B9", "B15", "B14", "B13", "B8"] diff --git a/keyboards/handwired/selene/rules.mk b/keyboards/handwired/selene/rules.mk deleted file mode 100644 index a8a8f03322a..00000000000 --- a/keyboards/handwired/selene/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/sick68/info.json b/keyboards/handwired/sick68/keyboard.json similarity index 96% rename from keyboards/handwired/sick68/info.json rename to keyboards/handwired/sick68/keyboard.json index 14232fd6c38..f5fbe24873c 100644 --- a/keyboards/handwired/sick68/info.json +++ b/keyboards/handwired/sick68/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5F00", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4", "B5", "B0", "D5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D3", "D2", "D1", "D0", "D4"] diff --git a/keyboards/handwired/sick68/rules.mk b/keyboards/handwired/sick68/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/handwired/sick68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/sick_pad/info.json b/keyboards/handwired/sick_pad/keyboard.json similarity index 89% rename from keyboards/handwired/sick_pad/info.json rename to keyboards/handwired/sick_pad/keyboard.json index fc1e39eb33c..8298a497ed3 100644 --- a/keyboards/handwired/sick_pad/info.json +++ b/keyboards/handwired/sick_pad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xDA20", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B9", "B15", "B14", "B13"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/handwired/sick_pad/rules.mk b/keyboards/handwired/sick_pad/rules.mk deleted file mode 100644 index 61bbba1c9e5..00000000000 --- a/keyboards/handwired/sick_pad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/snatchpad/info.json b/keyboards/handwired/snatchpad/keyboard.json similarity index 82% rename from keyboards/handwired/snatchpad/info.json rename to keyboards/handwired/snatchpad/keyboard.json index 162f5601b53..3ff80ad2fd6 100644 --- a/keyboards/handwired/snatchpad/info.json +++ b/keyboards/handwired/snatchpad/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x7370", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "key_lock": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B1", "B3", "B2"], "rows": ["F4", "F5", "F6"] diff --git a/keyboards/handwired/snatchpad/rules.mk b/keyboards/handwired/snatchpad/rules.mk deleted file mode 100644 index 74f5b93cb9b..00000000000 --- a/keyboards/handwired/snatchpad/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -KEY_LOCK_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/handwired/space_oddity/info.json b/keyboards/handwired/space_oddity/keyboard.json similarity index 95% rename from keyboards/handwired/space_oddity/info.json rename to keyboards/handwired/space_oddity/keyboard.json index b0e72ccabdc..b02b48ac627 100644 --- a/keyboards/handwired/space_oddity/info.json +++ b/keyboards/handwired/space_oddity/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "dynamic_macro": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"], "rows": ["F4", "F5", "F6", "F7", "B1", "B3"] diff --git a/keyboards/handwired/space_oddity/rules.mk b/keyboards/handwired/space_oddity/rules.mk deleted file mode 100644 index 8b3a3ef3691..00000000000 --- a/keyboards/handwired/space_oddity/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no -DYNAMIC_MACRO_ENABLE = yes diff --git a/keyboards/handwired/steamvan/rev1/info.json b/keyboards/handwired/steamvan/rev1/keyboard.json similarity index 97% rename from keyboards/handwired/steamvan/rev1/info.json rename to keyboards/handwired/steamvan/rev1/keyboard.json index 54164b57388..9808d50faae 100644 --- a/keyboards/handwired/steamvan/rev1/info.json +++ b/keyboards/handwired/steamvan/rev1/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "leader": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A9", "A8", "B15", "B14", "B13", "A10", "B9", "B6", "B5", "B4", "B3", "A15"], "rows": ["A6", "A5", "A4", "A3"] diff --git a/keyboards/handwired/steamvan/rev1/rules.mk b/keyboards/handwired/steamvan/rev1/rules.mk deleted file mode 100644 index 30e27ae8b87..00000000000 --- a/keyboards/handwired/steamvan/rev1/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BACKLIGHT_ENABLE = yes -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality -LEADER_ENABLE = yes - diff --git a/keyboards/handwired/sticc14/info.json b/keyboards/handwired/sticc14/keyboard.json similarity index 87% rename from keyboards/handwired/sticc14/info.json rename to keyboards/handwired/sticc14/keyboard.json index 8659152f52b..1c0d683a7c6 100644 --- a/keyboards/handwired/sticc14/info.json +++ b/keyboards/handwired/sticc14/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "B2", "B3"], "rows": ["F4", "F5", "F6", "F7", "B1"] diff --git a/keyboards/handwired/sticc14/rules.mk b/keyboards/handwired/sticc14/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/handwired/sticc14/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/stream_cheap/2x3/info.json b/keyboards/handwired/stream_cheap/2x3/keyboard.json similarity index 83% rename from keyboards/handwired/stream_cheap/2x3/info.json rename to keyboards/handwired/stream_cheap/2x3/keyboard.json index 074a5f89548..b10b4f7a7c0 100644 --- a/keyboards/handwired/stream_cheap/2x3/info.json +++ b/keyboards/handwired/stream_cheap/2x3/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "direct": [ ["D1", "C6", "B4"], diff --git a/keyboards/handwired/stream_cheap/2x3/rules.mk b/keyboards/handwired/stream_cheap/2x3/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/handwired/stream_cheap/2x3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/stream_cheap/2x5/info.json b/keyboards/handwired/stream_cheap/2x5/keyboard.json similarity index 85% rename from keyboards/handwired/stream_cheap/2x5/info.json rename to keyboards/handwired/stream_cheap/2x5/keyboard.json index be24426de0d..ccf47996e35 100644 --- a/keyboards/handwired/stream_cheap/2x5/info.json +++ b/keyboards/handwired/stream_cheap/2x5/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "direct": [ ["D1", "C6", "B4", "B5", "B2"], diff --git a/keyboards/handwired/stream_cheap/2x5/rules.mk b/keyboards/handwired/stream_cheap/2x5/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/handwired/stream_cheap/2x5/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/swiftrax/astro65/info.json b/keyboards/handwired/swiftrax/astro65/keyboard.json similarity index 96% rename from keyboards/handwired/swiftrax/astro65/info.json rename to keyboards/handwired/swiftrax/astro65/keyboard.json index 01ab1df856d..c72c0e4b3de 100644 --- a/keyboards/handwired/swiftrax/astro65/info.json +++ b/keyboards/handwired/swiftrax/astro65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEAEF", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "D5", "D3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B3", "F7", "B1", "B2"] diff --git a/keyboards/handwired/swiftrax/astro65/rules.mk b/keyboards/handwired/swiftrax/astro65/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/swiftrax/astro65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/swiftrax/bebol/info.json b/keyboards/handwired/swiftrax/bebol/keyboard.json similarity index 99% rename from keyboards/handwired/swiftrax/bebol/info.json rename to keyboards/handwired/swiftrax/bebol/keyboard.json index b833dfbdf61..242d1b99a99 100644 --- a/keyboards/handwired/swiftrax/bebol/info.json +++ b/keyboards/handwired/swiftrax/bebol/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEAC4", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B1", "D2", "D3", "F1", "F4", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5"], "rows": ["B2", "B3", "F7", "F0", "B7"] diff --git a/keyboards/handwired/swiftrax/bebol/rules.mk b/keyboards/handwired/swiftrax/bebol/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/swiftrax/bebol/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/swiftrax/beegboy/info.json b/keyboards/handwired/swiftrax/beegboy/keyboard.json similarity index 97% rename from keyboards/handwired/swiftrax/beegboy/info.json rename to keyboards/handwired/swiftrax/beegboy/keyboard.json index e35d1f36e72..75edd62c1e4 100644 --- a/keyboards/handwired/swiftrax/beegboy/info.json +++ b/keyboards/handwired/swiftrax/beegboy/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEAC5", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "D5", "D3"], "rows": ["B1", "B0", "B3", "B2", "D0", "B7", "D2", "D1", "B5", "B4", "C6", "B6"] diff --git a/keyboards/handwired/swiftrax/beegboy/rules.mk b/keyboards/handwired/swiftrax/beegboy/rules.mk deleted file mode 100644 index da25f7f3dc3..00000000000 --- a/keyboards/handwired/swiftrax/beegboy/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Rotary Encoder diff --git a/keyboards/handwired/swiftrax/bumblebee/info.json b/keyboards/handwired/swiftrax/bumblebee/keyboard.json similarity index 94% rename from keyboards/handwired/swiftrax/bumblebee/info.json rename to keyboards/handwired/swiftrax/bumblebee/keyboard.json index e2cad64ad8b..9a68fe1b4fe 100644 --- a/keyboards/handwired/swiftrax/bumblebee/info.json +++ b/keyboards/handwired/swiftrax/bumblebee/keyboard.json @@ -14,6 +14,16 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["B0", "B1", "B2", "B3", "F4", "F5", "F6", "F7"] diff --git a/keyboards/handwired/swiftrax/bumblebee/rules.mk b/keyboards/handwired/swiftrax/bumblebee/rules.mk deleted file mode 100644 index 0ca8090ba86..00000000000 --- a/keyboards/handwired/swiftrax/bumblebee/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary Encoder diff --git a/keyboards/handwired/swiftrax/cowfish/info.json b/keyboards/handwired/swiftrax/cowfish/keyboard.json similarity index 99% rename from keyboards/handwired/swiftrax/cowfish/info.json rename to keyboards/handwired/swiftrax/cowfish/keyboard.json index 8aea3b0c1b9..efa8c39d19f 100644 --- a/keyboards/handwired/swiftrax/cowfish/info.json +++ b/keyboards/handwired/swiftrax/cowfish/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEB53", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "F0", "F1", "F4", "F5", "F6", "F7", "B5", "B6", "B4", "C6", "D7", "C7", "D2", "D3", "D5"], "rows": ["D0", "D1", "B7", "E6", "D4", "D6"] diff --git a/keyboards/handwired/swiftrax/cowfish/rules.mk b/keyboards/handwired/swiftrax/cowfish/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/handwired/swiftrax/cowfish/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/swiftrax/digicarp65/info.json b/keyboards/handwired/swiftrax/digicarp65/keyboard.json similarity index 98% rename from keyboards/handwired/swiftrax/digicarp65/info.json rename to keyboards/handwired/swiftrax/digicarp65/keyboard.json index 7d8ea44f3bc..59442c33ecc 100644 --- a/keyboards/handwired/swiftrax/digicarp65/info.json +++ b/keyboards/handwired/swiftrax/digicarp65/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xE7F1", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5", "C6", "F6", "F7", "C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B2", "B1", "F4", "F1", "F0"] diff --git a/keyboards/handwired/swiftrax/digicarp65/rules.mk b/keyboards/handwired/swiftrax/digicarp65/rules.mk deleted file mode 100644 index 21a966bffa4..00000000000 --- a/keyboards/handwired/swiftrax/digicarp65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary Encoder diff --git a/keyboards/handwired/swiftrax/digicarpice/info.json b/keyboards/handwired/swiftrax/digicarpice/keyboard.json similarity index 97% rename from keyboards/handwired/swiftrax/digicarpice/info.json rename to keyboards/handwired/swiftrax/digicarpice/keyboard.json index 538a39c14b7..6d857f5998a 100644 --- a/keyboards/handwired/swiftrax/digicarpice/info.json +++ b/keyboards/handwired/swiftrax/digicarpice/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE79A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "F7", "C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "B1", "B0"], "rows": ["F0", "D5", "D7", "D6", "D4"] diff --git a/keyboards/handwired/swiftrax/digicarpice/rules.mk b/keyboards/handwired/swiftrax/digicarpice/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/swiftrax/digicarpice/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/swiftrax/equator/info.json b/keyboards/handwired/swiftrax/equator/keyboard.json similarity index 97% rename from keyboards/handwired/swiftrax/equator/info.json rename to keyboards/handwired/swiftrax/equator/keyboard.json index 3e53acb40cc..6a539c786af 100644 --- a/keyboards/handwired/swiftrax/equator/info.json +++ b/keyboards/handwired/swiftrax/equator/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE984", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B2", "B3", "C7", "B4", "B5"] diff --git a/keyboards/handwired/swiftrax/equator/rules.mk b/keyboards/handwired/swiftrax/equator/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/swiftrax/equator/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/swiftrax/glacier/info.json b/keyboards/handwired/swiftrax/glacier/keyboard.json similarity index 98% rename from keyboards/handwired/swiftrax/glacier/info.json rename to keyboards/handwired/swiftrax/glacier/keyboard.json index ddfb4ce1ad1..d455cbe2664 100644 --- a/keyboards/handwired/swiftrax/glacier/info.json +++ b/keyboards/handwired/swiftrax/glacier/keyboard.json @@ -25,6 +25,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F2", "F3", "F4", "F5", "F6", "D0", "D1", "D2"], "rows": ["B1", "B2", "B3", "B4", "B5", "B6", "E5", "E4", "D4", "D5", "D7", "D6"] diff --git a/keyboards/handwired/swiftrax/glacier/rules.mk b/keyboards/handwired/swiftrax/glacier/rules.mk deleted file mode 100644 index 9be7a1985b1..00000000000 --- a/keyboards/handwired/swiftrax/glacier/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/handwired/swiftrax/joypad/info.json b/keyboards/handwired/swiftrax/joypad/keyboard.json similarity index 90% rename from keyboards/handwired/swiftrax/joypad/info.json rename to keyboards/handwired/swiftrax/joypad/keyboard.json index e55940cf0cb..b894dcbe546 100644 --- a/keyboards/handwired/swiftrax/joypad/info.json +++ b/keyboards/handwired/swiftrax/joypad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xEA68", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "B4", "D0", "C2"], "rows": ["C6", "B3", "B0", "B1", "D6", "D5"] diff --git a/keyboards/handwired/swiftrax/joypad/rules.mk b/keyboards/handwired/swiftrax/joypad/rules.mk deleted file mode 100644 index deedc379986..00000000000 --- a/keyboards/handwired/swiftrax/joypad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/handwired/swiftrax/koalafications/info.json b/keyboards/handwired/swiftrax/koalafications/keyboard.json similarity index 99% rename from keyboards/handwired/swiftrax/koalafications/info.json rename to keyboards/handwired/swiftrax/koalafications/keyboard.json index 0b456af7aa2..78686a8e70e 100644 --- a/keyboards/handwired/swiftrax/koalafications/info.json +++ b/keyboards/handwired/swiftrax/koalafications/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xEA44", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "wpm": true + }, "matrix_pins": { "cols": ["F0", "D5", "D3", "D2", "B3", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B1", "B2", "E6", "F1", "F4", "F5"] diff --git a/keyboards/handwired/swiftrax/koalafications/rules.mk b/keyboards/handwired/swiftrax/koalafications/rules.mk deleted file mode 100644 index efd14377bf4..00000000000 --- a/keyboards/handwired/swiftrax/koalafications/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes -WPM_ENABLE = yes diff --git a/keyboards/handwired/swiftrax/nodu/info.json b/keyboards/handwired/swiftrax/nodu/keyboard.json similarity index 96% rename from keyboards/handwired/swiftrax/nodu/info.json rename to keyboards/handwired/swiftrax/nodu/keyboard.json index 9deacb8238f..47c604c35fb 100644 --- a/keyboards/handwired/swiftrax/nodu/info.json +++ b/keyboards/handwired/swiftrax/nodu/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEA6E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "B7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D5", "D3", "D2", "D1", "D0"], "rows": ["B0", "B3", "F5", "F4", "F1"] diff --git a/keyboards/handwired/swiftrax/nodu/rules.mk b/keyboards/handwired/swiftrax/nodu/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/handwired/swiftrax/nodu/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/swiftrax/pandamic/info.json b/keyboards/handwired/swiftrax/pandamic/keyboard.json similarity index 96% rename from keyboards/handwired/swiftrax/pandamic/info.json rename to keyboards/handwired/swiftrax/pandamic/keyboard.json index 97ea8928cc8..9fce9c80c52 100644 --- a/keyboards/handwired/swiftrax/pandamic/info.json +++ b/keyboards/handwired/swiftrax/pandamic/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xEB0E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "D0"], "rows": ["D1", "D2", "B5", "B7", "D3", "D5", "D6", "D4", "D7", "B4"] diff --git a/keyboards/handwired/swiftrax/pandamic/rules.mk b/keyboards/handwired/swiftrax/pandamic/rules.mk deleted file mode 100644 index 0d8c75f6af6..00000000000 --- a/keyboards/handwired/swiftrax/pandamic/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary Encoder diff --git a/keyboards/handwired/swiftrax/the_galleon/info.json b/keyboards/handwired/swiftrax/the_galleon/keyboard.json similarity index 99% rename from keyboards/handwired/swiftrax/the_galleon/info.json rename to keyboards/handwired/swiftrax/the_galleon/keyboard.json index 2e0771e22c6..1d87ce18933 100644 --- a/keyboards/handwired/swiftrax/the_galleon/info.json +++ b/keyboards/handwired/swiftrax/the_galleon/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xEA2D", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B3", "B2"], "rows": ["B1", "B0", "D2", "B7", "D5", "D3", "D6", "D4", "B4", "D7", "B6", "B5", "C7", "C6"] diff --git a/keyboards/handwired/swiftrax/the_galleon/rules.mk b/keyboards/handwired/swiftrax/the_galleon/rules.mk deleted file mode 100644 index dec78ae4080..00000000000 --- a/keyboards/handwired/swiftrax/the_galleon/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Rotary Encoder -OLED_ENABLE = yes diff --git a/keyboards/handwired/swiftrax/unsplit/info.json b/keyboards/handwired/swiftrax/unsplit/keyboard.json similarity index 94% rename from keyboards/handwired/swiftrax/unsplit/info.json rename to keyboards/handwired/swiftrax/unsplit/keyboard.json index 545e0b66e56..bb18c0dea89 100644 --- a/keyboards/handwired/swiftrax/unsplit/info.json +++ b/keyboards/handwired/swiftrax/unsplit/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xEAB1", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "D5", "D4", "D6", "C6", "C7", "F6", "F5", "F4", "F1"], "rows": ["B6", "D7", "B5", "B4"] diff --git a/keyboards/handwired/swiftrax/unsplit/rules.mk b/keyboards/handwired/swiftrax/unsplit/rules.mk deleted file mode 100644 index d737227db3c..00000000000 --- a/keyboards/handwired/swiftrax/unsplit/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Rotary Encoder \ No newline at end of file diff --git a/keyboards/handwired/swiftrax/walter/info.json b/keyboards/handwired/swiftrax/walter/keyboard.json similarity index 98% rename from keyboards/handwired/swiftrax/walter/info.json rename to keyboards/handwired/swiftrax/walter/keyboard.json index 804f88503bc..cbf603a4ffc 100644 --- a/keyboards/handwired/swiftrax/walter/info.json +++ b/keyboards/handwired/swiftrax/walter/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "C6", "F6", "F7", "C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B2", "B1", "F4", "F1", "F0"] diff --git a/keyboards/handwired/swiftrax/walter/rules.mk b/keyboards/handwired/swiftrax/walter/rules.mk deleted file mode 100644 index 5e11a757b75..00000000000 --- a/keyboards/handwired/swiftrax/walter/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary Encder diff --git a/keyboards/handwired/t111/info.json b/keyboards/handwired/t111/keyboard.json similarity index 97% rename from keyboards/handwired/t111/info.json rename to keyboards/handwired/t111/keyboard.json index f25b0790988..4c2b7ac4690 100644 --- a/keyboards/handwired/t111/info.json +++ b/keyboards/handwired/t111/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6FAA", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B15", "B11", "B10", "B1", "B0", "A10", "A9", "A7", "A6", "A5", "A4", "A8", "B13", "B14"], "rows": ["A15", "B6", "B5", "B4", "B3", "B9", "B8", "B7"] diff --git a/keyboards/handwired/t111/rules.mk b/keyboards/handwired/t111/rules.mk deleted file mode 100644 index 2542c545bff..00000000000 --- a/keyboards/handwired/t111/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/tennie/info.json b/keyboards/handwired/tennie/keyboard.json similarity index 88% rename from keyboards/handwired/tennie/info.json rename to keyboards/handwired/tennie/keyboard.json index 32198e1cf62..34e6676c953 100644 --- a/keyboards/handwired/tennie/info.json +++ b/keyboards/handwired/tennie/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5"], "rows": ["C6", "D4", "D0"] diff --git a/keyboards/handwired/tennie/rules.mk b/keyboards/handwired/tennie/rules.mk deleted file mode 100644 index 477ce541fd5..00000000000 --- a/keyboards/handwired/tennie/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/terminus_mini/info.json b/keyboards/handwired/terminus_mini/keyboard.json similarity index 94% rename from keyboards/handwired/terminus_mini/info.json rename to keyboards/handwired/terminus_mini/keyboard.json index 5593be8bb7a..1bf37da57b4 100644 --- a/keyboards/handwired/terminus_mini/info.json +++ b/keyboards/handwired/terminus_mini/keyboard.json @@ -12,6 +12,14 @@ "term": 150, "toggle": 1 }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "D0", "D5", "B6", "D4", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B5", "B4", "D7", "D6"] diff --git a/keyboards/handwired/terminus_mini/rules.mk b/keyboards/handwired/terminus_mini/rules.mk deleted file mode 100644 index 304b8ba7b9f..00000000000 --- a/keyboards/handwired/terminus_mini/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/handwired/traveller/info.json b/keyboards/handwired/traveller/keyboard.json similarity index 94% rename from keyboards/handwired/traveller/info.json rename to keyboards/handwired/traveller/keyboard.json index ea1b3e35305..e6941036f50 100644 --- a/keyboards/handwired/traveller/info.json +++ b/keyboards/handwired/traveller/keyboard.json @@ -15,6 +15,15 @@ "ws2812": { "pin": "B2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B5", "D6", "B7", "B6", "F6", "B1", "B3", "F7", "B4", "E6", "D7", "C6", "D4"], "rows": ["D0", "D1", "D3", "D2"] diff --git a/keyboards/handwired/traveller/rules.mk b/keyboards/handwired/traveller/rules.mk deleted file mode 100644 index aa4c817d2a2..00000000000 --- a/keyboards/handwired/traveller/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/tritium_numpad/info.json b/keyboards/handwired/tritium_numpad/keyboard.json similarity index 95% rename from keyboards/handwired/tritium_numpad/info.json rename to keyboards/handwired/tritium_numpad/keyboard.json index 2e2fc6c81f6..b87f4768219 100644 --- a/keyboards/handwired/tritium_numpad/info.json +++ b/keyboards/handwired/tritium_numpad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.3" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F6", "B1", "B2"], "rows": ["D1", "D0", "D4", "C6", "D7", "E6"] diff --git a/keyboards/handwired/tritium_numpad/rules.mk b/keyboards/handwired/tritium_numpad/rules.mk deleted file mode 100644 index ad6bc60f96f..00000000000 --- a/keyboards/handwired/tritium_numpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no diff --git a/keyboards/handwired/twig/twig50/info.json b/keyboards/handwired/twig/twig50/keyboard.json similarity index 94% rename from keyboards/handwired/twig/twig50/info.json rename to keyboards/handwired/twig/twig50/keyboard.json index 24eb51d03c1..aa78691838c 100644 --- a/keyboards/handwired/twig/twig50/info.json +++ b/keyboards/handwired/twig/twig50/keyboard.json @@ -12,6 +12,15 @@ "tapping": { "term": 150 }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A2", "A1", "A0", "B8", "B13", "B14", "B15", "B9", "B10", "B11", "B3", "B2", "B1", "B0"], "rows": ["B7", "B6", "B5", "B4"] diff --git a/keyboards/handwired/twig/twig50/rules.mk b/keyboards/handwired/twig/twig50/rules.mk deleted file mode 100644 index 60962ea47d9..00000000000 --- a/keyboards/handwired/twig/twig50/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = yes # Audio output diff --git a/keyboards/handwired/unicomp_mini_m/info.json b/keyboards/handwired/unicomp_mini_m/keyboard.json similarity index 97% rename from keyboards/handwired/unicomp_mini_m/info.json rename to keyboards/handwired/unicomp_mini_m/keyboard.json index 0b110c98bdb..50ae0330282 100644 --- a/keyboards/handwired/unicomp_mini_m/info.json +++ b/keyboards/handwired/unicomp_mini_m/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "E1", "E0", "D7", "B7", "D5", "D4", "D3", "D2"], "rows": ["F7", "F6", "F5", "F4", "F3", "F2", "F1", "F0", "E6", "E7", "B0", "B1"] diff --git a/keyboards/handwired/unicomp_mini_m/rules.mk b/keyboards/handwired/unicomp_mini_m/rules.mk deleted file mode 100644 index 7ae681a542b..00000000000 --- a/keyboards/handwired/unicomp_mini_m/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/videowriter/info.json b/keyboards/handwired/videowriter/keyboard.json similarity index 96% rename from keyboards/handwired/videowriter/info.json rename to keyboards/handwired/videowriter/keyboard.json index 14c33f399f4..c8b0141767e 100644 --- a/keyboards/handwired/videowriter/info.json +++ b/keyboards/handwired/videowriter/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5657", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D7", "C6", "D1", "D0", "D4", "D2", "D3", "E6", "B4", "B5"] diff --git a/keyboards/handwired/videowriter/rules.mk b/keyboards/handwired/videowriter/rules.mk deleted file mode 100644 index 6e0404820cd..00000000000 --- a/keyboards/handwired/videowriter/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/wabi/info.json b/keyboards/handwired/wabi/keyboard.json similarity index 96% rename from keyboards/handwired/wabi/info.json rename to keyboards/handwired/wabi/keyboard.json index 8c833feeb43..26c82a209c2 100644 --- a/keyboards/handwired/wabi/info.json +++ b/keyboards/handwired/wabi/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB07D", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F1", "F0", "E6", "B3", "B7", "D0", "D1", "D2", "D3", "D4", "D6", "D7", "B5"], "rows": ["D5", "F5", "F6", "F7", "B0"] diff --git a/keyboards/handwired/wabi/rules.mk b/keyboards/handwired/wabi/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/handwired/wabi/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/woodpad/info.json b/keyboards/handwired/woodpad/keyboard.json similarity index 90% rename from keyboards/handwired/woodpad/info.json rename to keyboards/handwired/woodpad/keyboard.json index f3394897fc7..3af8bd19df0 100644 --- a/keyboards/handwired/woodpad/info.json +++ b/keyboards/handwired/woodpad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6069", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B1", "B3", "B2", "B6"], "rows": ["D1", "D0", "D4", "C6", "D7"] diff --git a/keyboards/handwired/woodpad/rules.mk b/keyboards/handwired/woodpad/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/handwired/woodpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/z150/info.json b/keyboards/handwired/z150/keyboard.json similarity index 96% rename from keyboards/handwired/z150/info.json rename to keyboards/handwired/z150/keyboard.json index f027c7da1f7..0658bb52339 100644 --- a/keyboards/handwired/z150/info.json +++ b/keyboards/handwired/z150/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B11", "B10", "B1", "B0", "A7", "A6", "A5", "A4"], "rows": ["B13", "B14", "B15", "A8", "A9", "A3", "A10", "A1", "A2", "A15", "A0"] diff --git a/keyboards/handwired/z150/rules.mk b/keyboards/handwired/z150/rules.mk deleted file mode 100644 index 421d72570ef..00000000000 --- a/keyboards/handwired/z150/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/zergo/info.json b/keyboards/handwired/zergo/keyboard.json similarity index 96% rename from keyboards/handwired/zergo/info.json rename to keyboards/handwired/zergo/keyboard.json index 56b1b8f0cd9..7ee2cd4774e 100644 --- a/keyboards/handwired/zergo/info.json +++ b/keyboards/handwired/zergo/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xB92B", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "C6", "C5", "C4", "C2", "C1", "B7", "D3", "D2", "B6", "B5", "B4", "B3", "B2"], "rows": ["B1", "D7", "C3", "D6", "D5", "D4"] diff --git a/keyboards/handwired/zergo/rules.mk b/keyboards/handwired/zergo/rules.mk deleted file mode 100644 index 7d0adddded9..00000000000 --- a/keyboards/handwired/zergo/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hardlineworks/otd_plus/info.json b/keyboards/hardlineworks/otd_plus/keyboard.json similarity index 96% rename from keyboards/hardlineworks/otd_plus/info.json rename to keyboards/hardlineworks/otd_plus/keyboard.json index 6dcb95fa50d..50a7eb22246 100644 --- a/keyboards/hardlineworks/otd_plus/info.json +++ b/keyboards/hardlineworks/otd_plus/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0087", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "B7", "B0", "F1", "D7", "F7", "C7"], "rows": ["D2", "D4", "D1", "E6", "F5", "C6", "B6", "F6", "F0", "D0", "D6", "D3"] diff --git a/keyboards/hardlineworks/otd_plus/rules.mk b/keyboards/hardlineworks/otd_plus/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/hardlineworks/otd_plus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/heliar/wm1_hotswap/info.json b/keyboards/heliar/wm1_hotswap/keyboard.json similarity index 95% rename from keyboards/heliar/wm1_hotswap/info.json rename to keyboards/heliar/wm1_hotswap/keyboard.json index b534f6e8d68..3fa1a8e6cb8 100644 --- a/keyboards/heliar/wm1_hotswap/info.json +++ b/keyboards/heliar/wm1_hotswap/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xD070", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D2", "B0", "B1", "B2", "D1", "D0", "C7", "C6", "B6", "B5", "B4", "F4", "F5", "F6", "F1"], "rows": ["D5", "D3", "B3", "F0", "E6"] diff --git a/keyboards/heliar/wm1_hotswap/rules.mk b/keyboards/heliar/wm1_hotswap/rules.mk deleted file mode 100644 index 201a97b6f2b..00000000000 --- a/keyboards/heliar/wm1_hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -## Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hfdkb/ac001/info.json b/keyboards/hfdkb/ac001/keyboard.json similarity index 86% rename from keyboards/hfdkb/ac001/info.json rename to keyboards/hfdkb/ac001/keyboard.json index 4c45251504b..daf3e735f0e 100644 --- a/keyboards/hfdkb/ac001/info.json +++ b/keyboards/hfdkb/ac001/keyboard.json @@ -21,6 +21,15 @@ "react_on_keyup": true, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A5", "A6", "A7", "C4", "C5"], "rows": ["B15"] diff --git a/keyboards/hfdkb/ac001/rules.mk b/keyboards/hfdkb/ac001/rules.mk deleted file mode 100644 index 1358ab075a7..00000000000 --- a/keyboards/hfdkb/ac001/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/hhkb_lite_2/info.json b/keyboards/hhkb_lite_2/keyboard.json similarity index 95% rename from keyboards/hhkb_lite_2/info.json rename to keyboards/hhkb_lite_2/keyboard.json index 9b937416ccc..3e9099f0e5b 100644 --- a/keyboards/hhkb_lite_2/info.json +++ b/keyboards/hhkb_lite_2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x88B2", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["F6", "F7", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "C7", "C6", "D3", "D2", "D1"], "rows": ["F5", "F4", "F1", "F0", "B0", "B1", "B2", "B3"] diff --git a/keyboards/hhkb_lite_2/rules.mk b/keyboards/hhkb_lite_2/rules.mk deleted file mode 100644 index 11e507797bb..00000000000 --- a/keyboards/hhkb_lite_2/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes diff --git a/keyboards/hifumi/info.json b/keyboards/hifumi/keyboard.json similarity index 86% rename from keyboards/hifumi/info.json rename to keyboards/hifumi/keyboard.json index 6c2f53aab83..457c8a73985 100644 --- a/keyboards/hifumi/info.json +++ b/keyboards/hifumi/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x3060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6"], "rows": ["D4", "C6"] diff --git a/keyboards/hifumi/rules.mk b/keyboards/hifumi/rules.mk deleted file mode 100644 index da7ffbbc488..00000000000 --- a/keyboards/hifumi/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -SWAP_HANDS_ENABLE = no # Enable one-hand typing diff --git a/keyboards/hineybush/h08_ocelot/info.json b/keyboards/hineybush/h08_ocelot/keyboard.json similarity index 87% rename from keyboards/hineybush/h08_ocelot/info.json rename to keyboards/hineybush/h08_ocelot/keyboard.json index 989e23e7574..0e6ccb732bc 100644 --- a/keyboards/hineybush/h08_ocelot/info.json +++ b/keyboards/hineybush/h08_ocelot/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xE8E9", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "C7", "D0", "D1"], "rows": ["B4", "B6"] diff --git a/keyboards/hineybush/h08_ocelot/rules.mk b/keyboards/hineybush/h08_ocelot/rules.mk deleted file mode 100644 index c09eb37bfd8..00000000000 --- a/keyboards/hineybush/h08_ocelot/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hineybush/h10/info.json b/keyboards/hineybush/h10/keyboard.json similarity index 97% rename from keyboards/hineybush/h10/info.json rename to keyboards/hineybush/h10/keyboard.json index 295b34da10a..924acb515f9 100644 --- a/keyboards/hineybush/h10/info.json +++ b/keyboards/hineybush/h10/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xEBD8", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "C7", "B1", "B2"], "rows": ["B0", "C6", "B6", "B5", "B4", "D7"] diff --git a/keyboards/hineybush/h10/rules.mk b/keyboards/hineybush/h10/rules.mk deleted file mode 100644 index 432c9ea5d27..00000000000 --- a/keyboards/hineybush/h10/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hineybush/h60/info.json b/keyboards/hineybush/h60/keyboard.json similarity index 98% rename from keyboards/hineybush/h60/info.json rename to keyboards/hineybush/h60/keyboard.json index 59820b17979..63d41a55b41 100644 --- a/keyboards/hineybush/h60/info.json +++ b/keyboards/hineybush/h60/keyboard.json @@ -8,6 +8,17 @@ "pid": "0xEBBE", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B3", "D0", "D1", "D2", "D3", "D5", "D6", "C7", "F0", "F1", "F4", "F5", "F6", "F7"], "rows": ["B6", "B5", "B4", "D7", "E6"] diff --git a/keyboards/hineybush/h60/rules.mk b/keyboards/hineybush/h60/rules.mk deleted file mode 100644 index 6764167b6b4..00000000000 --- a/keyboards/hineybush/h60/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes diff --git a/keyboards/hineybush/h65/info.json b/keyboards/hineybush/h65/keyboard.json similarity index 99% rename from keyboards/hineybush/h65/info.json rename to keyboards/hineybush/h65/keyboard.json index f6fd12edaa0..cacc673311e 100644 --- a/keyboards/hineybush/h65/info.json +++ b/keyboards/hineybush/h65/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xE9E4", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "B0", "B1", "B2", "B3"], "rows": ["D7", "D6", "D4", "D1", "D0"] diff --git a/keyboards/hineybush/h65/rules.mk b/keyboards/hineybush/h65/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/hineybush/h65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hineybush/h65_hotswap/info.json b/keyboards/hineybush/h65_hotswap/keyboard.json similarity index 98% rename from keyboards/hineybush/h65_hotswap/info.json rename to keyboards/hineybush/h65_hotswap/keyboard.json index 63b78036171..0cabdf074bb 100644 --- a/keyboards/hineybush/h65_hotswap/info.json +++ b/keyboards/hineybush/h65_hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xE8B7", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "B0", "B1", "B2", "B3"], "rows": ["D7", "D6", "D4", "D1", "D0"] diff --git a/keyboards/hineybush/h65_hotswap/rules.mk b/keyboards/hineybush/h65_hotswap/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/hineybush/h65_hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hineybush/h660s/info.json b/keyboards/hineybush/h660s/keyboard.json similarity index 99% rename from keyboards/hineybush/h660s/info.json rename to keyboards/hineybush/h660s/keyboard.json index 6c5d07cc835..de658ff1296 100644 --- a/keyboards/hineybush/h660s/info.json +++ b/keyboards/hineybush/h660s/keyboard.json @@ -8,6 +8,17 @@ "pid": "0xEB1B", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5"], "rows": ["B1", "E6", "B3", "D3", "D2"] diff --git a/keyboards/hineybush/h660s/rules.mk b/keyboards/hineybush/h660s/rules.mk deleted file mode 100644 index 5ed3676575c..00000000000 --- a/keyboards/hineybush/h660s/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes diff --git a/keyboards/hineybush/h75_singa/info.json b/keyboards/hineybush/h75_singa/keyboard.json similarity index 97% rename from keyboards/hineybush/h75_singa/info.json rename to keyboards/hineybush/h75_singa/keyboard.json index 22a04e509da..a313213e67e 100644 --- a/keyboards/hineybush/h75_singa/info.json +++ b/keyboards/hineybush/h75_singa/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xEC9A", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "B2", "D4", "D5", "D3"], "rows": ["B0", "B1", "D0", "D1", "D2", "D6"] diff --git a/keyboards/hineybush/h75_singa/rules.mk b/keyboards/hineybush/h75_singa/rules.mk deleted file mode 100644 index 0a394ac16e9..00000000000 --- a/keyboards/hineybush/h75_singa/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hineybush/hineyg80/info.json b/keyboards/hineybush/hineyg80/keyboard.json similarity index 99% rename from keyboards/hineybush/hineyg80/info.json rename to keyboards/hineybush/hineyg80/keyboard.json index 1d7b00d4db9..fa6e3401204 100644 --- a/keyboards/hineybush/hineyg80/info.json +++ b/keyboards/hineybush/hineyg80/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["C7", "F7", "F6", "F5", "F4", "F1", "F0", "B7", "B0"], "rows": ["B2", "B3", "D0", "B1", "D2", "D1", "D5", "D3", "D6", "D4", "B4", "D7"] diff --git a/keyboards/hineybush/hineyg80/rules.mk b/keyboards/hineybush/hineyg80/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/hineybush/hineyg80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hineybush/physix/info.json b/keyboards/hineybush/physix/keyboard.json similarity index 98% rename from keyboards/hineybush/physix/info.json rename to keyboards/hineybush/physix/keyboard.json index 60d86fbebb7..a08e09af185 100644 --- a/keyboards/hineybush/physix/info.json +++ b/keyboards/hineybush/physix/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xEC81", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B3", "B2", "B1", "B0", "B5", "B4", "D7", "D6", "D4"], "rows": ["D0", "D1", "D2", "C7", "C6"] diff --git a/keyboards/hineybush/physix/rules.mk b/keyboards/hineybush/physix/rules.mk deleted file mode 100644 index 0922d3d5112..00000000000 --- a/keyboards/hineybush/physix/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hineybush/sm68/info.json b/keyboards/hineybush/sm68/keyboard.json similarity index 97% rename from keyboards/hineybush/sm68/info.json rename to keyboards/hineybush/sm68/keyboard.json index 234c595d481..d4280b6747f 100644 --- a/keyboards/hineybush/sm68/info.json +++ b/keyboards/hineybush/sm68/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xEC9F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D3", "D2"], "rows": ["B2", "B1", "B0", "D4", "D1"] diff --git a/keyboards/hineybush/sm68/rules.mk b/keyboards/hineybush/sm68/rules.mk deleted file mode 100644 index 3414d97c204..00000000000 --- a/keyboards/hineybush/sm68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hnahkb/freyr/info.json b/keyboards/hnahkb/freyr/keyboard.json similarity index 99% rename from keyboards/hnahkb/freyr/info.json rename to keyboards/hnahkb/freyr/keyboard.json index 26d1fc52d8a..4ddc37d3dce 100644 --- a/keyboards/hnahkb/freyr/info.json +++ b/keyboards/hnahkb/freyr/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1895", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B4", "D7", "D6", "D4", "B5", "C7", "C6", "F5", "F6", "F7"], "rows": ["D3", "B2", "B1", "B0", "E6", "F0", "D2", "D5", "F4", "F1"] diff --git a/keyboards/hnahkb/freyr/rules.mk b/keyboards/hnahkb/freyr/rules.mk deleted file mode 100644 index 26064ab2ac9..00000000000 --- a/keyboards/hnahkb/freyr/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hnahkb/stella/info.json b/keyboards/hnahkb/stella/keyboard.json similarity index 98% rename from keyboards/hnahkb/stella/info.json rename to keyboards/hnahkb/stella/keyboard.json index 98f8f721f30..13abbffbec2 100644 --- a/keyboards/hnahkb/stella/info.json +++ b/keyboards/hnahkb/stella/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0AB7", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "D7", "D6", "D4", "B5", "C7", "C6", "F5", "F6", "F7"], "rows": ["D3", "B2", "B1", "B0", "E6", "F0", "D2", "D5", "F4", "F1"] diff --git a/keyboards/hnahkb/stella/rules.mk b/keyboards/hnahkb/stella/rules.mk deleted file mode 100644 index b7e8d8e706b..00000000000 --- a/keyboards/hnahkb/stella/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/holyswitch/southpaw75/info.json b/keyboards/holyswitch/southpaw75/keyboard.json similarity index 96% rename from keyboards/holyswitch/southpaw75/info.json rename to keyboards/holyswitch/southpaw75/keyboard.json index a99be3e1ce7..1483e1fc315 100644 --- a/keyboards/holyswitch/southpaw75/info.json +++ b/keyboards/holyswitch/southpaw75/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5350", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "F7", "F6", "F5", "F4", "D0", "D1", "D7", "B4"], "rows": ["B2", "F0", "C6", "D4", "D3", "F1", "D2", "B5", "D5"] diff --git a/keyboards/holyswitch/southpaw75/rules.mk b/keyboards/holyswitch/southpaw75/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/holyswitch/southpaw75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/horizon/info.json b/keyboards/horizon/keyboard.json similarity index 95% rename from keyboards/horizon/info.json rename to keyboards/horizon/keyboard.json index 140194a9804..0d1c633e5fd 100644 --- a/keyboards/horizon/info.json +++ b/keyboards/horizon/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4", "D0"], "rows": ["D3", "D2", "D1", "F4"] diff --git a/keyboards/horizon/rules.mk b/keyboards/horizon/rules.mk deleted file mode 100644 index 03778480554..00000000000 --- a/keyboards/horizon/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -COMMAND_ENABLE = no # Commands for debug and configuration -CONSOLE_ENABLE = yes # Console for debug -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/info.json b/keyboards/horrortroll/chinese_pcb/black_e65/keyboard.json similarity index 99% rename from keyboards/horrortroll/chinese_pcb/black_e65/info.json rename to keyboards/horrortroll/chinese_pcb/black_e65/keyboard.json index 7ee7b8b3f88..cef69593d74 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/info.json +++ b/keyboards/horrortroll/chinese_pcb/black_e65/keyboard.json @@ -9,6 +9,16 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/rules.mk b/keyboards/horrortroll/chinese_pcb/black_e65/rules.mk deleted file mode 100644 index 1955f1d315b..00000000000 --- a/keyboards/horrortroll/chinese_pcb/black_e65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/horrortroll/chinese_pcb/devil68_pro/info.json b/keyboards/horrortroll/chinese_pcb/devil68_pro/keyboard.json similarity index 96% rename from keyboards/horrortroll/chinese_pcb/devil68_pro/info.json rename to keyboards/horrortroll/chinese_pcb/devil68_pro/keyboard.json index 6146bd517a8..77eac52ebd0 100644 --- a/keyboards/horrortroll/chinese_pcb/devil68_pro/info.json +++ b/keyboards/horrortroll/chinese_pcb/devil68_pro/keyboard.json @@ -58,6 +58,15 @@ "driver": "ws2812", "max_brightness": 200 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B1", "B0", "B5", "B6", "C6", "C7", "E2", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B7", "B3", "B2", "F6", "F7"] diff --git a/keyboards/horrortroll/chinese_pcb/devil68_pro/rules.mk b/keyboards/horrortroll/chinese_pcb/devil68_pro/rules.mk deleted file mode 100644 index 138bf78056e..00000000000 --- a/keyboards/horrortroll/chinese_pcb/devil68_pro/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# RGB Matrix enabled -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/horrortroll/paws60/info.json b/keyboards/horrortroll/paws60/keyboard.json similarity index 98% rename from keyboards/horrortroll/paws60/info.json rename to keyboards/horrortroll/paws60/keyboard.json index a8da9ee2c23..ac93b580a08 100644 --- a/keyboards/horrortroll/paws60/info.json +++ b/keyboards/horrortroll/paws60/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/horrortroll/paws60/rules.mk b/keyboards/horrortroll/paws60/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/horrortroll/paws60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/hp69/info.json b/keyboards/hp69/keyboard.json similarity index 96% rename from keyboards/hp69/info.json rename to keyboards/hp69/keyboard.json index e852321e897..83ed922a279 100644 --- a/keyboards/hp69/info.json +++ b/keyboards/hp69/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.1.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B12", "B15", "B10", "B13", "B14", "B11", "B8", "A0", "A1", "B5", "B0", "B2", "B6", "B1", "B4"], "rows": ["B3", "B7", "A10", "B9", "A9"] diff --git a/keyboards/hp69/rules.mk b/keyboards/hp69/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/hp69/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/huytbt/h50/info.json b/keyboards/huytbt/h50/keyboard.json similarity index 95% rename from keyboards/huytbt/h50/info.json rename to keyboards/huytbt/h50/keyboard.json index 4a7e60d3870..cd62966e58a 100644 --- a/keyboards/huytbt/h50/info.json +++ b/keyboards/huytbt/h50/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D7", "E6", "B4", "B5", "D2", "D3"], "rows": ["D1", "D0", "D4", "C6"] diff --git a/keyboards/huytbt/h50/rules.mk b/keyboards/huytbt/h50/rules.mk deleted file mode 100644 index 88b3b117198..00000000000 --- a/keyboards/huytbt/h50/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Disable keyboard backlight functionality From 0d9399234dbbe68d7db8c955cb3f3a2bc3cfd33f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 01:44:32 +0000 Subject: [PATCH 092/107] Bump tj-actions/changed-files from 42 to 43 (#23282) Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v42...v43) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/format.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index df080cfe8ce..a7d3d40974f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -35,7 +35,7 @@ jobs: - name: Get changed files id: file_changes - uses: tj-actions/changed-files@v42 + uses: tj-actions/changed-files@v43 with: use_rest_api: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a008ebb829f..290f5b66ebe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,7 +27,7 @@ jobs: - name: Get changed files id: file_changes - uses: tj-actions/changed-files@v42 + uses: tj-actions/changed-files@v43 with: use_rest_api: true From f0e219a1c8f5590976fede31c8fac5bf1e6f20ef Mon Sep 17 00:00:00 2001 From: AlanLiu <125098342+AlanSub@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:00:03 +0800 Subject: [PATCH 093/107] Modify wording in 'getting_started_introduction.md' (#23232) Co-authored-by: Joel Challis --- docs/getting_started_introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started_introduction.md b/docs/getting_started_introduction.md index 6dc51b82b73..80203353452 100644 --- a/docs/getting_started_introduction.md +++ b/docs/getting_started_introduction.md @@ -4,7 +4,7 @@ This page attempts to explain the basic information you need to know to work wit ## Basic QMK Structure -QMK is a fork of [Jun Wako](https://github.com/tmk)'s [tmk_keyboard](https://github.com/tmk/tmk_keyboard) project. The original TMK code, with modifications, can be found in the `tmk_core` folder. The QMK additions to the project may be found in the `quantum` folder. Keyboard projects may be found in the `handwired` and `keyboard` folders. +QMK is a fork of [Jun Wako](https://github.com/tmk)'s [tmk_keyboard](https://github.com/tmk/tmk_keyboard) project. The original TMK code, with modifications, can be found in the `tmk_core` folder. The QMK additions to the project may be found in the `quantum` folder. Keyboard projects may be found in the `keyboards` folder. ### Userspace Structure From add7c13d612e08180d575383dc12217b4d061884 Mon Sep 17 00:00:00 2001 From: Joe Scotto <8194147+joe-scotto@users.noreply.github.com> Date: Fri, 15 Mar 2024 01:03:23 -0400 Subject: [PATCH 094/107] Update ScottoAlp handwired keyboard to 12 column layout (#22962) Co-authored-by: Ryan --- .../handwired/scottokeebs/scottoalp/info.json | 100 +++++++++--------- .../scottoalp/keymaps/default/keymap.c | 40 +++---- .../handwired/scottokeebs/scottoalp/readme.md | 4 +- keyboards/scottokeebs/scotto34/info.json | 18 +++- 4 files changed, 90 insertions(+), 72 deletions(-) diff --git a/keyboards/handwired/scottokeebs/scottoalp/info.json b/keyboards/handwired/scottokeebs/scottoalp/info.json index 7a4210bb403..5bce6ae62c2 100644 --- a/keyboards/handwired/scottokeebs/scottoalp/info.json +++ b/keyboards/handwired/scottokeebs/scottoalp/info.json @@ -2,6 +2,12 @@ "manufacturer": "ScottoKeebs", "keyboard_name": "ScottoAlp", "maintainer": "joe-scotto", + "bootmagic": { + "matrix": [0, 1] + }, + "build": { + "lto": true + }, "development_board": "promicro", "diode_direction": "COL2ROW", "features": { @@ -13,10 +19,7 @@ "nkro": true }, "matrix_pins": { - // 4, 5, 6, 7, 8, 9, A3, A2, A1, A0 - "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5", "F6", "F7"], - - // 15, 14, 16, 10 + "cols": ["D1", "D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5", "F6", "F7", "D0"], "rows": ["B1", "B3", "B2", "B6"] }, "url": "https://scottokeebs.com", @@ -26,51 +29,52 @@ "vid": "0x534B" }, "layouts": { - "LAYOUT_ortho_3x10_5": { + "LAYOUT": { "layout": [ - // Row 1 - { "matrix": [0, 0], "x": 0, "y": 0 }, - { "matrix": [0, 1], "x": 1, "y": 0 }, - { "matrix": [0, 2], "x": 2, "y": 0 }, - { "matrix": [0, 3], "x": 3, "y": 0 }, - { "matrix": [0, 4], "x": 4, "y": 0 }, - { "matrix": [0, 5], "x": 5, "y": 0 }, - { "matrix": [0, 6], "x": 6, "y": 0 }, - { "matrix": [0, 7], "x": 7, "y": 0 }, - { "matrix": [0, 8], "x": 8, "y": 0 }, - { "matrix": [0, 9], "x": 9, "y": 0 }, - - // Row 2 - { "matrix": [1, 0], "x": 0, "y": 1 }, - { "matrix": [1, 1], "x": 1, "y": 1 }, - { "matrix": [1, 2], "x": 2, "y": 1 }, - { "matrix": [1, 3], "x": 3, "y": 1 }, - { "matrix": [1, 4], "x": 4, "y": 1 }, - { "matrix": [1, 5], "x": 5, "y": 1 }, - { "matrix": [1, 6], "x": 6, "y": 1 }, - { "matrix": [1, 7], "x": 7, "y": 1 }, - { "matrix": [1, 8], "x": 8, "y": 1 }, - { "matrix": [1, 9], "x": 9, "y": 1 }, - - // Row 3 - { "matrix": [2, 0], "x": 0, "y": 2 }, - { "matrix": [2, 1], "x": 1, "y": 2 }, - { "matrix": [2, 2], "x": 2, "y": 2 }, - { "matrix": [2, 3], "x": 3, "y": 2 }, - { "matrix": [2, 4], "x": 4, "y": 2 }, - { "matrix": [2, 5], "x": 5, "y": 2 }, - { "matrix": [2, 6], "x": 6, "y": 2 }, - { "matrix": [2, 7], "x": 7, "y": 2 }, - { "matrix": [2, 8], "x": 8, "y": 2 }, - { "matrix": [2, 9], "x": 9, "y": 2 }, - - // Row 4 - { "matrix": [3, 1], "x": 1.5, "y": 3 }, - { "matrix": [3, 2], "x": 2.5, "y": 3 }, - { "matrix": [3, 4], "x": 3.5, "y": 3, "w": 3 }, - { "matrix": [3, 6], "x": 6.5, "y": 3 }, - { "matrix": [3, 7], "x": 7.5, "y": 3 } + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [2, 10], "x": 10, "y": 2}, + {"matrix": [2, 11], "x": 11, "y": 2}, + {"matrix": [3, 1], "x": 0, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3} ] } } -} +} \ No newline at end of file diff --git a/keyboards/handwired/scottokeebs/scottoalp/keymaps/default/keymap.c b/keyboards/handwired/scottokeebs/scottoalp/keymaps/default/keymap.c index 88b4a4b0b43..cc334629f69 100644 --- a/keyboards/handwired/scottokeebs/scottoalp/keymaps/default/keymap.c +++ b/keyboards/handwired/scottokeebs/scottoalp/keymaps/default/keymap.c @@ -18,28 +18,28 @@ along with this program. If not, see . #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_3x10_5( - KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, - KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSPC, - LSFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, RSFT_T(KC_SLSH), - KC_LGUI, KC_LALT, LGUI_T(KC_SPC), LT(1, KC_TAB), LT(2, KC_ENT) + [0] = LAYOUT( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_ENT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSPC, KC_QUOT, + KC_LSFT, LSFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, RSFT_T(KC_SLSH), KC_RSFT, + KC_ESC, KC_LGUI, KC_LALT, LGUI_T(KC_SPC), LT(1, KC_TAB), LT(2, KC_ENT), KC_ESC ), - [1] = LAYOUT_ortho_3x10_5( - KC_UNDS, KC_MINS, KC_PLUS, KC_EQL, KC_COLN, KC_GRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_DEL, - KC_LCBR, KC_LPRN, KC_RPRN, KC_RCBR, KC_PIPE, KC_ESC, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, - LSFT_T(KC_LBRC), KC_QUOT, KC_DQUO, KC_RBRC, KC_SCLN, KC_TILDE, KC_VOLD, KC_MUTE, KC_VOLU, RSFT_T(KC_BSLS), - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + [1] = LAYOUT( + KC_TRNS, KC_UNDS, KC_MINS, KC_PLUS, KC_EQL, KC_COLN, KC_GRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_DEL, KC_TRNS, + KC_TRNS, KC_LCBR, KC_LPRN, KC_RPRN, KC_RCBR, KC_PIPE, KC_ESC, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, KC_TRNS, + KC_TRNS, LSFT_T(KC_LBRC), KC_QUOT, KC_DQUO, KC_RBRC, KC_SCLN, KC_TILDE, KC_VOLD, KC_MUTE, KC_VOLU, RSFT_T(KC_BSLS), KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [2] = LAYOUT_ortho_3x10_5( - KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_CAPS, KC_BSPC, - KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, - KC_LSFT, KC_NO, KC_NO, KC_NO, MO(3), KC_NO, KC_NO, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + [2] = LAYOUT( + KC_TRNS, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_CAPS, KC_BSPC, KC_TRNS, + KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + KC_TRNS, KC_LSFT, KC_NO, KC_NO, KC_NO, MO(3), KC_NO, KC_NO, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [3] = LAYOUT_ortho_3x10_5( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, - KC_F11, KC_NO, KC_NO, QK_BOOT, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + [3] = LAYOUT( + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, + KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS, + KC_TRNS, KC_F11, KC_NO, KC_NO, QK_BOOT, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ) }; \ No newline at end of file diff --git a/keyboards/handwired/scottokeebs/scottoalp/readme.md b/keyboards/handwired/scottokeebs/scottoalp/readme.md index 07c7d889de7..3f49d611992 100644 --- a/keyboards/handwired/scottokeebs/scottoalp/readme.md +++ b/keyboards/handwired/scottokeebs/scottoalp/readme.md @@ -2,7 +2,7 @@ ![ScottoAlp](https://i.imgur.com/XKpYcMgh.jpeg) -A 35-key ortholinear keyboard with a 3u spacebar and is compatible with both MX or Alps. Case files available [here](https://github.com/joe-scotto/scottokeebs). +A 35 or 43-key ortholinear keyboard with a 3u spacebar and is compatible with both MX or Alps. Case files available [here](https://github.com/joe-scotto/scottokeebs). * Keyboard Maintainer: [Joe Scotto](https://github.com/joe-scotto) * Hardware Supported: ATmega32U4 @@ -22,6 +22,6 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to 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 +* **Bootmagic reset**: Hold down the key at (0,1) in the matrix (usually the top left key or Escape) and plug in the keyboard * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available \ No newline at end of file diff --git a/keyboards/scottokeebs/scotto34/info.json b/keyboards/scottokeebs/scotto34/info.json index 72a1801bead..ecf3fed933f 100644 --- a/keyboards/scottokeebs/scotto34/info.json +++ b/keyboards/scottokeebs/scotto34/info.json @@ -21,7 +21,7 @@ "url": "https://scottokeebs.com", "usb": { "device_version": "1.0.0", - "pid": "0x1013", + "pid": "0x1019", "vid": "0x534B" }, "ws2812": { @@ -29,7 +29,21 @@ "driver": "vendor" }, "rgblight": { - "led_count": 1 + "led_count": 5, + "default": { + "animation": "rainbow_swirl" + }, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "alternating": true, + "twinkle": true + } }, "community_layouts": ["split_3x5_2"], "layouts": { From cba2b5645ff57adb42b6b9f8a23b4cfb09d4decb Mon Sep 17 00:00:00 2001 From: Wilba Date: Fri, 15 Mar 2024 16:09:20 +1100 Subject: [PATCH 095/107] Added WT65-G3 (HIBI HIBIKI) (#22888) --- keyboards/wilba_tech/wt65_g3/info.json | 395 ++++++++++++++++++ .../wt65_g3/keymaps/default/keymap.c | 25 ++ .../wilba_tech/wt65_g3/keymaps/via/keymap.c | 4 + .../wilba_tech/wt65_g3/keymaps/via/rules.mk | 1 + keyboards/wilba_tech/wt65_g3/readme.md | 19 + keyboards/wilba_tech/wt65_g3/rules.mk | 1 + 6 files changed, 445 insertions(+) create mode 100644 keyboards/wilba_tech/wt65_g3/info.json create mode 100644 keyboards/wilba_tech/wt65_g3/keymaps/default/keymap.c create mode 100644 keyboards/wilba_tech/wt65_g3/keymaps/via/keymap.c create mode 100644 keyboards/wilba_tech/wt65_g3/keymaps/via/rules.mk create mode 100644 keyboards/wilba_tech/wt65_g3/readme.md create mode 100644 keyboards/wilba_tech/wt65_g3/rules.mk diff --git a/keyboards/wilba_tech/wt65_g3/info.json b/keyboards/wilba_tech/wt65_g3/info.json new file mode 100644 index 00000000000..bf0e0ed9d06 --- /dev/null +++ b/keyboards/wilba_tech/wt65_g3/info.json @@ -0,0 +1,395 @@ +{ + "manufacturer": "wilba.tech", + "keyboard_name": "WT65-G3", + "maintainer": "Wilba", + "bootloader": "atmel-dfu", + "build": { + "lto": true + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], + "rows": ["F0", "F1", "F4", "F6", "F7"] + }, + "processor": "atmega32u4", + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, + "usb": { + "device_version": "0.0.1", + "pid": "0x003A", + "vid": "0x6582" + }, + "layouts": { + "LAYOUT_65_ansi_rwkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_65_ansi_rwkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [2, 13], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_65_iso_rwkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_65_iso_rwkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [2, 13], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_all": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [2, 13], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + } + } +} diff --git a/keyboards/wilba_tech/wt65_g3/keymaps/default/keymap.c b/keyboards/wilba_tech/wt65_g3/keymaps/default/keymap.c new file mode 100644 index 00000000000..159c2b0be26 --- /dev/null +++ b/keyboards/wilba_tech/wt65_g3/keymaps/default/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2024 Jason Williams (@wilba) +// SPDX-License-Identifier: GPL-2.0-or-later + +// Default layout for WT65-G3 +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_all( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NO, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + + // Fn1 Layer + [1] = LAYOUT_all( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_INS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + +}; diff --git a/keyboards/wilba_tech/wt65_g3/keymaps/via/keymap.c b/keyboards/wilba_tech/wt65_g3/keymaps/via/keymap.c new file mode 100644 index 00000000000..4fc052443e4 --- /dev/null +++ b/keyboards/wilba_tech/wt65_g3/keymaps/via/keymap.c @@ -0,0 +1,4 @@ +// Copyright 2024 Jason Williams (@wilba) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "../default/keymap.c" diff --git a/keyboards/wilba_tech/wt65_g3/keymaps/via/rules.mk b/keyboards/wilba_tech/wt65_g3/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/wilba_tech/wt65_g3/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/wilba_tech/wt65_g3/readme.md b/keyboards/wilba_tech/wt65_g3/readme.md new file mode 100644 index 00000000000..12744874d75 --- /dev/null +++ b/keyboards/wilba_tech/wt65_g3/readme.md @@ -0,0 +1,19 @@ +# wilba.tech WT65-G3 + +WT65-G3 is a keyboard PCB supporting 65% ANSI/ISO layout, 6.25U/7U bottom row (no blocker) and full/split backspace. + +Initially designed for the [HIBI HIBIKI](https://hibi.mx/products/hibiki) + +- Keyboard Maintainer: [wilba](https://github.com/wilba) +- Hardware Supported: wilba.tech WT65-G3-HIBI +- Hardware Availability: [HIBI](https://hibi.mx/products/hibiki) + +Make example for this keyboard (after setting up your build environment): + + make wilba_tech/wt65_g3:default + +Flashing example for this keyboard: + + make wilba_tech/wt65_g3: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). diff --git a/keyboards/wilba_tech/wt65_g3/rules.mk b/keyboards/wilba_tech/wt65_g3/rules.mk new file mode 100644 index 00000000000..c80812f6e0a --- /dev/null +++ b/keyboards/wilba_tech/wt65_g3/rules.mk @@ -0,0 +1 @@ +# This file is intentionally blank From c5f544cd9696eb607e88b921d3fc31959ada914a Mon Sep 17 00:00:00 2001 From: Wilba Date: Fri, 15 Mar 2024 16:10:17 +1100 Subject: [PATCH 096/107] Added WT65-H3 (HIBI HIBIKI) (#22886) --- keyboards/wilba_tech/wt65_h3/info.json | 390 ++++++++++++++++++ .../wt65_h3/keymaps/default/keymap.c | 24 ++ .../wilba_tech/wt65_h3/keymaps/via/keymap.c | 4 + .../wilba_tech/wt65_h3/keymaps/via/rules.mk | 1 + keyboards/wilba_tech/wt65_h3/readme.md | 19 + keyboards/wilba_tech/wt65_h3/rules.mk | 1 + 6 files changed, 439 insertions(+) create mode 100644 keyboards/wilba_tech/wt65_h3/info.json create mode 100644 keyboards/wilba_tech/wt65_h3/keymaps/default/keymap.c create mode 100644 keyboards/wilba_tech/wt65_h3/keymaps/via/keymap.c create mode 100644 keyboards/wilba_tech/wt65_h3/keymaps/via/rules.mk create mode 100644 keyboards/wilba_tech/wt65_h3/readme.md create mode 100644 keyboards/wilba_tech/wt65_h3/rules.mk diff --git a/keyboards/wilba_tech/wt65_h3/info.json b/keyboards/wilba_tech/wt65_h3/info.json new file mode 100644 index 00000000000..7cef91a68c1 --- /dev/null +++ b/keyboards/wilba_tech/wt65_h3/info.json @@ -0,0 +1,390 @@ +{ + "manufacturer": "wilba.tech", + "keyboard_name": "WT65-H3", + "maintainer": "Wilba", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], + "rows": ["F0", "F1", "F4", "F6", "F7"] + }, + "processor": "atmega32u4", + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, + "usb": { + "device_version": "0.0.1", + "pid": "0x0036", + "vid": "0x6582" + }, + "layouts": { + "LAYOUT_65_ansi_rwkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_65_ansi_rwkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [2, 13], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_65_ansi_wkl": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.5}, + {"matrix": [4, 5], "x": 3, "y": 4, "w": 7}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_65_ansi_wkl_split_bs": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [2, 13], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.5}, + {"matrix": [4, 5], "x": 3, "y": 4, "w": 7}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + }, + "LAYOUT_all": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [2, 13], "x": 14, "y": 0}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + } + } +} diff --git a/keyboards/wilba_tech/wt65_h3/keymaps/default/keymap.c b/keyboards/wilba_tech/wt65_h3/keymaps/default/keymap.c new file mode 100644 index 00000000000..3fd505a748d --- /dev/null +++ b/keyboards/wilba_tech/wt65_h3/keymaps/default/keymap.c @@ -0,0 +1,24 @@ +// Copyright 2024 Jason Williams (@wilba) +// SPDX-License-Identifier: GPL-2.0-or-later + +// Default layout for WT65-H3 +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_all( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NO, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + + // Fn1 Layer + [1] = LAYOUT_all( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_INS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) +}; diff --git a/keyboards/wilba_tech/wt65_h3/keymaps/via/keymap.c b/keyboards/wilba_tech/wt65_h3/keymaps/via/keymap.c new file mode 100644 index 00000000000..4fc052443e4 --- /dev/null +++ b/keyboards/wilba_tech/wt65_h3/keymaps/via/keymap.c @@ -0,0 +1,4 @@ +// Copyright 2024 Jason Williams (@wilba) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "../default/keymap.c" diff --git a/keyboards/wilba_tech/wt65_h3/keymaps/via/rules.mk b/keyboards/wilba_tech/wt65_h3/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/wilba_tech/wt65_h3/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/wilba_tech/wt65_h3/readme.md b/keyboards/wilba_tech/wt65_h3/readme.md new file mode 100644 index 00000000000..7e57842e8f2 --- /dev/null +++ b/keyboards/wilba_tech/wt65_h3/readme.md @@ -0,0 +1,19 @@ +# wilba.tech WT65-H3 + +WT65-H3 is a keyboard PCB supporting 65% ANSI layout, 6.25U/7U bottom row (no blocker) and full/split backspace. + +Initially designed for the [HIBI HIBIKI](https://hibi.mx/products/hibiki) + +- Keyboard Maintainer: [wilba](https://github.com/wilba) +- Hardware Supported: wilba.tech WT65-H3-HIBI +- Hardware Availability: [HIBI](https://hibi.mx/products/hibiki) + +Make example for this keyboard (after setting up your build environment): + + make wilba_tech/wt65_h3:default + +Flashing example for this keyboard: + + make wilba_tech/wt65_h3: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). diff --git a/keyboards/wilba_tech/wt65_h3/rules.mk b/keyboards/wilba_tech/wt65_h3/rules.mk new file mode 100644 index 00000000000..c80812f6e0a --- /dev/null +++ b/keyboards/wilba_tech/wt65_h3/rules.mk @@ -0,0 +1 @@ +# This file is intentionally blank From 68e8d74188a251336bf2eaa8d58e1e04983ac29e Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Thu, 14 Mar 2024 22:15:44 -0700 Subject: [PATCH 097/107] [Keyboard] Overhaul ploopyco devices (#22967) --- keyboards/ploopyco/{ => common}/opt_encoder.h | 0 .../opt_encoder_default.c} | 14 +- .../{ => common}/opt_encoder_simple.c | 29 +-- keyboards/ploopyco/common/opt_encoder_tiny.c | 116 +++++++++ keyboards/ploopyco/madromys/config.h | 5 +- keyboards/ploopyco/madromys/info.json | 4 +- keyboards/ploopyco/madromys/madromys.c | 176 ------------- keyboards/ploopyco/madromys/madromys.h | 37 --- keyboards/ploopyco/madromys/readme.md | 15 +- keyboards/ploopyco/mouse/config.h | 5 + keyboards/ploopyco/mouse/info.json | 12 +- .../mouse/keymaps/drag_scroll/keymap.c | 27 -- .../mouse/keymaps/drag_scroll/readme.md | 3 - keyboards/ploopyco/mouse/mouse.h | 49 ---- keyboards/ploopyco/mouse/readme.md | 46 +--- keyboards/ploopyco/mouse/rules.mk | 17 -- .../ploopyco/{mouse/mouse.c => ploopyco.c} | 159 ++++++------ .../{trackball/trackball.h => ploopyco.h} | 8 - keyboards/ploopyco/post_rules.mk | 12 + keyboards/ploopyco/readme.md | 45 ++++ keyboards/ploopyco/trackball/config.h | 6 + keyboards/ploopyco/trackball/info.json | 6 + .../trackball/keymaps/drag_scroll/keymap.c | 30 --- .../trackball/keymaps/drag_scroll/readme.md | 3 - keyboards/ploopyco/trackball/readme.md | 43 +--- keyboards/ploopyco/trackball/rules.mk | 17 -- keyboards/ploopyco/trackball/trackball.c | 243 ------------------ keyboards/ploopyco/trackball_mini/config.h | 5 + keyboards/ploopyco/trackball_mini/info.json | 9 +- .../keymaps/drag_scroll/keymap.c | 66 ----- .../keymaps/drag_scroll/readme.md | 5 - keyboards/ploopyco/trackball_mini/readme.md | 50 +--- keyboards/ploopyco/trackball_mini/rules.mk | 17 -- .../ploopyco/trackball_mini/trackball_mini.c | 214 --------------- .../ploopyco/trackball_mini/trackball_mini.h | 49 ---- keyboards/ploopyco/trackball_nano/info.json | 3 + .../trackball_nano/keymaps/lkbm/keymap.c | 167 ------------ .../trackball_nano/keymaps/lkbm/readme.md | 2 - .../trackball_nano/keymaps/lkbm/rules.mk | 1 - keyboards/ploopyco/trackball_nano/readme.md | 19 +- keyboards/ploopyco/trackball_nano/rules.mk | 13 - .../ploopyco/trackball_nano/trackball_nano.c | 115 --------- .../ploopyco/trackball_nano/trackball_nano.h | 37 --- keyboards/ploopyco/trackball_thumb/config.h | 16 +- .../keymaps/drag_scroll/keymap.c | 30 --- .../keymaps/drag_scroll/readme.md | 3 - .../trackball_thumb/keymaps/via/rules.mk | 1 + keyboards/ploopyco/trackball_thumb/readme.md | 41 +-- keyboards/ploopyco/trackball_thumb/rules.mk | 4 - .../trackball_thumb/trackball_thumb.c | 225 ---------------- .../trackball_thumb/trackball_thumb.h | 45 ---- 51 files changed, 355 insertions(+), 1909 deletions(-) rename keyboards/ploopyco/{ => common}/opt_encoder.h (100%) rename keyboards/ploopyco/{opt_encoder.c => common/opt_encoder_default.c} (93%) rename keyboards/ploopyco/{ => common}/opt_encoder_simple.c (85%) create mode 100644 keyboards/ploopyco/common/opt_encoder_tiny.c delete mode 100644 keyboards/ploopyco/madromys/madromys.c delete mode 100644 keyboards/ploopyco/madromys/madromys.h delete mode 100644 keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c delete mode 100644 keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md delete mode 100644 keyboards/ploopyco/mouse/mouse.h rename keyboards/ploopyco/{mouse/mouse.c => ploopyco.c} (58%) rename keyboards/ploopyco/{trackball/trackball.h => ploopyco.h} (89%) create mode 100644 keyboards/ploopyco/post_rules.mk create mode 100644 keyboards/ploopyco/readme.md delete mode 100644 keyboards/ploopyco/trackball/keymaps/drag_scroll/keymap.c delete mode 100644 keyboards/ploopyco/trackball/keymaps/drag_scroll/readme.md delete mode 100644 keyboards/ploopyco/trackball/trackball.c delete mode 100644 keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c delete mode 100644 keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/readme.md delete mode 100644 keyboards/ploopyco/trackball_mini/trackball_mini.c delete mode 100644 keyboards/ploopyco/trackball_mini/trackball_mini.h delete mode 100644 keyboards/ploopyco/trackball_nano/keymaps/lkbm/keymap.c delete mode 100644 keyboards/ploopyco/trackball_nano/keymaps/lkbm/readme.md delete mode 100644 keyboards/ploopyco/trackball_nano/keymaps/lkbm/rules.mk delete mode 100644 keyboards/ploopyco/trackball_nano/trackball_nano.c delete mode 100644 keyboards/ploopyco/trackball_nano/trackball_nano.h delete mode 100644 keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/keymap.c delete mode 100644 keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/readme.md delete mode 100644 keyboards/ploopyco/trackball_thumb/trackball_thumb.c delete mode 100644 keyboards/ploopyco/trackball_thumb/trackball_thumb.h diff --git a/keyboards/ploopyco/opt_encoder.h b/keyboards/ploopyco/common/opt_encoder.h similarity index 100% rename from keyboards/ploopyco/opt_encoder.h rename to keyboards/ploopyco/common/opt_encoder.h diff --git a/keyboards/ploopyco/opt_encoder.c b/keyboards/ploopyco/common/opt_encoder_default.c similarity index 93% rename from keyboards/ploopyco/opt_encoder.c rename to keyboards/ploopyco/common/opt_encoder_default.c index 226db0a8094..cc8d3b7e22a 100644 --- a/keyboards/ploopyco/opt_encoder.c +++ b/keyboards/ploopyco/common/opt_encoder_default.c @@ -142,7 +142,7 @@ int8_t opt_encoder_handler(uint16_t curA, uint16_t curB) { } } - else { // state must be LOHI + else { // state must be LOHI if (sA == HI && sB == HI) { state = HIHI; lohif = true; @@ -157,9 +157,13 @@ int8_t opt_encoder_handler(uint16_t curA, uint16_t curB) { return ret; } -void calculateThresholdA(int curA) { scrollThresholdA = calculateThreshold(curA, &lowA, &highA, &cLowA, &cHighA, arLowA, arHighA, &lowIndexA, &highIndexA, &lowOverflowA, &highOverflowA); } +void calculateThresholdA(int curA) { + scrollThresholdA = calculateThreshold(curA, &lowA, &highA, &cLowA, &cHighA, arLowA, arHighA, &lowIndexA, &highIndexA, &lowOverflowA, &highOverflowA); +} -void calculateThresholdB(int curB) { scrollThresholdB = calculateThreshold(curB, &lowB, &highB, &cLowB, &cHighB, arLowB, arHighB, &lowIndexB, &highIndexB, &lowOverflowB, &highOverflowB); } +void calculateThresholdB(int curB) { + scrollThresholdB = calculateThreshold(curB, &lowB, &highB, &cLowB, &cHighB, arLowB, arHighB, &lowIndexB, &highIndexB, &lowOverflowB, &highOverflowB); +} int calculateThreshold(int cur, int* low, int* high, bool* cLow, bool* cHigh, int arLow[], int arHigh[], int* lowIndex, int* highIndex, bool* lowOverflow, bool* highOverflow) { if (cur < *low) *low = cur; @@ -236,7 +240,9 @@ int calculateThreshold(int cur, int* low, int* high, bool* cLow, bool* cHigh, in return thresholdEquation(calcLow, calcHigh); } -int thresholdEquation(int lo, int hi) { return ((hi - lo) / 3) + lo; } +int thresholdEquation(int lo, int hi) { + return ((hi - lo) / 3) + lo; +} void incrementIndex(int* index, bool* ovflw) { if (*index < SCROLLER_AR_SIZE - 1) diff --git a/keyboards/ploopyco/opt_encoder_simple.c b/keyboards/ploopyco/common/opt_encoder_simple.c similarity index 85% rename from keyboards/ploopyco/opt_encoder_simple.c rename to keyboards/ploopyco/common/opt_encoder_simple.c index c30deb9ca4b..9c1bbb8577b 100644 --- a/keyboards/ploopyco/opt_encoder_simple.c +++ b/keyboards/ploopyco/common/opt_encoder_simple.c @@ -63,7 +63,7 @@ typedef enum { CALIBRATION, /* Recalibrate encoder state by waiting for a 01 -> 00 or 10 -> 00 transistion */ - DECODE /* Translate changes in the encoder state into movement */ + DECODE /* Translate changes in the encoder state into movement */ } encoder_state_t; static encoder_state_t mode; @@ -87,15 +87,14 @@ static const uint8_t movement[] = { // 10 -> 00, 01, 10, 11 MOVE_DOWN, MOVE_ERR, MOVE_NONE, MOVE_UP, // 11 -> 00, 01, 10, 11 - MOVE_ERR, MOVE_UP, MOVE_DOWN, MOVE_NONE -}; + MOVE_ERR, MOVE_UP, MOVE_DOWN, MOVE_NONE}; void opt_encoder_init(void) { - mode = CALIBRATION; + mode = CALIBRATION; lastState = 0; - lowA = ENCODER_MAX; - lowB = ENCODER_MAX; + lowA = ENCODER_MAX; + lowB = ENCODER_MAX; highA = ENCODER_MIN; highB = ENCODER_MIN; } @@ -104,26 +103,22 @@ int8_t opt_encoder_handler(uint16_t encA, uint16_t encB) { int8_t result = 0; highA = MAX(encA, highA); - lowA = MIN(encA, lowA); + lowA = MIN(encA, lowA); highB = MAX(encB, highB); - lowB = MIN(encB, lowB); + lowB = MIN(encB, lowB); /* Only compute the thresholds after a large enough range is established */ if (highA - lowA > SCROLL_THRESH_RANGE_LIM && highB - lowB > SCROLL_THRESH_RANGE_LIM) { - const int16_t lowThresholdA = (highA + lowA) / 4; + const int16_t lowThresholdA = (highA + lowA) / 4; const int16_t highThresholdA = (highA + lowA) - lowThresholdA; - const int16_t lowThresholdB = (highB + lowB) / 4; + const int16_t lowThresholdB = (highB + lowB) / 4; const int16_t highThresholdB = (highB + lowB) - lowThresholdB; - uint8_t state = MAKE_STATE( - STATE_A(lastState) ? encA > lowThresholdA : encA > highThresholdA, - STATE_B(lastState) ? encB > lowThresholdB : encB > highThresholdB - ); + uint8_t state = MAKE_STATE(STATE_A(lastState) ? encA > lowThresholdA : encA > highThresholdA, STATE_B(lastState) ? encB > lowThresholdB : encB > highThresholdB); switch (mode) { case CALIBRATION: - if ((lastState == HILO && state == LOLO) - || (lastState == LOHI && state == LOLO)) + if ((lastState == HILO && state == LOLO) || (lastState == LOHI && state == LOLO)) mode = DECODE; else mode = CALIBRATION; @@ -134,7 +129,7 @@ int8_t opt_encoder_handler(uint16_t encA, uint16_t encB) { /* If we detect a state change that should not be possible, * then the wheel might have moved too fast and we need to * recalibrate the encoder position. */ - mode = result == MOVE_ERR ? CALIBRATION : mode; + mode = result == MOVE_ERR ? CALIBRATION : mode; result = result == MOVE_ERR ? MOVE_NONE : result; break; diff --git a/keyboards/ploopyco/common/opt_encoder_tiny.c b/keyboards/ploopyco/common/opt_encoder_tiny.c new file mode 100644 index 00000000000..29796a5fa63 --- /dev/null +++ b/keyboards/ploopyco/common/opt_encoder_tiny.c @@ -0,0 +1,116 @@ +/* Copyright 2023 Leorize + * Copyright 2011 Ben Buxton + * + * 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 3 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 . + */ +#include "opt_encoder.h" +#include +#include + +/* An extremely simple implementation of the encoder: + * + * For read out, the mechanism mimics that of a Schmitt trigger, with + * statically defined high/low thresholds used instead of computing + * one at runtime. + * + * The advantage of this approach is computing less in the decoder + * implementation and allow the state to be measured before the wheel + * moved. + * + * Compared to opt_encoder_simple.c, the use of an intermediary state + * reduces sensitivity and de-sensitize against tiny movements caused + * when lifting finger off the wheel. + * + * For turning decoded values into rotation, an algorithm inspired by + * http://www.buxtronix.net/2011/10/rotary-encoders-done-properly.html + * is employed. + */ + +#if !defined(ENCODER_LOW_THRES_A) || !defined(ENCODER_HIGH_THRES_A) +# error "The thresholds for phototransistors A is not defined in config.h" +#endif +#if !defined(ENCODER_LOW_THRES_B) || !defined(ENCODER_HIGH_THRES_B) +# error "The thresholds for phototransistors B is not defined in config.h" +#endif +/* + * Sample values, captured for a Ploopy Mini Trackball + * + * The following min-max values was captured by aggregating data recorded + * when debug_encoder is enabled: + * + * A: min: 0, max: 214 + * B: min: 0, max: 204 + * + * The threshold specified is then defined at the 1/4 and the 3/4 points. + * + * As these values might vary between units, you're encouraged to + * measure your own. + */ +#if 0 +# define ENCODER_LOW_THRES_A 53 +# define ENCODER_HIGH_THRES_A 161 +# define ENCODER_LOW_THRES_B 52 +# define ENCODER_HIGH_THRES_B 153 +#endif + +/* Utilities for composing the encoder state */ +#define MAKE_STATE(HI_A, HI_B) (((uint8_t)((HI_A) & 0x1) << 1) | ((uint8_t)((HI_B) & 0x1))) +#define STATE_A(st) ((st & 0x2) >> 1) +#define STATE_B(st) (st & 0x1) + +typedef enum { + START, + DOWN_BEGIN, + UP_BEGIN, + START_MID, + DOWN_BEGIN_MID, + UP_BEGIN_MID, + STATE_MASK = 0xf, /* 0b1111 */ + EMIT_UP = 0x10, + EMIT_UP_MID = EMIT_UP & START_MID, + EMIT_DOWN = 0x80, + EMIT_DOWN_MID = EMIT_DOWN & START_MID, + EMIT_MASK = 0xf0 +} encoder_state_t; + +static encoder_state_t state; +static uint8_t encState; + +static const uint8_t transitions[] = { + // clang-format off + // START -> 00, 01, 10, 11 + START, DOWN_BEGIN, UP_BEGIN, START_MID, + // DOWN_BEGIN -> 00, 01, 10, 11 + START, DOWN_BEGIN, START, EMIT_DOWN_MID, + // UP_BEGIN -> 00, 01, 10, 11 + START, START, UP_BEGIN, EMIT_UP_MID, + // START_MID -> 00, 01, 10, 11 + START, UP_BEGIN_MID, DOWN_BEGIN_MID, START_MID, + // DOWN_BEGIN_MID -> 00, 01, 10, 11 + EMIT_DOWN, START_MID, DOWN_BEGIN_MID, START_MID, + // UP_BEGIN_MID -> 00, 01, 10, 11 + EMIT_UP, UP_BEGIN_MID, START_MID, START_MID, + // clang-format on +}; + +void opt_encoder_init(void) { + state = START; + encState = 0; +} + +int8_t opt_encoder_handler(uint16_t encA, uint16_t encB) { + encState = MAKE_STATE((STATE_A(encState) & (encA > ENCODER_LOW_THRES_A)) | (encA > ENCODER_HIGH_THRES_A), (STATE_B(encState) & (encB > ENCODER_LOW_THRES_B)) | (encB > ENCODER_HIGH_THRES_B)); + state = transitions[((state & STATE_MASK) << 2) + encState]; + return state & EMIT_MASK; +} diff --git a/keyboards/ploopyco/madromys/config.h b/keyboards/ploopyco/madromys/config.h index 19fa1fada40..db600a16d1f 100644 --- a/keyboards/ploopyco/madromys/config.h +++ b/keyboards/ploopyco/madromys/config.h @@ -18,6 +18,9 @@ #pragma once +#define UNUSABLE_PINS \ + { GP1, GP3, GP4, GP6, GP8, GP10, GP14, GP16, GP18, GP20, GP22, GP24, GP25, GP26, GP27, GP28, GP29 } + // #define ROTATIONAL_TRANSFORM_ANGLE 0 #define POINTING_DEVICE_INVERT_Y @@ -26,4 +29,4 @@ #define PMW33XX_CS_PIN GP5 #define SPI_SCK_PIN GP2 #define SPI_MISO_PIN GP0 -#define SPI_MOSI_PIN GP7 \ No newline at end of file +#define SPI_MOSI_PIN GP7 diff --git a/keyboards/ploopyco/madromys/info.json b/keyboards/ploopyco/madromys/info.json index e39f593df9f..b5e74d3bc2d 100644 --- a/keyboards/ploopyco/madromys/info.json +++ b/keyboards/ploopyco/madromys/info.json @@ -15,7 +15,7 @@ "extrakey": true, "mousekey": true, "nkro": true, - "pointing_device": true, + "pointing_device": true }, "layouts": { "LAYOUT": { @@ -31,5 +31,5 @@ }, "dynamic_keymap": { "layer_count": 8 - }, + } } diff --git a/keyboards/ploopyco/madromys/madromys.c b/keyboards/ploopyco/madromys/madromys.c deleted file mode 100644 index 8ea1bcdbd78..00000000000 --- a/keyboards/ploopyco/madromys/madromys.c +++ /dev/null @@ -1,176 +0,0 @@ -/* Copyright 2023 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * - * 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 . - */ - -#include "madromys.h" - -#ifndef PLOOPY_DPI_OPTIONS -# define PLOOPY_DPI_OPTIONS \ - { 600, 900, 1200, 1600 } -# ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 1 -# endif -#endif -#ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 0 -#endif -#ifndef PLOOPY_DRAGSCROLL_DPI -# define PLOOPY_DRAGSCROLL_DPI 100 // Fixed-DPI Drag Scroll -#endif -#ifndef PLOOPY_DRAGSCROLL_FIXED -# define PLOOPY_DRAGSCROLL_FIXED 1 -#endif -#ifndef PLOOPY_DRAGSCROLL_MULTIPLIER -# define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75 // Variable-DPI Drag Scroll -#endif -#ifndef PLOOPY_DRAGSCROLL_SEMAPHORE -# define PLOOPY_DRAGSCROLL_SEMAPHORE 4 -#endif -#ifndef PLOOPY_DRAGSCROLL_MOMENTARY -# define PLOOPY_DRAGSCROLL_MOMENTARY 1 -#endif -#ifndef PLOOPY_DRAGSCROLL_INVERT -# define PLOOPY_DRAGSCROLL_INVERT 1 -#endif - -keyboard_config_t keyboard_config; -uint16_t dpi_array[] = PLOOPY_DPI_OPTIONS; -#define DPI_OPTION_SIZE (sizeof(dpi_array) / sizeof(uint16_t)) - -// TODO: Implement libinput profiles -// https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html -// Compile time accel selection -// Valid options are ACC_NONE, ACC_LINEAR, ACC_CUSTOM, ACC_QUADRATIC - -// Trackball State -bool is_drag_scroll = false; - -// drag scroll divisor state -int8_t drag_scroll_x_semaphore = 0; -int8_t drag_scroll_y_semaphore = 0; - -report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { - if (is_drag_scroll) { - int16_t mouse_report_x_temp = mouse_report.x; - int16_t mouse_report_y_temp = mouse_report.y; - int16_t mouse_report_x_calc = 0; - int16_t mouse_report_y_calc = 0; - int16_t valx = (mouse_report_x_temp > 0) ? -1 : 1; - int16_t valy = (mouse_report_y_temp > 0) ? -1 : 1; - - while (mouse_report_x_temp != 0) { - mouse_report_x_temp += valx; - drag_scroll_x_semaphore -= valx; - - if (abs(drag_scroll_x_semaphore) >= PLOOPY_DRAGSCROLL_SEMAPHORE) { - mouse_report_x_calc -= valx; - drag_scroll_x_semaphore = 0; - } - } - - while (mouse_report_y_temp != 0) { - mouse_report_y_temp += valy; - drag_scroll_y_semaphore -= valy; - - if (abs(drag_scroll_y_semaphore) >= PLOOPY_DRAGSCROLL_SEMAPHORE) { - mouse_report_y_calc -= valy; - drag_scroll_y_semaphore = 0; - } - } - - mouse_report.h = mouse_report_x_calc; - -#ifdef PLOOPY_DRAGSCROLL_INVERT - // Invert vertical scroll direction - mouse_report.v = -mouse_report_y_calc; -#else - mouse_report.v = mouse_report_y_calc; -#endif - mouse_report.x = 0; - mouse_report.y = 0; - } - - return pointing_device_task_user(mouse_report); -} - -bool process_record_kb(uint16_t keycode, keyrecord_t* record) { - if (!process_record_user(keycode, record)) { - return false; - } - - if (keycode == DPI_CONFIG && record->event.pressed) { - keyboard_config.dpi_config = (keyboard_config.dpi_config + 1) % DPI_OPTION_SIZE; - eeconfig_update_kb(keyboard_config.raw); - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); - } - - if (keycode == DRAG_SCROLL) { -#ifndef PLOOPY_DRAGSCROLL_MOMENTARY - if (record->event.pressed) -#endif - { - is_drag_scroll ^= 1; - } -#ifdef PLOOPY_DRAGSCROLL_FIXED - pointing_device_set_cpi(is_drag_scroll ? PLOOPY_DRAGSCROLL_DPI : dpi_array[keyboard_config.dpi_config]); -#else - pointing_device_set_cpi(is_drag_scroll ? (dpi_array[keyboard_config.dpi_config] * PLOOPY_DRAGSCROLL_MULTIPLIER) : dpi_array[keyboard_config.dpi_config]); -#endif - } - - return true; -} - -// Hardware Setup -void keyboard_pre_init_kb(void) { - // debug_enable = true; - // debug_matrix = true; - // debug_mouse = true; - // debug_encoder = true; - - /* Ground all output pins connected to ground. This provides additional - * pathways to ground. If you're messing with this, know this: driving ANY - * of these pins high will cause a short. On the MCU. Ka-blooey. - */ - const pin_t unused_pins[] = { GP1, GP3, GP4, GP6, GP8, GP10, GP14, GP16, - GP18, GP20, GP22, GP24, GP25, GP26, GP27, GP28, GP29 }; - - for (uint8_t i = 0; i < (sizeof(unused_pins) / sizeof(pin_t)); i++) { - setPinOutput(unused_pins[i]); - writePinLow(unused_pins[i]); - } - - keyboard_pre_init_user(); -} - -void pointing_device_init_kb(void) { pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); } - -void eeconfig_init_kb(void) { - keyboard_config.dpi_config = PLOOPY_DPI_DEFAULT; - eeconfig_update_kb(keyboard_config.raw); - eeconfig_init_user(); -} - -void matrix_init_kb(void) { - // is safe to just read DPI setting since matrix init - // comes before pointing device init. - keyboard_config.raw = eeconfig_read_kb(); - if (keyboard_config.dpi_config > DPI_OPTION_SIZE) { - eeconfig_init_kb(); - } - matrix_init_user(); -} diff --git a/keyboards/ploopyco/madromys/madromys.h b/keyboards/ploopyco/madromys/madromys.h deleted file mode 100644 index 944cce937b4..00000000000 --- a/keyboards/ploopyco/madromys/madromys.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2023 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * - * 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 . - */ - -#pragma once - -#include "quantum.h" - -typedef union { - uint32_t raw; - struct { - uint8_t dpi_config; - }; -} keyboard_config_t; -_Static_assert(sizeof(keyboard_config_t) == sizeof(uint32_t), "keyboard_config_t size mismatch compared to EEPROM area"); - -extern keyboard_config_t keyboard_config; -extern uint16_t dpi_array[]; - -enum ploopy_keycodes { - DPI_CONFIG = QK_KB_0, - DRAG_SCROLL, -}; diff --git a/keyboards/ploopyco/madromys/readme.md b/keyboards/ploopyco/madromys/readme.md index 456a3c7db20..4f9d7579539 100644 --- a/keyboards/ploopyco/madromys/readme.md +++ b/keyboards/ploopyco/madromys/readme.md @@ -27,17 +27,6 @@ If you want to upload a new firmware file (a ".uf2" file, like "madromys_awesome **TIP**: If your firmware is in some kind of strange state and uploading new firmware isn't fixing it, try uploading [a flash nuke](https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/circuitpython#flash-resetting-uf2-3083182) to the Madromys board before flashing the new firmware. It wipes the memory of the Madromys board completely clean, which can help clear a few types of errors. -# Drag Scroll +# Customizing your Ploopy Madromys -Drag Scroll is a custom keycode for Ploopy devices that allows you to hold or tap a button and have the mouse movement translate into scrolling instead. - -Nothing needs to be enabled to use this functionality; it's enabled on Madromys by default. - -### Drag Scroll Configuration - -* `#define PLOOPY_DRAGSCROLL_MOMENTARY` - Makes the key into a momentary key, rather than a toggle. -* `#define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75` - Sets the DPI multiplier to use when drag scroll is enabled. -* `#define PLOOPY_DRAGSCROLL_FIXED` - Normally, when activating Drag Scroll, it uses a fraction of the current DPI. You can define this to use a specific, set DPI rather than a fraction of the current DPI. - * `#define PLOOPY_DRAGSCROLL_DPI 100` - When the fixed DPI option is enabled, this sets the DPI to be used for Drag Scroll. -* `#define PLOOPY_DRAGSCROLL_INVERT` - This reverses the direction that the scroll is performed. -* `#define PLOOPY_DRAGSCROLL_SEMAPHORE` - This is a divisor on the drag scroll sensitivity. The default is 0, which means that the drag scroll is at maximum sensitivity. A value of 4 would mean that the drag scroll is 4 times less sensitive. \ No newline at end of file +You can find customziation options [here](../readme.md). diff --git a/keyboards/ploopyco/mouse/config.h b/keyboards/ploopyco/mouse/config.h index 86af11fc94b..0375a8875a4 100644 --- a/keyboards/ploopyco/mouse/config.h +++ b/keyboards/ploopyco/mouse/config.h @@ -33,5 +33,10 @@ /* PMW33XX Settings */ #define PMW33XX_CS_PIN B0 +#define ENCODER_BUTTON_COL 1 +#define ENCODER_BUTTON_ROW 0 /* Custom encoder needs to specify just how many encoders we have */ #define NUM_ENCODERS 1 + +#define ENCODERS_PAD_A { F0 } +#define ENCODERS_PAD_B { F4 } diff --git a/keyboards/ploopyco/mouse/info.json b/keyboards/ploopyco/mouse/info.json index 1f110aad71f..e24572cc54c 100644 --- a/keyboards/ploopyco/mouse/info.json +++ b/keyboards/ploopyco/mouse/info.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "pointing_device": true, + "rgblight": false, + "encoder": true + }, "bootmagic": { "matrix": [0, 3] }, @@ -31,9 +40,6 @@ ["D4", "D2", "E6", "B6", "D7", "C6", "C7", "B7"] ] }, - "features": { - "encoder": true - }, "encoder": { "driver": "custom" }, diff --git a/keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c b/keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c deleted file mode 100644 index a072dfceca9..00000000000 --- a/keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * 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 . - */ -#include QMK_KEYBOARD_H - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT(/* Base */ - C(KC_C), KC_BTN1, KC_BTN3, LT(1, KC_BTN2), C(KC_V), KC_BTN4, KC_BTN5, DPI_CONFIG), - [1] = LAYOUT(/* Base */ - _______, DRAG_SCROLL, _______, _______, _______, _______, _______, QK_BOOT), - -}; diff --git a/keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md b/keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md deleted file mode 100644 index ddf5eb7084e..00000000000 --- a/keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# The Drag Scroll keymap for PloopyCo Mouse - -This is a sample keymap showing off what you can do with the custom callback drivers. diff --git a/keyboards/ploopyco/mouse/mouse.h b/keyboards/ploopyco/mouse/mouse.h deleted file mode 100644 index 9123315fd4f..00000000000 --- a/keyboards/ploopyco/mouse/mouse.h +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * 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 . - */ - -#pragma once - -#include "quantum.h" -#include "analog.h" -#include "opt_encoder.h" - -// Sensor defs -#define OPT_ENC1 F0 -#define OPT_ENC2 F4 -#define OPT_ENC1_MUX 0 -#define OPT_ENC2_MUX 4 - -void process_wheel(void); - -typedef union { - uint32_t raw; - struct { - uint8_t dpi_config; - }; -} keyboard_config_t; - -extern keyboard_config_t keyboard_config; -extern uint16_t dpi_array[]; - -enum ploopy_keycodes { - DPI_CONFIG = QK_KB_0, - DRAG_SCROLL, -}; - -bool encoder_update_user(uint8_t index, bool clockwise); -bool encoder_update_kb(uint8_t index, bool clockwise); diff --git a/keyboards/ploopyco/mouse/readme.md b/keyboards/ploopyco/mouse/readme.md index af3cb3520fe..060448c2bf2 100644 --- a/keyboards/ploopyco/mouse/readme.md +++ b/keyboards/ploopyco/mouse/readme.md @@ -19,48 +19,4 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to # Customizing your PloopyCo Mouse -While the defaults are designed so that it can be plugged in and used right away, there are a number of things that you may want to change. Such as adding DPI control, or to use the ball to scroll while holding a button. To allow for this sort of control, there is a callback for both the scroll wheel and the mouse sensor. - -The default behavior for this is: - -```c -void process_wheel_user(report_mouse_t* mouse_report, int16_t h, int16_t v) { - mouse_report->h = h; - mouse_report->v = v; -} - -void process_mouse_user(report_mouse_t* mouse_report, int16_t x, int16_t y) { - mouse_report->x = x; - mouse_report->y = y; -} -``` - -This should allow you to more heavily customize the behavior. - -Alternatively, the `process_wheel` and `process_mouse` functions can both be replaced too, to allow for even more functionality. - -Additionally, you can change the DPI/CPI or speed of the trackball by calling `pointing_device_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. - -To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. - -```c -#define PLOOPY_DPI_OPTIONS { 1200, 1600, 2400 } -#define PLOOPY_DPI_DEFAULT 1 -``` -The `PLOOPY_DPI_OPTIONS` array sets the values that you want to be able to cycle through, and the order they are in. The "default" define lets the firmware know which of these options is the default and should be loaded by default. - -The `DPI_CONFIG` macro will cycle through the values in the array, each time you hit it. And it stores this value in persistent memory, so it will load it the next time the device powers up. - -## Drag Scroll - -Drag Sroll is a custom keycode for the Ploopy devices that allow you to hold or tap a button and have the mouse movement translate into scrolling instead. - -Nothing needs to be enabled to use this functionality. Just add the `DRAG_SCROLL` to your keymap. - -### Drag Scroll Configuration - -* `#define PLOOPY_DRAGSCROLL_MOMENTARY` - Makes the key into a momentary key, rather than a toggle. -* `#define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75` - Sets the DPI multiplier to use when drag scroll is enabled. -* `#define PLOOPY_DRAGSCROLL_FIXED` - Normally, when activating Drag Scroll, it uses a fraction of the current DPI. You can define this to use a specific, set DPI rather than a fraction of the current DPI. - * `#define PLOOPY_DRAGSCROLL_DPI 100` - When the fixed DPI option is enabled, this sets the DPI to be used for Drag Scroll. -* `#define PLOOPY_DRAGSCROLL_INVERT` - This reverses the direction that the scroll is performed. +You can find customziation options [here](../readme.md). diff --git a/keyboards/ploopyco/mouse/rules.mk b/keyboards/ploopyco/mouse/rules.mk index 63569507805..3d1d3fc961b 100644 --- a/keyboards/ploopyco/mouse/rules.mk +++ b/keyboards/ploopyco/mouse/rules.mk @@ -1,21 +1,4 @@ # Processor frequency F_CPU = 8000000 -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -POINTING_DEVICE_ENABLE = yes POINTING_DEVICE_DRIVER = pmw3360 -MOUSEKEY_ENABLE = yes # Mouse keys - -ANALOG_DRIVER_REQUIRED = yes - -SRC += opt_encoder.c diff --git a/keyboards/ploopyco/mouse/mouse.c b/keyboards/ploopyco/ploopyco.c similarity index 58% rename from keyboards/ploopyco/mouse/mouse.c rename to keyboards/ploopyco/ploopyco.c index 5f4a82e474c..e4726238f26 100644 --- a/keyboards/ploopyco/mouse/mouse.c +++ b/keyboards/ploopyco/ploopyco.c @@ -16,23 +16,28 @@ * along with this program. If not, see . */ -#include "mouse.h" +#include "ploopyco.h" +#include "analog.h" +#include "opt_encoder.h" -#ifndef OPT_DEBOUNCE -# define OPT_DEBOUNCE 5 // (ms) Time between scroll events +// for legacy support +#if defined(OPT_DEBOUNCE) && !defined(PLOOPY_SCROLL_DEBOUNCE) +# define PLOOPY_SCROLL_DEBOUNCE OPT_DEBOUNCE #endif -#ifndef SCROLL_BUTT_DEBOUNCE -# define SCROLL_BUTT_DEBOUNCE 100 // (ms) Time between scroll events +#if defined(SCROLL_BUTT_DEBOUNCE) && !defined(PLOOPY_SCROLL_BUTTON_DEBOUNCE) +# define PLOOPY_SCROLL_BUTTON_DEBOUNCE SCROLL_BUTT_DEBOUNCE #endif -#ifndef OPT_THRES -# define OPT_THRES 150 // (0-1024) Threshold for actication + +#ifndef PLOOPY_SCROLL_DEBOUNCE +# define PLOOPY_SCROLL_DEBOUNCE 5 #endif -#ifndef OPT_SCALE -# define OPT_SCALE 1 // Multiplier for wheel +#ifndef PLOOPY_SCROLL_BUTTON_DEBOUNCE +# define PLOOPY_SCROLL_BUTTON_DEBOUNCE 100 #endif + #ifndef PLOOPY_DPI_OPTIONS # define PLOOPY_DPI_OPTIONS \ - { 1200, 1600, 2400 } + { 600, 900, 1200, 1600, 2400 } # ifndef PLOOPY_DPI_DEFAULT # define PLOOPY_DPI_DEFAULT 1 # endif @@ -40,94 +45,110 @@ #ifndef PLOOPY_DPI_DEFAULT # define PLOOPY_DPI_DEFAULT 0 #endif -#ifndef PLOOPY_DRAGSCROLL_DPI -# define PLOOPY_DRAGSCROLL_DPI 100 // Fixed-DPI Drag Scroll +#ifndef PLOOPY_DRAGSCROLL_DIVISOR_H +# define PLOOPY_DRAGSCROLL_DIVISOR_H 8.0 +#endif +#ifndef PLOOPY_DRAGSCROLL_DIVISOR_V +# define PLOOPY_DRAGSCROLL_DIVISOR_V 8.0 #endif -#ifndef PLOOPY_DRAGSCROLL_MULTIPLIER -# define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75 // Variable-DPI Drag Scroll +#ifndef ENCODER_BUTTON_ROW +# define ENCODER_BUTTON_ROW 0 +#endif +#ifndef ENCODER_BUTTON_COL +# define ENCODER_BUTTON_COL 0 #endif keyboard_config_t keyboard_config; uint16_t dpi_array[] = PLOOPY_DPI_OPTIONS; #define DPI_OPTION_SIZE ARRAY_SIZE(dpi_array) -// TODO: Implement libinput profiles -// https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html -// Compile time accel selection -// Valid options are ACC_NONE, ACC_LINEAR, ACC_CUSTOM, ACC_QUADRATIC - // Trackball State -bool is_scroll_clicked = false; -bool BurstState = false; // init burst state for Trackball module -uint16_t MotionStart = 0; // Timer for accel, 0 is resting state -uint16_t lastScroll = 0; // Previous confirmed wheel event -uint16_t lastMidClick = 0; // Stops scrollwheel from being read if it was pressed -uint8_t OptLowPin = OPT_ENC1; +bool is_scroll_clicked = false; +bool is_drag_scroll = false; +float scroll_accumulated_h = 0; +float scroll_accumulated_v = 0; + +#ifdef ENCODER_ENABLE +uint16_t lastScroll = 0; // Previous confirmed wheel event +uint16_t lastMidClick = 0; // Stops scrollwheel from being read if it was pressed +pin_t encoder_pins_a[1] = ENCODERS_PAD_A; +pin_t encoder_pins_b[1] = ENCODERS_PAD_B; bool debug_encoder = false; -bool is_drag_scroll = false; bool encoder_update_kb(uint8_t index, bool clockwise) { if (!encoder_update_user(index, clockwise)) { return false; } -#ifdef MOUSEKEY_ENABLE +# ifdef MOUSEKEY_ENABLE tap_code(clockwise ? KC_WH_U : KC_WH_D); -#else +# else report_mouse_t mouse_report = pointing_device_get_report(); - mouse_report.v = clockwise ? 1 : -1; + mouse_report.v = clockwise ? 1 : -1; pointing_device_set_report(mouse_report); pointing_device_send(); -#endif +# endif return true; } void encoder_driver_init(void) { - setPinInput(OPT_ENC1); - setPinInput(OPT_ENC2); - + for (uint8_t i = 0; i < ARRAY_SIZE(encoder_pins_a); i++) { + gpio_set_pin_input(encoder_pins_a[i]); + gpio_set_pin_input(encoder_pins_b[i]); + } opt_encoder_init(); } void encoder_driver_task(void) { - // Lovingly ripped from the Ploopy Source + uint16_t p1 = analogReadPin(encoder_pins_a[0]); + uint16_t p2 = analogReadPin(encoder_pins_b[0]); + if (debug_encoder) dprintf("OPT1: %d, OPT2: %d\n", p1, p2); + + int8_t dir = opt_encoder_handler(p1, p2); // If the mouse wheel was just released, do not scroll. - if (timer_elapsed(lastMidClick) < SCROLL_BUTT_DEBOUNCE) { + if (timer_elapsed(lastMidClick) < PLOOPY_SCROLL_BUTTON_DEBOUNCE) { return; } // Limit the number of scrolls per unit time. - if (timer_elapsed(lastScroll) < OPT_DEBOUNCE) { + if (timer_elapsed(lastScroll) < PLOOPY_SCROLL_DEBOUNCE) { return; } // Don't scroll if the middle button is depressed. if (is_scroll_clicked) { -#ifndef IGNORE_SCROLL_CLICK +# ifndef PLOOPY_IGNORE_SCROLL_CLICK return; -#endif +# endif } - lastScroll = timer_read(); - uint16_t p1 = adc_read(OPT_ENC1_MUX); - uint16_t p2 = adc_read(OPT_ENC2_MUX); - if (debug_encoder) dprintf("OPT1: %d, OPT2: %d\n", p1, p2); - - int dir = opt_encoder_handler(p1, p2); - if (dir == 0) return; - encoder_queue_event(0, dir == 1); + encoder_queue_event(0, dir > 0); + lastScroll = timer_read(); } +#endif report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { if (is_drag_scroll) { - mouse_report.h = mouse_report.x; + scroll_accumulated_h += (float)mouse_report.x / PLOOPY_DRAGSCROLL_DIVISOR_H; + scroll_accumulated_v += (float)mouse_report.y / PLOOPY_DRAGSCROLL_DIVISOR_V; + + // Assign integer parts of accumulated scroll values to the mouse report + mouse_report.h = (int8_t)scroll_accumulated_h; #ifdef PLOOPY_DRAGSCROLL_INVERT - // Invert vertical scroll direction - mouse_report.v = -mouse_report.y; + mouse_report.v = -(int8_t)scroll_accumulated_v; #else - mouse_report.v = mouse_report.y; + mouse_report.v = (int8_t)scroll_accumulated_v; #endif + + // Update accumulated scroll values by subtracting the integer parts + scroll_accumulated_h -= (int8_t)scroll_accumulated_h; + scroll_accumulated_v -= (int8_t)scroll_accumulated_v; + + // Clear the X and Y values of the mouse report + mouse_report.x = 0; + mouse_report.y = 0; + mouse_report.x = 0; mouse_report.y = 0; } @@ -141,10 +162,12 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) { } // Update Timer to prevent accidental scrolls - if ((record->event.key.col == 1) && (record->event.key.row == 0)) { +#ifdef ENCODER_ENABLE + if ((record->event.key.col == ENCODER_BUTTON_COL) && (record->event.key.row == ENCODER_BUTTON_ROW)) { lastMidClick = timer_read(); is_scroll_clicked = record->event.pressed; } +#endif if (!process_record_user(keycode, record)) { return false; @@ -157,16 +180,12 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) { } if (keycode == DRAG_SCROLL) { -#ifndef PLOOPY_DRAGSCROLL_MOMENTARY - if (record->event.pressed) -#endif - { +#ifdef PLOOPY_DRAGSCROLL_MOMENTARY + is_drag_scroll = record->event.pressed; +#else + if (record->event.pressed) { is_drag_scroll ^= 1; } -#ifdef PLOOPY_DRAGSCROLL_FIXED - pointing_device_set_cpi(is_drag_scroll ? PLOOPY_DRAGSCROLL_DPI : dpi_array[keyboard_config.dpi_config]); -#else - pointing_device_set_cpi(is_drag_scroll ? (dpi_array[keyboard_config.dpi_config] * PLOOPY_DRAGSCROLL_MULTIPLIER) : dpi_array[keyboard_config.dpi_config]); #endif } @@ -188,21 +207,25 @@ void keyboard_pre_init_kb(void) { const pin_t unused_pins[] = UNUSABLE_PINS; for (uint8_t i = 0; i < ARRAY_SIZE(unused_pins); i++) { - setPinOutput(unused_pins[i]); - writePinLow(unused_pins[i]); + gpio_set_pin_output_push_pull(unused_pins[i]); + gpio_write_pin_low(unused_pins[i]); } #endif // This is the debug LED. #if defined(DEBUG_LED_PIN) - setPinOutput(DEBUG_LED_PIN); - writePin(DEBUG_LED_PIN, debug_enable); + gpio_set_pin_output_push_pull(DEBUG_LED_PIN); + gpio_write_pin(DEBUG_LED_PIN, debug_enable); #endif keyboard_pre_init_user(); } void pointing_device_init_kb(void) { + keyboard_config.raw = eeconfig_read_kb(); + if (keyboard_config.dpi_config > DPI_OPTION_SIZE) { + eeconfig_init_kb(); + } pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); } @@ -211,13 +234,3 @@ void eeconfig_init_kb(void) { eeconfig_update_kb(keyboard_config.raw); eeconfig_init_user(); } - -void matrix_init_kb(void) { - // is safe to just read DPI setting since matrix init - // comes before pointing device init. - keyboard_config.raw = eeconfig_read_kb(); - if (keyboard_config.dpi_config > DPI_OPTION_SIZE) { - eeconfig_init_kb(); - } - matrix_init_user(); -} diff --git a/keyboards/ploopyco/trackball/trackball.h b/keyboards/ploopyco/ploopyco.h similarity index 89% rename from keyboards/ploopyco/trackball/trackball.h rename to keyboards/ploopyco/ploopyco.h index f4516222e04..61a8d58a933 100644 --- a/keyboards/ploopyco/trackball/trackball.h +++ b/keyboards/ploopyco/ploopyco.h @@ -19,14 +19,6 @@ #pragma once #include "quantum.h" -#include "analog.h" -#include "opt_encoder.h" - -// Sensor defs -#define OPT_ENC1 F0 -#define OPT_ENC2 F4 -#define OPT_ENC1_MUX 0 -#define OPT_ENC2_MUX 4 typedef union { uint32_t raw; diff --git a/keyboards/ploopyco/post_rules.mk b/keyboards/ploopyco/post_rules.mk new file mode 100644 index 00000000000..8fe47c5310c --- /dev/null +++ b/keyboards/ploopyco/post_rules.mk @@ -0,0 +1,12 @@ +OPT_ENCODER_TYPE ?= default +VALID_OPT_ENCODER_TYPES := default simple tiny custom + +ifeq ($(filter $(OPT_ENCODER_TYPE),$(VALID_OPT_ENCODER_TYPES)),) + $(call CATASTROPHIC_ERROR,Invalid OPT_ENCODER_TYPE,OPT_ENCODER_TYPE="$(OPT_ENCODER_TYPE)" is not a valid pointing device type) +else + ifneq ($(strip $(OPT_ENCODER_TYPE)), custom) + VPATH += keyboards/ploopyco/common + SRC += opt_encoder_$(strip $(OPT_ENCODER_TYPE)).c + ANALOG_DRIVER_REQUIRED = yes + endif +endif diff --git a/keyboards/ploopyco/readme.md b/keyboards/ploopyco/readme.md new file mode 100644 index 00000000000..a468058ce04 --- /dev/null +++ b/keyboards/ploopyco/readme.md @@ -0,0 +1,45 @@ +# Ploopyco + +* [Mouse](mouse/) +* [Trackball](trackball/) +* [Trackball Mini](trackball_mini/) +* [Trackball Nano](trackball_nano/) +* [Trackball Thumb](trackball_thumb/) +* [Adept/Madromys](manromys/) + +# Customizing your PloopyCo Device + +There are a number of behavioral settings that you can use to help customize your experience +| | | | +|---------------------------------|-------------------|-----------------------------------------------------------| +| `PLOOPY_IGNORE_SCROLL_CLICK` | *__not_defined__* | Ignores scroll wheel if it is pressed down. | +| `PLOOPY_SCROLL_DEBOUNCE` | `5` | Number of milliseconds between scroll events. | +| `PLOOPY_SCROLL_BUTTON_DEBOUNCE` | `100` | Time to ignore scroll events after pressing scroll wheel. | + +## DPI + +You can change the DPI/CPI or speed of the trackball by calling `pointing_device_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. + +To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. + +```c +#define PLOOPY_DPI_OPTIONS { 1200, 1600, 2400 } +#define PLOOPY_DPI_DEFAULT 1 +``` + +The `PLOOPY_DPI_OPTIONS` array sets the values that you want to be able to cycle through, and the order they are in. The "default" define lets the firmware know which of these options is the default and should be loaded by default. + +The `DPI_CONFIG` macro will cycle through the values in the array, each time you hit it. And it stores this value in persistent memory, so it will load it the next time the device powers up. + +## Drag Scroll + +Drag Sroll is a custom keycode for the Ploopy devices that allow you to hold or tap a button and have the mouse movement translate into scrolling instead. + +Nothing needs to be enabled to use this functionality. Just add the `DRAG_SCROLL` to your keymap. + +### Drag Scroll Configuration + +* `#define PLOOPY_DRAGSCROLL_MOMENTARY` - Makes the key into a momentary key, rather than a toggle. +* `#define PLOOPY_DRAGSCROLL_DIVISOR_H 8.0` - Sets the horizontal movement divisor to use when drag scroll is enabled. +* `#define PLOOPY_DRAGSCROLL_DIVISOR_V 8.0` - Sets the vertical movement divisor to use when drag scroll is enabled. +* `#define PLOOPY_DRAGSCROLL_INVERT` - This reverses the direction that the scroll is performed. diff --git a/keyboards/ploopyco/trackball/config.h b/keyboards/ploopyco/trackball/config.h index a1f3695d815..80457d062aa 100644 --- a/keyboards/ploopyco/trackball/config.h +++ b/keyboards/ploopyco/trackball/config.h @@ -32,5 +32,11 @@ #define PMW33XX_CS_PIN B0 #define POINTING_DEVICE_INVERT_Y + +#define ENCODER_BUTTON_COL 1 +#define ENCODER_BUTTON_ROW 0 /* Custom encoder needs to specify just how many encoders we have */ #define NUM_ENCODERS 1 + +#define ENCODERS_PAD_A { F0 } +#define ENCODERS_PAD_B { F4 } diff --git a/keyboards/ploopyco/trackball/info.json b/keyboards/ploopyco/trackball/info.json index 110264ef1c6..8014db1d638 100644 --- a/keyboards/ploopyco/trackball/info.json +++ b/keyboards/ploopyco/trackball/info.json @@ -12,7 +12,13 @@ "bootmagic": { "matrix": [0, 3] }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "pointing_device": true, "encoder": true }, "encoder": { diff --git a/keyboards/ploopyco/trackball/keymaps/drag_scroll/keymap.c b/keyboards/ploopyco/trackball/keymaps/drag_scroll/keymap.c deleted file mode 100644 index fbf07935c82..00000000000 --- a/keyboards/ploopyco/trackball/keymaps/drag_scroll/keymap.c +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * 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 . - */ -#include QMK_KEYBOARD_H - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - KC_BTN1, KC_BTN3, KC_BTN2, - KC_BTN4, LT(1, KC_BTN5) - ), - [1] = LAYOUT( - DRAG_SCROLL, _______, _______, - _______, _______ - ) -}; diff --git a/keyboards/ploopyco/trackball/keymaps/drag_scroll/readme.md b/keyboards/ploopyco/trackball/keymaps/drag_scroll/readme.md deleted file mode 100644 index cafa11bfc1a..00000000000 --- a/keyboards/ploopyco/trackball/keymaps/drag_scroll/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# The Drag Scroll keymap for Ploopyco Trackball - -This is a sample keymap showing off what you can do with the custom callback drivers. diff --git a/keyboards/ploopyco/trackball/readme.md b/keyboards/ploopyco/trackball/readme.md index 5c76f101878..c668c5dd031 100644 --- a/keyboards/ploopyco/trackball/readme.md +++ b/keyboards/ploopyco/trackball/readme.md @@ -27,45 +27,4 @@ The PCB should indicate which revision this is. # Customizing your PloopyCo Trackball -While the defaults are designed so that it can be plugged in and used right away, there are a number of things that you may want to change. Such as adding DPI control, or to use the ball to scroll while holding a button. To allow for this sort of control, there is a callback for both the scroll wheel and the mouse sensor. - - -```c -report_mouse_t pointing_device_task_user(report_mouse_t mouse_report){ - // executed each time the sensor is updated - // mouse_report. - can be used to access indivdual mouse attributes - return mouse_report; -} -``` - -More information on `report_mouse_t` may be found [here](https://docs.qmk.fm/#/feature_pointing_device?id=manipulating-mouse-reports). - -This should allow you to more heavily customize the behavior. - -Alternatively, the `process_wheel` and `process_mouse` functions can both be replaced too, to allow for even more functionality. - -Additionally, you can change the DPI/CPI or speed of the trackball by calling `pointing_device_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. - -To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. - -```c -#define PLOOPY_DPI_OPTIONS { 1200, 1600, 2400 } -#define PLOOPY_DPI_DEFAULT 1 -``` -The `PLOOPY_DPI_OPTIONS` array sets the values that you want to be able to cycle through, and the order they are in. The "default" define lets the firmware know which of these options is the default and should be loaded by default. - -The `DPI_CONFIG` macro will cycle through the values in the array, each time you hit it. And it stores this value in persistent memory, so it will load it the next time the device powers up. - -## Drag Scroll - -Drag Sroll is a custom keycode for the Ploopy devices that allow you to hold or tap a button and have the mouse movement translate into scrolling instead. - -Nothing needs to be enabled to use this functionality. Just add the `DRAG_SCROLL` to your keymap. - -### Drag Scroll Configuration - -* `#define PLOOPY_DRAGSCROLL_MOMENTARY` - Makes the key into a momentary key, rather than a toggle. -* `#define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75` - Sets the DPI multiplier to use when drag scroll is enabled. -* `#define PLOOPY_DRAGSCROLL_FIXED` - Normally, when activating Drag Scroll, it uses a fraction of the current DPI. You can define this to use a specific, set DPI rather than a fraction of the current DPI. - * `#define PLOOPY_DRAGSCROLL_DPI 100` - When the fixed DPI option is enabled, this sets the DPI to be used for Drag Scroll. -* `#define PLOOPY_DRAGSCROLL_INVERT` - This reverses the direction that the scroll is performed. +You can find customziation options [here](../readme.md). diff --git a/keyboards/ploopyco/trackball/rules.mk b/keyboards/ploopyco/trackball/rules.mk index ca1a8fd17a1..9ea10ba6e8f 100644 --- a/keyboards/ploopyco/trackball/rules.mk +++ b/keyboards/ploopyco/trackball/rules.mk @@ -1,23 +1,6 @@ # Processor frequency F_CPU = 8000000 -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -POINTING_DEVICE_ENABLE = yes POINTING_DEVICE_DRIVER = pmw3360 -MOUSEKEY_ENABLE = yes # Mouse keys - -ANALOG_DRIVER_REQUIRED = yes - -SRC += opt_encoder.c DEFAULT_FOLDER = ploopyco/trackball/rev1_005 diff --git a/keyboards/ploopyco/trackball/trackball.c b/keyboards/ploopyco/trackball/trackball.c deleted file mode 100644 index 0c606bab070..00000000000 --- a/keyboards/ploopyco/trackball/trackball.c +++ /dev/null @@ -1,243 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * 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 . - */ - -#include "trackball.h" - -#ifndef OPT_DEBOUNCE -# define OPT_DEBOUNCE 5 // (ms) Time between scroll events -#endif -#ifndef SCROLL_BUTT_DEBOUNCE -# define SCROLL_BUTT_DEBOUNCE 100 // (ms) Time between scroll events -#endif -#ifndef OPT_THRES -# define OPT_THRES 150 // (0-1024) Threshold for actication -#endif -#ifndef OPT_SCALE -# define OPT_SCALE 1 // Multiplier for wheel -#endif -#ifndef PLOOPY_DPI_OPTIONS -# define PLOOPY_DPI_OPTIONS \ - { 1200, 1600, 2400 } -# ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 1 -# endif -#endif -#ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 0 -#endif -#ifndef PLOOPY_DRAGSCROLL_DPI -# define PLOOPY_DRAGSCROLL_DPI 100 // Fixed-DPI Drag Scroll -#endif -#ifndef PLOOPY_DRAGSCROLL_MULTIPLIER -# define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75 // Variable-DPI Drag Scroll -#endif - -keyboard_config_t keyboard_config; -uint16_t dpi_array[] = PLOOPY_DPI_OPTIONS; -#define DPI_OPTION_SIZE ARRAY_SIZE(dpi_array) - -// TODO: Implement libinput profiles -// https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html -// Compile time accel selection -// Valid options are ACC_NONE, ACC_LINEAR, ACC_CUSTOM, ACC_QUADRATIC - -// Trackball State -bool is_scroll_clicked = false; -bool BurstState = false; // init burst state for Trackball module -uint16_t MotionStart = 0; // Timer for accel, 0 is resting state -uint16_t lastScroll = 0; // Previous confirmed wheel event -uint16_t lastMidClick = 0; // Stops scrollwheel from being read if it was pressed -uint8_t OptLowPin = OPT_ENC1; -bool debug_encoder = false; -bool is_drag_scroll = false; - -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } -#ifdef MOUSEKEY_ENABLE - tap_code(clockwise ? KC_WH_U : KC_WH_D); -#else - report_mouse_t mouse_report = pointing_device_get_report(); - mouse_report.v = clockwise ? 1 : -1; - pointing_device_set_report(mouse_report); - pointing_device_send(); -#endif - return true; -} - - -void encoder_driver_init(void) { - setPinInput(OPT_ENC1); - setPinInput(OPT_ENC2); - - opt_encoder_init(); -} - -void encoder_driver_task(void) { - // TODO: Replace this with interrupt driven code, polling is S L O W - // Lovingly ripped from the Ploopy Source - - // If the mouse wheel was just released, do not scroll. - if (timer_elapsed(lastMidClick) < SCROLL_BUTT_DEBOUNCE) { - return; - } - - // Limit the number of scrolls per unit time. - if (timer_elapsed(lastScroll) < OPT_DEBOUNCE) { - return; - } - - // Don't scroll if the middle button is depressed. - if (is_scroll_clicked) { -#ifndef IGNORE_SCROLL_CLICK - return; -#endif - } - - lastScroll = timer_read(); - uint16_t p1 = adc_read(OPT_ENC1_MUX); - uint16_t p2 = adc_read(OPT_ENC2_MUX); - if (debug_encoder) dprintf("OPT1: %d, OPT2: %d\n", p1, p2); - - int dir = opt_encoder_handler(p1, p2); - - if (dir == 0) return; - encoder_queue_event(0, dir == 1); -} - -report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { - - if (is_drag_scroll) { -#ifdef PLOOPY_DRAGSCROLL_H_INVERT - // Invert horizontal scroll direction - mouse_report.h = -mouse_report.x; -#else - mouse_report.h = mouse_report.x; -#endif -#ifdef PLOOPY_DRAGSCROLL_INVERT - // Invert vertical scroll direction - mouse_report.v = -mouse_report.y; -#else - mouse_report.v = mouse_report.y; -#endif - mouse_report.x = 0; - mouse_report.y = 0; - } - - return pointing_device_task_user(mouse_report); -} - -bool process_record_kb(uint16_t keycode, keyrecord_t* record) { - if (true) { - xprintf("KL: kc: %u, col: %u, row: %u, pressed: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed); - } - - // Update Timer to prevent accidental scrolls - if ((record->event.key.col == 1) && (record->event.key.row == 0)) { - lastMidClick = timer_read(); - is_scroll_clicked = record->event.pressed; - } - - if (!process_record_user(keycode, record)) { - return false; - } - - if (keycode == DPI_CONFIG && record->event.pressed) { - keyboard_config.dpi_config = (keyboard_config.dpi_config + 1) % DPI_OPTION_SIZE; - eeconfig_update_kb(keyboard_config.raw); - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); - } - - if (keycode == DRAG_SCROLL) { -#ifndef PLOOPY_DRAGSCROLL_MOMENTARY - if (record->event.pressed) -#endif - { - is_drag_scroll ^= 1; - } -#ifdef PLOOPY_DRAGSCROLL_FIXED - pointing_device_set_cpi(is_drag_scroll ? PLOOPY_DRAGSCROLL_DPI : dpi_array[keyboard_config.dpi_config]); -#else - pointing_device_set_cpi(is_drag_scroll ? (dpi_array[keyboard_config.dpi_config] * PLOOPY_DRAGSCROLL_MULTIPLIER) : dpi_array[keyboard_config.dpi_config]); -#endif - } - -/* If Mousekeys is disabled, then use handle the mouse button - * keycodes. This makes things simpler, and allows usage of - * the keycodes in a consistent manner. But only do this if - * Mousekeys is not enable, so it's not handled twice. - */ - - return true; -} - -// Hardware Setup -void keyboard_pre_init_kb(void) { - // debug_enable = true; - // debug_matrix = true; - // debug_mouse = true; - // debug_encoder = true; - - /* Ground all output pins connected to ground. This provides additional - * pathways to ground. If you're messing with this, know this: driving ANY - * of these pins high will cause a short. On the MCU. Ka-blooey. - */ -#ifdef UNUSABLE_PINS - const pin_t unused_pins[] = UNUSABLE_PINS; - - for (uint8_t i = 0; i < ARRAY_SIZE(unused_pins); i++) { - setPinOutput(unused_pins[i]); - writePinLow(unused_pins[i]); - } -#endif - - // This is the debug LED. -#if defined(DEBUG_LED_PIN) - setPinOutput(DEBUG_LED_PIN); - writePin(DEBUG_LED_PIN, debug_enable); -#endif - - keyboard_pre_init_user(); -} - -void pointing_device_init_kb(void) { - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); -} - -void eeconfig_init_kb(void) { - keyboard_config.dpi_config = PLOOPY_DPI_DEFAULT; - eeconfig_update_kb(keyboard_config.raw); - eeconfig_init_user(); -} - -void matrix_init_kb(void) { - // is safe to just read DPI setting since matrix init - // comes before pointing device init. - keyboard_config.raw = eeconfig_read_kb(); - if (keyboard_config.dpi_config > DPI_OPTION_SIZE) { - eeconfig_init_kb(); - } - matrix_init_user(); -} - -void keyboard_post_init_kb(void) { - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); - - keyboard_post_init_user(); -} diff --git a/keyboards/ploopyco/trackball_mini/config.h b/keyboards/ploopyco/trackball_mini/config.h index 6b92563fa9e..c5d2d5694e4 100644 --- a/keyboards/ploopyco/trackball_mini/config.h +++ b/keyboards/ploopyco/trackball_mini/config.h @@ -33,5 +33,10 @@ #define POINTING_DEVICE_ROTATION_270 +#define ENCODER_BUTTON_COL 1 +#define ENCODER_BUTTON_ROW 0 /* Custom encoder needs to specify just how many encoders we have */ #define NUM_ENCODERS 1 + +#define ENCODERS_PAD_A { F0 } +#define ENCODERS_PAD_B { F4 } diff --git a/keyboards/ploopyco/trackball_mini/info.json b/keyboards/ploopyco/trackball_mini/info.json index 0e7b12d20d3..ae37742a974 100644 --- a/keyboards/ploopyco/trackball_mini/info.json +++ b/keyboards/ploopyco/trackball_mini/info.json @@ -12,11 +12,16 @@ "bootmagic": { "matrix": [0, 3] }, - "processor": "atmega32u4", - "bootloader": "atmel-dfu", "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "pointing_device": true, "encoder": true }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", "encoder": { "driver": "custom" }, diff --git a/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c b/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c deleted file mode 100644 index b6c71c6ece0..00000000000 --- a/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * 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 . - */ -#include QMK_KEYBOARD_H - -// used for tracking the state -bool is_drag_scroll = false; - -enum custom_keycodes { - DRAG_SCROLL = SAFE_RANGE, -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case DRAG_SCROLL: - if (record->event.pressed) { - // this toggles the state each time you tap it - is_drag_scroll ^= 1; - } - break; - } - return true; -} - -// The real magic is here. -// This function is called to translate the processed sensor movement -// from the mouse sensor and translates it into x and y movement for -// the mouse report. Normally. So if "drag scroll" is toggled on, -// moving the ball scrolls instead. You could remove the x or y here -// to only scroll in one direction, if you wanted, as well. In fact, -// there is no reason that you need to send this to the mouse report. -// You could have it register a key, instead. -void process_mouse_user(report_mouse_t* mouse_report, int8_t x, int8_t y) { - if (is_drag_scroll) { - mouse_report->h = x; - mouse_report->v = y; - } else { - mouse_report->x = x; - mouse_report->y = y; - } -} - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - KC_BTN1, KC_BTN3, KC_BTN2, - KC_BTN4, LT(1, KC_BTN5) - ), - [1] = LAYOUT( - DRAG_SCROLL, _______, _______, - _______, _______ - ) -}; diff --git a/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/readme.md b/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/readme.md deleted file mode 100644 index 362821832fd..00000000000 --- a/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# The Drag Scroll keymap for the Ploopy Trackball Mini - -This is a sample keymap showing off what you can do with the custom callback drivers. - -This particular example enables "drag scrolling". The movement of the ball is used to scroll up and down. \ No newline at end of file diff --git a/keyboards/ploopyco/trackball_mini/readme.md b/keyboards/ploopyco/trackball_mini/readme.md index bc94482c719..26a01837468 100644 --- a/keyboards/ploopyco/trackball_mini/readme.md +++ b/keyboards/ploopyco/trackball_mini/readme.md @@ -29,52 +29,6 @@ Occasionally, new revisions of the PCB will be released. Every board comes with Match the firmware that you flash onto the board with the designator on the board. -# Customizing your Ploopy Mini Trackball - -While the defaults are designed so that it can be plugged in and used right away, there are a number of things that you may want to change, such as adding DPI control, or using the ball to scroll while holding a button. To allow for this sort of control, there is a callback for both the scroll wheel and the mouse sensor. - -The default behavior for this is: - -```c -void process_wheel_user(report_mouse_t* mouse_report, int16_t h, int16_t v) { - mouse_report->h = h; - mouse_report->v = v; -} - -void process_mouse_user(report_mouse_t* mouse_report, int16_t x, int16_t y) { - mouse_report->x = x; - mouse_report->y = y; -} -``` - -This should allow you to more heavily customize the behavior. - -Alternatively, the `process_wheel` and `process_mouse` functions can both be replaced too, to allow for even more functionality. - -Additionally, you can change the DPI/CPI or speed of the trackball by calling `adns_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 375, 750, and 1375, but can be changed. 1375 is the default. - -To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. - -```c -#define PLOOPY_DPI_OPTIONS { 375, 750, 1375} -#define PLOOPY_DPI_DEFAULT 2 -``` - -The `PLOOPY_DPI_OPTIONS` array sets the values that you want to be able to cycle through, and the order they are in. The "default" define lets the firmware know which of these options is the default and should be loaded by default. - -The `DPI_CONFIG` macro will cycle through the values in the array, each time you hit it. It stores this value in persistent memory, so it will load it the next time the device powers up. - -## Drag Scroll - -Drag Sroll is a custom keycode for the Ploopy devices that allow you to hold or tap a button and have the mouse movement translate into scrolling instead. - -Nothing needs to be enabled to use this functionality. Just add the `DRAG_SCROLL` to your keymap. - -### Drag Scroll Configuration - -* `#define PLOOPY_DRAGSCROLL_MOMENTARY` - Makes the key into a momentary key, rather than a toggle. -* `#define PLOOPY_DRAGSCROLL_DPI 375` - When the fixed DPI option is enabled, this sets the DPI to be used for Drag Scroll. -* `#define PLOOPY_DRAGSCROLL_INVERT` - This reverses the direction that the scroll is performed. ## Fuse settings When flashing the bootloader, use the following fuse settings: @@ -84,3 +38,7 @@ When flashing the bootloader, use the following fuse settings: | Low | `0x5E` | | High | `0x99` | | Extended | `0xC3` | + +# Customizing your Ploopy Mini Trackball + +You can find customziation options [here](../readme.md). diff --git a/keyboards/ploopyco/trackball_mini/rules.mk b/keyboards/ploopyco/trackball_mini/rules.mk index d2bacc39740..2705ac6855c 100644 --- a/keyboards/ploopyco/trackball_mini/rules.mk +++ b/keyboards/ploopyco/trackball_mini/rules.mk @@ -1,20 +1,3 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -POINTING_DEVICE_ENABLE = yes POINTING_DEVICE_DRIVER = adns5050 -MOUSEKEY_ENABLE = yes # Mouse keys - -ANALOG_DRIVER_REQUIRED = yes - -SRC += opt_encoder.c DEFAULT_FOLDER = ploopyco/trackball_mini/rev1_001 diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.c b/keyboards/ploopyco/trackball_mini/trackball_mini.c deleted file mode 100644 index 8517a54e708..00000000000 --- a/keyboards/ploopyco/trackball_mini/trackball_mini.c +++ /dev/null @@ -1,214 +0,0 @@ -/* Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2019 Hiroyuki Okada - * - * 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 . - */ - -#include "trackball_mini.h" -#include "wait.h" -#include "debug.h" - -#ifndef OPT_DEBOUNCE -# define OPT_DEBOUNCE 5 // (ms) Time between scroll events -#endif - -#ifndef SCROLL_BUTT_DEBOUNCE -# define SCROLL_BUTT_DEBOUNCE 100 // (ms) Time between scroll events -#endif - -#ifndef OPT_THRES -# define OPT_THRES 150 // (0-1024) Threshold for actication -#endif - -#ifndef OPT_SCALE -# define OPT_SCALE 1 // Multiplier for wheel -#endif - -#ifndef PLOOPY_DPI_OPTIONS -# define PLOOPY_DPI_OPTIONS \ - { 375, 750, 1375 } -# ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 1 -# endif -#endif -#ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 0 -#endif - -#ifndef PLOOPY_DRAGSCROLL_DPI -# define PLOOPY_DRAGSCROLL_DPI 375 // Fixed-DPI Drag Scroll -#endif -#ifndef PLOOPY_DRAGSCROLL_MULTIPLIER -# define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75 // Variable-DPI Drag Scroll -#endif - -keyboard_config_t keyboard_config; -uint16_t dpi_array[] = PLOOPY_DPI_OPTIONS; -#define DPI_OPTION_SIZE ARRAY_SIZE(dpi_array) - -// TODO: Implement libinput profiles -// https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html -// Compile time accel selection -// Valid options are ACC_NONE, ACC_LINEAR, ACC_CUSTOM, ACC_QUADRATIC - -// Trackball State -bool is_scroll_clicked = false; -bool BurstState = false; // init burst state for Trackball module -uint16_t MotionStart = 0; // Timer for accel, 0 is resting state -uint16_t lastScroll = 0; // Previous confirmed wheel event -uint16_t lastMidClick = 0; // Stops scrollwheel from being read if it was pressed -uint8_t OptLowPin = OPT_ENC1; -bool debug_encoder = false; -bool is_drag_scroll = false; - -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } -#ifdef MOUSEKEY_ENABLE - tap_code(clockwise ? KC_WH_U : KC_WH_D); -#else - report_mouse_t mouse_report = pointing_device_get_report(); - mouse_report.v = clockwise ? 1 : -1; - pointing_device_set_report(mouse_report); - pointing_device_send(); -#endif - return true; -} - -void encoder_driver_init(void) { - setPinInput(OPT_ENC1); - setPinInput(OPT_ENC2); - - opt_encoder_init(); -} - -void encoder_driver_task(void) { - uint16_t p1 = adc_read(OPT_ENC1_MUX); - uint16_t p2 = adc_read(OPT_ENC2_MUX); - - if (debug_encoder) dprintf("OPT1: %d, OPT2: %d\n", p1, p2); - - int8_t dir = opt_encoder_handler(p1, p2); - - // If the mouse wheel was just released, do not scroll. - if (timer_elapsed(lastMidClick) < SCROLL_BUTT_DEBOUNCE) return; - - // Limit the number of scrolls per unit time. - if (timer_elapsed(lastScroll) < OPT_DEBOUNCE) return; - - // Don't scroll if the middle button is depressed. - if (is_scroll_clicked) { -#ifndef IGNORE_SCROLL_CLICK - return; -#endif - } - - if (dir == 0) return; - encoder_queue_event(0, dir == 1); - - lastScroll = timer_read(); -} - -void pointing_device_init_kb(void) { - // set the DPI. - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); -} - -report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { - if (is_drag_scroll) { - mouse_report.h = mouse_report.x; -#ifdef PLOOPY_DRAGSCROLL_INVERT - // Invert vertical scroll direction - mouse_report.v = -mouse_report.y; -#else - mouse_report.v = mouse_report.y; -#endif - mouse_report.x = 0; - mouse_report.y = 0; - } - - return pointing_device_task_user(mouse_report); -} - -bool process_record_kb(uint16_t keycode, keyrecord_t* record) { - xprintf("KL: kc: %u, col: %u, row: %u, pressed: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed); - - // Update Timer to prevent accidental scrolls - if ((record->event.key.col == 1) && (record->event.key.row == 0)) { - lastMidClick = timer_read(); - is_scroll_clicked = record->event.pressed; - } - - if (!process_record_user(keycode, record)) return false; - - if (keycode == DPI_CONFIG && record->event.pressed) { - keyboard_config.dpi_config = (keyboard_config.dpi_config + 1) % DPI_OPTION_SIZE; - eeconfig_update_kb(keyboard_config.raw); - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); - } - - if (keycode == DRAG_SCROLL) { -#ifndef PLOOPY_DRAGSCROLL_MOMENTARY - if (record->event.pressed) -#endif - { - is_drag_scroll ^= 1; - } - pointing_device_set_cpi(is_drag_scroll ? PLOOPY_DRAGSCROLL_DPI : dpi_array[keyboard_config.dpi_config]); - } - - return true; -} - -// Hardware Setup -void keyboard_pre_init_kb(void) { - // debug_enable = true; - // debug_matrix = true; - // debug_mouse = true; - // debug_encoder = true; - - /* Ground all output pins connected to ground. This provides additional - * pathways to ground. If you're messing with this, know this: driving ANY - * of these pins high will cause a short. On the MCU. Ka-blooey. - */ -#ifdef UNUSABLE_PINS - const pin_t unused_pins[] = UNUSABLE_PINS; - - for (uint8_t i = 0; i < ARRAY_SIZE(unused_pins); i++) { - setPinOutput(unused_pins[i]); - writePinLow(unused_pins[i]); - } -#endif - - keyboard_pre_init_user(); -} - -void eeconfig_init_kb(void) { - keyboard_config.dpi_config = PLOOPY_DPI_DEFAULT; - eeconfig_update_kb(keyboard_config.raw); - eeconfig_init_user(); -} - -void matrix_init_kb(void) { - // is safe to just read DPI setting since matrix init - // comes before pointing device init. - keyboard_config.raw = eeconfig_read_kb(); - if (keyboard_config.dpi_config > DPI_OPTION_SIZE) { - eeconfig_init_kb(); - } - matrix_init_user(); -} diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.h b/keyboards/ploopyco/trackball_mini/trackball_mini.h deleted file mode 100644 index f212ec17ca4..00000000000 --- a/keyboards/ploopyco/trackball_mini/trackball_mini.h +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2019 Hiroyuki Okada - * - * 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 . - */ - -#pragma once - -#include "quantum.h" -#include "analog.h" -#include "opt_encoder.h" - -// Sensor defs -#define OPT_ENC1 F0 -#define OPT_ENC2 F4 -#define OPT_ENC1_MUX 0 -#define OPT_ENC2_MUX 4 - -void process_wheel(void); - -typedef union { - uint32_t raw; - struct { - uint8_t dpi_config; - }; -} keyboard_config_t; - -extern keyboard_config_t keyboard_config; - -enum ploopy_keycodes { - DPI_CONFIG = QK_KB_0, - DRAG_SCROLL, -}; - -bool encoder_update_user(uint8_t index, bool clockwise); -bool encoder_update_kb(uint8_t index, bool clockwise); diff --git a/keyboards/ploopyco/trackball_nano/info.json b/keyboards/ploopyco/trackball_nano/info.json index c1309ad2705..e73b480d707 100644 --- a/keyboards/ploopyco/trackball_nano/info.json +++ b/keyboards/ploopyco/trackball_nano/info.json @@ -9,6 +9,9 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "pointing_device": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 0, diff --git a/keyboards/ploopyco/trackball_nano/keymaps/lkbm/keymap.c b/keyboards/ploopyco/trackball_nano/keymaps/lkbm/keymap.c deleted file mode 100644 index 6c3a38d1278..00000000000 --- a/keyboards/ploopyco/trackball_nano/keymaps/lkbm/keymap.c +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright 2022 Aidan Gauland - * Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2019 Hiroyuki Okada - * - * 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 . - */ -#include QMK_KEYBOARD_H -#include "print.h" - -#define NUM_LOCK_BITMASK 0b01 -#define CAPS_LOCK_BITMASK 0b10 - -// World record for fastest index finger tapping is 1092 taps per minute, which -// is 55ms for a single tap. -// https://recordsetter.com/world-record/index-finger-taps-minute/46066 -#define LED_CMD_TIMEOUT 25 -#define DELTA_X_THRESHOLD 60 -#define DELTA_Y_THRESHOLD 15 - -typedef enum { - // You could theoretically define 0b00 and send it by having a macro send - // the second tap after LED_CMD_TIMEOUT has elapsed. - // CMD_EXTRA = 0b00, - TG_SCROLL = 0b01, - CYC_DPI = 0b10, - CMD_RESET = 0b11 // CMD_ prefix to avoid clash with QMK macro -} led_cmd_t; - -// State -static bool scroll_enabled = false; -static bool num_lock_state = false; -static bool caps_lock_state = false; -static bool in_cmd_window = false; -static int8_t delta_x = 0; -static int8_t delta_y = 0; - -typedef struct { - led_cmd_t led_cmd; - uint8_t num_lock_count; - uint8_t caps_lock_count; -} cmd_window_state_t; - -// Dummy -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {{{KC_NO}}}; - -report_mouse_t pointing_device_task_user(report_mouse_t mouse_report) { - if (scroll_enabled) { - delta_x += mouse_report.x; - delta_y += mouse_report.y; - - if (delta_x > DELTA_X_THRESHOLD) { - mouse_report.h = 1; - delta_x = 0; - } else if (delta_x < -DELTA_X_THRESHOLD) { - mouse_report.h = -1; - delta_x = 0; - } - - if (delta_y > DELTA_Y_THRESHOLD) { - mouse_report.v = -1; - delta_y = 0; - } else if (delta_y < -DELTA_Y_THRESHOLD) { - mouse_report.v = 1; - delta_y = 0; - } - mouse_report.x = 0; - mouse_report.y = 0; - } - return mouse_report; -} - -void keyboard_post_init_user(void) { - num_lock_state = host_keyboard_led_state().num_lock; - caps_lock_state = host_keyboard_led_state().caps_lock; -} - -uint32_t command_timeout(uint32_t trigger_time, void *cb_arg) { - cmd_window_state_t *cmd_window_state = (cmd_window_state_t *)cb_arg; -# ifdef CONSOLE_ENABLE - uprintf("Received command 0b%02b (", cmd_window_state->led_cmd); -# endif - switch (cmd_window_state->led_cmd) { - case TG_SCROLL: -# ifdef CONSOLE_ENABLE - uprint("TG_SCROLL)\n"); -# endif - scroll_enabled = !scroll_enabled; - break; - case CYC_DPI: -# ifdef CONSOLE_ENABLE - uprint("CYC_DPI)\n"); -# endif - cycle_dpi(); - break; - case CMD_RESET: -# ifdef CONSOLE_ENABLE - uprint("QK_BOOT)\n"); -# endif - reset_keyboard(); - break; - default: -# ifdef CONSOLE_ENABLE - uprint("unknown)\n"); -# endif - // Ignore unrecognised commands. - break; - } - cmd_window_state->led_cmd = 0; - cmd_window_state->num_lock_count = 0; - cmd_window_state->caps_lock_count = 0; - in_cmd_window = false; - - return 0; // Don't repeat -} - -bool led_update_user(led_t led_state) { - static cmd_window_state_t cmd_window_state = { - .led_cmd = 0b00, - .num_lock_count = 0, - .caps_lock_count = 0 - }; - - // Start timer to end command window if we are not already in the middle of - // one. - if (!in_cmd_window) { - in_cmd_window = true; - defer_exec(LED_CMD_TIMEOUT, command_timeout, &cmd_window_state); - } - - // Set num lock and caps lock bits when each is toggled on and off within - // the window. - if (led_state.num_lock != num_lock_state) { - cmd_window_state.num_lock_count++; - - if (cmd_window_state.num_lock_count == 2) { - cmd_window_state.led_cmd |= NUM_LOCK_BITMASK; - cmd_window_state.num_lock_count = 0; - } - } - - if (led_state.caps_lock != caps_lock_state) { - cmd_window_state.caps_lock_count++; - - if (cmd_window_state.caps_lock_count == 2) { - cmd_window_state.led_cmd |= CAPS_LOCK_BITMASK; - cmd_window_state.caps_lock_count = 0; - } - } - - // Keep our copy of the LED states in sync with the host. - num_lock_state = led_state.num_lock; - caps_lock_state = led_state.caps_lock; - return true; -} diff --git a/keyboards/ploopyco/trackball_nano/keymaps/lkbm/readme.md b/keyboards/ploopyco/trackball_nano/keymaps/lkbm/readme.md deleted file mode 100644 index 3b2f698e521..00000000000 --- a/keyboards/ploopyco/trackball_nano/keymaps/lkbm/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# The keymap that takes commands as LED-Key BitMasks (lkbm) -Based on [maddie](../maddie), this keymap lets you send a 2-bit command by having a macro on your keyboard tap `KC_NUM_LOCK` and `KC_CAPS_LOCK` on and off within a very short window (25ms by default) to represent bits 1 and 2 respectively. The keymap uses this to allow toggling between sending mouse-movement events and scrolling events; cycling DPI presets, and resetting to the bootloader, so you can reflash without having to unscrew your Ploopy Nano. diff --git a/keyboards/ploopyco/trackball_nano/keymaps/lkbm/rules.mk b/keyboards/ploopyco/trackball_nano/keymaps/lkbm/rules.mk deleted file mode 100644 index 199bad85f3c..00000000000 --- a/keyboards/ploopyco/trackball_nano/keymaps/lkbm/rules.mk +++ /dev/null @@ -1 +0,0 @@ -DEFERRED_EXEC_ENABLE = yes diff --git a/keyboards/ploopyco/trackball_nano/readme.md b/keyboards/ploopyco/trackball_nano/readme.md index 0d427bfb55e..a3ef878bdf5 100644 --- a/keyboards/ploopyco/trackball_nano/readme.md +++ b/keyboards/ploopyco/trackball_nano/readme.md @@ -28,21 +28,6 @@ Occasionally, new revisions of the PCB will be released. Every board comes with Match the firmware that you flash onto the board with the designator on the board. -# Customizing your Ploopy Nano Trackball - -You can change the DPI/CPI or speed of the trackball by calling `adns_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 375, 750, and 1375, but can be changed. 750 is the default. - -To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. - -```c -#define PLOOPY_DPI_OPTIONS { 375, 750, 1375} -#define PLOOPY_DPI_DEFAULT 1 -``` - -The `PLOOPY_DPI_OPTIONS` array sets the values that you want to be able to cycle through, and the order they are in. The "default" define lets the firmware know which of these options is the default and should be loaded by default. - -The `DPI_CONFIG` macro will cycle through the values in the array, each time you hit it. It stores this value in persistent memory, so it will load it the next time the device powers up. - ## Fuse settings When flashing the bootloader, use the following fuse settings: @@ -52,3 +37,7 @@ When flashing the bootloader, use the following fuse settings: | Low | `0x5E` | | High | `0x99` | | Extended | `0xC3` | + +# Customizing your PloopyCo Trackball Nano + +You can find customziation options [here](../readme.md). diff --git a/keyboards/ploopyco/trackball_nano/rules.mk b/keyboards/ploopyco/trackball_nano/rules.mk index 7a1052a4fac..df29dfbc07f 100644 --- a/keyboards/ploopyco/trackball_nano/rules.mk +++ b/keyboards/ploopyco/trackball_nano/rules.mk @@ -1,16 +1,3 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -POINTING_DEVICE_ENABLE = yes POINTING_DEVICE_DRIVER = adns5050 -MOUSEKEY_ENABLE = no # Mouse keys DEFAULT_FOLDER = ploopyco/trackball_nano/rev1_001 diff --git a/keyboards/ploopyco/trackball_nano/trackball_nano.c b/keyboards/ploopyco/trackball_nano/trackball_nano.c deleted file mode 100644 index 366918e1340..00000000000 --- a/keyboards/ploopyco/trackball_nano/trackball_nano.c +++ /dev/null @@ -1,115 +0,0 @@ -/* Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2019 Hiroyuki Okada - * - * 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 . - */ - -#include "trackball_nano.h" -#include "wait.h" - -#ifndef OPT_DEBOUNCE -# define OPT_DEBOUNCE 5 // (ms) Time between scroll events -#endif - -#ifndef SCROLL_BUTT_DEBOUNCE -# define SCROLL_BUTT_DEBOUNCE 100 // (ms) Time between scroll events -#endif - -#ifndef OPT_THRES -# define OPT_THRES 150 // (0-1024) Threshold for actication -#endif - -#ifndef OPT_SCALE -# define OPT_SCALE 1 // Multiplier for wheel -#endif - -#ifndef PLOOPY_DPI_OPTIONS -# define PLOOPY_DPI_OPTIONS \ - { 375, 750, 1375 } -# ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 2 -# endif -#endif - -#ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 2 -#endif - -keyboard_config_t keyboard_config; -uint16_t dpi_array[] = PLOOPY_DPI_OPTIONS; -#define DPI_OPTION_SIZE ARRAY_SIZE(dpi_array) - -void cycle_dpi(void) { - keyboard_config.dpi_config = (keyboard_config.dpi_config + 1) % DPI_OPTION_SIZE; - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); -#ifdef CONSOLE_ENABLE - uprintf("DPI is now %d\n", dpi_array[keyboard_config.dpi_config]); -#endif -} - -// TODO: Implement libinput profiles -// https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html -// Compile time accel selection -// Valid options are ACC_NONE, ACC_LINEAR, ACC_CUSTOM, ACC_QUADRATIC - -// Trackball State -bool is_scroll_clicked = false; -bool BurstState = false; // init burst state for Trackball module -uint16_t MotionStart = 0; // Timer for accel, 0 is resting state - -void pointing_device_init_kb(void) { - // set the DPI. - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); -} - -// Hardware Setup -void keyboard_pre_init_kb(void) { - // debug_enable = true; - // debug_matrix = true; - // debug_mouse = true; - // debug_encoder = true; - - /* Ground all output pins connected to ground. This provides additional - * pathways to ground. If you're messing with this, know this: driving ANY - * of these pins high will cause a short. On the MCU. Ka-blooey. - */ -#ifdef UNUSABLE_PINS - const pin_t unused_pins[] = UNUSABLE_PINS; - - for (uint8_t i = 0; i < ARRAY_SIZE(unused_pins); i++) { - setPinOutput(unused_pins[i]); - writePinLow(unused_pins[i]); - } -#endif - - keyboard_pre_init_user(); -} - -void eeconfig_init_kb(void) { - keyboard_config.dpi_config = PLOOPY_DPI_DEFAULT; - eeconfig_update_kb(keyboard_config.raw); - eeconfig_init_user(); -} - -void matrix_init_kb(void) { - // is safe to just read DPI setting since matrix init - // comes before pointing device init. - keyboard_config.raw = eeconfig_read_kb(); - if (keyboard_config.dpi_config > DPI_OPTION_SIZE) { - eeconfig_init_kb(); - } - matrix_init_user(); -} diff --git a/keyboards/ploopyco/trackball_nano/trackball_nano.h b/keyboards/ploopyco/trackball_nano/trackball_nano.h deleted file mode 100644 index e3bd0cb351e..00000000000 --- a/keyboards/ploopyco/trackball_nano/trackball_nano.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * Copyright 2019 Hiroyuki Okada - * - * 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 . - */ - -#pragma once - -#include "quantum.h" - -typedef union { - uint32_t raw; - struct { - uint8_t dpi_config; - }; -} keyboard_config_t; - -extern keyboard_config_t keyboard_config; - -enum ploopy_keycodes { - DPI_CONFIG = QK_KB_0, -}; - -void cycle_dpi(void); diff --git a/keyboards/ploopyco/trackball_thumb/config.h b/keyboards/ploopyco/trackball_thumb/config.h index 316755f6866..631456d9d31 100644 --- a/keyboards/ploopyco/trackball_thumb/config.h +++ b/keyboards/ploopyco/trackball_thumb/config.h @@ -19,9 +19,9 @@ #pragma once /* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT +// #define NO_ACTION_LAYER +// #define NO_ACTION_TAPPING +// #define NO_ACTION_ONESHOT // #define ROTATIONAL_TRANSFORM_ANGLE 0 #define POINTING_DEVICE_INVERT_Y @@ -32,5 +32,15 @@ /* PMW3360 Settings */ #define POINTING_DEVICE_CS_PIN B0 +#define ENCODER_BUTTON_COL 1 +#define ENCODER_BUTTON_ROW 0 + +#define ENCODER_LOW_THRES_A 20 +#define ENCODER_HIGH_THRES_A 75 +#define ENCODER_LOW_THRES_B 20 +#define ENCODER_HIGH_THRES_B 90 /* Custom encoder needs to specify just how many encoders we have */ #define NUM_ENCODERS 1 + +#define ENCODERS_PAD_A { F4 } +#define ENCODERS_PAD_B { F0 } diff --git a/keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/keymap.c b/keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/keymap.c deleted file mode 100644 index 03202cc8f7a..00000000000 --- a/keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/keymap.c +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * - * 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 . - */ -#include QMK_KEYBOARD_H - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - KC_BTN4, KC_BTN1, KC_BTN3, KC_BTN2, KC_BTN5, - MO(1) - ), - [1] = LAYOUT( - _______, _______, _______, _______, _______, - DRAG_SCROLL - ) -}; diff --git a/keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/readme.md b/keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/readme.md deleted file mode 100644 index 22119b7ef9b..00000000000 --- a/keyboards/ploopyco/trackball_thumb/keymaps/drag_scroll/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# The Drag Scroll keymap for Ploopyco Thumb Trackball - -This is a sample keymap showing off what you can do with the custom callback drivers. diff --git a/keyboards/ploopyco/trackball_thumb/keymaps/via/rules.mk b/keyboards/ploopyco/trackball_thumb/keymaps/via/rules.mk index 1e5b99807cb..36b7ba9cbc9 100644 --- a/keyboards/ploopyco/trackball_thumb/keymaps/via/rules.mk +++ b/keyboards/ploopyco/trackball_thumb/keymaps/via/rules.mk @@ -1 +1,2 @@ VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/ploopyco/trackball_thumb/readme.md b/keyboards/ploopyco/trackball_thumb/readme.md index 83ac740f855..8299c088094 100644 --- a/keyboards/ploopyco/trackball_thumb/readme.md +++ b/keyboards/ploopyco/trackball_thumb/readme.md @@ -16,43 +16,4 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to # Customizing your PloopyCo Thumb -While the defaults are designed so that it can be plugged in and used right away, there are a number of things that you may want to change. Such as adding DPI control, or to use the ball to scroll while holding a button. To allow for this sort of control, there is a callback for both the scroll wheel and the mouse sensor. - -The default behavior for this is: - -```c -report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { - - return mouse_report; -} -``` - -This should allow you to more heavily customize the behavior. - -Alternatively, the `process_wheel` and `process_mouse` functions can both be replaced too, to allow for even more functionality. - -Additionally, you can change the DPI/CPI or speed of the trackball by calling `pmw_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` keycode that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. - -To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`, which is the `0`-based index into the `PLOOPY_DPI_OPTIONS` array. - -```c -#define PLOOPY_DPI_OPTIONS { 1200, 1600, 2400 } -#define PLOOPY_DPI_DEFAULT 1 -``` -The `PLOOPY_DPI_OPTIONS` array sets the values that you want to be able to cycle through, and the order they are in. The "default" define lets the firmware know which of these options is the default and should be loaded by default. - -When inserted into your keymap, the `DPI_CONFIG` keycode will cycle through the values in the array each time you hit it. It stores this value in persistent memory, so it will remember your selection the next time the device powers up. - -## Drag Scroll - -Drag Scroll is a custom keycode for the Ploopy devices that allow you to hold or tap a button and have the mouse movement translate into scrolling instead. - -Nothing needs to be enabled to use this functionality. Just add the `DRAG_SCROLL` to your keymap. - -### Drag Scroll Configuration - -* `#define PLOOPY_DRAGSCROLL_MOMENTARY` - Makes the key into a momentary key, rather than a toggle. -* `#define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75` - Sets the DPI multiplier to use when drag scroll is enabled. -* `#define PLOOPY_DRAGSCROLL_FIXED` - Normally, when activating Drag Scroll, it uses a fraction of the current DPI. You can define this to use a specific, set DPI rather than a fraction of the current DPI. - * `#define PLOOPY_DRAGSCROLL_DPI 100` - When the fixed DPI option is enabled, this sets the DPI to be used for Drag Scroll. -* `#define PLOOPY_DRAGSCROLL_INVERT` - This reverses the direction that the scroll is performed. +You can find customziation options [here](../readme.md). diff --git a/keyboards/ploopyco/trackball_thumb/rules.mk b/keyboards/ploopyco/trackball_thumb/rules.mk index 6b82d7734b4..0bd44d316a3 100644 --- a/keyboards/ploopyco/trackball_thumb/rules.mk +++ b/keyboards/ploopyco/trackball_thumb/rules.mk @@ -3,8 +3,4 @@ F_CPU = 8000000 POINTING_DEVICE_DRIVER = pmw3360 -ANALOG_DRIVER_REQUIRED = yes - -SRC += opt_encoder.c - DEFAULT_FOLDER = ploopyco/trackball_thumb/rev1_001 diff --git a/keyboards/ploopyco/trackball_thumb/trackball_thumb.c b/keyboards/ploopyco/trackball_thumb/trackball_thumb.c deleted file mode 100644 index 326410cf136..00000000000 --- a/keyboards/ploopyco/trackball_thumb/trackball_thumb.c +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * - * 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 . - */ - -#include "trackball_thumb.h" -#include "encoder.h" - -#ifndef OPT_DEBOUNCE -# define OPT_DEBOUNCE 5 // (ms) Time between scroll events -#endif -#ifndef SCROLL_BUTT_DEBOUNCE -# define SCROLL_BUTT_DEBOUNCE 100 // (ms) Time between scroll events -#endif -#ifndef PLOOPY_DPI_OPTIONS -# define PLOOPY_DPI_OPTIONS \ - { 600, 900, 1200, 1600 } -# ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 1 -# endif -#endif -#ifndef PLOOPY_DPI_DEFAULT -# define PLOOPY_DPI_DEFAULT 0 -#endif -#ifndef PLOOPY_DRAGSCROLL_DPI -# define PLOOPY_DRAGSCROLL_DPI 100 // Fixed-DPI Drag Scroll -#endif -#ifndef PLOOPY_DRAGSCROLL_MULTIPLIER -# define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75 // Variable-DPI Drag Scroll -#endif - -keyboard_config_t keyboard_config; -uint16_t dpi_array[] = PLOOPY_DPI_OPTIONS; -#define DPI_OPTION_SIZE (sizeof(dpi_array) / sizeof(uint16_t)) - -// TODO: Implement libinput profiles -// https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html -// Compile time accel selection -// Valid options are ACC_NONE, ACC_LINEAR, ACC_CUSTOM, ACC_QUADRATIC - -// Trackball State -bool is_scroll_clicked = false; -uint16_t last_scroll = 0; // Previous confirmed wheel event -uint16_t last_mid_click = 0; // Stops scrollwheel from being read if it was pressed; -bool debug_encoder = false; -bool is_drag_scroll = false; - -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } -#ifdef MOUSEKEY_ENABLE - tap_code(clockwise ? KC_WH_U : KC_WH_D); -#else - report_mouse_t mouse_report = pointing_device_get_report(); - mouse_report.v = clockwise ? 1 : -1; - pointing_device_set_report(mouse_report); - pointing_device_send(); -#endif - return true; -} - -void encoder_driver_init(void) { opt_encoder_init(); } - -void encoder_driver_task(void) { - // Lovingly ripped from the Ploopy Source - - // If the mouse wheel was just released, do not scroll. - if (timer_elapsed(last_mid_click) < SCROLL_BUTT_DEBOUNCE) { - return; - } - - // Limit the number of scrolls per unit time. - if (timer_elapsed(last_scroll) < OPT_DEBOUNCE) { - return; - } - - // Don't scroll if the middle button is depressed. - if (is_scroll_clicked) { -#ifndef IGNORE_SCROLL_CLICK - return; -#endif - } - - last_scroll = timer_read(); - uint16_t p1 = adc_read(OPT_ENC1_MUX); - uint16_t p2 = adc_read(OPT_ENC2_MUX); - if (debug_encoder) dprintf("OPT1: %d, OPT2: %d\n", p1, p2); - - int dir = opt_encoder_handler(p1, p2); - - if (dir == 0) return; - encoder_queue_event(0, dir == 1); -} - -report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { - if (is_drag_scroll) { - mouse_report.h = mouse_report.x; -#ifdef PLOOPY_DRAGSCROLL_INVERT - // Invert vertical scroll direction - mouse_report.v = -mouse_report.y; -#else - mouse_report.v = mouse_report.y; -#endif - mouse_report.x = 0; - mouse_report.y = 0; - } - - return pointing_device_task_user(mouse_report); -} - -bool process_record_kb(uint16_t keycode, keyrecord_t* record) { - // Update Timer to prevent accidental scrolls - if ((record->event.key.col == 1) && (record->event.key.row == 0)) { - last_mid_click = timer_read(); - is_scroll_clicked = record->event.pressed; - } - - if (!process_record_user(keycode, record)) { - return false; - } - - if (keycode == DPI_CONFIG && record->event.pressed) { - keyboard_config.dpi_config = (keyboard_config.dpi_config + 1) % DPI_OPTION_SIZE; - eeconfig_update_kb(keyboard_config.raw); - pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); - } - - if (keycode == DRAG_SCROLL) { -#ifndef PLOOPY_DRAGSCROLL_MOMENTARY - if (record->event.pressed) -#endif - { - is_drag_scroll ^= 1; - } -#ifdef PLOOPY_DRAGSCROLL_FIXED - pointing_device_set_cpi(is_drag_scroll ? PLOOPY_DRAGSCROLL_DPI : dpi_array[keyboard_config.dpi_config]); -#else - pointing_device_set_cpi(is_drag_scroll ? (dpi_array[keyboard_config.dpi_config] * PLOOPY_DRAGSCROLL_MULTIPLIER) : dpi_array[keyboard_config.dpi_config]); -#endif - } - -/* If Mousekeys is disabled, then use handle the mouse button - * keycodes. This makes things simpler, and allows usage of - * the keycodes in a consistent manner. But only do this if - * Mousekeys is not enable, so it's not handled twice. - */ -#ifndef MOUSEKEY_ENABLE - if (IS_MOUSEKEY_BUTTON(keycode)) { - report_mouse_t currentReport = pointing_device_get_report(); - if (record->event.pressed) { - currentReport.buttons |= 1 << (keycode - KC_MS_BTN1); - } else { - currentReport.buttons &= ~(1 << (keycode - KC_MS_BTN1)); - } - pointing_device_set_report(currentReport); - pointing_device_send(); - } -#endif - - return true; -} - -// Hardware Setup -void keyboard_pre_init_kb(void) { - // debug_enable = true; - // debug_matrix = true; - // debug_mouse = true; - // debug_encoder = true; - - setPinInput(OPT_ENC1); - setPinInput(OPT_ENC2); - - /* Ground all output pins connected to ground. This provides additional - * pathways to ground. If you're messing with this, know this: driving ANY - * of these pins high will cause a short. On the MCU. Ka-blooey. - */ -#ifdef UNUSABLE_PINS - const pin_t unused_pins[] = UNUSABLE_PINS; - - for (uint8_t i = 0; i < (sizeof(unused_pins) / sizeof(pin_t)); i++) { - setPinOutput(unused_pins[i]); - writePinLow(unused_pins[i]); - } -#endif - - // This is the debug LED. -#if defined(DEBUG_LED_PIN) - setPinOutput(DEBUG_LED_PIN); - writePin(DEBUG_LED_PIN, debug_enable); -#endif - - keyboard_pre_init_user(); -} - -void pointing_device_init_kb(void) { pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); } - -void eeconfig_init_kb(void) { - keyboard_config.dpi_config = PLOOPY_DPI_DEFAULT; - eeconfig_update_kb(keyboard_config.raw); - eeconfig_init_user(); -} - -void matrix_init_kb(void) { - // is safe to just read DPI setting since matrix init - // comes before pointing device init. - keyboard_config.raw = eeconfig_read_kb(); - if (keyboard_config.dpi_config > DPI_OPTION_SIZE) { - eeconfig_init_kb(); - } - matrix_init_user(); -} diff --git a/keyboards/ploopyco/trackball_thumb/trackball_thumb.h b/keyboards/ploopyco/trackball_thumb/trackball_thumb.h deleted file mode 100644 index 50a71601cf2..00000000000 --- a/keyboards/ploopyco/trackball_thumb/trackball_thumb.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright 2021 Colin Lam (Ploopy Corporation) - * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) - * Copyright 2019 Sunjun Kim - * - * 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 . - */ - -#pragma once - -#include "quantum.h" -#include "analog.h" -#include "opt_encoder.h" - -// Sensor defs -#define OPT_ENC1 F4 -#define OPT_ENC2 F0 -#define OPT_ENC1_MUX 4 -#define OPT_ENC2_MUX 0 - -typedef union { - uint32_t raw; - struct { - uint8_t dpi_config; - }; -} keyboard_config_t; -_Static_assert(sizeof(keyboard_config_t) == sizeof(uint32_t), "keyboard_config_t size mismatch compared to EEPROM area"); - -extern keyboard_config_t keyboard_config; -extern uint16_t dpi_array[]; - -enum ploopy_keycodes { - DPI_CONFIG = QK_KB_0, - DRAG_SCROLL, -}; From 24d824aae40b932dbcdc5036d7f30a6f2f352442 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 22:23:40 +0000 Subject: [PATCH 098/107] Migrate features from rules.mk to data driven - UVWXYZ (#23287) --- keyboards/ubest/vn/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ubest/vn/rules.mk | 12 ------------ keyboards/uk78/{info.json => keyboard.json} | 10 ++++++++++ keyboards/uk78/rules.mk | 12 ------------ .../ungodly/nines/{info.json => keyboard.json} | 9 +++++++++ keyboards/ungodly/nines/rules.mk | 13 ------------- .../unikeyboard/felix/{info.json => keyboard.json} | 9 +++++++++ keyboards/unikeyboard/felix/rules.mk | 12 ------------ keyboards/unikorn/{info.json => keyboard.json} | 9 +++++++++ keyboards/unikorn/rules.mk | 10 ---------- keyboards/uranuma/{info.json => keyboard.json} | 8 ++++++++ keyboards/uranuma/rules.mk | 14 -------------- keyboards/utd80/{info.json => keyboard.json} | 10 ++++++++++ keyboards/utd80/rules.mk | 12 ------------ .../v4n4g0rth0n/v1/{info.json => keyboard.json} | 8 ++++++++ keyboards/v4n4g0rth0n/v1/rules.mk | 12 ------------ keyboards/vagrant_10/{info.json => keyboard.json} | 8 ++++++++ keyboards/vagrant_10/rules.mk | 12 ------------ .../vertex/angler2/{info.json => keyboard.json} | 9 +++++++++ keyboards/vertex/angler2/rules.mk | 12 ------------ .../vertex/arc60h/{info.json => keyboard.json} | 10 ++++++++++ keyboards/vertex/arc60h/rules.mk | 14 -------------- .../viktus/at101_bh/{info.json => keyboard.json} | 8 ++++++++ keyboards/viktus/at101_bh/rules.mk | 12 ------------ .../viktus/omnikey_bh/{info.json => keyboard.json} | 8 ++++++++ keyboards/viktus/omnikey_bh/rules.mk | 12 ------------ .../viktus/smolka/{info.json => keyboard.json} | 9 +++++++++ keyboards/viktus/smolka/rules.mk | 13 ------------- .../viktus/styrka/{info.json => keyboard.json} | 8 ++++++++ keyboards/viktus/styrka/rules.mk | 12 ------------ .../viktus/z150_bh/{info.json => keyboard.json} | 8 ++++++++ keyboards/viktus/z150_bh/rules.mk | 12 ------------ keyboards/waldo/{info.json => keyboard.json} | 10 ++++++++++ keyboards/waldo/rules.mk | 12 ------------ .../cajal/{info.json => keyboard.json} | 10 ++++++++++ keyboards/walletburner/cajal/rules.mk | 13 ------------- .../neuron/{info.json => keyboard.json} | 9 +++++++++ keyboards/walletburner/neuron/rules.mk | 12 ------------ .../foundation/{info.json => keyboard.json} | 9 +++++++++ keyboards/wavtype/foundation/rules.mk | 12 ------------ .../wavtype/p01_ultra/{info.json => keyboard.json} | 9 +++++++++ keyboards/wavtype/p01_ultra/rules.mk | 12 ------------ .../weirdo/geminate60/{info.json => keyboard.json} | 9 +++++++++ keyboards/weirdo/geminate60/rules.mk | 12 ------------ .../kelowna/rgb64/{info.json => keyboard.json} | 9 +++++++++ keyboards/weirdo/kelowna/rgb64/rules.mk | 12 ------------ .../weirdo/ls_60/{info.json => keyboard.json} | 9 +++++++++ keyboards/weirdo/ls_60/rules.mk | 12 ------------ .../naiping/np64/{info.json => keyboard.json} | 9 +++++++++ keyboards/weirdo/naiping/np64/rules.mk | 12 ------------ .../naiping/nphhkb/{info.json => keyboard.json} | 9 +++++++++ keyboards/weirdo/naiping/nphhkb/rules.mk | 12 ------------ .../naiping/npminila/{info.json => keyboard.json} | 9 +++++++++ keyboards/weirdo/naiping/npminila/rules.mk | 12 ------------ .../weirdo/tiger910/{info.json => keyboard.json} | 9 +++++++++ keyboards/weirdo/tiger910/rules.mk | 13 ------------- .../wekey/polaris/{info.json => keyboard.json} | 8 ++++++++ keyboards/wekey/polaris/rules.mk | 12 ------------ .../aanzee/{info.json => keyboard.json} | 10 ++++++++++ keyboards/westfoxtrot/aanzee/rules.mk | 13 ------------- .../cyclops/{info.json => keyboard.json} | 8 ++++++++ keyboards/westfoxtrot/cyclops/rules.mk | 12 ------------ .../cypher/rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/westfoxtrot/cypher/rev1/rules.mk | 12 ------------ .../cypher/rev5/{info.json => keyboard.json} | 10 ++++++++++ keyboards/westfoxtrot/cypher/rev5/rules.mk | 12 ------------ .../prophet/{info.json => keyboard.json} | 9 +++++++++ keyboards/westfoxtrot/prophet/rules.mk | 13 ------------- .../rama_works_m10_b/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/rama_works_m10_b/rules.mk | 11 ----------- .../rama_works_m50_ax/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/rama_works_m50_ax/rules.mk | 12 ------------ .../wilba_tech/wt60_g/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt60_g/rules.mk | 12 ------------ .../wt60_g2/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt60_g2/rules.mk | 12 ------------ .../wt60_h1/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt60_h1/rules.mk | 12 ------------ .../wt60_h2/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt60_h2/rules.mk | 12 ------------ .../wt60_h3/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt60_h3/rules.mk | 12 ------------ .../wt60_xt/{info.json => keyboard.json} | 9 +++++++++ keyboards/wilba_tech/wt60_xt/rules.mk | 11 ----------- .../wilba_tech/wt65_d/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_d/rules.mk | 12 ------------ .../wilba_tech/wt65_f/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_f/rules.mk | 12 ------------ .../wt65_fx/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_fx/rules.mk | 12 ------------ .../wilba_tech/wt65_g/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_g/rules.mk | 12 ------------ .../wt65_g2/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_g2/rules.mk | 12 ------------ .../wt65_h1/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_h1/rules.mk | 12 ------------ .../wt65_xt/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_xt/rules.mk | 12 ------------ .../wt65_xtx/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt65_xtx/rules.mk | 12 ------------ .../wt70_jb/{info.json => keyboard.json} | 9 +++++++++ keyboards/wilba_tech/wt70_jb/rules.mk | 12 ------------ .../wilba_tech/wt80_g/{info.json => keyboard.json} | 8 ++++++++ keyboards/wilba_tech/wt80_g/rules.mk | 12 ------------ .../winkeyless/b87/{info.json => keyboard.json} | 10 ++++++++++ keyboards/winkeyless/b87/rules.mk | 11 ----------- .../winkeyless/bface/{info.json => keyboard.json} | 10 ++++++++++ keyboards/winkeyless/bface/rules.mk | 10 ---------- .../winkeyless/bmini/{info.json => keyboard.json} | 10 ++++++++++ keyboards/winkeyless/bmini/rules.mk | 10 ---------- .../bminiex/{info.json => keyboard.json} | 10 ++++++++++ keyboards/winkeyless/bminiex/rules.mk | 11 ----------- .../mini_winni/{info.json => keyboard.json} | 9 +++++++++ keyboards/winkeys/mini_winni/rules.mk | 12 ------------ .../winry/winry25tc/{info.json => keyboard.json} | 10 ++++++++++ keyboards/winry/winry25tc/rules.mk | 13 ------------- .../winry/winry315/{info.json => keyboard.json} | 10 ++++++++++ keyboards/winry/winry315/rules.mk | 14 -------------- .../bigseries/1key/{info.json => keyboard.json} | 9 +++++++++ keyboards/woodkeys/bigseries/1key/rules.mk | 12 ------------ .../bigseries/2key/{info.json => keyboard.json} | 9 +++++++++ keyboards/woodkeys/bigseries/2key/rules.mk | 12 ------------ .../bigseries/3key/{info.json => keyboard.json} | 9 +++++++++ keyboards/woodkeys/bigseries/3key/rules.mk | 12 ------------ .../bigseries/4key/{info.json => keyboard.json} | 9 +++++++++ keyboards/woodkeys/bigseries/4key/rules.mk | 12 ------------ keyboards/wsk/alpha9/{info.json => keyboard.json} | 9 +++++++++ keyboards/wsk/alpha9/rules.mk | 12 ------------ .../wsk/g4m3ralpha/{info.json => keyboard.json} | 9 +++++++++ keyboards/wsk/g4m3ralpha/rules.mk | 12 ------------ .../wsk/gothic50/{info.json => keyboard.json} | 9 +++++++++ keyboards/wsk/gothic50/rules.mk | 12 ------------ .../wsk/gothic70/{info.json => keyboard.json} | 9 +++++++++ keyboards/wsk/gothic70/rules.mk | 12 ------------ .../wsk/houndstooth/{info.json => keyboard.json} | 8 ++++++++ keyboards/wsk/houndstooth/rules.mk | 12 ------------ keyboards/wsk/jerkin/{info.json => keyboard.json} | 8 ++++++++ keyboards/wsk/jerkin/rules.mk | 12 ------------ .../wsk/kodachi50/{info.json => keyboard.json} | 9 +++++++++ keyboards/wsk/kodachi50/rules.mk | 12 ------------ keyboards/wsk/pain27/{info.json => keyboard.json} | 9 +++++++++ keyboards/wsk/pain27/rules.mk | 12 ------------ keyboards/wsk/sl40/{info.json => keyboard.json} | 9 +++++++++ keyboards/wsk/sl40/rules.mk | 12 ------------ keyboards/wsk/tkl30/{info.json => keyboard.json} | 8 ++++++++ keyboards/wsk/tkl30/rules.mk | 12 ------------ .../wuque/ikki68/{info.json => keyboard.json} | 9 +++++++++ keyboards/wuque/ikki68/rules.mk | 12 ------------ .../wuque/mammoth20x/{info.json => keyboard.json} | 9 +++++++++ keyboards/wuque/mammoth20x/rules.mk | 14 -------------- .../wuque/mammoth75x/{info.json => keyboard.json} | 9 +++++++++ keyboards/wuque/mammoth75x/rules.mk | 13 ------------- .../promise87/ansi/{info.json => keyboard.json} | 9 +++++++++ keyboards/wuque/promise87/ansi/rules.mk | 12 ------------ .../promise87/wkl/{info.json => keyboard.json} | 9 +++++++++ keyboards/wuque/promise87/wkl/rules.mk | 12 ------------ .../wuque/tata80/wk/{info.json => keyboard.json} | 8 ++++++++ keyboards/wuque/tata80/wk/rules.mk | 13 ------------- .../wuque/tata80/wkl/{info.json => keyboard.json} | 8 ++++++++ keyboards/wuque/tata80/wkl/rules.mk | 13 ------------- keyboards/x16/{info.json => keyboard.json} | 9 +++++++++ keyboards/x16/rules.mk | 12 ------------ .../xbows/knight/{info.json => keyboard.json} | 9 +++++++++ keyboards/xbows/knight/rules.mk | 13 ------------- .../xbows/knight_plus/{info.json => keyboard.json} | 9 +++++++++ keyboards/xbows/knight_plus/rules.mk | 13 ------------- .../xbows/nature/{info.json => keyboard.json} | 9 +++++++++ keyboards/xbows/nature/rules.mk | 13 ------------- .../xbows/numpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/xbows/numpad/rules.mk | 13 ------------- .../xbows/ranger/{info.json => keyboard.json} | 9 +++++++++ keyboards/xbows/ranger/rules.mk | 13 ------------- .../xelus/dharma/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/dharma/rules.mk | 12 ------------ .../kangaroo/rev1/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/kangaroo/rev1/rules.mk | 11 ----------- .../kangaroo/rev2/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/kangaroo/rev2/rules.mk | 11 ----------- .../xelus/ninjin/{info.json => keyboard.json} | 9 +++++++++ keyboards/xelus/ninjin/rules.mk | 13 ------------- .../pachi/mini_32u4/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/pachi/mini_32u4/rules.mk | 12 ------------ .../xelus/pachi/rev1/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/pachi/rev1/rules.mk | 13 ------------- .../xelus/rs60/rev1/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/rs60/rev1/rules.mk | 12 ------------ .../xelus/snap96/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/snap96/rules.mk | 12 ------------ .../rev1/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/valor_frl_tkl/rev1/rules.mk | 12 ------------ keyboards/xelus/xs108/{info.json => keyboard.json} | 8 ++++++++ keyboards/xelus/xs108/rules.mk | 12 ------------ .../xiudi/xd60/rev2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/xiudi/xd60/rev2/rules.mk | 12 ------------ .../xiudi/xd60/rev3/{info.json => keyboard.json} | 10 ++++++++++ keyboards/xiudi/xd60/rev3/rules.mk | 12 ------------ keyboards/xiudi/xd68/{info.json => keyboard.json} | 10 ++++++++++ keyboards/xiudi/xd68/rules.mk | 12 ------------ keyboards/xiudi/xd75/{info.json => keyboard.json} | 9 +++++++++ keyboards/xiudi/xd75/rules.mk | 12 ------------ .../xiudi/xd84pro/{info.json => keyboard.json} | 10 ++++++++++ keyboards/xiudi/xd84pro/rules.mk | 12 ------------ keyboards/xiudi/xd87/{info.json => keyboard.json} | 9 +++++++++ keyboards/xiudi/xd87/rules.mk | 12 ------------ keyboards/xmmx/{info.json => keyboard.json} | 8 ++++++++ keyboards/xmmx/rules.mk | 12 ------------ .../yandrstudio/nz64/{info.json => keyboard.json} | 9 +++++++++ keyboards/yandrstudio/nz64/rules.mk | 13 ------------- .../zhou65/{info.json => keyboard.json} | 8 ++++++++ keyboards/yandrstudio/zhou65/rules.mk | 12 ------------ .../yatara/drink_me/{info.json => keyboard.json} | 8 ++++++++ keyboards/yatara/drink_me/rules.mk | 12 ------------ keyboards/ydkb/chili/{info.json => keyboard.json} | 9 +++++++++ keyboards/ydkb/chili/rules.mk | 12 ------------ keyboards/ydkb/yd68/{info.json => keyboard.json} | 9 +++++++++ keyboards/ydkb/yd68/rules.mk | 12 ------------ keyboards/yeehaw/{info.json => keyboard.json} | 10 ++++++++++ keyboards/yeehaw/rules.mk | 10 ---------- keyboards/ymdk/bface/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/bface/rules.mk | 10 ---------- keyboards/ymdk/np21/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/np21/rules.mk | 10 ---------- .../ymdk/np24/u4rgb6/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/np24/u4rgb6/rules.mk | 12 ------------ keyboards/ymdk/wings/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/wings/rules.mk | 12 ------------ .../ymdk/wingshs/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/wingshs/rules.mk | 12 ------------ keyboards/ymdk/ym68/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/ym68/rules.mk | 12 ------------ .../ymdk/ymd21/v2/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/ymd21/v2/rules.mk | 12 ------------ keyboards/ymdk/ymd67/{info.json => keyboard.json} | 10 ++++++++++ keyboards/ymdk/ymd67/rules.mk | 12 ------------ .../ymdk/ymd75/rev1/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ymdk/ymd75/rev1/rules.mk | 13 ------------- .../ymdk/ymd75/rev2/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ymdk/ymd75/rev2/rules.mk | 13 ------------- .../ymdk/ymd75/rev3/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ymdk/ymd75/rev3/rules.mk | 13 ------------- keyboards/ymdk/ymd96/{info.json => keyboard.json} | 11 +++++++++++ keyboards/ymdk/ymd96/rules.mk | 14 -------------- .../yncognito/batpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/yncognito/batpad/rules.mk | 12 ------------ .../lunakey_macro/{info.json => keyboard.json} | 8 ++++++++ keyboards/yoichiro/lunakey_macro/rules.mk | 12 ------------ .../yushakobo/quick7/{info.json => keyboard.json} | 10 ++++++++++ keyboards/yushakobo/quick7/rules.mk | 14 -------------- .../yynmt/dozen0/{info.json => keyboard.json} | 9 +++++++++ keyboards/yynmt/dozen0/rules.mk | 12 ------------ .../yynmt/kagamidget/{info.json => keyboard.json} | 9 +++++++++ keyboards/yynmt/kagamidget/rules.mk | 14 -------------- .../big_switch/{info.json => keyboard.json} | 9 +++++++++ keyboards/zfrontier/big_switch/rules.mk | 12 ------------ keyboards/ziggurat/{info.json => keyboard.json} | 8 ++++++++ keyboards/ziggurat/rules.mk | 12 ------------ keyboards/zj68/{info.json => keyboard.json} | 9 +++++++++ keyboards/zj68/rules.mk | 13 ------------- keyboards/zoo/wampus/{info.json => keyboard.json} | 10 ++++++++++ keyboards/zoo/wampus/rules.mk | 14 -------------- .../ztboards/after/{info.json => keyboard.json} | 9 +++++++++ keyboards/ztboards/after/rules.mk | 13 ------------- .../ztboards/noon/{info.json => keyboard.json} | 8 ++++++++ keyboards/ztboards/noon/rules.mk | 12 ------------ 264 files changed, 1180 insertions(+), 1605 deletions(-) rename keyboards/ubest/vn/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ubest/vn/rules.mk rename keyboards/uk78/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/uk78/rules.mk rename keyboards/ungodly/nines/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/ungodly/nines/rules.mk rename keyboards/unikeyboard/felix/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/unikeyboard/felix/rules.mk rename keyboards/unikorn/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/unikorn/rules.mk rename keyboards/uranuma/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/uranuma/rules.mk rename keyboards/utd80/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/utd80/rules.mk rename keyboards/v4n4g0rth0n/v1/{info.json => keyboard.json} (64%) delete mode 100644 keyboards/v4n4g0rth0n/v1/rules.mk rename keyboards/vagrant_10/{info.json => keyboard.json} (86%) delete mode 100755 keyboards/vagrant_10/rules.mk rename keyboards/vertex/angler2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/vertex/angler2/rules.mk rename keyboards/vertex/arc60h/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/vertex/arc60h/rules.mk rename keyboards/viktus/at101_bh/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/viktus/at101_bh/rules.mk rename keyboards/viktus/omnikey_bh/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/viktus/omnikey_bh/rules.mk rename keyboards/viktus/smolka/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/viktus/smolka/rules.mk rename keyboards/viktus/styrka/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/viktus/styrka/rules.mk rename keyboards/viktus/z150_bh/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/viktus/z150_bh/rules.mk rename keyboards/waldo/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/waldo/rules.mk rename keyboards/walletburner/cajal/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/walletburner/cajal/rules.mk rename keyboards/walletburner/neuron/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/walletburner/neuron/rules.mk rename keyboards/wavtype/foundation/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/wavtype/foundation/rules.mk rename keyboards/wavtype/p01_ultra/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wavtype/p01_ultra/rules.mk rename keyboards/weirdo/geminate60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/weirdo/geminate60/rules.mk rename keyboards/weirdo/kelowna/rgb64/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/weirdo/kelowna/rgb64/rules.mk rename keyboards/weirdo/ls_60/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/weirdo/ls_60/rules.mk rename keyboards/weirdo/naiping/np64/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/weirdo/naiping/np64/rules.mk rename keyboards/weirdo/naiping/nphhkb/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/weirdo/naiping/nphhkb/rules.mk rename keyboards/weirdo/naiping/npminila/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/weirdo/naiping/npminila/rules.mk rename keyboards/weirdo/tiger910/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/weirdo/tiger910/rules.mk rename keyboards/wekey/polaris/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/wekey/polaris/rules.mk rename keyboards/westfoxtrot/aanzee/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/westfoxtrot/aanzee/rules.mk rename keyboards/westfoxtrot/cyclops/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/westfoxtrot/cyclops/rules.mk rename keyboards/westfoxtrot/cypher/rev1/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/westfoxtrot/cypher/rev1/rules.mk rename keyboards/westfoxtrot/cypher/rev5/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/westfoxtrot/cypher/rev5/rules.mk rename keyboards/westfoxtrot/prophet/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/westfoxtrot/prophet/rules.mk rename keyboards/wilba_tech/rama_works_m10_b/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/wilba_tech/rama_works_m10_b/rules.mk rename keyboards/wilba_tech/rama_works_m50_ax/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/wilba_tech/rama_works_m50_ax/rules.mk rename keyboards/wilba_tech/wt60_g/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt60_g/rules.mk rename keyboards/wilba_tech/wt60_g2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt60_g2/rules.mk rename keyboards/wilba_tech/wt60_h1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/wilba_tech/wt60_h1/rules.mk rename keyboards/wilba_tech/wt60_h2/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/wilba_tech/wt60_h2/rules.mk rename keyboards/wilba_tech/wt60_h3/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/wilba_tech/wt60_h3/rules.mk rename keyboards/wilba_tech/wt60_xt/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt60_xt/rules.mk rename keyboards/wilba_tech/wt65_d/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt65_d/rules.mk rename keyboards/wilba_tech/wt65_f/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/wilba_tech/wt65_f/rules.mk rename keyboards/wilba_tech/wt65_fx/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt65_fx/rules.mk rename keyboards/wilba_tech/wt65_g/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt65_g/rules.mk rename keyboards/wilba_tech/wt65_g2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt65_g2/rules.mk rename keyboards/wilba_tech/wt65_h1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/wilba_tech/wt65_h1/rules.mk rename keyboards/wilba_tech/wt65_xt/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/wilba_tech/wt65_xt/rules.mk rename keyboards/wilba_tech/wt65_xtx/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt65_xtx/rules.mk rename keyboards/wilba_tech/wt70_jb/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/wilba_tech/wt70_jb/rules.mk rename keyboards/wilba_tech/wt80_g/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wilba_tech/wt80_g/rules.mk rename keyboards/winkeyless/b87/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/winkeyless/b87/rules.mk rename keyboards/winkeyless/bface/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/winkeyless/bface/rules.mk rename keyboards/winkeyless/bmini/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/winkeyless/bmini/rules.mk rename keyboards/winkeyless/bminiex/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/winkeyless/bminiex/rules.mk rename keyboards/winkeys/mini_winni/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/winkeys/mini_winni/rules.mk rename keyboards/winry/winry25tc/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/winry/winry25tc/rules.mk rename keyboards/winry/winry315/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/winry/winry315/rules.mk rename keyboards/woodkeys/bigseries/1key/{info.json => keyboard.json} (83%) delete mode 100755 keyboards/woodkeys/bigseries/1key/rules.mk rename keyboards/woodkeys/bigseries/2key/{info.json => keyboard.json} (84%) delete mode 100755 keyboards/woodkeys/bigseries/2key/rules.mk rename keyboards/woodkeys/bigseries/3key/{info.json => keyboard.json} (85%) delete mode 100755 keyboards/woodkeys/bigseries/3key/rules.mk rename keyboards/woodkeys/bigseries/4key/{info.json => keyboard.json} (86%) delete mode 100755 keyboards/woodkeys/bigseries/4key/rules.mk rename keyboards/wsk/alpha9/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/wsk/alpha9/rules.mk rename keyboards/wsk/g4m3ralpha/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/wsk/g4m3ralpha/rules.mk rename keyboards/wsk/gothic50/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/wsk/gothic50/rules.mk rename keyboards/wsk/gothic70/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/wsk/gothic70/rules.mk rename keyboards/wsk/houndstooth/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/wsk/houndstooth/rules.mk rename keyboards/wsk/jerkin/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/wsk/jerkin/rules.mk rename keyboards/wsk/kodachi50/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/wsk/kodachi50/rules.mk rename keyboards/wsk/pain27/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/wsk/pain27/rules.mk rename keyboards/wsk/sl40/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/wsk/sl40/rules.mk rename keyboards/wsk/tkl30/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/wsk/tkl30/rules.mk rename keyboards/wuque/ikki68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/wuque/ikki68/rules.mk rename keyboards/wuque/mammoth20x/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/wuque/mammoth20x/rules.mk rename keyboards/wuque/mammoth75x/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wuque/mammoth75x/rules.mk rename keyboards/wuque/promise87/ansi/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wuque/promise87/ansi/rules.mk rename keyboards/wuque/promise87/wkl/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/wuque/promise87/wkl/rules.mk rename keyboards/wuque/tata80/wk/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/wuque/tata80/wk/rules.mk rename keyboards/wuque/tata80/wkl/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/wuque/tata80/wkl/rules.mk rename keyboards/x16/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/x16/rules.mk rename keyboards/xbows/knight/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/xbows/knight/rules.mk rename keyboards/xbows/knight_plus/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/xbows/knight_plus/rules.mk rename keyboards/xbows/nature/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/xbows/nature/rules.mk rename keyboards/xbows/numpad/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/xbows/numpad/rules.mk rename keyboards/xbows/ranger/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/xbows/ranger/rules.mk rename keyboards/xelus/dharma/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/xelus/dharma/rules.mk rename keyboards/xelus/kangaroo/rev1/{info.json => keyboard.json} (72%) delete mode 100644 keyboards/xelus/kangaroo/rev1/rules.mk rename keyboards/xelus/kangaroo/rev2/{info.json => keyboard.json} (73%) delete mode 100644 keyboards/xelus/kangaroo/rev2/rules.mk rename keyboards/xelus/ninjin/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/xelus/ninjin/rules.mk rename keyboards/xelus/pachi/mini_32u4/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/xelus/pachi/mini_32u4/rules.mk rename keyboards/xelus/pachi/rev1/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/xelus/pachi/rev1/rules.mk rename keyboards/xelus/rs60/rev1/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/xelus/rs60/rev1/rules.mk rename keyboards/xelus/snap96/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/xelus/snap96/rules.mk rename keyboards/xelus/valor_frl_tkl/rev1/{info.json => keyboard.json} (71%) delete mode 100644 keyboards/xelus/valor_frl_tkl/rev1/rules.mk rename keyboards/xelus/xs108/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/xelus/xs108/rules.mk rename keyboards/xiudi/xd60/rev2/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/xiudi/xd60/rev2/rules.mk rename keyboards/xiudi/xd60/rev3/{info.json => keyboard.json} (80%) delete mode 100644 keyboards/xiudi/xd60/rev3/rules.mk rename keyboards/xiudi/xd68/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/xiudi/xd68/rules.mk rename keyboards/xiudi/xd75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/xiudi/xd75/rules.mk rename keyboards/xiudi/xd84pro/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/xiudi/xd84pro/rules.mk rename keyboards/xiudi/xd87/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/xiudi/xd87/rules.mk rename keyboards/xmmx/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/xmmx/rules.mk rename keyboards/yandrstudio/nz64/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/yandrstudio/nz64/rules.mk rename keyboards/yandrstudio/zhou65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/yandrstudio/zhou65/rules.mk rename keyboards/yatara/drink_me/{info.json => keyboard.json} (79%) delete mode 100644 keyboards/yatara/drink_me/rules.mk rename keyboards/ydkb/chili/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ydkb/chili/rules.mk rename keyboards/ydkb/yd68/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ydkb/yd68/rules.mk rename keyboards/yeehaw/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/yeehaw/rules.mk rename keyboards/ymdk/bface/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ymdk/bface/rules.mk rename keyboards/ymdk/np21/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ymdk/np21/rules.mk rename keyboards/ymdk/np24/u4rgb6/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ymdk/np24/u4rgb6/rules.mk rename keyboards/ymdk/wings/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ymdk/wings/rules.mk rename keyboards/ymdk/wingshs/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ymdk/wingshs/rules.mk rename keyboards/ymdk/ym68/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ymdk/ym68/rules.mk rename keyboards/ymdk/ymd21/v2/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/ymdk/ymd21/v2/rules.mk rename keyboards/ymdk/ymd67/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ymdk/ymd67/rules.mk rename keyboards/ymdk/ymd75/rev1/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ymdk/ymd75/rev1/rules.mk rename keyboards/ymdk/ymd75/rev2/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ymdk/ymd75/rev2/rules.mk rename keyboards/ymdk/ymd75/rev3/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ymdk/ymd75/rev3/rules.mk rename keyboards/ymdk/ymd96/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ymdk/ymd96/rules.mk rename keyboards/yncognito/batpad/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/yncognito/batpad/rules.mk rename keyboards/yoichiro/lunakey_macro/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/yoichiro/lunakey_macro/rules.mk rename keyboards/yushakobo/quick7/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/yushakobo/quick7/rules.mk rename keyboards/yynmt/dozen0/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/yynmt/dozen0/rules.mk rename keyboards/yynmt/kagamidget/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/yynmt/kagamidget/rules.mk rename keyboards/zfrontier/big_switch/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/zfrontier/big_switch/rules.mk rename keyboards/ziggurat/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/ziggurat/rules.mk rename keyboards/zj68/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/zj68/rules.mk rename keyboards/zoo/wampus/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/zoo/wampus/rules.mk rename keyboards/ztboards/after/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ztboards/after/rules.mk rename keyboards/ztboards/noon/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ztboards/noon/rules.mk diff --git a/keyboards/ubest/vn/info.json b/keyboards/ubest/vn/keyboard.json similarity index 98% rename from keyboards/ubest/vn/info.json rename to keyboards/ubest/vn/keyboard.json index 078605e4a57..c50ceebbba8 100644 --- a/keyboards/ubest/vn/info.json +++ b/keyboards/ubest/vn/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0868", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["E6", "B0", "B7", "D0", "D1"] diff --git a/keyboards/ubest/vn/rules.mk b/keyboards/ubest/vn/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/ubest/vn/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/uk78/info.json b/keyboards/uk78/keyboard.json similarity index 98% rename from keyboards/uk78/info.json rename to keyboards/uk78/keyboard.json index af41223de20..8b6b5e9feda 100644 --- a/keyboards/uk78/info.json +++ b/keyboards/uk78/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x004E", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A2", "A1", "F5", "F4", "E6", "E7", "E5", "E4", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B5", "E0"], "rows": ["F3", "F2", "F1", "F0", "A0"] diff --git a/keyboards/uk78/rules.mk b/keyboards/uk78/rules.mk deleted file mode 100644 index ce70b7c8f23..00000000000 --- a/keyboards/uk78/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/ungodly/nines/info.json b/keyboards/ungodly/nines/keyboard.json similarity index 85% rename from keyboards/ungodly/nines/info.json rename to keyboards/ungodly/nines/keyboard.json index 8c2ab4c2499..07496dd5150 100644 --- a/keyboards/ungodly/nines/info.json +++ b/keyboards/ungodly/nines/keyboard.json @@ -16,6 +16,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "direct": [ ["F4", "F5", "F6"], diff --git a/keyboards/ungodly/nines/rules.mk b/keyboards/ungodly/nines/rules.mk deleted file mode 100644 index 00d9411a632..00000000000 --- a/keyboards/ungodly/nines/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary encoder support diff --git a/keyboards/unikeyboard/felix/info.json b/keyboards/unikeyboard/felix/keyboard.json similarity index 89% rename from keyboards/unikeyboard/felix/info.json rename to keyboards/unikeyboard/felix/keyboard.json index 7c5a013d8ae..319340f5e62 100644 --- a/keyboards/unikeyboard/felix/info.json +++ b/keyboards/unikeyboard/felix/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6", "D7"], "rows": ["B2", "B3", "B1", "F7", "F6"] diff --git a/keyboards/unikeyboard/felix/rules.mk b/keyboards/unikeyboard/felix/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/unikeyboard/felix/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/unikorn/info.json b/keyboards/unikorn/keyboard.json similarity index 98% rename from keyboards/unikorn/info.json rename to keyboards/unikorn/keyboard.json index 35c749b2923..4d50e2ad749 100644 --- a/keyboards/unikorn/info.json +++ b/keyboards/unikorn/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x556B", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/unikorn/rules.mk b/keyboards/unikorn/rules.mk deleted file mode 100644 index 88711b21277..00000000000 --- a/keyboards/unikorn/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = no diff --git a/keyboards/uranuma/info.json b/keyboards/uranuma/keyboard.json similarity index 94% rename from keyboards/uranuma/info.json rename to keyboards/uranuma/keyboard.json index c2e0e11192d..8ac5b8063ae 100644 --- a/keyboards/uranuma/info.json +++ b/keyboards/uranuma/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D2", "D4"], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/uranuma/rules.mk b/keyboards/uranuma/rules.mk deleted file mode 100644 index 0dba652d235..00000000000 --- a/keyboards/uranuma/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -#SRC += .nicola.c \ diff --git a/keyboards/utd80/info.json b/keyboards/utd80/keyboard.json similarity index 95% rename from keyboards/utd80/info.json rename to keyboards/utd80/keyboard.json index a62bb41df6e..6e4c966d403 100644 --- a/keyboards/utd80/info.json +++ b/keyboards/utd80/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x001C", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "D3", "E6", "D7", "D6", "D4", "D2", "D1"], "rows": ["B4", "D5", "D0", "B2", "B3", "B0"] diff --git a/keyboards/utd80/rules.mk b/keyboards/utd80/rules.mk deleted file mode 100644 index 5681a9b5977..00000000000 --- a/keyboards/utd80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/v4n4g0rth0n/v1/info.json b/keyboards/v4n4g0rth0n/v1/keyboard.json similarity index 64% rename from keyboards/v4n4g0rth0n/v1/info.json rename to keyboards/v4n4g0rth0n/v1/keyboard.json index 769c35d8caf..7dec8892087 100644 --- a/keyboards/v4n4g0rth0n/v1/info.json +++ b/keyboards/v4n4g0rth0n/v1/keyboard.json @@ -2,6 +2,14 @@ "usb": { "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D5", "F7", "F6", "E6", "F5", "F4", "F1", "F0"], "rows": ["C7", "C6", "B6", "B5", "B7"] diff --git a/keyboards/v4n4g0rth0n/v1/rules.mk b/keyboards/v4n4g0rth0n/v1/rules.mk deleted file mode 100644 index b3aa8c531b1..00000000000 --- a/keyboards/v4n4g0rth0n/v1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/vagrant_10/info.json b/keyboards/vagrant_10/keyboard.json similarity index 86% rename from keyboards/vagrant_10/info.json rename to keyboards/vagrant_10/keyboard.json index 46435c9deea..7291dea3028 100644 --- a/keyboards/vagrant_10/info.json +++ b/keyboards/vagrant_10/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5E99", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F6", "F5"], "rows": ["F7", "B1", "B3", "B2"] diff --git a/keyboards/vagrant_10/rules.mk b/keyboards/vagrant_10/rules.mk deleted file mode 100755 index 3b6a1809db1..00000000000 --- a/keyboards/vagrant_10/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/vertex/angler2/info.json b/keyboards/vertex/angler2/keyboard.json similarity index 99% rename from keyboards/vertex/angler2/info.json rename to keyboards/vertex/angler2/keyboard.json index bf3d28bc457..9b9d2266140 100644 --- a/keyboards/vertex/angler2/info.json +++ b/keyboards/vertex/angler2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x408F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "E2", "C7", "C6", "B6", "F1", "B5", "B4", "D7", "D6", "D4", "D3", "D0", "B1"], "rows": ["F4", "B2", "F0", "D5", "D1", "D2"] diff --git a/keyboards/vertex/angler2/rules.mk b/keyboards/vertex/angler2/rules.mk deleted file mode 100644 index b5cde0eb87a..00000000000 --- a/keyboards/vertex/angler2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/vertex/arc60h/info.json b/keyboards/vertex/arc60h/keyboard.json similarity index 95% rename from keyboards/vertex/arc60h/info.json rename to keyboards/vertex/arc60h/keyboard.json index 6a7a39cd162..e79d8f0dc5e 100644 --- a/keyboards/vertex/arc60h/info.json +++ b/keyboards/vertex/arc60h/keyboard.json @@ -32,6 +32,16 @@ "pin": "B15", "driver": "spi" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B9", "B8", "B7", "B6", "B5", "B4", "B3", "B11", "A15", "A10", "A9", "B14", "B13", "B12", "A5"], "rows": ["B10", "B1", "B0", "A7", "A6"] diff --git a/keyboards/vertex/arc60h/rules.mk b/keyboards/vertex/arc60h/rules.mk deleted file mode 100644 index e86dfab3272..00000000000 --- a/keyboards/vertex/arc60h/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes - diff --git a/keyboards/viktus/at101_bh/info.json b/keyboards/viktus/at101_bh/keyboard.json similarity index 97% rename from keyboards/viktus/at101_bh/info.json rename to keyboards/viktus/at101_bh/keyboard.json index 23148f16cfb..b950aec2d02 100644 --- a/keyboards/viktus/at101_bh/info.json +++ b/keyboards/viktus/at101_bh/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "B7", "B3", "B2", "B1", "B0", "E6", "D2", "D3"], "rows": ["F0", "F1", "F4", "D4", "F6", "F5", "F7", "B6", "B5", "D5", "C7", "C6"] diff --git a/keyboards/viktus/at101_bh/rules.mk b/keyboards/viktus/at101_bh/rules.mk deleted file mode 100644 index 06845b8e21c..00000000000 --- a/keyboards/viktus/at101_bh/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/viktus/omnikey_bh/info.json b/keyboards/viktus/omnikey_bh/keyboard.json similarity index 97% rename from keyboards/viktus/omnikey_bh/info.json rename to keyboards/viktus/omnikey_bh/keyboard.json index a641192f32c..a44b23d6552 100644 --- a/keyboards/viktus/omnikey_bh/info.json +++ b/keyboards/viktus/omnikey_bh/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C2", "C3", "C4", "C7", "C1", "C0", "E1", "E0", "D7", "F7", "F6", "F5", "F4", "F3", "F2", "F1", "F0", "E6", "E7", "B0", "B1", "B2", "B3"], "rows": ["B7", "D0", "D1", "D2", "D3", "D4"] diff --git a/keyboards/viktus/omnikey_bh/rules.mk b/keyboards/viktus/omnikey_bh/rules.mk deleted file mode 100644 index 06845b8e21c..00000000000 --- a/keyboards/viktus/omnikey_bh/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/viktus/smolka/info.json b/keyboards/viktus/smolka/keyboard.json similarity index 99% rename from keyboards/viktus/smolka/info.json rename to keyboards/viktus/smolka/keyboard.json index cb44b43eb75..ade26b37351 100644 --- a/keyboards/viktus/smolka/info.json +++ b/keyboards/viktus/smolka/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0010", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D6", "D7", "B4", "B5", "B6", "D4", "B1", "B2"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6"] diff --git a/keyboards/viktus/smolka/rules.mk b/keyboards/viktus/smolka/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/viktus/smolka/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/viktus/styrka/info.json b/keyboards/viktus/styrka/keyboard.json similarity index 98% rename from keyboards/viktus/styrka/info.json rename to keyboards/viktus/styrka/keyboard.json index 52cf5823a07..e5a642e471e 100644 --- a/keyboards/viktus/styrka/info.json +++ b/keyboards/viktus/styrka/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "B14", "B15", "A8", "A9"], "rows": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "B13", "B12"] diff --git a/keyboards/viktus/styrka/rules.mk b/keyboards/viktus/styrka/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/viktus/styrka/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/viktus/z150_bh/info.json b/keyboards/viktus/z150_bh/keyboard.json similarity index 98% rename from keyboards/viktus/z150_bh/info.json rename to keyboards/viktus/z150_bh/keyboard.json index fb4970e259a..5875b6d1712 100644 --- a/keyboards/viktus/z150_bh/info.json +++ b/keyboards/viktus/z150_bh/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D7", "E0", "C7", "C6", "C5", "C4", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"], "rows": ["C3", "C2", "C1", "C0", "E1"] diff --git a/keyboards/viktus/z150_bh/rules.mk b/keyboards/viktus/z150_bh/rules.mk deleted file mode 100644 index 06845b8e21c..00000000000 --- a/keyboards/viktus/z150_bh/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/waldo/info.json b/keyboards/waldo/keyboard.json similarity index 98% rename from keyboards/waldo/info.json rename to keyboards/waldo/keyboard.json index f6aa8a8190e..204f4bf7072 100644 --- a/keyboards/waldo/info.json +++ b/keyboards/waldo/keyboard.json @@ -7,6 +7,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "D5", "D3", "D2", "B3", "B2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "B1"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/waldo/rules.mk b/keyboards/waldo/rules.mk deleted file mode 100644 index 0e7e90f4394..00000000000 --- a/keyboards/waldo/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/walletburner/cajal/info.json b/keyboards/walletburner/cajal/keyboard.json similarity index 96% rename from keyboards/walletburner/cajal/info.json rename to keyboards/walletburner/cajal/keyboard.json index 5578ba3d8c1..2419c6c7f42 100644 --- a/keyboards/walletburner/cajal/info.json +++ b/keyboards/walletburner/cajal/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6361", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F1", "F0", "E6", "B0", "B1", "B2", "B3", "D0", "D1", "D2", "D3", "B4", "F6"], "rows": ["D4", "D5", "C7", "C6"] diff --git a/keyboards/walletburner/cajal/rules.mk b/keyboards/walletburner/cajal/rules.mk deleted file mode 100644 index aa609619e76..00000000000 --- a/keyboards/walletburner/cajal/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes -ENCODER_ENABLE = yes # Enable support for EC11 Rotary Encoder diff --git a/keyboards/walletburner/neuron/info.json b/keyboards/walletburner/neuron/keyboard.json similarity index 94% rename from keyboards/walletburner/neuron/info.json rename to keyboards/walletburner/neuron/keyboard.json index fc9aad49e20..7637f5435a9 100644 --- a/keyboards/walletburner/neuron/info.json +++ b/keyboards/walletburner/neuron/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F7", "F6", "F4", "F1", "E6", "D6", "D2", "B4", "D7", "B6", "D5"], "rows": ["D0", "D1", "D3", "F5"] diff --git a/keyboards/walletburner/neuron/rules.mk b/keyboards/walletburner/neuron/rules.mk deleted file mode 100644 index 21fd8f40ee0..00000000000 --- a/keyboards/walletburner/neuron/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/wavtype/foundation/info.json b/keyboards/wavtype/foundation/keyboard.json similarity index 98% rename from keyboards/wavtype/foundation/info.json rename to keyboards/wavtype/foundation/keyboard.json index b5e8793b8fb..f13d2268064 100644 --- a/keyboards/wavtype/foundation/info.json +++ b/keyboards/wavtype/foundation/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "D2", "D1", "D0", "D3", "D5", "D4", "B7", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["B3", "B2", "B1", "F0", "F1"] diff --git a/keyboards/wavtype/foundation/rules.mk b/keyboards/wavtype/foundation/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/wavtype/foundation/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wavtype/p01_ultra/info.json b/keyboards/wavtype/p01_ultra/keyboard.json similarity index 99% rename from keyboards/wavtype/p01_ultra/info.json rename to keyboards/wavtype/p01_ultra/keyboard.json index 7205b503664..7bfc2424686 100644 --- a/keyboards/wavtype/p01_ultra/info.json +++ b/keyboards/wavtype/p01_ultra/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B3", "B2", "B1", "B0", "B7", "D0", "D1", "D2", "D3", "D5"], "rows": ["B4", "D7", "D6", "B5", "B6", "D4"] diff --git a/keyboards/wavtype/p01_ultra/rules.mk b/keyboards/wavtype/p01_ultra/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/wavtype/p01_ultra/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/weirdo/geminate60/info.json b/keyboards/weirdo/geminate60/keyboard.json similarity index 99% rename from keyboards/weirdo/geminate60/info.json rename to keyboards/weirdo/geminate60/keyboard.json index 722d1d3bfe0..4240d3a075e 100644 --- a/keyboards/weirdo/geminate60/info.json +++ b/keyboards/weirdo/geminate60/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "A6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A8", "B14", "B13", "B12", "B1", "B0", "A7", "A1", "A15", "B3", "B4", "B5", "B6", "B7", "B8"], "rows": ["A9", "A10", "B10", "B11", "B15"] diff --git a/keyboards/weirdo/geminate60/rules.mk b/keyboards/weirdo/geminate60/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/weirdo/geminate60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/weirdo/kelowna/rgb64/info.json b/keyboards/weirdo/kelowna/rgb64/keyboard.json similarity index 95% rename from keyboards/weirdo/kelowna/rgb64/info.json rename to keyboards/weirdo/kelowna/rgb64/keyboard.json index 12188f6f302..6e86f8cc478 100644 --- a/keyboards/weirdo/kelowna/rgb64/info.json +++ b/keyboards/weirdo/kelowna/rgb64/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "A6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A3", "A4", "A5", "A7", "B0", "B1", "B10", "B15", "A8", "A9", "A10", "B7", "B6", "B5", "B4"], "rows": ["B12", "B13", "B14", "C11", "A1"] diff --git a/keyboards/weirdo/kelowna/rgb64/rules.mk b/keyboards/weirdo/kelowna/rgb64/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/weirdo/kelowna/rgb64/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/weirdo/ls_60/info.json b/keyboards/weirdo/ls_60/keyboard.json similarity index 95% rename from keyboards/weirdo/ls_60/info.json rename to keyboards/weirdo/ls_60/keyboard.json index 0dadf9d32ce..eeaf5a23a59 100644 --- a/keyboards/weirdo/ls_60/info.json +++ b/keyboards/weirdo/ls_60/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "A6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A8", "B14", "B13", "B12", "B1", "B0", "A7", "A1", "A15", "B3", "B4", "B5", "B6", "B7", "B8"], "rows": ["A9", "A10", "B10", "B11", "B15"] diff --git a/keyboards/weirdo/ls_60/rules.mk b/keyboards/weirdo/ls_60/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/weirdo/ls_60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/weirdo/naiping/np64/info.json b/keyboards/weirdo/naiping/np64/keyboard.json similarity index 95% rename from keyboards/weirdo/naiping/np64/info.json rename to keyboards/weirdo/naiping/np64/keyboard.json index 63e6297f7d5..ddbbfecc3c1 100644 --- a/keyboards/weirdo/naiping/np64/info.json +++ b/keyboards/weirdo/naiping/np64/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "B1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/weirdo/naiping/np64/rules.mk b/keyboards/weirdo/naiping/np64/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/weirdo/naiping/np64/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/weirdo/naiping/nphhkb/info.json b/keyboards/weirdo/naiping/nphhkb/keyboard.json similarity index 95% rename from keyboards/weirdo/naiping/nphhkb/info.json rename to keyboards/weirdo/naiping/nphhkb/keyboard.json index 931f81db1f0..13fe77f4764 100644 --- a/keyboards/weirdo/naiping/nphhkb/info.json +++ b/keyboards/weirdo/naiping/nphhkb/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "A7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A4", "C15", "C14", "A5", "A6", "A15", "B1", "B10", "B12", "B13", "B14", "B15", "B6", "A8", "B5"], "rows": ["B7", "B8", "B9", "C13", "B4"] diff --git a/keyboards/weirdo/naiping/nphhkb/rules.mk b/keyboards/weirdo/naiping/nphhkb/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/weirdo/naiping/nphhkb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/weirdo/naiping/npminila/info.json b/keyboards/weirdo/naiping/npminila/keyboard.json similarity index 95% rename from keyboards/weirdo/naiping/npminila/info.json rename to keyboards/weirdo/naiping/npminila/keyboard.json index 3824802e020..37c297a3fc1 100644 --- a/keyboards/weirdo/naiping/npminila/info.json +++ b/keyboards/weirdo/naiping/npminila/keyboard.json @@ -14,6 +14,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/weirdo/naiping/npminila/rules.mk b/keyboards/weirdo/naiping/npminila/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/weirdo/naiping/npminila/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/weirdo/tiger910/info.json b/keyboards/weirdo/tiger910/keyboard.json similarity index 95% rename from keyboards/weirdo/tiger910/info.json rename to keyboards/weirdo/tiger910/keyboard.json index 526b9be4d16..90f4208b8d7 100644 --- a/keyboards/weirdo/tiger910/info.json +++ b/keyboards/weirdo/tiger910/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5447", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "sleep_led": true + }, "matrix_pins": { "cols": ["B5", "B6", "B7", "C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7", "D0", "D1", "D2", "D3", "D4"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/weirdo/tiger910/rules.mk b/keyboards/weirdo/tiger910/rules.mk deleted file mode 100644 index 1533e2ee82b..00000000000 --- a/keyboards/weirdo/tiger910/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes diff --git a/keyboards/wekey/polaris/info.json b/keyboards/wekey/polaris/keyboard.json similarity index 98% rename from keyboards/wekey/polaris/info.json rename to keyboards/wekey/polaris/keyboard.json index 661799f750d..356e3f951ee 100644 --- a/keyboards/wekey/polaris/info.json +++ b/keyboards/wekey/polaris/keyboard.json @@ -11,6 +11,14 @@ "build": { "debounce_type": "sym_defer_pk" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "B4", "B5", "B6", "D0", "D1", "D2", "D3"], "rows": ["F4", "F1", "F0", "B7", "F7", "D5", "C6", "C7", "F5", "F6"] diff --git a/keyboards/wekey/polaris/rules.mk b/keyboards/wekey/polaris/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/wekey/polaris/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/westfoxtrot/aanzee/info.json b/keyboards/westfoxtrot/aanzee/keyboard.json similarity index 97% rename from keyboards/westfoxtrot/aanzee/info.json rename to keyboards/westfoxtrot/aanzee/keyboard.json index 9524eaea127..7a12a3e52e3 100644 --- a/keyboards/westfoxtrot/aanzee/info.json +++ b/keyboards/westfoxtrot/aanzee/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xAA01", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "D1", "D0", "D3", "D5", "C7", "C6", "B6", "B5", "F0", "F1", "F4", "F5", "F6", "F7", "B0"], "rows": ["B4", "D7", "D6", "D4", "B3"] diff --git a/keyboards/westfoxtrot/aanzee/rules.mk b/keyboards/westfoxtrot/aanzee/rules.mk deleted file mode 100644 index 0db53fb7e83..00000000000 --- a/keyboards/westfoxtrot/aanzee/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no - diff --git a/keyboards/westfoxtrot/cyclops/info.json b/keyboards/westfoxtrot/cyclops/keyboard.json similarity index 96% rename from keyboards/westfoxtrot/cyclops/info.json rename to keyboards/westfoxtrot/cyclops/keyboard.json index fe6b685be3c..7bfcd859b03 100644 --- a/keyboards/westfoxtrot/cyclops/info.json +++ b/keyboards/westfoxtrot/cyclops/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0A66", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D5", "D6", "B6", "B1", "B2", "B3", "C6", "C7", "F7", "F6", "F4", "F5", "F1"], "rows": ["D1", "D0", "D7", "B4", "F0"] diff --git a/keyboards/westfoxtrot/cyclops/rules.mk b/keyboards/westfoxtrot/cyclops/rules.mk deleted file mode 100644 index 2e0e4f94c04..00000000000 --- a/keyboards/westfoxtrot/cyclops/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/westfoxtrot/cypher/rev1/info.json b/keyboards/westfoxtrot/cypher/rev1/keyboard.json similarity index 98% rename from keyboards/westfoxtrot/cypher/rev1/info.json rename to keyboards/westfoxtrot/cypher/rev1/keyboard.json index d6e5689df92..46c0dd298ef 100644 --- a/keyboards/westfoxtrot/cypher/rev1/info.json +++ b/keyboards/westfoxtrot/cypher/rev1/keyboard.json @@ -6,6 +6,15 @@ "pid": "0xAA97", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "E6", "F0"], "rows": ["B0", "B1", "B2", "B3", "B4", "F6", "B6", "B7", "C6", "C7"] diff --git a/keyboards/westfoxtrot/cypher/rev1/rules.mk b/keyboards/westfoxtrot/cypher/rev1/rules.mk deleted file mode 100644 index 7cbb60ad2b7..00000000000 --- a/keyboards/westfoxtrot/cypher/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/westfoxtrot/cypher/rev5/info.json b/keyboards/westfoxtrot/cypher/rev5/keyboard.json similarity index 99% rename from keyboards/westfoxtrot/cypher/rev5/info.json rename to keyboards/westfoxtrot/cypher/rev5/keyboard.json index b72f7173e46..74938c45635 100644 --- a/keyboards/westfoxtrot/cypher/rev5/info.json +++ b/keyboards/westfoxtrot/cypher/rev5/keyboard.json @@ -6,6 +6,16 @@ "pid": "0xAA98", "device_version": "0.0.2" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "D7", "B4", "B5", "B6", "B7", "B3", "B2", "B1", "F0"], "rows": ["B0", "F1", "F5", "F6", "F7", "D1", "F4", "D4", "C6", "C7"] diff --git a/keyboards/westfoxtrot/cypher/rev5/rules.mk b/keyboards/westfoxtrot/cypher/rev5/rules.mk deleted file mode 100644 index 456eb8a455a..00000000000 --- a/keyboards/westfoxtrot/cypher/rev5/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/westfoxtrot/prophet/info.json b/keyboards/westfoxtrot/prophet/keyboard.json similarity index 99% rename from keyboards/westfoxtrot/prophet/info.json rename to keyboards/westfoxtrot/prophet/keyboard.json index c9b356d0515..1d6067a4e2b 100644 --- a/keyboards/westfoxtrot/prophet/info.json +++ b/keyboards/westfoxtrot/prophet/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAA03", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["A6", "A7", "B0", "A9", "A8", "A14", "A15", "B3", "B4", "B5", "B8", "B7", "B6", "B9"], "rows": ["C13", "B2", "B1", "A4", "A3"] diff --git a/keyboards/westfoxtrot/prophet/rules.mk b/keyboards/westfoxtrot/prophet/rules.mk deleted file mode 100644 index 14d4af4e142..00000000000 --- a/keyboards/westfoxtrot/prophet/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -SLEEP_LED_ENABLE = yes -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = no - diff --git a/keyboards/wilba_tech/rama_works_m10_b/info.json b/keyboards/wilba_tech/rama_works_m10_b/keyboard.json similarity index 87% rename from keyboards/wilba_tech/rama_works_m10_b/info.json rename to keyboards/wilba_tech/rama_works_m10_b/keyboard.json index eb861e8d3f8..b66b5c64cf5 100644 --- a/keyboards/wilba_tech/rama_works_m10_b/info.json +++ b/keyboards/wilba_tech/rama_works_m10_b/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x00AB", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D7", "B6", "F0", "D6", "B5", "F1", "D4", "B4", "F4", "F5"], "rows": ["E6"] diff --git a/keyboards/wilba_tech/rama_works_m10_b/rules.mk b/keyboards/wilba_tech/rama_works_m10_b/rules.mk deleted file mode 100644 index 29eb5c8fbe8..00000000000 --- a/keyboards/wilba_tech/rama_works_m10_b/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wilba_tech/rama_works_m50_ax/info.json b/keyboards/wilba_tech/rama_works_m50_ax/keyboard.json similarity index 95% rename from keyboards/wilba_tech/rama_works_m50_ax/info.json rename to keyboards/wilba_tech/rama_works_m50_ax/keyboard.json index ea833236b88..29dec482bbe 100644 --- a/keyboards/wilba_tech/rama_works_m50_ax/info.json +++ b/keyboards/wilba_tech/rama_works_m50_ax/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x150A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "B5", "C7", "C6", "B6", "B2", "B3", "B1", "B4", "D7", "D6", "D4", "D3"], "rows": ["F0", "F1", "F5", "F6"] diff --git a/keyboards/wilba_tech/rama_works_m50_ax/rules.mk b/keyboards/wilba_tech/rama_works_m50_ax/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/rama_works_m50_ax/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt60_g/info.json b/keyboards/wilba_tech/wt60_g/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt60_g/info.json rename to keyboards/wilba_tech/wt60_g/keyboard.json index 7910eaa8666..3c1a6aef557 100644 --- a/keyboards/wilba_tech/wt60_g/info.json +++ b/keyboards/wilba_tech/wt60_g/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0021", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt60_g/rules.mk b/keyboards/wilba_tech/wt60_g/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt60_g/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt60_g2/info.json b/keyboards/wilba_tech/wt60_g2/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt60_g2/info.json rename to keyboards/wilba_tech/wt60_g2/keyboard.json index 6b744ac0cbe..2167847133d 100644 --- a/keyboards/wilba_tech/wt60_g2/info.json +++ b/keyboards/wilba_tech/wt60_g2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x002F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt60_g2/rules.mk b/keyboards/wilba_tech/wt60_g2/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt60_g2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt60_h1/info.json b/keyboards/wilba_tech/wt60_h1/keyboard.json similarity index 96% rename from keyboards/wilba_tech/wt60_h1/info.json rename to keyboards/wilba_tech/wt60_h1/keyboard.json index cbbf0b39cbe..279f7eab51d 100644 --- a/keyboards/wilba_tech/wt60_h1/info.json +++ b/keyboards/wilba_tech/wt60_h1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0024", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt60_h1/rules.mk b/keyboards/wilba_tech/wt60_h1/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/wilba_tech/wt60_h1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wilba_tech/wt60_h2/info.json b/keyboards/wilba_tech/wt60_h2/keyboard.json similarity index 96% rename from keyboards/wilba_tech/wt60_h2/info.json rename to keyboards/wilba_tech/wt60_h2/keyboard.json index 981cf979ec5..9655469ffcd 100644 --- a/keyboards/wilba_tech/wt60_h2/info.json +++ b/keyboards/wilba_tech/wt60_h2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x002B", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt60_h2/rules.mk b/keyboards/wilba_tech/wt60_h2/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/wilba_tech/wt60_h2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wilba_tech/wt60_h3/info.json b/keyboards/wilba_tech/wt60_h3/keyboard.json similarity index 96% rename from keyboards/wilba_tech/wt60_h3/info.json rename to keyboards/wilba_tech/wt60_h3/keyboard.json index ea2a59ef945..5ff272a98d3 100644 --- a/keyboards/wilba_tech/wt60_h3/info.json +++ b/keyboards/wilba_tech/wt60_h3/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x002C", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt60_h3/rules.mk b/keyboards/wilba_tech/wt60_h3/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/wilba_tech/wt60_h3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wilba_tech/wt60_xt/info.json b/keyboards/wilba_tech/wt60_xt/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt60_xt/info.json rename to keyboards/wilba_tech/wt60_xt/keyboard.json index 1c5867821f8..6cd3d64be28 100644 --- a/keyboards/wilba_tech/wt60_xt/info.json +++ b/keyboards/wilba_tech/wt60_xt/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x001C", "device_version": "0.0.1" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "B0", "F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "E6", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt60_xt/rules.mk b/keyboards/wilba_tech/wt60_xt/rules.mk deleted file mode 100644 index 388b9f97e35..00000000000 --- a/keyboards/wilba_tech/wt60_xt/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output diff --git a/keyboards/wilba_tech/wt65_d/info.json b/keyboards/wilba_tech/wt65_d/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt65_d/info.json rename to keyboards/wilba_tech/wt65_d/keyboard.json index b9fd2dcf466..d41d39bcb29 100644 --- a/keyboards/wilba_tech/wt65_d/info.json +++ b/keyboards/wilba_tech/wt65_d/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0031", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "D3", "D2", "B7", "B0", "B3", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["E6", "F0", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_d/rules.mk b/keyboards/wilba_tech/wt65_d/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt65_d/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt65_f/info.json b/keyboards/wilba_tech/wt65_f/keyboard.json similarity index 96% rename from keyboards/wilba_tech/wt65_f/info.json rename to keyboards/wilba_tech/wt65_f/keyboard.json index e420388fad3..bb39a09a91c 100644 --- a/keyboards/wilba_tech/wt65_f/info.json +++ b/keyboards/wilba_tech/wt65_f/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x002D", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_f/rules.mk b/keyboards/wilba_tech/wt65_f/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt65_f/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt65_fx/info.json b/keyboards/wilba_tech/wt65_fx/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt65_fx/info.json rename to keyboards/wilba_tech/wt65_fx/keyboard.json index a551dc45583..a070bfd6f93 100644 --- a/keyboards/wilba_tech/wt65_fx/info.json +++ b/keyboards/wilba_tech/wt65_fx/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x002E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_fx/rules.mk b/keyboards/wilba_tech/wt65_fx/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt65_fx/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt65_g/info.json b/keyboards/wilba_tech/wt65_g/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt65_g/info.json rename to keyboards/wilba_tech/wt65_g/keyboard.json index e66c5394c7c..d9fe012ce40 100644 --- a/keyboards/wilba_tech/wt65_g/info.json +++ b/keyboards/wilba_tech/wt65_g/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0022", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_g/rules.mk b/keyboards/wilba_tech/wt65_g/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt65_g/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt65_g2/info.json b/keyboards/wilba_tech/wt65_g2/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt65_g2/info.json rename to keyboards/wilba_tech/wt65_g2/keyboard.json index 73aab6df690..7c55f5e3efa 100644 --- a/keyboards/wilba_tech/wt65_g2/info.json +++ b/keyboards/wilba_tech/wt65_g2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x002A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_g2/rules.mk b/keyboards/wilba_tech/wt65_g2/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt65_g2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt65_h1/info.json b/keyboards/wilba_tech/wt65_h1/keyboard.json similarity index 96% rename from keyboards/wilba_tech/wt65_h1/info.json rename to keyboards/wilba_tech/wt65_h1/keyboard.json index dc992e625fe..a6f22273dcb 100644 --- a/keyboards/wilba_tech/wt65_h1/info.json +++ b/keyboards/wilba_tech/wt65_h1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0025", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_h1/rules.mk b/keyboards/wilba_tech/wt65_h1/rules.mk deleted file mode 100644 index 718a1e8d099..00000000000 --- a/keyboards/wilba_tech/wt65_h1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wilba_tech/wt65_xt/info.json b/keyboards/wilba_tech/wt65_xt/keyboard.json similarity index 97% rename from keyboards/wilba_tech/wt65_xt/info.json rename to keyboards/wilba_tech/wt65_xt/keyboard.json index c977624dd9b..73d39017769 100644 --- a/keyboards/wilba_tech/wt65_xt/info.json +++ b/keyboards/wilba_tech/wt65_xt/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x001D", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "B0", "F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_xt/rules.mk b/keyboards/wilba_tech/wt65_xt/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt65_xt/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt65_xtx/info.json b/keyboards/wilba_tech/wt65_xtx/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt65_xtx/info.json rename to keyboards/wilba_tech/wt65_xtx/keyboard.json index bfd3e36e116..96678860ee2 100644 --- a/keyboards/wilba_tech/wt65_xtx/info.json +++ b/keyboards/wilba_tech/wt65_xtx/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x001E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "B0", "F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F0", "F1", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt65_xtx/rules.mk b/keyboards/wilba_tech/wt65_xtx/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt65_xtx/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt70_jb/info.json b/keyboards/wilba_tech/wt70_jb/keyboard.json similarity index 98% rename from keyboards/wilba_tech/wt70_jb/info.json rename to keyboards/wilba_tech/wt70_jb/keyboard.json index e02cb615098..a1ffe1e5616 100644 --- a/keyboards/wilba_tech/wt70_jb/info.json +++ b/keyboards/wilba_tech/wt70_jb/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "D5", "D3", "D2", "D1", "D0", "B7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "B0", "B3"], "rows": ["E6", "F0", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt70_jb/rules.mk b/keyboards/wilba_tech/wt70_jb/rules.mk deleted file mode 100644 index 4d010d8a29c..00000000000 --- a/keyboards/wilba_tech/wt70_jb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/wilba_tech/wt80_g/info.json b/keyboards/wilba_tech/wt80_g/keyboard.json similarity index 99% rename from keyboards/wilba_tech/wt80_g/info.json rename to keyboards/wilba_tech/wt80_g/keyboard.json index 2bbdce654bb..410b5a8ec21 100644 --- a/keyboards/wilba_tech/wt80_g/info.json +++ b/keyboards/wilba_tech/wt80_g/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0023", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "D5", "B1", "B2", "B3", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "B7", "B0"], "rows": ["F1", "F0", "E6", "F4", "F6", "F7"] diff --git a/keyboards/wilba_tech/wt80_g/rules.mk b/keyboards/wilba_tech/wt80_g/rules.mk deleted file mode 100644 index c843e8a475a..00000000000 --- a/keyboards/wilba_tech/wt80_g/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/keyboard.json similarity index 99% rename from keyboards/winkeyless/b87/info.json rename to keyboards/winkeyless/b87/keyboard.json index 8a5f6fdbea4..a941445d72b 100644 --- a/keyboards/winkeyless/b87/info.json +++ b/keyboards/winkeyless/b87/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0B87", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "C5", "C4", "C3", "C2", "D7", "C6", "C7", "A7", "A6"], "rows": ["B5", "B4", "B3", "B2", "B1", "B0", "B6", "B7"] diff --git a/keyboards/winkeyless/b87/rules.mk b/keyboards/winkeyless/b87/rules.mk deleted file mode 100644 index d3a23ba0b6d..00000000000 --- a/keyboards/winkeyless/b87/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/winkeyless/bface/info.json b/keyboards/winkeyless/bface/keyboard.json similarity index 95% rename from keyboards/winkeyless/bface/info.json rename to keyboards/winkeyless/bface/keyboard.json index 6e8369272f2..cc5194ef343 100644 --- a/keyboards/winkeyless/bface/info.json +++ b/keyboards/winkeyless/bface/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4246", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/winkeyless/bface/rules.mk b/keyboards/winkeyless/bface/rules.mk deleted file mode 100644 index 166b3d3ec8d..00000000000 --- a/keyboards/winkeyless/bface/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/winkeyless/bmini/info.json b/keyboards/winkeyless/bmini/keyboard.json similarity index 97% rename from keyboards/winkeyless/bmini/info.json rename to keyboards/winkeyless/bmini/keyboard.json index 05c6fbe9b8d..6fdaf621825 100644 --- a/keyboards/winkeyless/bmini/info.json +++ b/keyboards/winkeyless/bmini/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x424D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/winkeyless/bmini/rules.mk b/keyboards/winkeyless/bmini/rules.mk deleted file mode 100644 index 6b0cec85a44..00000000000 --- a/keyboards/winkeyless/bmini/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/winkeyless/bminiex/info.json b/keyboards/winkeyless/bminiex/keyboard.json similarity index 98% rename from keyboards/winkeyless/bminiex/info.json rename to keyboards/winkeyless/bminiex/keyboard.json index fbd0f9b024a..9e213bd1f86 100644 --- a/keyboards/winkeyless/bminiex/info.json +++ b/keyboards/winkeyless/bminiex/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4258", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/winkeyless/bminiex/rules.mk b/keyboards/winkeyless/bminiex/rules.mk deleted file mode 100644 index 274e41d419c..00000000000 --- a/keyboards/winkeyless/bminiex/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -DEBUG_ENABLE = no -COMMAND_ENABLE = no -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/winkeys/mini_winni/info.json b/keyboards/winkeys/mini_winni/keyboard.json similarity index 88% rename from keyboards/winkeys/mini_winni/info.json rename to keyboards/winkeys/mini_winni/keyboard.json index 21cfdc6a2be..8f80960f247 100644 --- a/keyboards/winkeys/mini_winni/info.json +++ b/keyboards/winkeys/mini_winni/keyboard.json @@ -9,6 +9,15 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["F4", "F5", "B4", "D7"], diff --git a/keyboards/winkeys/mini_winni/rules.mk b/keyboards/winkeys/mini_winni/rules.mk deleted file mode 100644 index ed20f2bf91e..00000000000 --- a/keyboards/winkeys/mini_winni/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/winry/winry25tc/info.json b/keyboards/winry/winry25tc/keyboard.json similarity index 90% rename from keyboards/winry/winry25tc/info.json rename to keyboards/winry/winry25tc/keyboard.json index a5d3b71a261..9a83aded2c2 100644 --- a/keyboards/winry/winry25tc/info.json +++ b/keyboards/winry/winry25tc/keyboard.json @@ -20,6 +20,16 @@ "rainbow_swirl": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "key_lock": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "C7", "B7", "B2", "B4"], "rows": ["E6", "F0", "D6", "D2", "B6"] diff --git a/keyboards/winry/winry25tc/rules.mk b/keyboards/winry/winry25tc/rules.mk deleted file mode 100644 index e1908949b39..00000000000 --- a/keyboards/winry/winry25tc/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/keyboard.json similarity index 96% rename from keyboards/winry/winry315/info.json rename to keyboards/winry/winry315/keyboard.json index a7d71aca462..81971b339f2 100644 --- a/keyboards/winry/winry315/info.json +++ b/keyboards/winry/winry315/keyboard.json @@ -82,6 +82,16 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgb_matrix": true + }, "matrix_pins": { "direct": [ ["F4", "C7", "D4", "D5", "D1", "F5", "C6", "D6", "D3", "D2", "F6", "B6", "D7", "B4", "B5", "B2", "D0", "E6", null, null, null, null, null, null] diff --git a/keyboards/winry/winry315/rules.mk b/keyboards/winry/winry315/rules.mk deleted file mode 100644 index 0f932779f59..00000000000 --- a/keyboards/winry/winry315/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/woodkeys/bigseries/1key/info.json b/keyboards/woodkeys/bigseries/1key/keyboard.json similarity index 83% rename from keyboards/woodkeys/bigseries/1key/info.json rename to keyboards/woodkeys/bigseries/1key/keyboard.json index 43d7b0f536c..2440b1974b3 100644 --- a/keyboards/woodkeys/bigseries/1key/info.json +++ b/keyboards/woodkeys/bigseries/1key/keyboard.json @@ -27,6 +27,15 @@ "twinkle": true } }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B4"], "rows": ["B0"] diff --git a/keyboards/woodkeys/bigseries/1key/rules.mk b/keyboards/woodkeys/bigseries/1key/rules.mk deleted file mode 100755 index 4465ace1727..00000000000 --- a/keyboards/woodkeys/bigseries/1key/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/woodkeys/bigseries/2key/info.json b/keyboards/woodkeys/bigseries/2key/keyboard.json similarity index 84% rename from keyboards/woodkeys/bigseries/2key/info.json rename to keyboards/woodkeys/bigseries/2key/keyboard.json index 98cbeab77d1..9c8c34914ac 100644 --- a/keyboards/woodkeys/bigseries/2key/info.json +++ b/keyboards/woodkeys/bigseries/2key/keyboard.json @@ -27,6 +27,15 @@ "twinkle": true } }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "B3"], "rows": ["B0"] diff --git a/keyboards/woodkeys/bigseries/2key/rules.mk b/keyboards/woodkeys/bigseries/2key/rules.mk deleted file mode 100755 index 4465ace1727..00000000000 --- a/keyboards/woodkeys/bigseries/2key/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/woodkeys/bigseries/3key/info.json b/keyboards/woodkeys/bigseries/3key/keyboard.json similarity index 85% rename from keyboards/woodkeys/bigseries/3key/info.json rename to keyboards/woodkeys/bigseries/3key/keyboard.json index 8c24efb09df..17870d98ad7 100644 --- a/keyboards/woodkeys/bigseries/3key/info.json +++ b/keyboards/woodkeys/bigseries/3key/keyboard.json @@ -27,6 +27,15 @@ "twinkle": true } }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "B3", "B5"], "rows": ["B0"] diff --git a/keyboards/woodkeys/bigseries/3key/rules.mk b/keyboards/woodkeys/bigseries/3key/rules.mk deleted file mode 100755 index 4465ace1727..00000000000 --- a/keyboards/woodkeys/bigseries/3key/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/woodkeys/bigseries/4key/info.json b/keyboards/woodkeys/bigseries/4key/keyboard.json similarity index 86% rename from keyboards/woodkeys/bigseries/4key/info.json rename to keyboards/woodkeys/bigseries/4key/keyboard.json index 789eb9ecbbb..1e44fc23756 100644 --- a/keyboards/woodkeys/bigseries/4key/info.json +++ b/keyboards/woodkeys/bigseries/4key/keyboard.json @@ -27,6 +27,15 @@ "twinkle": true } }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "B3"], "rows": ["B0", "B5"] diff --git a/keyboards/woodkeys/bigseries/4key/rules.mk b/keyboards/woodkeys/bigseries/4key/rules.mk deleted file mode 100755 index 4465ace1727..00000000000 --- a/keyboards/woodkeys/bigseries/4key/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wsk/alpha9/info.json b/keyboards/wsk/alpha9/keyboard.json similarity index 93% rename from keyboards/wsk/alpha9/info.json rename to keyboards/wsk/alpha9/keyboard.json index 5b9a3094604..517e22238a3 100644 --- a/keyboards/wsk/alpha9/info.json +++ b/keyboards/wsk/alpha9/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x692A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "E6", "C6", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "D1", "D0", "D2"], "rows": ["D4", "B4", "B5"] diff --git a/keyboards/wsk/alpha9/rules.mk b/keyboards/wsk/alpha9/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/wsk/alpha9/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wsk/g4m3ralpha/info.json b/keyboards/wsk/g4m3ralpha/keyboard.json similarity index 93% rename from keyboards/wsk/g4m3ralpha/info.json rename to keyboards/wsk/g4m3ralpha/keyboard.json index a6ecaccb059..312e207a2f3 100644 --- a/keyboards/wsk/g4m3ralpha/info.json +++ b/keyboards/wsk/g4m3ralpha/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "E6", "C6", "B6", "B2", "B3", "B1", "F7", "F6", "F5"], "rows": ["D4", "B4", "B5", "D1"] diff --git a/keyboards/wsk/g4m3ralpha/rules.mk b/keyboards/wsk/g4m3ralpha/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/wsk/g4m3ralpha/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wsk/gothic50/info.json b/keyboards/wsk/gothic50/keyboard.json similarity index 95% rename from keyboards/wsk/gothic50/info.json rename to keyboards/wsk/gothic50/keyboard.json index 2dd4ae8296b..c40390315e5 100644 --- a/keyboards/wsk/gothic50/info.json +++ b/keyboards/wsk/gothic50/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "C7", "C6", "B6", "D4", "D5", "D3", "D2", "D1", "D0", "B7", "B0"], "rows": ["B5", "B4", "D7", "D6"] diff --git a/keyboards/wsk/gothic50/rules.mk b/keyboards/wsk/gothic50/rules.mk deleted file mode 100644 index 4465ace1727..00000000000 --- a/keyboards/wsk/gothic50/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wsk/gothic70/info.json b/keyboards/wsk/gothic70/keyboard.json similarity index 96% rename from keyboards/wsk/gothic70/info.json rename to keyboards/wsk/gothic70/keyboard.json index 0912ade63f7..a3de1e274c3 100644 --- a/keyboards/wsk/gothic70/info.json +++ b/keyboards/wsk/gothic70/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/wsk/gothic70/rules.mk b/keyboards/wsk/gothic70/rules.mk deleted file mode 100644 index 4465ace1727..00000000000 --- a/keyboards/wsk/gothic70/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wsk/houndstooth/info.json b/keyboards/wsk/houndstooth/keyboard.json similarity index 94% rename from keyboards/wsk/houndstooth/info.json rename to keyboards/wsk/houndstooth/keyboard.json index c3b7751e6bf..682aa68e5c9 100644 --- a/keyboards/wsk/houndstooth/info.json +++ b/keyboards/wsk/houndstooth/keyboard.json @@ -11,6 +11,14 @@ "ws2812": { "pin": "F1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "F4", "D0", "F5", "D4", "F6"], "rows": ["C6", "F7", "D7", "B1", "B4", "B2", "B5", "B6"] diff --git a/keyboards/wsk/houndstooth/rules.mk b/keyboards/wsk/houndstooth/rules.mk deleted file mode 100644 index 21a60b878fe..00000000000 --- a/keyboards/wsk/houndstooth/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/wsk/jerkin/info.json b/keyboards/wsk/jerkin/keyboard.json similarity index 93% rename from keyboards/wsk/jerkin/info.json rename to keyboards/wsk/jerkin/keyboard.json index 73894c66198..3e105f317f1 100644 --- a/keyboards/wsk/jerkin/info.json +++ b/keyboards/wsk/jerkin/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x79AE", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "B1", "F7", "F6", "F5", "F4", "E6", "D7"], "rows": ["B3", "B4", "B5"] diff --git a/keyboards/wsk/jerkin/rules.mk b/keyboards/wsk/jerkin/rules.mk deleted file mode 100644 index 430e25d06d2..00000000000 --- a/keyboards/wsk/jerkin/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/wsk/kodachi50/info.json b/keyboards/wsk/kodachi50/keyboard.json similarity index 95% rename from keyboards/wsk/kodachi50/info.json rename to keyboards/wsk/kodachi50/keyboard.json index a1950145951..4580e548e33 100644 --- a/keyboards/wsk/kodachi50/info.json +++ b/keyboards/wsk/kodachi50/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4"], "rows": ["D2", "B5", "B6", "B2", "B3", "B1", "F7", "F6"] diff --git a/keyboards/wsk/kodachi50/rules.mk b/keyboards/wsk/kodachi50/rules.mk deleted file mode 100644 index c4a40815c6d..00000000000 --- a/keyboards/wsk/kodachi50/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/wsk/pain27/info.json b/keyboards/wsk/pain27/keyboard.json similarity index 92% rename from keyboards/wsk/pain27/info.json rename to keyboards/wsk/pain27/keyboard.json index 813bde3d027..b2ac95d9c5c 100644 --- a/keyboards/wsk/pain27/info.json +++ b/keyboards/wsk/pain27/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "B3", "F6", "B1", "B2", "B6", "D4", "C6", "D7", "E6"], "rows": ["F4", "F5", "D0"] diff --git a/keyboards/wsk/pain27/rules.mk b/keyboards/wsk/pain27/rules.mk deleted file mode 100644 index 21fd8f40ee0..00000000000 --- a/keyboards/wsk/pain27/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/wsk/sl40/info.json b/keyboards/wsk/sl40/keyboard.json similarity index 97% rename from keyboards/wsk/sl40/info.json rename to keyboards/wsk/sl40/keyboard.json index 262e0fb9bb2..cfb0d7d86ac 100644 --- a/keyboards/wsk/sl40/info.json +++ b/keyboards/wsk/sl40/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "F1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D3", "D1", "F6", "F7", "B6", "B2", "B3", "B1", "D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "F5", "D2", "D0"] diff --git a/keyboards/wsk/sl40/rules.mk b/keyboards/wsk/sl40/rules.mk deleted file mode 100644 index c4a40815c6d..00000000000 --- a/keyboards/wsk/sl40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/wsk/tkl30/info.json b/keyboards/wsk/tkl30/keyboard.json similarity index 95% rename from keyboards/wsk/tkl30/info.json rename to keyboards/wsk/tkl30/keyboard.json index 0dcbab7d724..2c222d9781b 100644 --- a/keyboards/wsk/tkl30/info.json +++ b/keyboards/wsk/tkl30/keyboard.json @@ -28,6 +28,14 @@ "ws2812": { "pin": "B1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D1", "D0", "D4", "F7", "C6", "B1", "D7", "B3", "E6", "B2", "B4", "B6", "F6", "E5"], "rows": ["D2", "B5", "F4"] diff --git a/keyboards/wsk/tkl30/rules.mk b/keyboards/wsk/tkl30/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/wsk/tkl30/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wuque/ikki68/info.json b/keyboards/wuque/ikki68/keyboard.json similarity index 96% rename from keyboards/wuque/ikki68/info.json rename to keyboards/wuque/ikki68/keyboard.json index 86d1de3d4a9..c1ed459238b 100644 --- a/keyboards/wuque/ikki68/info.json +++ b/keyboards/wuque/ikki68/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D0", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "F0", "F1", "B6", "F4", "F5", "F6", "F7"], "rows": ["B0", "B1", "B2", "B3", "E6"] diff --git a/keyboards/wuque/ikki68/rules.mk b/keyboards/wuque/ikki68/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/wuque/ikki68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wuque/mammoth20x/info.json b/keyboards/wuque/mammoth20x/keyboard.json similarity index 90% rename from keyboards/wuque/mammoth20x/info.json rename to keyboards/wuque/mammoth20x/keyboard.json index f7917ae26d8..24b1715a0f7 100644 --- a/keyboards/wuque/mammoth20x/info.json +++ b/keyboards/wuque/mammoth20x/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "E6", "F7"], "rows": ["D5", "F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/wuque/mammoth20x/rules.mk b/keyboards/wuque/mammoth20x/rules.mk deleted file mode 100644 index 1f4cf80a4d5..00000000000 --- a/keyboards/wuque/mammoth20x/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes # Enable Encoder diff --git a/keyboards/wuque/mammoth75x/info.json b/keyboards/wuque/mammoth75x/keyboard.json similarity index 99% rename from keyboards/wuque/mammoth75x/info.json rename to keyboards/wuque/mammoth75x/keyboard.json index 9b9bc1abb66..486a0422d53 100644 --- a/keyboards/wuque/mammoth75x/info.json +++ b/keyboards/wuque/mammoth75x/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "E6", "F0", "F1", "F4", "F5", "F6", "C6", "B7", "B3"], "rows": ["B0", "C7", "D2", "F7", "D1", "D0"] diff --git a/keyboards/wuque/mammoth75x/rules.mk b/keyboards/wuque/mammoth75x/rules.mk deleted file mode 100644 index fe9d55b10fd..00000000000 --- a/keyboards/wuque/mammoth75x/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable Encoder diff --git a/keyboards/wuque/promise87/ansi/info.json b/keyboards/wuque/promise87/ansi/keyboard.json similarity index 99% rename from keyboards/wuque/promise87/ansi/info.json rename to keyboards/wuque/promise87/ansi/keyboard.json index e7e0a0b46ee..2c7008b6469 100644 --- a/keyboards/wuque/promise87/ansi/info.json +++ b/keyboards/wuque/promise87/ansi/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "D7", "D1", "D5", "F7", "D4", "F5", "F4", "F1", "C7", "C6", "B6", "B5", "B4", "E6", "B1", "B0"], "rows": ["B3", "B7", "B2", "F0", "D3", "D0"] diff --git a/keyboards/wuque/promise87/ansi/rules.mk b/keyboards/wuque/promise87/ansi/rules.mk deleted file mode 100644 index 9f087183c5e..00000000000 --- a/keyboards/wuque/promise87/ansi/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wuque/promise87/wkl/info.json b/keyboards/wuque/promise87/wkl/keyboard.json similarity index 99% rename from keyboards/wuque/promise87/wkl/info.json rename to keyboards/wuque/promise87/wkl/keyboard.json index 29809d2a153..4849b238e1c 100644 --- a/keyboards/wuque/promise87/wkl/info.json +++ b/keyboards/wuque/promise87/wkl/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "D7", "D1", "D5", "F7", "D4", "F5", "F4", "F1", "C7", "C6", "B6", "B5", "B4", "E6", "B1", "B0"], "rows": ["B3", "B7", "B2", "F0", "D3", "D0"] diff --git a/keyboards/wuque/promise87/wkl/rules.mk b/keyboards/wuque/promise87/wkl/rules.mk deleted file mode 100644 index 9f087183c5e..00000000000 --- a/keyboards/wuque/promise87/wkl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/wuque/tata80/wk/info.json b/keyboards/wuque/tata80/wk/keyboard.json similarity index 97% rename from keyboards/wuque/tata80/wk/info.json rename to keyboards/wuque/tata80/wk/keyboard.json index ce532c92696..0fb1230c3fe 100644 --- a/keyboards/wuque/tata80/wk/info.json +++ b/keyboards/wuque/tata80/wk/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "B1", "B0"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/wuque/tata80/wk/rules.mk b/keyboards/wuque/tata80/wk/rules.mk deleted file mode 100644 index 93c8ae6d48d..00000000000 --- a/keyboards/wuque/tata80/wk/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/wuque/tata80/wkl/info.json b/keyboards/wuque/tata80/wkl/keyboard.json similarity index 97% rename from keyboards/wuque/tata80/wkl/info.json rename to keyboards/wuque/tata80/wkl/keyboard.json index ba0774a5b70..f11fa34acc6 100644 --- a/keyboards/wuque/tata80/wkl/info.json +++ b/keyboards/wuque/tata80/wkl/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "B1", "B0"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/wuque/tata80/wkl/rules.mk b/keyboards/wuque/tata80/wkl/rules.mk deleted file mode 100644 index 93c8ae6d48d..00000000000 --- a/keyboards/wuque/tata80/wkl/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/x16/info.json b/keyboards/x16/keyboard.json similarity index 87% rename from keyboards/x16/info.json rename to keyboards/x16/keyboard.json index 7a7c8ae022c..faf90df99a5 100644 --- a/keyboards/x16/info.json +++ b/keyboards/x16/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x016A", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "C6", "B4", "D7"], "rows": ["E6", "F7", "D6", "B6"] diff --git a/keyboards/x16/rules.mk b/keyboards/x16/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/x16/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xbows/knight/info.json b/keyboards/xbows/knight/keyboard.json similarity index 97% rename from keyboards/xbows/knight/info.json rename to keyboards/xbows/knight/keyboard.json index b110bc6e496..b675ee19468 100644 --- a/keyboards/xbows/knight/info.json +++ b/keyboards/xbows/knight/keyboard.json @@ -33,6 +33,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6"], "rows": ["F7", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/xbows/knight/rules.mk b/keyboards/xbows/knight/rules.mk deleted file mode 100644 index 4a443969ff6..00000000000 --- a/keyboards/xbows/knight/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/xbows/knight_plus/info.json b/keyboards/xbows/knight_plus/keyboard.json similarity index 97% rename from keyboards/xbows/knight_plus/info.json rename to keyboards/xbows/knight_plus/keyboard.json index d524aed93ea..0d1600c6147 100644 --- a/keyboards/xbows/knight_plus/info.json +++ b/keyboards/xbows/knight_plus/keyboard.json @@ -33,6 +33,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6"], "rows": ["F7", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/xbows/knight_plus/rules.mk b/keyboards/xbows/knight_plus/rules.mk deleted file mode 100644 index 4a443969ff6..00000000000 --- a/keyboards/xbows/knight_plus/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/xbows/nature/info.json b/keyboards/xbows/nature/keyboard.json similarity index 97% rename from keyboards/xbows/nature/info.json rename to keyboards/xbows/nature/keyboard.json index af496e6e36b..6e28c9de30b 100644 --- a/keyboards/xbows/nature/info.json +++ b/keyboards/xbows/nature/keyboard.json @@ -33,6 +33,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6"], "rows": ["F7", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/xbows/nature/rules.mk b/keyboards/xbows/nature/rules.mk deleted file mode 100644 index 4a443969ff6..00000000000 --- a/keyboards/xbows/nature/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/xbows/numpad/info.json b/keyboards/xbows/numpad/keyboard.json similarity index 92% rename from keyboards/xbows/numpad/info.json rename to keyboards/xbows/numpad/keyboard.json index 6ccb05e1b95..070cc3a288f 100644 --- a/keyboards/xbows/numpad/info.json +++ b/keyboards/xbows/numpad/keyboard.json @@ -33,6 +33,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["D4", "D6", "B2", "B1"], "rows": ["B5", "B4", "C6", "B6", "D7", "B3"] diff --git a/keyboards/xbows/numpad/rules.mk b/keyboards/xbows/numpad/rules.mk deleted file mode 100644 index 4a443969ff6..00000000000 --- a/keyboards/xbows/numpad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/xbows/ranger/info.json b/keyboards/xbows/ranger/keyboard.json similarity index 96% rename from keyboards/xbows/ranger/info.json rename to keyboards/xbows/ranger/keyboard.json index f51d400ee4f..945eaafcba2 100644 --- a/keyboards/xbows/ranger/info.json +++ b/keyboards/xbows/ranger/keyboard.json @@ -33,6 +33,15 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "D7", "F6", "F7", "D4", "D5", "D3"], "rows": ["C7", "B6", "B4", "C6", "B5", "D6"] diff --git a/keyboards/xbows/ranger/rules.mk b/keyboards/xbows/ranger/rules.mk deleted file mode 100644 index 4a443969ff6..00000000000 --- a/keyboards/xbows/ranger/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/xelus/dharma/info.json b/keyboards/xelus/dharma/keyboard.json similarity index 99% rename from keyboards/xelus/dharma/info.json rename to keyboards/xelus/dharma/keyboard.json index 5d00ceb7a37..84ef6045588 100644 --- a/keyboards/xelus/dharma/info.json +++ b/keyboards/xelus/dharma/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "D5", "D4", "E6", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"], "rows": ["D0", "D1", "D2", "D3", "B0"] diff --git a/keyboards/xelus/dharma/rules.mk b/keyboards/xelus/dharma/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/xelus/dharma/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xelus/kangaroo/rev1/info.json b/keyboards/xelus/kangaroo/rev1/keyboard.json similarity index 72% rename from keyboards/xelus/kangaroo/rev1/info.json rename to keyboards/xelus/kangaroo/rev1/keyboard.json index f40d455b9f0..12d72f43737 100644 --- a/keyboards/xelus/kangaroo/rev1/info.json +++ b/keyboards/xelus/kangaroo/rev1/keyboard.json @@ -3,6 +3,14 @@ "usb": { "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B10", "B2", "B11", "A10", "B7", "B6", "B5", "B4", "B3", "A15", "A14"], "rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"] diff --git a/keyboards/xelus/kangaroo/rev1/rules.mk b/keyboards/xelus/kangaroo/rev1/rules.mk deleted file mode 100644 index 80aff9822db..00000000000 --- a/keyboards/xelus/kangaroo/rev1/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xelus/kangaroo/rev2/info.json b/keyboards/xelus/kangaroo/rev2/keyboard.json similarity index 73% rename from keyboards/xelus/kangaroo/rev2/info.json rename to keyboards/xelus/kangaroo/rev2/keyboard.json index 9e639df034e..1d6794cfa32 100644 --- a/keyboards/xelus/kangaroo/rev2/info.json +++ b/keyboards/xelus/kangaroo/rev2/keyboard.json @@ -3,6 +3,14 @@ "usb": { "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B10", "B2", "B11", "A10", "B7", "B6", "B5", "B4", "B3", "A15", "A14"], "rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"] diff --git a/keyboards/xelus/kangaroo/rev2/rules.mk b/keyboards/xelus/kangaroo/rev2/rules.mk deleted file mode 100644 index 80aff9822db..00000000000 --- a/keyboards/xelus/kangaroo/rev2/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xelus/ninjin/info.json b/keyboards/xelus/ninjin/keyboard.json similarity index 96% rename from keyboards/xelus/ninjin/info.json rename to keyboards/xelus/ninjin/keyboard.json index ae315956238..36e6a390339 100644 --- a/keyboards/xelus/ninjin/info.json +++ b/keyboards/xelus/ninjin/keyboard.json @@ -28,6 +28,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "B6", "B5"], "rows": ["B4", "B3", "A15", "A3", "B9", "B8"] diff --git a/keyboards/xelus/ninjin/rules.mk b/keyboards/xelus/ninjin/rules.mk deleted file mode 100644 index e59fc84570d..00000000000 --- a/keyboards/xelus/ninjin/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/xelus/pachi/mini_32u4/info.json b/keyboards/xelus/pachi/mini_32u4/keyboard.json similarity index 99% rename from keyboards/xelus/pachi/mini_32u4/info.json rename to keyboards/xelus/pachi/mini_32u4/keyboard.json index f7c29dfcde9..e5058d0f088 100644 --- a/keyboards/xelus/pachi/mini_32u4/info.json +++ b/keyboards/xelus/pachi/mini_32u4/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5041", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "E6", "B7", "D0"], "rows": ["B0", "B1", "B2", "F0", "D2", "D1"] diff --git a/keyboards/xelus/pachi/mini_32u4/rules.mk b/keyboards/xelus/pachi/mini_32u4/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/xelus/pachi/mini_32u4/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xelus/pachi/rev1/info.json b/keyboards/xelus/pachi/rev1/keyboard.json similarity index 99% rename from keyboards/xelus/pachi/rev1/info.json rename to keyboards/xelus/pachi/rev1/keyboard.json index 8d4d1b140aa..1afdfe11935 100644 --- a/keyboards/xelus/pachi/rev1/info.json +++ b/keyboards/xelus/pachi/rev1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5041", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A2", "A1", "A0", "A3", "B6", "B5"], "rows": ["B4", "B3", "A15", "B15", "B9", "B8"] diff --git a/keyboards/xelus/pachi/rev1/rules.mk b/keyboards/xelus/pachi/rev1/rules.mk deleted file mode 100644 index d3ca7b060e1..00000000000 --- a/keyboards/xelus/pachi/rev1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xelus/rs60/rev1/info.json b/keyboards/xelus/rs60/rev1/keyboard.json similarity index 98% rename from keyboards/xelus/rs60/rev1/info.json rename to keyboards/xelus/rs60/rev1/keyboard.json index 69f8d6e5b0e..df872967fb4 100644 --- a/keyboards/xelus/rs60/rev1/info.json +++ b/keyboards/xelus/rs60/rev1/keyboard.json @@ -3,6 +3,14 @@ "device_version": "0.1.0", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "D5", "D3", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B3", "B7", "F0", "F4", "F1"] diff --git a/keyboards/xelus/rs60/rev1/rules.mk b/keyboards/xelus/rs60/rev1/rules.mk deleted file mode 100644 index cfea96a79b0..00000000000 --- a/keyboards/xelus/rs60/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xelus/snap96/info.json b/keyboards/xelus/snap96/keyboard.json similarity index 97% rename from keyboards/xelus/snap96/info.json rename to keyboards/xelus/snap96/keyboard.json index 4ad81e1d0da..c4c806d8e8b 100644 --- a/keyboards/xelus/snap96/info.json +++ b/keyboards/xelus/snap96/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5396", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["E6", "D5", "B7", "D0", "F5", "D3", "B4", "B5", "D4", "D6"], "rows": ["B2", "B1", "B0", "C7", "F6", "F7", "B3", "D1", "D2", "D7", "B6", "C6"] diff --git a/keyboards/xelus/snap96/rules.mk b/keyboards/xelus/snap96/rules.mk deleted file mode 100644 index 8ced3c4cfc8..00000000000 --- a/keyboards/xelus/snap96/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. - We have custom RGB underglow diff --git a/keyboards/xelus/valor_frl_tkl/rev1/info.json b/keyboards/xelus/valor_frl_tkl/rev1/keyboard.json similarity index 71% rename from keyboards/xelus/valor_frl_tkl/rev1/info.json rename to keyboards/xelus/valor_frl_tkl/rev1/keyboard.json index 4816a9a3a54..929c1d93604 100644 --- a/keyboards/xelus/valor_frl_tkl/rev1/info.json +++ b/keyboards/xelus/valor_frl_tkl/rev1/keyboard.json @@ -3,6 +3,14 @@ "usb": { "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "A0", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3"], "rows": ["A15", "A14", "A1", "B3", "B4"] diff --git a/keyboards/xelus/valor_frl_tkl/rev1/rules.mk b/keyboards/xelus/valor_frl_tkl/rev1/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/xelus/valor_frl_tkl/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xelus/xs108/info.json b/keyboards/xelus/xs108/keyboard.json similarity index 97% rename from keyboards/xelus/xs108/info.json rename to keyboards/xelus/xs108/keyboard.json index c9c65f7f8bb..e80292365a6 100644 --- a/keyboards/xelus/xs108/info.json +++ b/keyboards/xelus/xs108/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0108", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "B6", "B5", "B4", "B3", "A15", "A14"], "rows": ["C14", "C13", "A10", "A3", "A1", "A0"] diff --git a/keyboards/xelus/xs108/rules.mk b/keyboards/xelus/xs108/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/xelus/xs108/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xiudi/xd60/rev2/info.json b/keyboards/xiudi/xd60/rev2/keyboard.json similarity index 80% rename from keyboards/xiudi/xd60/rev2/info.json rename to keyboards/xiudi/xd60/rev2/keyboard.json index 2f994ac2e45..639c2dda9e0 100644 --- a/keyboards/xiudi/xd60/rev2/info.json +++ b/keyboards/xiudi/xd60/rev2/keyboard.json @@ -3,6 +3,16 @@ "usb": { "pid": "0x6060" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/xiudi/xd60/rev2/rules.mk b/keyboards/xiudi/xd60/rev2/rules.mk deleted file mode 100644 index 7dfcc1d898d..00000000000 --- a/keyboards/xiudi/xd60/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/xiudi/xd60/rev3/info.json b/keyboards/xiudi/xd60/rev3/keyboard.json similarity index 80% rename from keyboards/xiudi/xd60/rev3/info.json rename to keyboards/xiudi/xd60/rev3/keyboard.json index 89a0983bf4f..5b12c38f8ec 100644 --- a/keyboards/xiudi/xd60/rev3/info.json +++ b/keyboards/xiudi/xd60/rev3/keyboard.json @@ -3,6 +3,16 @@ "usb": { "pid": "0x6363" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/xiudi/xd60/rev3/rules.mk b/keyboards/xiudi/xd60/rev3/rules.mk deleted file mode 100644 index 7dfcc1d898d..00000000000 --- a/keyboards/xiudi/xd60/rev3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/xiudi/xd68/info.json b/keyboards/xiudi/xd68/keyboard.json similarity index 98% rename from keyboards/xiudi/xd68/info.json rename to keyboards/xiudi/xd68/keyboard.json index d55a8535c6f..1836feb49d5 100644 --- a/keyboards/xiudi/xd68/info.json +++ b/keyboards/xiudi/xd68/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6868", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "F7"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/xiudi/xd68/rules.mk b/keyboards/xiudi/xd68/rules.mk deleted file mode 100644 index 45377383806..00000000000 --- a/keyboards/xiudi/xd68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xiudi/xd75/info.json b/keyboards/xiudi/xd75/keyboard.json similarity index 96% rename from keyboards/xiudi/xd75/info.json rename to keyboards/xiudi/xd75/keyboard.json index 58af00e9724..a928b43f9b7 100644 --- a/keyboards/xiudi/xd75/info.json +++ b/keyboards/xiudi/xd75/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x7575", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "B0"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/xiudi/xd75/rules.mk b/keyboards/xiudi/xd75/rules.mk deleted file mode 100644 index ffa61ba8c5a..00000000000 --- a/keyboards/xiudi/xd75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xiudi/xd84pro/info.json b/keyboards/xiudi/xd84pro/keyboard.json similarity index 98% rename from keyboards/xiudi/xd84pro/info.json rename to keyboards/xiudi/xd84pro/keyboard.json index bcdc0d2cf10..23bad3fcab1 100644 --- a/keyboards/xiudi/xd84pro/info.json +++ b/keyboards/xiudi/xd84pro/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x8450", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3", "F7"], "rows": ["F4", "D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/xiudi/xd84pro/rules.mk b/keyboards/xiudi/xd84pro/rules.mk deleted file mode 100644 index 1955f1d315b..00000000000 --- a/keyboards/xiudi/xd84pro/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xiudi/xd87/info.json b/keyboards/xiudi/xd87/keyboard.json similarity index 98% rename from keyboards/xiudi/xd87/info.json rename to keyboards/xiudi/xd87/keyboard.json index 3c30f69ba9a..a84c5660a8a 100644 --- a/keyboards/xiudi/xd87/info.json +++ b/keyboards/xiudi/xd87/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x8787", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B5", "B6", "C6", "D4", "D6", "D7", "B4", "B2", "B3", "D2"], "rows": ["D1", "B0", "B1", "C7", "D3", "D5"] diff --git a/keyboards/xiudi/xd87/rules.mk b/keyboards/xiudi/xd87/rules.mk deleted file mode 100644 index a2444417d6c..00000000000 --- a/keyboards/xiudi/xd87/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/xmmx/info.json b/keyboards/xmmx/keyboard.json similarity index 99% rename from keyboards/xmmx/info.json rename to keyboards/xmmx/keyboard.json index 8cccc925ff4..c0687ca1b7b 100644 --- a/keyboards/xmmx/info.json +++ b/keyboards/xmmx/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6776", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "E6", "B7", "C7", "C6", "D4", "D6", "D7", "B4", "D0", "D1", "F7", "D2", "D3", "D5"], "rows": ["B0", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/xmmx/rules.mk b/keyboards/xmmx/rules.mk deleted file mode 100644 index 51c80ed6cf1..00000000000 --- a/keyboards/xmmx/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/yandrstudio/nz64/info.json b/keyboards/yandrstudio/nz64/keyboard.json similarity index 96% rename from keyboards/yandrstudio/nz64/info.json rename to keyboards/yandrstudio/nz64/keyboard.json index 27515bebbc7..8169449a107 100644 --- a/keyboards/yandrstudio/nz64/info.json +++ b/keyboards/yandrstudio/nz64/keyboard.json @@ -62,6 +62,15 @@ "max_brightness": 180, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A15", "B3", "B4", "B6", "B7", "B5", "C13", "A5", "A4", "B14", "B15", "A8", "A9", "A10"], "rows": ["C14", "B13", "B12", "C15", "A3"] diff --git a/keyboards/yandrstudio/nz64/rules.mk b/keyboards/yandrstudio/nz64/rules.mk deleted file mode 100644 index e4a82c46db7..00000000000 --- a/keyboards/yandrstudio/nz64/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE) diff --git a/keyboards/yandrstudio/zhou65/info.json b/keyboards/yandrstudio/zhou65/keyboard.json similarity index 96% rename from keyboards/yandrstudio/zhou65/info.json rename to keyboards/yandrstudio/zhou65/keyboard.json index aa34d3864ff..f15cdfb0a2e 100644 --- a/keyboards/yandrstudio/zhou65/info.json +++ b/keyboards/yandrstudio/zhou65/keyboard.json @@ -5,6 +5,14 @@ "device_version": "1.0.0", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B9", "B6", "B5", "B4", "B3", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A8", "B15", "B14"], "rows": ["A2", "A1", "B8", "B7", "C15"] diff --git a/keyboards/yandrstudio/zhou65/rules.mk b/keyboards/yandrstudio/zhou65/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/yandrstudio/zhou65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/yatara/drink_me/info.json b/keyboards/yatara/drink_me/keyboard.json similarity index 79% rename from keyboards/yatara/drink_me/info.json rename to keyboards/yatara/drink_me/keyboard.json index 78838f143ab..970aa4f5d34 100644 --- a/keyboards/yatara/drink_me/info.json +++ b/keyboards/yatara/drink_me/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u2", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "direct": [ ["B4", "B5", "B6", "B7"] diff --git a/keyboards/yatara/drink_me/rules.mk b/keyboards/yatara/drink_me/rules.mk deleted file mode 100644 index 29f6808ed5d..00000000000 --- a/keyboards/yatara/drink_me/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ydkb/chili/info.json b/keyboards/ydkb/chili/keyboard.json similarity index 99% rename from keyboards/ydkb/chili/info.json rename to keyboards/ydkb/chili/keyboard.json index 0b6b8cfebc5..78dd6318fe8 100644 --- a/keyboards/ydkb/chili/info.json +++ b/keyboards/ydkb/chili/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6"], "rows": ["F5", "F4", "F1", "F0", "E6", "B0", "D5", "D3", "D2", "D1", "D0"] diff --git a/keyboards/ydkb/chili/rules.mk b/keyboards/ydkb/chili/rules.mk deleted file mode 100644 index a48cbdc0dea..00000000000 --- a/keyboards/ydkb/chili/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ydkb/yd68/info.json b/keyboards/ydkb/yd68/keyboard.json similarity index 96% rename from keyboards/ydkb/yd68/info.json rename to keyboards/ydkb/yd68/keyboard.json index f805369f8dd..a3542e72c20 100644 --- a/keyboards/ydkb/yd68/info.json +++ b/keyboards/ydkb/yd68/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0", "B7", "D0", "D1", "D2", "D3", "D5"], "rows": ["B5", "C6", "C7", "D7", "B4"] diff --git a/keyboards/ydkb/yd68/rules.mk b/keyboards/ydkb/yd68/rules.mk deleted file mode 100644 index aa4c817d2a2..00000000000 --- a/keyboards/ydkb/yd68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/yeehaw/info.json b/keyboards/yeehaw/keyboard.json similarity index 89% rename from keyboards/yeehaw/info.json rename to keyboards/yeehaw/keyboard.json index fce21045822..aa20239c9d3 100644 --- a/keyboards/yeehaw/info.json +++ b/keyboards/yeehaw/keyboard.json @@ -36,6 +36,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "direct": [ ["D2", "D4", "C6", "E6", "F5", "B1", "D3", "D7", "B4", "F6", "B3", "B5", "F7", "F4"] diff --git a/keyboards/yeehaw/rules.mk b/keyboards/yeehaw/rules.mk deleted file mode 100644 index be11c03df95..00000000000 --- a/keyboards/yeehaw/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = yes diff --git a/keyboards/ymdk/bface/info.json b/keyboards/ymdk/bface/keyboard.json similarity index 98% rename from keyboards/ymdk/bface/info.json rename to keyboards/ymdk/bface/keyboard.json index f6646db9206..8a0025c01a7 100644 --- a/keyboards/ymdk/bface/info.json +++ b/keyboards/ymdk/bface/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4266", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B7", "B6", "B5", "B4", "B3"] diff --git a/keyboards/ymdk/bface/rules.mk b/keyboards/ymdk/bface/rules.mk deleted file mode 100644 index 166b3d3ec8d..00000000000 --- a/keyboards/ymdk/bface/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/ymdk/np21/info.json b/keyboards/ymdk/np21/keyboard.json similarity index 95% rename from keyboards/ymdk/np21/info.json rename to keyboards/ymdk/np21/keyboard.json index f420023deef..14a075042b5 100644 --- a/keyboards/ymdk/np21/info.json +++ b/keyboards/ymdk/np21/keyboard.json @@ -8,6 +8,16 @@ "device_version": "2.0.0", "max_power": 100 }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5"], "rows": ["B0", "B1", "B2", "B3"] diff --git a/keyboards/ymdk/np21/rules.mk b/keyboards/ymdk/np21/rules.mk deleted file mode 100644 index e9c8472d0bc..00000000000 --- a/keyboards/ymdk/np21/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/ymdk/np24/u4rgb6/info.json b/keyboards/ymdk/np24/u4rgb6/keyboard.json similarity index 96% rename from keyboards/ymdk/np24/u4rgb6/info.json rename to keyboards/ymdk/np24/u4rgb6/keyboard.json index b804473300a..3dcd9d63b3e 100644 --- a/keyboards/ymdk/np24/u4rgb6/info.json +++ b/keyboards/ymdk/np24/u4rgb6/keyboard.json @@ -7,6 +7,16 @@ "pid": "0x5024", "device_version": "4.0.6" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F4", "D3", "D2"], "rows": ["B3", "B6", "B2", "B1", "D7", "B4"] diff --git a/keyboards/ymdk/np24/u4rgb6/rules.mk b/keyboards/ymdk/np24/u4rgb6/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/ymdk/np24/u4rgb6/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ymdk/wings/info.json b/keyboards/ymdk/wings/keyboard.json similarity index 98% rename from keyboards/ymdk/wings/info.json rename to keyboards/ymdk/wings/keyboard.json index 1e0a1995b65..30c8439b45e 100644 --- a/keyboards/ymdk/wings/info.json +++ b/keyboards/ymdk/wings/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x2975", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/ymdk/wings/rules.mk b/keyboards/ymdk/wings/rules.mk deleted file mode 100644 index 6962e5ba56a..00000000000 --- a/keyboards/ymdk/wings/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ymdk/wingshs/info.json b/keyboards/ymdk/wingshs/keyboard.json similarity index 96% rename from keyboards/ymdk/wingshs/info.json rename to keyboards/ymdk/wingshs/keyboard.json index 4843e2d4c06..487d61cc2e1 100644 --- a/keyboards/ymdk/wingshs/info.json +++ b/keyboards/ymdk/wingshs/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4975", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/ymdk/wingshs/rules.mk b/keyboards/ymdk/wingshs/rules.mk deleted file mode 100644 index 6962e5ba56a..00000000000 --- a/keyboards/ymdk/wingshs/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ymdk/ym68/info.json b/keyboards/ymdk/ym68/keyboard.json similarity index 99% rename from keyboards/ymdk/ym68/info.json rename to keyboards/ymdk/ym68/keyboard.json index 132d431adb8..5bea9b2e482 100644 --- a/keyboards/ymdk/ym68/info.json +++ b/keyboards/ymdk/ym68/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xD896", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/ymdk/ym68/rules.mk b/keyboards/ymdk/ym68/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/ymdk/ym68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ymdk/ymd21/v2/info.json b/keyboards/ymdk/ymd21/v2/keyboard.json similarity index 91% rename from keyboards/ymdk/ymd21/v2/info.json rename to keyboards/ymdk/ymd21/v2/keyboard.json index 9bd8d6e3708..3e2e992ccc6 100644 --- a/keyboards/ymdk/ymd21/v2/info.json +++ b/keyboards/ymdk/ymd21/v2/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0110", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F4", "D3", "D2"], "rows": ["B3", "B6", "B2", "B1", "D7", "B4"] diff --git a/keyboards/ymdk/ymd21/v2/rules.mk b/keyboards/ymdk/ymd21/v2/rules.mk deleted file mode 100644 index 85830d31150..00000000000 --- a/keyboards/ymdk/ymd21/v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ymdk/ymd67/info.json b/keyboards/ymdk/ymd67/keyboard.json similarity index 95% rename from keyboards/ymdk/ymd67/info.json rename to keyboards/ymdk/ymd67/keyboard.json index 65da379035f..5e470553d5f 100644 --- a/keyboards/ymdk/ymd67/info.json +++ b/keyboards/ymdk/ymd67/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/ymdk/ymd67/rules.mk b/keyboards/ymdk/ymd67/rules.mk deleted file mode 100644 index 3a3b26188fc..00000000000 --- a/keyboards/ymdk/ymd67/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/ymdk/ymd75/rev1/info.json b/keyboards/ymdk/ymd75/rev1/keyboard.json similarity index 98% rename from keyboards/ymdk/ymd75/rev1/info.json rename to keyboards/ymdk/ymd75/rev1/keyboard.json index fb214285c15..f2b664c67f6 100644 --- a/keyboards/ymdk/ymd75/rev1/info.json +++ b/keyboards/ymdk/ymd75/rev1/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x422D", "device_version": "1.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "key_lock": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/ymdk/ymd75/rev1/rules.mk b/keyboards/ymdk/ymd75/rev1/rules.mk deleted file mode 100644 index d9e34145c4d..00000000000 --- a/keyboards/ymdk/ymd75/rev1/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -NKRO_ENABLE = no # Enable N-Key Rollover - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/ymdk/ymd75/rev2/info.json b/keyboards/ymdk/ymd75/rev2/keyboard.json similarity index 98% rename from keyboards/ymdk/ymd75/rev2/info.json rename to keyboards/ymdk/ymd75/rev2/keyboard.json index 2e2e38ce44d..272140fd820 100644 --- a/keyboards/ymdk/ymd75/rev2/info.json +++ b/keyboards/ymdk/ymd75/rev2/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "key_lock": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B7", "B6", "B5", "B4", "B3", "B0"] diff --git a/keyboards/ymdk/ymd75/rev2/rules.mk b/keyboards/ymdk/ymd75/rev2/rules.mk deleted file mode 100644 index d9e34145c4d..00000000000 --- a/keyboards/ymdk/ymd75/rev2/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -NKRO_ENABLE = no # Enable N-Key Rollover - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/ymdk/ymd75/rev3/info.json b/keyboards/ymdk/ymd75/rev3/keyboard.json similarity index 98% rename from keyboards/ymdk/ymd75/rev3/info.json rename to keyboards/ymdk/ymd75/rev3/keyboard.json index f3ee46edbd4..ae8c20990b4 100644 --- a/keyboards/ymdk/ymd75/rev3/info.json +++ b/keyboards/ymdk/ymd75/rev3/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x422D", "device_version": "3.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "key_lock": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/ymdk/ymd75/rev3/rules.mk b/keyboards/ymdk/ymd75/rev3/rules.mk deleted file mode 100644 index 58ad1837e0a..00000000000 --- a/keyboards/ymdk/ymd75/rev3/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/ymdk/ymd96/info.json b/keyboards/ymdk/ymd96/keyboard.json similarity index 98% rename from keyboards/ymdk/ymd96/info.json rename to keyboards/ymdk/ymd96/keyboard.json index d947050f3da..ed7edd490a8 100644 --- a/keyboards/ymdk/ymd96/info.json +++ b/keyboards/ymdk/ymd96/keyboard.json @@ -9,6 +9,17 @@ "device_version": "2.0.0", "max_power": 100 }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "key_lock": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/ymdk/ymd96/rules.mk b/keyboards/ymdk/ymd96/rules.mk deleted file mode 100644 index 17b4d5b2515..00000000000 --- a/keyboards/ymdk/ymd96/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = no - -BACKLIGHT_ENABLE = yes - -RGBLIGHT_ENABLE = yes - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/yncognito/batpad/info.json b/keyboards/yncognito/batpad/keyboard.json similarity index 93% rename from keyboards/yncognito/batpad/info.json rename to keyboards/yncognito/batpad/keyboard.json index 0335608cfb1..06a1f9b090a 100644 --- a/keyboards/yncognito/batpad/info.json +++ b/keyboards/yncognito/batpad/keyboard.json @@ -63,6 +63,15 @@ "driver": "ws2812", "react_on_keyup": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F1", "F0", "D5", "D3"], "rows": ["F4", "C7"] diff --git a/keyboards/yncognito/batpad/rules.mk b/keyboards/yncognito/batpad/rules.mk deleted file mode 100644 index a72bbe128bc..00000000000 --- a/keyboards/yncognito/batpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGB_MATRIX_ENABLE = yes -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/yoichiro/lunakey_macro/info.json b/keyboards/yoichiro/lunakey_macro/keyboard.json similarity index 90% rename from keyboards/yoichiro/lunakey_macro/info.json rename to keyboards/yoichiro/lunakey_macro/keyboard.json index 46b7ca26f45..7268dd31438 100644 --- a/keyboards/yoichiro/lunakey_macro/info.json +++ b/keyboards/yoichiro/lunakey_macro/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1"], "rows": ["E6", "B4", "B5"] diff --git a/keyboards/yoichiro/lunakey_macro/rules.mk b/keyboards/yoichiro/lunakey_macro/rules.mk deleted file mode 100644 index 29f6808ed5d..00000000000 --- a/keyboards/yoichiro/lunakey_macro/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/yushakobo/quick7/info.json b/keyboards/yushakobo/quick7/keyboard.json similarity index 86% rename from keyboards/yushakobo/quick7/info.json rename to keyboards/yushakobo/quick7/keyboard.json index 54d365d0775..14d65945ce9 100644 --- a/keyboards/yushakobo/quick7/info.json +++ b/keyboards/yushakobo/quick7/keyboard.json @@ -31,6 +31,16 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "direct": [ ["D2", "D4", "F4"], diff --git a/keyboards/yushakobo/quick7/rules.mk b/keyboards/yushakobo/quick7/rules.mk deleted file mode 100644 index 2bec6222a29..00000000000 --- a/keyboards/yushakobo/quick7/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes # Enable support for Rotary Encoder diff --git a/keyboards/yynmt/dozen0/info.json b/keyboards/yynmt/dozen0/keyboard.json similarity index 89% rename from keyboards/yynmt/dozen0/info.json rename to keyboards/yynmt/dozen0/keyboard.json index a4f3800f889..cdd55389f3c 100644 --- a/keyboards/yynmt/dozen0/info.json +++ b/keyboards/yynmt/dozen0/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "B5", "B4", "E6", "D7", "C6", "D4"], "rows": ["F4"] diff --git a/keyboards/yynmt/dozen0/rules.mk b/keyboards/yynmt/dozen0/rules.mk deleted file mode 100644 index aa4c817d2a2..00000000000 --- a/keyboards/yynmt/dozen0/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/yynmt/kagamidget/info.json b/keyboards/yynmt/kagamidget/keyboard.json similarity index 94% rename from keyboards/yynmt/kagamidget/info.json rename to keyboards/yynmt/kagamidget/keyboard.json index e9bc92dea33..15e48da7dd3 100644 --- a/keyboards/yynmt/kagamidget/info.json +++ b/keyboards/yynmt/kagamidget/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"], "rows": ["D1", "D0", "F4", "F5"] diff --git a/keyboards/yynmt/kagamidget/rules.mk b/keyboards/yynmt/kagamidget/rules.mk deleted file mode 100644 index 898f9b50add..00000000000 --- a/keyboards/yynmt/kagamidget/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -RGBLIGHT_ENABLE = yes diff --git a/keyboards/zfrontier/big_switch/info.json b/keyboards/zfrontier/big_switch/keyboard.json similarity index 84% rename from keyboards/zfrontier/big_switch/info.json rename to keyboards/zfrontier/big_switch/keyboard.json index 9f19a030d16..2b2ceec094c 100644 --- a/keyboards/zfrontier/big_switch/info.json +++ b/keyboards/zfrontier/big_switch/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0A01", "device_version": "0.0.5" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F1"], "rows": ["F0"] diff --git a/keyboards/zfrontier/big_switch/rules.mk b/keyboards/zfrontier/big_switch/rules.mk deleted file mode 100644 index ead69ec32ec..00000000000 --- a/keyboards/zfrontier/big_switch/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ziggurat/info.json b/keyboards/ziggurat/keyboard.json similarity index 99% rename from keyboards/ziggurat/info.json rename to keyboards/ziggurat/keyboard.json index 4defa3f4f0d..11ae657256b 100644 --- a/keyboards/ziggurat/info.json +++ b/keyboards/ziggurat/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5258", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "F3", "F2", "F1", "B5", "B6", "C2", "C3", "C4", "C5", "C6", "C7", "A7", "A6", "A5", "A4"], "rows": ["A2", "A1", "A0", "F7", "A3"] diff --git a/keyboards/ziggurat/rules.mk b/keyboards/ziggurat/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/ziggurat/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/zj68/info.json b/keyboards/zj68/keyboard.json similarity index 98% rename from keyboards/zj68/info.json rename to keyboards/zj68/keyboard.json index e2916ce4e22..3adf890df90 100644 --- a/keyboards/zj68/info.json +++ b/keyboards/zj68/keyboard.json @@ -7,6 +7,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/zj68/rules.mk b/keyboards/zj68/rules.mk deleted file mode 100644 index 5c84ca0a179..00000000000 --- a/keyboards/zj68/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -AUDIO_ENABLE = no - -RGBLIGHT_ENABLE = no diff --git a/keyboards/zoo/wampus/info.json b/keyboards/zoo/wampus/keyboard.json similarity index 97% rename from keyboards/zoo/wampus/info.json rename to keyboards/zoo/wampus/keyboard.json index 6478e67a80c..fdc10ae2108 100644 --- a/keyboards/zoo/wampus/info.json +++ b/keyboards/zoo/wampus/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xE600", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B12", "A15", "A13", "A7", "A2", "A1", "A0", "F1", "F0", "B3", "B4", "B5"], "rows": ["C13", "C14", "A5", "A4", "A3"] diff --git a/keyboards/zoo/wampus/rules.mk b/keyboards/zoo/wampus/rules.mk deleted file mode 100644 index fe3c88063d2..00000000000 --- a/keyboards/zoo/wampus/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = no # Enables the use of OLED displays - diff --git a/keyboards/ztboards/after/info.json b/keyboards/ztboards/after/keyboard.json similarity index 98% rename from keyboards/ztboards/after/info.json rename to keyboards/ztboards/after/keyboard.json index 4304a3cd511..08fcdb3625f 100644 --- a/keyboards/ztboards/after/info.json +++ b/keyboards/ztboards/after/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D7", "D6", "D4", "C7", "C6", "B6", "B5", "B4", "F7", "F0", "F4", "F1"], "rows": ["B3", "F6", "F5", "D5", "B2"] diff --git a/keyboards/ztboards/after/rules.mk b/keyboards/ztboards/after/rules.mk deleted file mode 100644 index 15dbc98f883..00000000000 --- a/keyboards/ztboards/after/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary Encoder use diff --git a/keyboards/ztboards/noon/info.json b/keyboards/ztboards/noon/keyboard.json similarity index 98% rename from keyboards/ztboards/noon/info.json rename to keyboards/ztboards/noon/keyboard.json index 298aa5e179d..0f965963cfc 100644 --- a/keyboards/ztboards/noon/info.json +++ b/keyboards/ztboards/noon/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D2", "D1", "D0", "D4", "D6", "B2", "D7", "B4", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"], "rows": ["B5", "D5", "D3", "B1", "F0"] diff --git a/keyboards/ztboards/noon/rules.mk b/keyboards/ztboards/noon/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/ztboards/noon/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output From 1a903372846f24028431d20bc25e64b4da69da27 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 22:24:00 +0000 Subject: [PATCH 099/107] Migrate features from rules.mk to data driven - OPQR (#23285) --- .../ocean/addon/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/addon/rules.mk | 12 ----------- .../ocean/gin_v2/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/gin_v2/rules.mk | 12 ----------- .../ocean/slamz/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/slamz/rules.mk | 12 ----------- .../stealth/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/stealth/rules.mk | 12 ----------- .../ocean/sus/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/sus/rules.mk | 12 ----------- .../wang_ergo/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/wang_ergo/rules.mk | 12 ----------- .../wang_v2/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/wang_v2/rules.mk | 12 ----------- .../ocean/yuri/{info.json => keyboard.json} | 8 +++++++ keyboards/ocean/yuri/rules.mk | 12 ----------- keyboards/odelia/{info.json => keyboard.json} | 8 +++++++ keyboards/odelia/rules.mk | 12 ----------- keyboards/ok60/{info.json => keyboard.json} | 10 +++++++++ keyboards/ok60/rules.mk | 11 ---------- .../dango40/{info.json => keyboard.json} | 9 ++++++++ keyboards/onekeyco/dango40/rules.mk | 13 ------------ .../orange75/{info.json => keyboard.json} | 9 ++++++++ keyboards/orange75/rules.mk | 12 ----------- keyboards/org60/{info.json => keyboard.json} | 10 +++++++++ keyboards/org60/rules.mk | 12 ----------- .../ortho5by12/{info.json => keyboard.json} | 8 +++++++ keyboards/ortho5by12/rules.mk | 12 ----------- .../hotswap/{info.json => keyboard.json} | 9 ++++++++ keyboards/owlab/jelly_epoch/hotswap/rules.mk | 12 ----------- .../soldered/{info.json => keyboard.json} | 9 ++++++++ keyboards/owlab/jelly_epoch/soldered/rules.mk | 12 ----------- .../owlab/spring/{info.json => keyboard.json} | 9 ++++++++ keyboards/owlab/spring/rules.mk | 12 ----------- .../suit80/ansi/{info.json => keyboard.json} | 8 +++++++ keyboards/owlab/suit80/ansi/rules.mk | 12 ----------- .../suit80/iso/{info.json => keyboard.json} | 8 +++++++ keyboards/owlab/suit80/iso/rules.mk | 12 ----------- .../hotswap/{info.json => keyboard.json} | 11 ++++++++++ keyboards/owlab/voice65/hotswap/rules.mk | 15 ------------- .../soldered/{info.json => keyboard.json} | 11 ++++++++++ keyboards/owlab/voice65/soldered/rules.mk | 15 ------------- .../eu_isolation/{info.json => keyboard.json} | 8 +++++++ keyboards/p3d/eu_isolation/rules.mk | 12 ----------- .../p3d/glitch/{info.json => keyboard.json} | 11 ++++++++++ keyboards/p3d/glitch/rules.mk | 14 ------------- .../p3d/q4z/{info.json => keyboard.json} | 8 +++++++ keyboards/p3d/q4z/rules.mk | 12 ----------- .../p3d/spacey/{info.json => keyboard.json} | 9 ++++++++ keyboards/p3d/spacey/rules.mk | 13 ------------ .../p3d/synapse/{info.json => keyboard.json} | 9 ++++++++ keyboards/p3d/synapse/rules.mk | 13 ------------ .../p3d/tw40/{info.json => keyboard.json} | 9 ++++++++ keyboards/p3d/tw40/rules.mk | 12 ----------- .../pabile/p18/{info.json => keyboard.json} | 10 +++++++++ keyboards/pabile/p18/rules.mk | 15 ------------- .../p20/ver1/{info.json => keyboard.json} | 10 +++++++++ keyboards/pabile/p20/ver1/rules.mk | 16 -------------- .../p20/ver2/{info.json => keyboard.json} | 9 ++++++++ keyboards/pabile/p20/ver2/rules.mk | 16 -------------- .../pabile/p40/{info.json => keyboard.json} | 9 ++++++++ keyboards/pabile/p40/rules.mk | 14 ------------- .../p40_ortho/{info.json => keyboard.json} | 9 ++++++++ keyboards/pabile/p40_ortho/rules.mk | 14 ------------- .../pabile/p42/{info.json => keyboard.json} | 9 ++++++++ keyboards/pabile/p42/rules.mk | 14 ------------- keyboards/panc40/{info.json => keyboard.json} | 9 ++++++++ keyboards/panc40/rules.mk | 12 ----------- keyboards/panc60/{info.json => keyboard.json} | 10 +++++++++ keyboards/panc60/rules.mk | 10 --------- .../gerald65/{info.json => keyboard.json} | 8 +++++++ .../papercranekeyboards/gerald65/rules.mk | 12 ----------- .../hotswap/{info.json => keyboard.json} | 8 +++++++ .../parallel/parallel_65/hotswap/rules.mk | 12 ----------- .../soldered/{info.json => keyboard.json} | 8 +++++++ .../parallel/parallel_65/soldered/rules.mk | 12 ----------- keyboards/pdxkbc/{info.json => keyboard.json} | 8 +++++++ keyboards/pdxkbc/rules.mk | 12 ----------- keyboards/pearl/{info.json => keyboard.json} | 10 +++++++++ keyboards/pearl/rules.mk | 10 --------- .../lumberjack/{info.json => keyboard.json} | 8 +++++++ keyboards/peej/lumberjack/rules.mk | 12 ----------- .../pegasus/{info.json => keyboard.json} | 9 ++++++++ keyboards/pegasus/rules.mk | 13 ------------ .../canoe/{info.json => keyboard.json} | 10 +++++++++ keyboards/percent/canoe/rules.mk | 10 --------- .../percent/skog/{info.json => keyboard.json} | 10 +++++++++ keyboards/percent/skog/rules.mk | 10 --------- .../skog_lite/{info.json => keyboard.json} | 10 +++++++++ keyboards/percent/skog_lite/rules.mk | 10 --------- .../phantom/{info.json => keyboard.json} | 8 +++++++ keyboards/phantom/rules.mk | 12 ----------- .../ph100/{info.json => keyboard.json} | 8 +++++++ keyboards/phrygian/ph100/rules.mk | 14 ------------- .../{info.json => keyboard.json} | 9 ++++++++ keyboards/picolab/frusta_fundamental/rules.mk | 12 ----------- .../rev1/{info.json => keyboard.json} | 8 +++++++ keyboards/pimentoso/paddino02/rev1/rules.mk | 14 ------------- .../rev2/left/{info.json => keyboard.json} | 8 +++++++ .../pimentoso/paddino02/rev2/left/rules.mk | 14 ------------- .../rev2/right/{info.json => keyboard.json} | 8 +++++++ .../pimentoso/paddino02/rev2/right/rules.mk | 14 ------------- .../touhoupad/{info.json => keyboard.json} | 9 ++++++++ keyboards/pimentoso/touhoupad/rules.mk | 12 ----------- .../capsule65i/{info.json => keyboard.json} | 9 ++++++++ keyboards/pixelspace/capsule65i/rules.mk | 12 ----------- .../pizza65/{info.json => keyboard.json} | 8 +++++++ keyboards/pizzakeyboards/pizza65/rules.mk | 12 ----------- .../pjb/eros/{info.json => keyboard.json} | 8 +++++++ keyboards/pjb/eros/rules.mk | 11 ---------- keyboards/pkb65/{info.json => keyboard.json} | 8 +++++++ keyboards/pkb65/rules.mk | 12 ----------- .../planck/light/{info.json => keyboard.json} | 11 ++++++++++ keyboards/planck/light/rules.mk | 14 ------------- .../planck/rev1/{info.json => keyboard.json} | 8 +++++++ keyboards/planck/rev1/rules.mk | 12 ----------- .../planck/rev2/{info.json => keyboard.json} | 8 +++++++ keyboards/planck/rev2/rules.mk | 12 ----------- .../planck/rev3/{info.json => keyboard.json} | 8 +++++++ keyboards/planck/rev3/rules.mk | 12 ----------- .../planck/rev4/{info.json => keyboard.json} | 9 ++++++++ keyboards/planck/rev4/rules.mk | 12 ----------- .../planck/rev5/{info.json => keyboard.json} | 9 ++++++++ keyboards/planck/rev5/rules.mk | 12 ----------- .../planck/rev6/{info.json => keyboard.json} | 12 +++++++++++ keyboards/planck/rev6/rules.mk | 16 -------------- .../ca66/{info.json => keyboard.json} | 10 +++++++++ keyboards/playkbtw/ca66/rules.mk | 12 ----------- .../pk60/{info.json => keyboard.json} | 10 +++++++++ keyboards/playkbtw/pk60/rules.mk | 12 ----------- .../plume65/{info.json => keyboard.json} | 9 ++++++++ keyboards/plume/plume65/rules.mk | 12 ----------- keyboards/plx/{info.json => keyboard.json} | 8 +++++++ keyboards/plx/rules.mk | 12 ----------- .../ahgase/{info.json => keyboard.json} | 8 +++++++ keyboards/plywrks/ahgase/rules.mk | 12 ----------- .../plywrks/lune/{info.json => keyboard.json} | 10 +++++++++ keyboards/plywrks/lune/rules.mk | 13 ------------ .../louhi/{info.json => keyboard.json} | 9 ++++++++ keyboards/pohjolaworks/louhi/rules.mk | 13 ------------ .../poker87c/{info.json => keyboard.json} | 10 +++++++++ keyboards/poker87c/rules.mk | 12 ----------- .../poker87d/{info.json => keyboard.json} | 10 +++++++++ keyboards/poker87d/rules.mk | 12 ----------- .../s20/{info.json => keyboard.json} | 10 +++++++++ keyboards/polycarbdiet/s20/rules.mk | 12 ----------- .../hotswap/{info.json => keyboard.json} | 8 +++++++ keyboards/portal_66/hotswap/rules.mk | 12 ----------- .../soldered/{info.json => keyboard.json} | 8 +++++++ keyboards/portal_66/soldered/rules.mk | 12 ----------- keyboards/pos78/{info.json => keyboard.json} | 8 +++++++ keyboards/pos78/rules.mk | 12 ----------- .../preonic/rev3/{info.json => keyboard.json} | 12 +++++++++++ keyboards/preonic/rev3/rules.mk | 18 ---------------- .../meridian_rgb/{info.json => keyboard.json} | 9 ++++++++ keyboards/primekb/meridian_rgb/rules.mk | 12 ----------- .../prime_m/{info.json => keyboard.json} | 9 ++++++++ keyboards/primekb/prime_m/rules.mk | 12 ----------- .../prime_o/{info.json => keyboard.json} | 9 ++++++++ keyboards/primekb/prime_o/rules.mk | 12 ----------- .../prime_r/{info.json => keyboard.json} | 9 ++++++++ keyboards/primekb/prime_r/rules.mk | 12 ----------- .../relic/{info.json => keyboard.json} | 8 +++++++ keyboards/projectcain/relic/rules.mk | 12 ----------- .../vault45/{info.json => keyboard.json} | 9 ++++++++ keyboards/projectcain/vault45/rules.mk | 13 ------------ .../signature65/{info.json => keyboard.json} | 8 +++++++ keyboards/projectkb/signature65/rules.mk | 14 ------------- .../signature87/{info.json => keyboard.json} | 8 +++++++ keyboards/projectkb/signature87/rules.mk | 11 ---------- .../allison/{info.json => keyboard.json} | 9 ++++++++ keyboards/prototypist/allison/rules.mk | 12 ----------- .../{info.json => keyboard.json} | 9 ++++++++ keyboards/prototypist/allison_numpad/rules.mk | 12 ----------- .../pluto12/{info.json => keyboard.json} | 9 ++++++++ keyboards/psuieee/pluto12/rules.mk | 13 ------------ keyboards/puck/{info.json => keyboard.json} | 8 +++++++ keyboards/puck/rules.mk | 12 ----------- .../eggman/{info.json => keyboard.json} | 9 ++++++++ keyboards/qpockets/eggman/rules.mk | 14 ------------- .../wanten/{info.json => keyboard.json} | 9 ++++++++ keyboards/qpockets/wanten/rules.mk | 13 ------------ .../quad_h/lb75/{info.json => keyboard.json} | 10 +++++++++ keyboards/quad_h/lb75/rules.mk | 12 ----------- .../kyuu/{info.json => keyboard.json} | 8 +++++++ keyboards/quantrik/kyuu/rules.mk | 12 ----------- .../quarkeys/z40/{info.json => keyboard.json} | 9 ++++++++ keyboards/quarkeys/z40/rules.mk | 16 -------------- .../z60/hotswap/{info.json => keyboard.json} | 9 ++++++++ keyboards/quarkeys/z60/hotswap/rules.mk | 10 --------- .../z60/solder/{info.json => keyboard.json} | 9 ++++++++ keyboards/quarkeys/z60/solder/rules.mk | 10 --------- .../z67/hotswap/{info.json => keyboard.json} | 9 ++++++++ keyboards/quarkeys/z67/hotswap/rules.mk | 12 ----------- .../z67/solder/{info.json => keyboard.json} | 9 ++++++++ keyboards/quarkeys/z67/solder/rules.mk | 12 ----------- .../qvex/lynepad/{info.json => keyboard.json} | 10 +++++++++ keyboards/qvex/lynepad/rules.mk | 12 ----------- .../calice/{info.json => keyboard.json} | 9 ++++++++ keyboards/qwertlekeys/calice/rules.mk | 13 ------------ .../qk65/hotswap/{info.json => keyboard.json} | 8 +++++++ keyboards/qwertykeys/qk65/hotswap/rules.mk | 12 ----------- .../qk65/solder/{info.json => keyboard.json} | 8 +++++++ keyboards/qwertykeys/qk65/solder/rules.mk | 12 ----------- .../rabbit68/{info.json => keyboard.json} | 8 +++++++ keyboards/rabbit/rabbit68/rules.mk | 12 ----------- keyboards/rad/{info.json => keyboard.json} | 8 +++++++ keyboards/rad/rules.mk | 12 ----------- .../delilah/{info.json => keyboard.json} | 9 ++++++++ keyboards/rainkeebs/delilah/rules.mk | 12 ----------- .../rainkeeb/{info.json => keyboard.json} | 11 ++++++++++ keyboards/rainkeebs/rainkeeb/rules.mk | 21 ------------------- .../yasui/{info.json => keyboard.json} | 9 ++++++++ keyboards/rainkeebs/yasui/rules.mk | 13 ------------ .../rart/rart45/{info.json => keyboard.json} | 8 +++++++ keyboards/rart/rart45/rules.mk | 12 ----------- .../rart/rart4x4/{info.json => keyboard.json} | 10 +++++++++ keyboards/rart/rart4x4/rules.mk | 13 ------------ .../rart/rart67/{info.json => keyboard.json} | 9 ++++++++ keyboards/rart/rart67/rules.mk | 12 ----------- .../rart/rart67m/{info.json => keyboard.json} | 10 +++++++++ keyboards/rart/rart67m/rules.mk | 14 ------------- .../rart/rart75/{info.json => keyboard.json} | 9 ++++++++ keyboards/rart/rart75/rules.mk | 13 ------------ .../rart/rart75m/{info.json => keyboard.json} | 11 ++++++++++ keyboards/rart/rart75m/rules.mk | 15 ------------- .../rart/rartand/{info.json => keyboard.json} | 9 ++++++++ keyboards/rart/rartand/rules.mk | 13 ------------ .../rartlice/{info.json => keyboard.json} | 11 ++++++++++ keyboards/rart/rartlice/rules.mk | 14 ------------- .../rartlite/{info.json => keyboard.json} | 8 +++++++ keyboards/rart/rartlite/rules.mk | 12 ----------- .../rart/rartpad/{info.json => keyboard.json} | 10 +++++++++ keyboards/rart/rartpad/rules.mk | 13 ------------ .../pistachio_mp/{info.json => keyboard.json} | 10 +++++++++ keyboards/rate/pistachio_mp/rules.mk | 13 ------------ .../rev_a/{info.json => keyboard.json} | 9 ++++++++ .../ratio65_hotswap/rev_a/rules.mk | 12 ----------- .../rev_a/{info.json => keyboard.json} | 9 ++++++++ .../rationalist/ratio65_solder/rev_a/rules.mk | 12 ----------- .../mio/{info.json => keyboard.json} | 9 ++++++++ keyboards/recompile_keys/mio/rules.mk | 12 ----------- keyboards/rect44/{info.json => keyboard.json} | 9 ++++++++ keyboards/rect44/rules.mk | 12 ----------- .../redscarf_i/{info.json => keyboard.json} | 9 ++++++++ keyboards/redscarf_i/rules.mk | 11 ---------- .../retro_75/{info.json => keyboard.json} | 9 ++++++++ keyboards/retro_75/rules.mk | 12 ----------- .../decadepad/{info.json => keyboard.json} | 10 +++++++++ keyboards/reversestudio/decadepad/rules.mk | 13 ------------ .../reviung33/{info.json => keyboard.json} | 9 ++++++++ keyboards/reviung/reviung33/rules.mk | 12 ----------- .../reviung34/{info.json => keyboard.json} | 8 +++++++ keyboards/reviung/reviung34/rules.mk | 12 ----------- .../reviung39/{info.json => keyboard.json} | 8 +++++++ keyboards/reviung/reviung39/rules.mk | 12 ----------- .../reviung41/{info.json => keyboard.json} | 9 ++++++++ keyboards/reviung/reviung41/rules.mk | 12 ----------- .../reviung5/{info.json => keyboard.json} | 10 +++++++++ keyboards/reviung/reviung5/rules.mk | 13 ------------ .../reviung53/{info.json => keyboard.json} | 9 ++++++++ keyboards/reviung/reviung53/rules.mk | 12 ----------- .../squishy65/{info.json => keyboard.json} | 9 ++++++++ keyboards/rmi_kb/squishy65/rules.mk | 13 ------------ .../squishyfrl/{info.json => keyboard.json} | 9 ++++++++ keyboards/rmi_kb/squishyfrl/rules.mk | 13 ------------ .../squishytkl/{info.json => keyboard.json} | 10 +++++++++ keyboards/rmi_kb/squishytkl/rules.mk | 13 ------------ .../rm_numpad/{info.json => keyboard.json} | 9 ++++++++ keyboards/rmkeebs/rm_numpad/rules.mk | 13 ------------ .../rev1/{info.json => keyboard.json} | 8 +++++++ keyboards/rominronin/katana60/rev1/rules.mk | 12 ----------- .../rev2/{info.json => keyboard.json} | 8 +++++++ keyboards/rominronin/katana60/rev2/rules.mk | 12 ----------- .../roseslite/{info.json => keyboard.json} | 8 +++++++ keyboards/roseslite/rules.mk | 12 ----------- keyboards/rotor/{info.json => keyboard.json} | 8 +++++++ keyboards/rotor/rules.mk | 12 ----------- keyboards/rotr/{info.json => keyboard.json} | 9 ++++++++ keyboards/rotr/rules.mk | 13 ------------ .../skjoldr/{info.json => keyboard.json} | 8 +++++++ keyboards/runes/skjoldr/rules.mk | 12 ----------- .../runes/vaengr/{info.json => keyboard.json} | 9 ++++++++ keyboards/runes/vaengr/rules.mk | 12 ----------- .../rb1/{info.json => keyboard.json} | 8 +++++++ keyboards/ryanbaekr/rb1/rules.mk | 12 ----------- .../rb18/{info.json => keyboard.json} | 9 ++++++++ keyboards/ryanbaekr/rb18/rules.mk | 12 ----------- .../rb69/{info.json => keyboard.json} | 9 ++++++++ keyboards/ryanbaekr/rb69/rules.mk | 12 ----------- .../rb86/{info.json => keyboard.json} | 8 +++++++ keyboards/ryanbaekr/rb86/rules.mk | 12 ----------- .../rb87/{info.json => keyboard.json} | 9 ++++++++ keyboards/ryanbaekr/rb87/rules.mk | 12 ----------- .../m0110/{info.json => keyboard.json} | 10 +++++++++ keyboards/ryloo_studio/m0110/rules.mk | 12 ----------- 296 files changed, 1322 insertions(+), 1850 deletions(-) rename keyboards/ocean/addon/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/ocean/addon/rules.mk rename keyboards/ocean/gin_v2/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ocean/gin_v2/rules.mk rename keyboards/ocean/slamz/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/ocean/slamz/rules.mk rename keyboards/ocean/stealth/{info.json => keyboard.json} (78%) delete mode 100644 keyboards/ocean/stealth/rules.mk rename keyboards/ocean/sus/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/ocean/sus/rules.mk rename keyboards/ocean/wang_ergo/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ocean/wang_ergo/rules.mk rename keyboards/ocean/wang_v2/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/ocean/wang_v2/rules.mk rename keyboards/ocean/yuri/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ocean/yuri/rules.mk rename keyboards/odelia/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/odelia/rules.mk rename keyboards/ok60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/ok60/rules.mk rename keyboards/onekeyco/dango40/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/onekeyco/dango40/rules.mk rename keyboards/orange75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/orange75/rules.mk rename keyboards/org60/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/org60/rules.mk rename keyboards/ortho5by12/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/ortho5by12/rules.mk rename keyboards/owlab/jelly_epoch/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/owlab/jelly_epoch/hotswap/rules.mk rename keyboards/owlab/jelly_epoch/soldered/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/owlab/jelly_epoch/soldered/rules.mk rename keyboards/owlab/spring/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/owlab/spring/rules.mk rename keyboards/owlab/suit80/ansi/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/owlab/suit80/ansi/rules.mk rename keyboards/owlab/suit80/iso/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/owlab/suit80/iso/rules.mk rename keyboards/owlab/voice65/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/owlab/voice65/hotswap/rules.mk rename keyboards/owlab/voice65/soldered/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/owlab/voice65/soldered/rules.mk rename keyboards/p3d/eu_isolation/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/p3d/eu_isolation/rules.mk rename keyboards/p3d/glitch/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/p3d/glitch/rules.mk rename keyboards/p3d/q4z/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/p3d/q4z/rules.mk rename keyboards/p3d/spacey/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/p3d/spacey/rules.mk rename keyboards/p3d/synapse/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/p3d/synapse/rules.mk rename keyboards/p3d/tw40/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/p3d/tw40/rules.mk rename keyboards/pabile/p18/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/pabile/p18/rules.mk rename keyboards/pabile/p20/ver1/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/pabile/p20/ver1/rules.mk rename keyboards/pabile/p20/ver2/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/pabile/p20/ver2/rules.mk rename keyboards/pabile/p40/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/pabile/p40/rules.mk rename keyboards/pabile/p40_ortho/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/pabile/p40_ortho/rules.mk rename keyboards/pabile/p42/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/pabile/p42/rules.mk rename keyboards/panc40/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/panc40/rules.mk rename keyboards/panc60/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/panc60/rules.mk rename keyboards/papercranekeyboards/gerald65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/papercranekeyboards/gerald65/rules.mk rename keyboards/parallel/parallel_65/hotswap/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/parallel/parallel_65/hotswap/rules.mk rename keyboards/parallel/parallel_65/soldered/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/parallel/parallel_65/soldered/rules.mk rename keyboards/pdxkbc/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/pdxkbc/rules.mk rename keyboards/pearl/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/pearl/rules.mk rename keyboards/peej/lumberjack/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/peej/lumberjack/rules.mk rename keyboards/pegasus/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/pegasus/rules.mk rename keyboards/percent/canoe/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/percent/canoe/rules.mk rename keyboards/percent/skog/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/percent/skog/rules.mk rename keyboards/percent/skog_lite/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/percent/skog_lite/rules.mk rename keyboards/phantom/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/phantom/rules.mk rename keyboards/phrygian/ph100/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/phrygian/ph100/rules.mk rename keyboards/picolab/frusta_fundamental/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/picolab/frusta_fundamental/rules.mk rename keyboards/pimentoso/paddino02/rev1/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/pimentoso/paddino02/rev1/rules.mk rename keyboards/pimentoso/paddino02/rev2/left/{info.json => keyboard.json} (85%) delete mode 100755 keyboards/pimentoso/paddino02/rev2/left/rules.mk rename keyboards/pimentoso/paddino02/rev2/right/{info.json => keyboard.json} (85%) delete mode 100755 keyboards/pimentoso/paddino02/rev2/right/rules.mk rename keyboards/pimentoso/touhoupad/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/pimentoso/touhoupad/rules.mk rename keyboards/pixelspace/capsule65i/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/pixelspace/capsule65i/rules.mk rename keyboards/pizzakeyboards/pizza65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/pizzakeyboards/pizza65/rules.mk rename keyboards/pjb/eros/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/pjb/eros/rules.mk rename keyboards/pkb65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/pkb65/rules.mk rename keyboards/planck/light/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/planck/light/rules.mk rename keyboards/planck/rev1/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/planck/rev1/rules.mk rename keyboards/planck/rev2/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/planck/rev2/rules.mk rename keyboards/planck/rev3/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/planck/rev3/rules.mk rename keyboards/planck/rev4/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/planck/rev4/rules.mk rename keyboards/planck/rev5/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/planck/rev5/rules.mk rename keyboards/planck/rev6/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/planck/rev6/rules.mk rename keyboards/playkbtw/ca66/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/playkbtw/ca66/rules.mk rename keyboards/playkbtw/pk60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/playkbtw/pk60/rules.mk rename keyboards/plume/plume65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/plume/plume65/rules.mk rename keyboards/plx/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/plx/rules.mk rename keyboards/plywrks/ahgase/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/plywrks/ahgase/rules.mk rename keyboards/plywrks/lune/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/plywrks/lune/rules.mk rename keyboards/pohjolaworks/louhi/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/pohjolaworks/louhi/rules.mk rename keyboards/poker87c/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/poker87c/rules.mk rename keyboards/poker87d/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/poker87d/rules.mk rename keyboards/polycarbdiet/s20/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/polycarbdiet/s20/rules.mk rename keyboards/portal_66/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/portal_66/hotswap/rules.mk rename keyboards/portal_66/soldered/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/portal_66/soldered/rules.mk rename keyboards/pos78/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/pos78/rules.mk rename keyboards/preonic/rev3/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/preonic/rev3/rules.mk rename keyboards/primekb/meridian_rgb/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/primekb/meridian_rgb/rules.mk rename keyboards/primekb/prime_m/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/primekb/prime_m/rules.mk rename keyboards/primekb/prime_o/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/primekb/prime_o/rules.mk rename keyboards/primekb/prime_r/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/primekb/prime_r/rules.mk rename keyboards/projectcain/relic/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/projectcain/relic/rules.mk rename keyboards/projectcain/vault45/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/projectcain/vault45/rules.mk rename keyboards/projectkb/signature65/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/projectkb/signature65/rules.mk rename keyboards/projectkb/signature87/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/projectkb/signature87/rules.mk rename keyboards/prototypist/allison/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/prototypist/allison/rules.mk rename keyboards/prototypist/allison_numpad/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/prototypist/allison_numpad/rules.mk rename keyboards/psuieee/pluto12/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/psuieee/pluto12/rules.mk rename keyboards/puck/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/puck/rules.mk rename keyboards/qpockets/eggman/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/qpockets/eggman/rules.mk rename keyboards/qpockets/wanten/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/qpockets/wanten/rules.mk rename keyboards/quad_h/lb75/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/quad_h/lb75/rules.mk rename keyboards/quantrik/kyuu/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/quantrik/kyuu/rules.mk rename keyboards/quarkeys/z40/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/quarkeys/z40/rules.mk rename keyboards/quarkeys/z60/hotswap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/quarkeys/z60/hotswap/rules.mk rename keyboards/quarkeys/z60/solder/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/quarkeys/z60/solder/rules.mk rename keyboards/quarkeys/z67/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/quarkeys/z67/hotswap/rules.mk rename keyboards/quarkeys/z67/solder/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/quarkeys/z67/solder/rules.mk rename keyboards/qvex/lynepad/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/qvex/lynepad/rules.mk rename keyboards/qwertlekeys/calice/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/qwertlekeys/calice/rules.mk rename keyboards/qwertykeys/qk65/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/qwertykeys/qk65/hotswap/rules.mk rename keyboards/qwertykeys/qk65/solder/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/qwertykeys/qk65/solder/rules.mk rename keyboards/rabbit/rabbit68/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/rabbit/rabbit68/rules.mk rename keyboards/rad/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/rad/rules.mk rename keyboards/rainkeebs/delilah/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/rainkeebs/delilah/rules.mk rename keyboards/rainkeebs/rainkeeb/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/rainkeebs/rainkeeb/rules.mk rename keyboards/rainkeebs/yasui/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/rainkeebs/yasui/rules.mk rename keyboards/rart/rart45/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/rart/rart45/rules.mk rename keyboards/rart/rart4x4/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/rart/rart4x4/rules.mk rename keyboards/rart/rart67/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/rart/rart67/rules.mk rename keyboards/rart/rart67m/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/rart/rart67m/rules.mk rename keyboards/rart/rart75/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/rart/rart75/rules.mk rename keyboards/rart/rart75m/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/rart/rart75m/rules.mk rename keyboards/rart/rartand/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/rart/rartand/rules.mk rename keyboards/rart/rartlice/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/rart/rartlice/rules.mk rename keyboards/rart/rartlite/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/rart/rartlite/rules.mk rename keyboards/rart/rartpad/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/rart/rartpad/rules.mk rename keyboards/rate/pistachio_mp/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/rate/pistachio_mp/rules.mk rename keyboards/rationalist/ratio65_hotswap/rev_a/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/rationalist/ratio65_hotswap/rev_a/rules.mk rename keyboards/rationalist/ratio65_solder/rev_a/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/rationalist/ratio65_solder/rev_a/rules.mk rename keyboards/recompile_keys/mio/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/recompile_keys/mio/rules.mk rename keyboards/rect44/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/rect44/rules.mk rename keyboards/redscarf_i/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/redscarf_i/rules.mk rename keyboards/retro_75/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/retro_75/rules.mk rename keyboards/reversestudio/decadepad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/reversestudio/decadepad/rules.mk rename keyboards/reviung/reviung33/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/reviung/reviung33/rules.mk rename keyboards/reviung/reviung34/{info.json => keyboard.json} (96%) delete mode 100755 keyboards/reviung/reviung34/rules.mk rename keyboards/reviung/reviung39/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/reviung/reviung39/rules.mk rename keyboards/reviung/reviung41/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/reviung/reviung41/rules.mk rename keyboards/reviung/reviung5/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/reviung/reviung5/rules.mk rename keyboards/reviung/reviung53/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/reviung/reviung53/rules.mk rename keyboards/rmi_kb/squishy65/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/rmi_kb/squishy65/rules.mk rename keyboards/rmi_kb/squishyfrl/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/rmi_kb/squishyfrl/rules.mk rename keyboards/rmi_kb/squishytkl/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/rmi_kb/squishytkl/rules.mk rename keyboards/rmkeebs/rm_numpad/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/rmkeebs/rm_numpad/rules.mk rename keyboards/rominronin/katana60/rev1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/rominronin/katana60/rev1/rules.mk rename keyboards/rominronin/katana60/rev2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/rominronin/katana60/rev2/rules.mk rename keyboards/roseslite/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/roseslite/rules.mk rename keyboards/rotor/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/rotor/rules.mk rename keyboards/rotr/{info.json => keyboard.json} (79%) delete mode 100644 keyboards/rotr/rules.mk rename keyboards/runes/skjoldr/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/runes/skjoldr/rules.mk rename keyboards/runes/vaengr/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/runes/vaengr/rules.mk rename keyboards/ryanbaekr/rb1/{info.json => keyboard.json} (73%) delete mode 100644 keyboards/ryanbaekr/rb1/rules.mk rename keyboards/ryanbaekr/rb18/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/ryanbaekr/rb18/rules.mk rename keyboards/ryanbaekr/rb69/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/ryanbaekr/rb69/rules.mk rename keyboards/ryanbaekr/rb86/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ryanbaekr/rb86/rules.mk rename keyboards/ryanbaekr/rb87/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/ryanbaekr/rb87/rules.mk rename keyboards/ryloo_studio/m0110/{info.json => keyboard.json} (98%) delete mode 100755 keyboards/ryloo_studio/m0110/rules.mk diff --git a/keyboards/ocean/addon/info.json b/keyboards/ocean/addon/keyboard.json similarity index 93% rename from keyboards/ocean/addon/info.json rename to keyboards/ocean/addon/keyboard.json index 6fbd4c1b074..b7502a28b69 100644 --- a/keyboards/ocean/addon/info.json +++ b/keyboards/ocean/addon/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0012", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5"], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/ocean/addon/rules.mk b/keyboards/ocean/addon/rules.mk deleted file mode 100644 index fd62cad1658..00000000000 --- a/keyboards/ocean/addon/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ocean/gin_v2/info.json b/keyboards/ocean/gin_v2/keyboard.json similarity index 95% rename from keyboards/ocean/gin_v2/info.json rename to keyboards/ocean/gin_v2/keyboard.json index b5e7cdddd7d..b6f22b813b3 100644 --- a/keyboards/ocean/gin_v2/info.json +++ b/keyboards/ocean/gin_v2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/ocean/gin_v2/rules.mk b/keyboards/ocean/gin_v2/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/ocean/gin_v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ocean/slamz/info.json b/keyboards/ocean/slamz/keyboard.json similarity index 93% rename from keyboards/ocean/slamz/info.json rename to keyboards/ocean/slamz/keyboard.json index a1a95aca60e..67120777632 100644 --- a/keyboards/ocean/slamz/info.json +++ b/keyboards/ocean/slamz/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0011", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7"], "rows": ["D2", "D1", "D0", "D4"] diff --git a/keyboards/ocean/slamz/rules.mk b/keyboards/ocean/slamz/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/ocean/slamz/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ocean/stealth/info.json b/keyboards/ocean/stealth/keyboard.json similarity index 78% rename from keyboards/ocean/stealth/info.json rename to keyboards/ocean/stealth/keyboard.json index fcb08b0ca61..b094a5f4bf3 100644 --- a/keyboards/ocean/stealth/info.json +++ b/keyboards/ocean/stealth/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0010", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D4", "C6"], "rows": ["D1"] diff --git a/keyboards/ocean/stealth/rules.mk b/keyboards/ocean/stealth/rules.mk deleted file mode 100644 index d65d32df0aa..00000000000 --- a/keyboards/ocean/stealth/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/ocean/sus/info.json b/keyboards/ocean/sus/keyboard.json similarity index 85% rename from keyboards/ocean/sus/info.json rename to keyboards/ocean/sus/keyboard.json index bb9b8c501c4..ea2b1e326a1 100644 --- a/keyboards/ocean/sus/info.json +++ b/keyboards/ocean/sus/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0009", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C6", "D4", "D0"], "rows": ["B5", "B4", "E6", "D7"] diff --git a/keyboards/ocean/sus/rules.mk b/keyboards/ocean/sus/rules.mk deleted file mode 100644 index 75b0df17a21..00000000000 --- a/keyboards/ocean/sus/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/ocean/wang_ergo/info.json b/keyboards/ocean/wang_ergo/keyboard.json similarity index 96% rename from keyboards/ocean/wang_ergo/info.json rename to keyboards/ocean/wang_ergo/keyboard.json index c09340a92f0..5debc4396dd 100644 --- a/keyboards/ocean/wang_ergo/info.json +++ b/keyboards/ocean/wang_ergo/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0008", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/ocean/wang_ergo/rules.mk b/keyboards/ocean/wang_ergo/rules.mk deleted file mode 100644 index d65d32df0aa..00000000000 --- a/keyboards/ocean/wang_ergo/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/ocean/wang_v2/info.json b/keyboards/ocean/wang_v2/keyboard.json similarity index 94% rename from keyboards/ocean/wang_v2/info.json rename to keyboards/ocean/wang_v2/keyboard.json index 93591d28c3e..6e80932ce2e 100644 --- a/keyboards/ocean/wang_v2/info.json +++ b/keyboards/ocean/wang_v2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "D3"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/ocean/wang_v2/rules.mk b/keyboards/ocean/wang_v2/rules.mk deleted file mode 100644 index 75b0df17a21..00000000000 --- a/keyboards/ocean/wang_v2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/ocean/yuri/info.json b/keyboards/ocean/yuri/keyboard.json similarity index 95% rename from keyboards/ocean/yuri/info.json rename to keyboards/ocean/yuri/keyboard.json index 3ed5df87460..6542de2cdae 100644 --- a/keyboards/ocean/yuri/info.json +++ b/keyboards/ocean/yuri/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/ocean/yuri/rules.mk b/keyboards/ocean/yuri/rules.mk deleted file mode 100644 index fd62cad1658..00000000000 --- a/keyboards/ocean/yuri/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/odelia/info.json b/keyboards/odelia/keyboard.json similarity index 97% rename from keyboards/odelia/info.json rename to keyboards/odelia/keyboard.json index 6208e2da1ea..3c187b5c18d 100644 --- a/keyboards/odelia/info.json +++ b/keyboards/odelia/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xA129", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B5", "B4", "D7", "D6", "E6", "D0", "D1", "D2", "D3", "D5"], "rows": ["B3", "B7", "B1", "B2", "B0", "F4", "F0", "F1", "D4", "B6"] diff --git a/keyboards/odelia/rules.mk b/keyboards/odelia/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/odelia/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ok60/info.json b/keyboards/ok60/keyboard.json similarity index 98% rename from keyboards/ok60/info.json rename to keyboards/ok60/keyboard.json index a8a345824ce..f6459907bea 100644 --- a/keyboards/ok60/info.json +++ b/keyboards/ok60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "B6", "C6", "C7", "F1", "F0", "E6", "B3", "B2", "B1", "B0"], "rows": ["B5", "B4", "D7", "D6", "D4"] diff --git a/keyboards/ok60/rules.mk b/keyboards/ok60/rules.mk deleted file mode 100644 index ed7a8ea0312..00000000000 --- a/keyboards/ok60/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -# CONSOLE_ENABLE = yes # Console for debug -# COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable the RGB backlight diff --git a/keyboards/onekeyco/dango40/info.json b/keyboards/onekeyco/dango40/keyboard.json similarity index 97% rename from keyboards/onekeyco/dango40/info.json rename to keyboards/onekeyco/dango40/keyboard.json index c9087c630a2..8a41f253253 100644 --- a/keyboards/onekeyco/dango40/info.json +++ b/keyboards/onekeyco/dango40/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xE9B9", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C7", "B0"], "rows": ["F4", "F1", "F0", "C6"] diff --git a/keyboards/onekeyco/dango40/rules.mk b/keyboards/onekeyco/dango40/rules.mk deleted file mode 100644 index 614384dd3c7..00000000000 --- a/keyboards/onekeyco/dango40/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable encoder \ No newline at end of file diff --git a/keyboards/orange75/info.json b/keyboards/orange75/keyboard.json similarity index 96% rename from keyboards/orange75/info.json rename to keyboards/orange75/keyboard.json index 59665c2cb0f..4208cc0f586 100644 --- a/keyboards/orange75/info.json +++ b/keyboards/orange75/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "B7", "B3"], "rows": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B4", "D7", "D4", "D5", "D6"] diff --git a/keyboards/orange75/rules.mk b/keyboards/orange75/rules.mk deleted file mode 100644 index e0fca34fa1e..00000000000 --- a/keyboards/orange75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/org60/info.json b/keyboards/org60/keyboard.json similarity index 97% rename from keyboards/org60/info.json rename to keyboards/org60/keyboard.json index 2e459975249..d4994346af2 100644 --- a/keyboards/org60/info.json +++ b/keyboards/org60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/org60/rules.mk b/keyboards/org60/rules.mk deleted file mode 100644 index d22d1cd2f42..00000000000 --- a/keyboards/org60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -AUDIO_ENABLE = no # Audio output -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -COMMAND_ENABLE = no # Commands for debug and configuration -CONSOLE_ENABLE = no # Console for debug -EXTRAKEY_ENABLE = yes # Audio control and System control -MOUSEKEY_ENABLE = yes # Mouse keys -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. diff --git a/keyboards/ortho5by12/info.json b/keyboards/ortho5by12/keyboard.json similarity index 97% rename from keyboards/ortho5by12/info.json rename to keyboards/ortho5by12/keyboard.json index a107275b18c..c45788ba2fe 100644 --- a/keyboards/ortho5by12/info.json +++ b/keyboards/ortho5by12/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x27DB", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["C2", "D0", "D1", "D4", "C3", "C1"], "rows": ["B5", "B1", "B2", "B3", "B4", "C0", "D5", "D6", "D7", "B0"] diff --git a/keyboards/ortho5by12/rules.mk b/keyboards/ortho5by12/rules.mk deleted file mode 100644 index 6fe874e748b..00000000000 --- a/keyboards/ortho5by12/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/owlab/jelly_epoch/hotswap/info.json b/keyboards/owlab/jelly_epoch/hotswap/keyboard.json similarity index 96% rename from keyboards/owlab/jelly_epoch/hotswap/info.json rename to keyboards/owlab/jelly_epoch/hotswap/keyboard.json index 0cf09660cab..38db4c965b3 100644 --- a/keyboards/owlab/jelly_epoch/hotswap/info.json +++ b/keyboards/owlab/jelly_epoch/hotswap/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "B11", "B8", "B9", "C13"], "rows": ["B0", "B1", "B2", "B3", "A15", "B10"] diff --git a/keyboards/owlab/jelly_epoch/hotswap/rules.mk b/keyboards/owlab/jelly_epoch/hotswap/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/owlab/jelly_epoch/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/owlab/jelly_epoch/soldered/info.json b/keyboards/owlab/jelly_epoch/soldered/keyboard.json similarity index 98% rename from keyboards/owlab/jelly_epoch/soldered/info.json rename to keyboards/owlab/jelly_epoch/soldered/keyboard.json index 4337922ee05..5a12cdf0e9e 100644 --- a/keyboards/owlab/jelly_epoch/soldered/info.json +++ b/keyboards/owlab/jelly_epoch/soldered/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "B11", "B8", "B9", "C13"], "rows": ["B0", "B1", "B2", "B3", "A15", "B10"] diff --git a/keyboards/owlab/jelly_epoch/soldered/rules.mk b/keyboards/owlab/jelly_epoch/soldered/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/owlab/jelly_epoch/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/owlab/spring/info.json b/keyboards/owlab/spring/keyboard.json similarity index 96% rename from keyboards/owlab/spring/info.json rename to keyboards/owlab/spring/keyboard.json index f55f08addc5..7dcb6ec717b 100644 --- a/keyboards/owlab/spring/info.json +++ b/keyboards/owlab/spring/keyboard.json @@ -9,6 +9,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F4", "F7", "F6", "F5", "F1", "F0"], "rows": ["B0", "B7", "D0", "D1", "D2"] diff --git a/keyboards/owlab/spring/rules.mk b/keyboards/owlab/spring/rules.mk deleted file mode 100644 index bc48e6b5bb1..00000000000 --- a/keyboards/owlab/spring/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/owlab/suit80/ansi/info.json b/keyboards/owlab/suit80/ansi/keyboard.json similarity index 97% rename from keyboards/owlab/suit80/ansi/info.json rename to keyboards/owlab/suit80/ansi/keyboard.json index fcce6c6fb60..22bf9f78cd2 100644 --- a/keyboards/owlab/suit80/ansi/info.json +++ b/keyboards/owlab/suit80/ansi/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F4", "F7", "F6", "F5", "F1", "F0"], "rows": ["E6", "B0", "B7", "D0", "D1", "D2"] diff --git a/keyboards/owlab/suit80/ansi/rules.mk b/keyboards/owlab/suit80/ansi/rules.mk deleted file mode 100644 index d65d32df0aa..00000000000 --- a/keyboards/owlab/suit80/ansi/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/owlab/suit80/iso/info.json b/keyboards/owlab/suit80/iso/keyboard.json similarity index 98% rename from keyboards/owlab/suit80/iso/info.json rename to keyboards/owlab/suit80/iso/keyboard.json index dc571071671..87e95e9beed 100644 --- a/keyboards/owlab/suit80/iso/info.json +++ b/keyboards/owlab/suit80/iso/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F4", "F7", "F6", "F5", "F1", "F0"], "rows": ["E6", "B0", "B7", "D0", "D1", "D2"] diff --git a/keyboards/owlab/suit80/iso/rules.mk b/keyboards/owlab/suit80/iso/rules.mk deleted file mode 100644 index d65d32df0aa..00000000000 --- a/keyboards/owlab/suit80/iso/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/owlab/voice65/hotswap/info.json b/keyboards/owlab/voice65/hotswap/keyboard.json similarity index 96% rename from keyboards/owlab/voice65/hotswap/info.json rename to keyboards/owlab/voice65/hotswap/keyboard.json index d32b74cfcbf..088cde40016 100644 --- a/keyboards/owlab/voice65/hotswap/info.json +++ b/keyboards/owlab/voice65/hotswap/keyboard.json @@ -64,6 +64,17 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "A15", "B8", "B9", "B12", "B13"], "rows": ["B0", "B1", "B2", "B10", "B11"] diff --git a/keyboards/owlab/voice65/hotswap/rules.mk b/keyboards/owlab/voice65/hotswap/rules.mk deleted file mode 100644 index aa5f4750337..00000000000 --- a/keyboards/owlab/voice65/hotswap/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary encoder - -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/owlab/voice65/soldered/info.json b/keyboards/owlab/voice65/soldered/keyboard.json similarity index 99% rename from keyboards/owlab/voice65/soldered/info.json rename to keyboards/owlab/voice65/soldered/keyboard.json index 4cae769a947..7aab520f761 100644 --- a/keyboards/owlab/voice65/soldered/info.json +++ b/keyboards/owlab/voice65/soldered/keyboard.json @@ -64,6 +64,17 @@ "max_brightness": 200, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "A15", "B8", "B9", "B12", "B13"], "rows": ["B0", "B1", "B2", "B10", "B11"] diff --git a/keyboards/owlab/voice65/soldered/rules.mk b/keyboards/owlab/voice65/soldered/rules.mk deleted file mode 100644 index aa5f4750337..00000000000 --- a/keyboards/owlab/voice65/soldered/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary encoder - -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/p3d/eu_isolation/info.json b/keyboards/p3d/eu_isolation/keyboard.json similarity index 97% rename from keyboards/p3d/eu_isolation/info.json rename to keyboards/p3d/eu_isolation/keyboard.json index f181418cf0e..a94ee990ad2 100644 --- a/keyboards/p3d/eu_isolation/info.json +++ b/keyboards/p3d/eu_isolation/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4373", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D0", "D1", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4"], "rows": ["D2", "D3", "F1", "F0"] diff --git a/keyboards/p3d/eu_isolation/rules.mk b/keyboards/p3d/eu_isolation/rules.mk deleted file mode 100644 index 20825c8cfa6..00000000000 --- a/keyboards/p3d/eu_isolation/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/p3d/glitch/info.json b/keyboards/p3d/glitch/keyboard.json similarity index 97% rename from keyboards/p3d/glitch/info.json rename to keyboards/p3d/glitch/keyboard.json index e7858124e2f..366707f807d 100644 --- a/keyboards/p3d/glitch/info.json +++ b/keyboards/p3d/glitch/keyboard.json @@ -9,6 +9,17 @@ "device_version": "0.0.1", "max_power": 400 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "D2", "B3", "B7", "F5", "F4", "F1", "F0"], "rows": ["D5", "D6", "B6", "D7", "C7", "B4", "B5", "D3", "D4", "C6"] diff --git a/keyboards/p3d/glitch/rules.mk b/keyboards/p3d/glitch/rules.mk deleted file mode 100644 index 65ecff135b0..00000000000 --- a/keyboards/p3d/glitch/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/p3d/q4z/info.json b/keyboards/p3d/q4z/keyboard.json similarity index 94% rename from keyboards/p3d/q4z/info.json rename to keyboards/p3d/q4z/keyboard.json index dc02296131b..0b71df61b3a 100644 --- a/keyboards/p3d/q4z/info.json +++ b/keyboards/p3d/q4z/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "B6", "B2", "B3", "B1", "F7", "F6", "F5"], "rows": ["F4", "C6", "D7", "E6", "B4"] diff --git a/keyboards/p3d/q4z/rules.mk b/keyboards/p3d/q4z/rules.mk deleted file mode 100644 index 6d3709762d5..00000000000 --- a/keyboards/p3d/q4z/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/p3d/spacey/info.json b/keyboards/p3d/spacey/keyboard.json similarity index 95% rename from keyboards/p3d/spacey/info.json rename to keyboards/p3d/spacey/keyboard.json index 289eff730ff..d51e1dc32ca 100644 --- a/keyboards/p3d/spacey/info.json +++ b/keyboards/p3d/spacey/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x2045", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "B7", "B5", "B4", "E6", "D7", "C7", "B3", "B2", "B6", "F0", "F1", "B1", "F7"], "rows": ["D4", "C6", "F6", "F5", "F4"] diff --git a/keyboards/p3d/spacey/rules.mk b/keyboards/p3d/spacey/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/p3d/spacey/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/p3d/synapse/info.json b/keyboards/p3d/synapse/keyboard.json similarity index 96% rename from keyboards/p3d/synapse/info.json rename to keyboards/p3d/synapse/keyboard.json index 85659dc8a5b..277be632a5a 100644 --- a/keyboards/p3d/synapse/info.json +++ b/keyboards/p3d/synapse/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5359", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "D4", "F5", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "B6"], "rows": ["E6", "B0", "F4", "F1"] diff --git a/keyboards/p3d/synapse/rules.mk b/keyboards/p3d/synapse/rules.mk deleted file mode 100644 index ebe0d0e0e32..00000000000 --- a/keyboards/p3d/synapse/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/p3d/tw40/info.json b/keyboards/p3d/tw40/keyboard.json similarity index 99% rename from keyboards/p3d/tw40/info.json rename to keyboards/p3d/tw40/keyboard.json index 79f3d7fbaaf..356b610b2a5 100644 --- a/keyboards/p3d/tw40/info.json +++ b/keyboards/p3d/tw40/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B0", "D5", "D3", "D2"] diff --git a/keyboards/p3d/tw40/rules.mk b/keyboards/p3d/tw40/rules.mk deleted file mode 100644 index 2eba275490a..00000000000 --- a/keyboards/p3d/tw40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pabile/p18/info.json b/keyboards/pabile/p18/keyboard.json similarity index 88% rename from keyboards/pabile/p18/info.json rename to keyboards/pabile/p18/keyboard.json index 3e8a2b68640..4bc6047ec06 100644 --- a/keyboards/pabile/p18/info.json +++ b/keyboards/pabile/p18/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6668", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "unicode": true + }, "matrix_pins": { "cols": ["D2", "D7", "E6", "B4", "B5"], "rows": ["D1", "D0", "D4", "C6"] diff --git a/keyboards/pabile/p18/rules.mk b/keyboards/pabile/p18/rules.mk deleted file mode 100644 index 9d58ddf3057..00000000000 --- a/keyboards/pabile/p18/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -IOS_DEVICE_ENABLE = no # connect to IOS Device -ENCODER_ENABLE = yes diff --git a/keyboards/pabile/p20/ver1/info.json b/keyboards/pabile/p20/ver1/keyboard.json similarity index 91% rename from keyboards/pabile/p20/ver1/info.json rename to keyboards/pabile/p20/ver1/keyboard.json index 07fce7c5f5d..e909617faa7 100644 --- a/keyboards/pabile/p20/ver1/info.json +++ b/keyboards/pabile/p20/ver1/keyboard.json @@ -3,6 +3,16 @@ "usb": { "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "unicode": true + }, "matrix_pins": { "cols": ["D0", "B2", "D4", "B6"], "rows": ["B3", "B4", "B5", "D7", "E6"] diff --git a/keyboards/pabile/p20/ver1/rules.mk b/keyboards/pabile/p20/ver1/rules.mk deleted file mode 100644 index 8341cf19a2a..00000000000 --- a/keyboards/pabile/p20/ver1/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -UNICODE_ENABLE = yes # Unicode -IOS_DEVICE_ENABLE = no # connect to IOS Device -ENCODER_ENABLE = yes diff --git a/keyboards/pabile/p20/ver2/info.json b/keyboards/pabile/p20/ver2/keyboard.json similarity index 92% rename from keyboards/pabile/p20/ver2/info.json rename to keyboards/pabile/p20/ver2/keyboard.json index 35a0dc8ec2c..b6688d870eb 100644 --- a/keyboards/pabile/p20/ver2/info.json +++ b/keyboards/pabile/p20/ver2/keyboard.json @@ -3,6 +3,15 @@ "usb": { "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "unicode": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4", "B2"], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/pabile/p20/ver2/rules.mk b/keyboards/pabile/p20/ver2/rules.mk deleted file mode 100644 index 58a67089140..00000000000 --- a/keyboards/pabile/p20/ver2/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -UNICODE_ENABLE = yes # Unicode -IOS_DEVICE_ENABLE = no # connect to IOS Device -ENCODER_ENABLE = no diff --git a/keyboards/pabile/p40/info.json b/keyboards/pabile/p40/keyboard.json similarity index 93% rename from keyboards/pabile/p40/info.json rename to keyboards/pabile/p40/keyboard.json index 4087cb2ef2b..980da54a06a 100644 --- a/keyboards/pabile/p40/info.json +++ b/keyboards/pabile/p40/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6666", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["F4", "F5", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1"], "rows": ["F6", "B3", "B2", "B6"] diff --git a/keyboards/pabile/p40/rules.mk b/keyboards/pabile/p40/rules.mk deleted file mode 100644 index 9871ad5be73..00000000000 --- a/keyboards/pabile/p40/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -IOS_DEVICE_ENABLE = no # connect to IOS Device diff --git a/keyboards/pabile/p40_ortho/info.json b/keyboards/pabile/p40_ortho/keyboard.json similarity index 95% rename from keyboards/pabile/p40_ortho/info.json rename to keyboards/pabile/p40_ortho/keyboard.json index 30c1a0f508e..305c0ad3312 100644 --- a/keyboards/pabile/p40_ortho/info.json +++ b/keyboards/pabile/p40_ortho/keyboard.json @@ -7,6 +7,15 @@ "pid": "0x6669", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B2", "B3", "B1", "F7", "F6"], "rows": ["D1", "D0", "F4", "F5"] diff --git a/keyboards/pabile/p40_ortho/rules.mk b/keyboards/pabile/p40_ortho/rules.mk deleted file mode 100644 index 9871ad5be73..00000000000 --- a/keyboards/pabile/p40_ortho/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -IOS_DEVICE_ENABLE = no # connect to IOS Device diff --git a/keyboards/pabile/p42/info.json b/keyboards/pabile/p42/keyboard.json similarity index 93% rename from keyboards/pabile/p42/info.json rename to keyboards/pabile/p42/keyboard.json index de6df45e90c..70dcb097444 100644 --- a/keyboards/pabile/p42/info.json +++ b/keyboards/pabile/p42/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6670", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5", "D2", "D3", "F7", "B1", "B3", "B2", "B6"], "rows": ["D1", "D0", "D4", "C6"] diff --git a/keyboards/pabile/p42/rules.mk b/keyboards/pabile/p42/rules.mk deleted file mode 100644 index 9871ad5be73..00000000000 --- a/keyboards/pabile/p42/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode -IOS_DEVICE_ENABLE = no # connect to IOS Device diff --git a/keyboards/panc40/info.json b/keyboards/panc40/keyboard.json similarity index 97% rename from keyboards/panc40/info.json rename to keyboards/panc40/keyboard.json index c5f50057b69..c1867903f9a 100644 --- a/keyboards/panc40/info.json +++ b/keyboards/panc40/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D0", "D1"], "rows": ["F0", "F1", "F4", "F5"] diff --git a/keyboards/panc40/rules.mk b/keyboards/panc40/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/panc40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/panc60/info.json b/keyboards/panc60/keyboard.json similarity index 98% rename from keyboards/panc60/info.json rename to keyboards/panc60/keyboard.json index 1a967727cef..e0f3a491c89 100644 --- a/keyboards/panc60/info.json +++ b/keyboards/panc60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/panc60/rules.mk b/keyboards/panc60/rules.mk deleted file mode 100644 index 4a44d3a5476..00000000000 --- a/keyboards/panc60/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = no -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/papercranekeyboards/gerald65/info.json b/keyboards/papercranekeyboards/gerald65/keyboard.json similarity index 96% rename from keyboards/papercranekeyboards/gerald65/info.json rename to keyboards/papercranekeyboards/gerald65/keyboard.json index 533c50a76c3..1d2c8d40ae2 100644 --- a/keyboards/papercranekeyboards/gerald65/info.json +++ b/keyboards/papercranekeyboards/gerald65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x1501", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "D7", "D4", "D3", "D2", "D1", "D0", "B6", "C6", "C7"], "rows": ["B7", "D6", "E6", "B4", "B5"] diff --git a/keyboards/papercranekeyboards/gerald65/rules.mk b/keyboards/papercranekeyboards/gerald65/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/papercranekeyboards/gerald65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/parallel/parallel_65/hotswap/info.json b/keyboards/parallel/parallel_65/hotswap/keyboard.json similarity index 97% rename from keyboards/parallel/parallel_65/hotswap/info.json rename to keyboards/parallel/parallel_65/hotswap/keyboard.json index e3159e61867..1f59cd5734c 100644 --- a/keyboards/parallel/parallel_65/hotswap/info.json +++ b/keyboards/parallel/parallel_65/hotswap/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x5069", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/parallel/parallel_65/hotswap/rules.mk b/keyboards/parallel/parallel_65/hotswap/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/parallel/parallel_65/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/parallel/parallel_65/soldered/info.json b/keyboards/parallel/parallel_65/soldered/keyboard.json similarity index 99% rename from keyboards/parallel/parallel_65/soldered/info.json rename to keyboards/parallel/parallel_65/soldered/keyboard.json index 2b82c13819c..fe87fb84449 100644 --- a/keyboards/parallel/parallel_65/soldered/info.json +++ b/keyboards/parallel/parallel_65/soldered/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x5068", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/parallel/parallel_65/soldered/rules.mk b/keyboards/parallel/parallel_65/soldered/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/parallel/parallel_65/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pdxkbc/info.json b/keyboards/pdxkbc/keyboard.json similarity index 82% rename from keyboards/pdxkbc/info.json rename to keyboards/pdxkbc/keyboard.json index 8fe7db4c23a..2585c7ab389 100644 --- a/keyboards/pdxkbc/info.json +++ b/keyboards/pdxkbc/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "E6"], "rows": ["F7", "B6", "F4"] diff --git a/keyboards/pdxkbc/rules.mk b/keyboards/pdxkbc/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/pdxkbc/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pearl/info.json b/keyboards/pearl/keyboard.json similarity index 97% rename from keyboards/pearl/info.json rename to keyboards/pearl/keyboard.json index cf090b95872..60c5bb3a375 100644 --- a/keyboards/pearl/info.json +++ b/keyboards/pearl/keyboard.json @@ -7,6 +7,16 @@ "pid": "0x0348", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3"], "rows": ["B0", "B1", "B2", "B3"] diff --git a/keyboards/pearl/rules.mk b/keyboards/pearl/rules.mk deleted file mode 100644 index 51df0b642e1..00000000000 --- a/keyboards/pearl/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/peej/lumberjack/info.json b/keyboards/peej/lumberjack/keyboard.json similarity index 95% rename from keyboards/peej/lumberjack/info.json rename to keyboards/peej/lumberjack/keyboard.json index 83b4a6e6c22..c94cb008be8 100644 --- a/keyboards/peej/lumberjack/info.json +++ b/keyboards/peej/lumberjack/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "D7", "D6", "D5", "D4", "D1", "D0", "C1", "C2", "C3"], "rows": ["C0", "B5", "B4", "B3", "B2", "B1"] diff --git a/keyboards/peej/lumberjack/rules.mk b/keyboards/peej/lumberjack/rules.mk deleted file mode 100644 index 59c896dbff6..00000000000 --- a/keyboards/peej/lumberjack/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pegasus/info.json b/keyboards/pegasus/keyboard.json similarity index 96% rename from keyboards/pegasus/info.json rename to keyboards/pegasus/keyboard.json index 29b99c8e25c..d5d2172ee0d 100644 --- a/keyboards/pegasus/info.json +++ b/keyboards/pegasus/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D2", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5"], "rows": ["F0", "F1", "F4", "E6"] diff --git a/keyboards/pegasus/rules.mk b/keyboards/pegasus/rules.mk deleted file mode 100644 index 0334a51bb5b..00000000000 --- a/keyboards/pegasus/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/keyboard.json similarity index 98% rename from keyboards/percent/canoe/info.json rename to keyboards/percent/canoe/keyboard.json index a1fc705561c..656f73f904b 100644 --- a/keyboards/percent/canoe/info.json +++ b/keyboards/percent/canoe/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x434E", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/percent/canoe/rules.mk b/keyboards/percent/canoe/rules.mk deleted file mode 100644 index 6b0cec85a44..00000000000 --- a/keyboards/percent/canoe/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/keyboard.json similarity index 96% rename from keyboards/percent/skog/info.json rename to keyboards/percent/skog/keyboard.json index 4ba43d6c04c..823c1638acd 100644 --- a/keyboards/percent/skog/info.json +++ b/keyboards/percent/skog/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2"], "rows": ["B0", "B1", "B2", "B3", "B5", "B6", "B7"] diff --git a/keyboards/percent/skog/rules.mk b/keyboards/percent/skog/rules.mk deleted file mode 100644 index 6b0cec85a44..00000000000 --- a/keyboards/percent/skog/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/keyboard.json similarity index 98% rename from keyboards/percent/skog_lite/info.json rename to keyboards/percent/skog_lite/keyboard.json index ed75e8ae2b8..e52d910845a 100644 --- a/keyboards/percent/skog_lite/info.json +++ b/keyboards/percent/skog_lite/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C4", "C2", "D7", "C7", "C6", "A0", "A1", "A2", "A3", "A7", "A6", "A4", "A5", "C5", "C3"], "rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B5"] diff --git a/keyboards/percent/skog_lite/rules.mk b/keyboards/percent/skog_lite/rules.mk deleted file mode 100644 index 747ea2aae3c..00000000000 --- a/keyboards/percent/skog_lite/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/phantom/info.json b/keyboards/phantom/keyboard.json similarity index 99% rename from keyboards/phantom/info.json rename to keyboards/phantom/keyboard.json index 0d52fb38d06..ab794b40f09 100644 --- a/keyboards/phantom/info.json +++ b/keyboards/phantom/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5B50", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "C7", "C6", "D4", "D0", "E6", "F0", "F1", "F4", "F5", "F6", "F7", "D7", "D6", "D1", "D2", "D3"], "rows": ["B5", "B4", "B3", "B2", "B1", "B0"] diff --git a/keyboards/phantom/rules.mk b/keyboards/phantom/rules.mk deleted file mode 100644 index ab9ede17169..00000000000 --- a/keyboards/phantom/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/phrygian/ph100/info.json b/keyboards/phrygian/ph100/keyboard.json similarity index 97% rename from keyboards/phrygian/ph100/info.json rename to keyboards/phrygian/ph100/keyboard.json index f33081284ef..3d0c611862c 100644 --- a/keyboards/phrygian/ph100/info.json +++ b/keyboards/phrygian/ph100/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0C61", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9"] diff --git a/keyboards/phrygian/ph100/rules.mk b/keyboards/phrygian/ph100/rules.mk deleted file mode 100644 index 5fb302d01f1..00000000000 --- a/keyboards/phrygian/ph100/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - - diff --git a/keyboards/picolab/frusta_fundamental/info.json b/keyboards/picolab/frusta_fundamental/keyboard.json similarity index 96% rename from keyboards/picolab/frusta_fundamental/info.json rename to keyboards/picolab/frusta_fundamental/keyboard.json index bd73d2b77fe..6a47fb13272 100644 --- a/keyboards/picolab/frusta_fundamental/info.json +++ b/keyboards/picolab/frusta_fundamental/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7", "D5", "D3", "D2", "D1", "D0"], "rows": ["D4", "D6", "D7", "B4", "B5"] diff --git a/keyboards/picolab/frusta_fundamental/rules.mk b/keyboards/picolab/frusta_fundamental/rules.mk deleted file mode 100644 index 866703c96e3..00000000000 --- a/keyboards/picolab/frusta_fundamental/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/pimentoso/paddino02/rev1/info.json b/keyboards/pimentoso/paddino02/rev1/keyboard.json similarity index 85% rename from keyboards/pimentoso/paddino02/rev1/info.json rename to keyboards/pimentoso/paddino02/rev1/keyboard.json index 1ee1a11399f..681cbff9261 100644 --- a/keyboards/pimentoso/paddino02/rev1/info.json +++ b/keyboards/pimentoso/paddino02/rev1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0020", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5"], "rows": ["D1", "D0", "D4"] diff --git a/keyboards/pimentoso/paddino02/rev1/rules.mk b/keyboards/pimentoso/paddino02/rev1/rules.mk deleted file mode 100644 index 21bcb26f658..00000000000 --- a/keyboards/pimentoso/paddino02/rev1/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -KEY_LOCK_ENABLE = no # Allows locking any key. diff --git a/keyboards/pimentoso/paddino02/rev2/left/info.json b/keyboards/pimentoso/paddino02/rev2/left/keyboard.json similarity index 85% rename from keyboards/pimentoso/paddino02/rev2/left/info.json rename to keyboards/pimentoso/paddino02/rev2/left/keyboard.json index f297903f680..30be3a3836e 100644 --- a/keyboards/pimentoso/paddino02/rev2/left/info.json +++ b/keyboards/pimentoso/paddino02/rev2/left/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0021", "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5"], "rows": ["D0", "D4", "D1"] diff --git a/keyboards/pimentoso/paddino02/rev2/left/rules.mk b/keyboards/pimentoso/paddino02/rev2/left/rules.mk deleted file mode 100755 index 21bcb26f658..00000000000 --- a/keyboards/pimentoso/paddino02/rev2/left/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -KEY_LOCK_ENABLE = no # Allows locking any key. diff --git a/keyboards/pimentoso/paddino02/rev2/right/info.json b/keyboards/pimentoso/paddino02/rev2/right/keyboard.json similarity index 85% rename from keyboards/pimentoso/paddino02/rev2/right/info.json rename to keyboards/pimentoso/paddino02/rev2/right/keyboard.json index 385ee96af91..b4021c076de 100644 --- a/keyboards/pimentoso/paddino02/rev2/right/info.json +++ b/keyboards/pimentoso/paddino02/rev2/right/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0022", "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1"], "rows": ["F4", "F6", "F5"] diff --git a/keyboards/pimentoso/paddino02/rev2/right/rules.mk b/keyboards/pimentoso/paddino02/rev2/right/rules.mk deleted file mode 100755 index 21bcb26f658..00000000000 --- a/keyboards/pimentoso/paddino02/rev2/right/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -KEY_LOCK_ENABLE = no # Allows locking any key. diff --git a/keyboards/pimentoso/touhoupad/info.json b/keyboards/pimentoso/touhoupad/keyboard.json similarity index 87% rename from keyboards/pimentoso/touhoupad/info.json rename to keyboards/pimentoso/touhoupad/keyboard.json index 8baff8f78ed..3e4655abfb9 100644 --- a/keyboards/pimentoso/touhoupad/info.json +++ b/keyboards/pimentoso/touhoupad/keyboard.json @@ -23,6 +23,15 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "D7", "E6", "B4", "B6", "B2", "B3", "B1", "F7", "F6"], "rows": ["D4"] diff --git a/keyboards/pimentoso/touhoupad/rules.mk b/keyboards/pimentoso/touhoupad/rules.mk deleted file mode 100644 index aa4c817d2a2..00000000000 --- a/keyboards/pimentoso/touhoupad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pixelspace/capsule65i/info.json b/keyboards/pixelspace/capsule65i/keyboard.json similarity index 99% rename from keyboards/pixelspace/capsule65i/info.json rename to keyboards/pixelspace/capsule65i/keyboard.json index d38155349be..d08fd2e355e 100644 --- a/keyboards/pixelspace/capsule65i/info.json +++ b/keyboards/pixelspace/capsule65i/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xE66E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D5", "D2", "D3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "E2", "B3", "B1", "B0", "B2"], "rows": ["F4", "D1", "B7", "D0", "F5"] diff --git a/keyboards/pixelspace/capsule65i/rules.mk b/keyboards/pixelspace/capsule65i/rules.mk deleted file mode 100644 index b5cde0eb87a..00000000000 --- a/keyboards/pixelspace/capsule65i/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pizzakeyboards/pizza65/info.json b/keyboards/pizzakeyboards/pizza65/keyboard.json similarity index 98% rename from keyboards/pizzakeyboards/pizza65/info.json rename to keyboards/pizzakeyboards/pizza65/keyboard.json index 76ad8fda507..735cae4ac3f 100644 --- a/keyboards/pizzakeyboards/pizza65/info.json +++ b/keyboards/pizzakeyboards/pizza65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x707A", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A9", "A8", "F0", "A2", "A3", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14", "A13"], "rows": ["B15", "A10", "F1", "A0", "A1"] diff --git a/keyboards/pizzakeyboards/pizza65/rules.mk b/keyboards/pizzakeyboards/pizza65/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/pizzakeyboards/pizza65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pjb/eros/info.json b/keyboards/pjb/eros/keyboard.json similarity index 99% rename from keyboards/pjb/eros/info.json rename to keyboards/pjb/eros/keyboard.json index e336b9e2f4d..888a6aa02c0 100644 --- a/keyboards/pjb/eros/info.json +++ b/keyboards/pjb/eros/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4552", "device_version": "2.0.0" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "D4", "D5", "B4", "D3", "D2", "E6", "B3"], "rows": ["B2", "B1", "B0", "D7", "B7", "D1"] diff --git a/keyboards/pjb/eros/rules.mk b/keyboards/pjb/eros/rules.mk deleted file mode 100644 index 12dca933d74..00000000000 --- a/keyboards/pjb/eros/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Enable audio output diff --git a/keyboards/pkb65/info.json b/keyboards/pkb65/keyboard.json similarity index 96% rename from keyboards/pkb65/info.json rename to keyboards/pkb65/keyboard.json index 325970dac8e..7aea7615650 100644 --- a/keyboards/pkb65/info.json +++ b/keyboards/pkb65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"], "rows": ["C7", "C6", "B6", "B7", "F0"] diff --git a/keyboards/pkb65/rules.mk b/keyboards/pkb65/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/pkb65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/planck/light/info.json b/keyboards/planck/light/keyboard.json similarity index 96% rename from keyboards/planck/light/info.json rename to keyboards/planck/light/keyboard.json index 8fc112664b4..33801562e56 100644 --- a/keyboards/planck/light/info.json +++ b/keyboards/planck/light/keyboard.json @@ -56,6 +56,17 @@ }, "driver": "is31fl3731" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "midi": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["E6", "E3", "E4", "D3", "D4", "D5", "C0", "A7", "A6", "E1", "E0", "D7"], "rows": ["B0", "E7", "F0", "F1"] diff --git a/keyboards/planck/light/rules.mk b/keyboards/planck/light/rules.mk deleted file mode 100644 index a8efaf98f47..00000000000 --- a/keyboards/planck/light/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = yes # MIDI support -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/planck/rev1/info.json b/keyboards/planck/rev1/keyboard.json similarity index 97% rename from keyboards/planck/rev1/info.json rename to keyboards/planck/rev1/keyboard.json index 72646ac6bf3..f737781a1c7 100644 --- a/keyboards/planck/rev1/info.json +++ b/keyboards/planck/rev1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAE01", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev1/rules.mk b/keyboards/planck/rev1/rules.mk deleted file mode 100644 index 99b86919620..00000000000 --- a/keyboards/planck/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev2/info.json b/keyboards/planck/rev2/keyboard.json similarity index 97% rename from keyboards/planck/rev2/info.json rename to keyboards/planck/rev2/keyboard.json index 2bbc5760c23..d10982f357b 100644 --- a/keyboards/planck/rev2/info.json +++ b/keyboards/planck/rev2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAE01", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev2/rules.mk b/keyboards/planck/rev2/rules.mk deleted file mode 100644 index 99b86919620..00000000000 --- a/keyboards/planck/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev3/info.json b/keyboards/planck/rev3/keyboard.json similarity index 97% rename from keyboards/planck/rev3/info.json rename to keyboards/planck/rev3/keyboard.json index 17f07d58f35..16d2b59a2e7 100644 --- a/keyboards/planck/rev3/info.json +++ b/keyboards/planck/rev3/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xAE01", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev3/rules.mk b/keyboards/planck/rev3/rules.mk deleted file mode 100644 index 99b86919620..00000000000 --- a/keyboards/planck/rev3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev4/info.json b/keyboards/planck/rev4/keyboard.json similarity index 96% rename from keyboards/planck/rev4/info.json rename to keyboards/planck/rev4/keyboard.json index 5eaf58e14cf..725a297b2f2 100644 --- a/keyboards/planck/rev4/info.json +++ b/keyboards/planck/rev4/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAE01", "device_version": "0.0.4" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev4/rules.mk b/keyboards/planck/rev4/rules.mk deleted file mode 100644 index 73d6182ff40..00000000000 --- a/keyboards/planck/rev4/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev5/info.json b/keyboards/planck/rev5/keyboard.json similarity index 96% rename from keyboards/planck/rev5/info.json rename to keyboards/planck/rev5/keyboard.json index f9265e1409a..f816d23e9b0 100644 --- a/keyboards/planck/rev5/info.json +++ b/keyboards/planck/rev5/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xAE01", "device_version": "0.0.5" }, + "features": { + "audio": true, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "D5", "B5", "B6"] diff --git a/keyboards/planck/rev5/rules.mk b/keyboards/planck/rev5/rules.mk deleted file mode 100644 index 73d6182ff40..00000000000 --- a/keyboards/planck/rev5/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/planck/rev6/info.json b/keyboards/planck/rev6/keyboard.json similarity index 98% rename from keyboards/planck/rev6/info.json rename to keyboards/planck/rev6/keyboard.json index add17963b44..b0028795fe6 100644 --- a/keyboards/planck/rev6/info.json +++ b/keyboards/planck/rev6/keyboard.json @@ -19,6 +19,18 @@ "driver": "ws2812", "sleep": true }, + "features": { + "audio": true, + "bootmagic": true, + "command": true, + "console": true, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"] diff --git a/keyboards/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk deleted file mode 100644 index ce96f940793..00000000000 --- a/keyboards/planck/rev6/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. - -RGB_MATRIX_ENABLE = no -ENCODER_ENABLE = yes -DIP_SWITCH_ENABLE = yes diff --git a/keyboards/playkbtw/ca66/info.json b/keyboards/playkbtw/ca66/keyboard.json similarity index 95% rename from keyboards/playkbtw/ca66/info.json rename to keyboards/playkbtw/ca66/keyboard.json index 5711f0e742b..73a2efe1d30 100644 --- a/keyboards/playkbtw/ca66/info.json +++ b/keyboards/playkbtw/ca66/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "F6", "B7", "E6"], "rows": ["F5", "F4", "F1", "B0", "B3"] diff --git a/keyboards/playkbtw/ca66/rules.mk b/keyboards/playkbtw/ca66/rules.mk deleted file mode 100644 index 32e82925ccf..00000000000 --- a/keyboards/playkbtw/ca66/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/playkbtw/pk60/info.json b/keyboards/playkbtw/pk60/keyboard.json similarity index 99% rename from keyboards/playkbtw/pk60/info.json rename to keyboards/playkbtw/pk60/keyboard.json index e42854308e6..a11348d2e6c 100644 --- a/keyboards/playkbtw/pk60/info.json +++ b/keyboards/playkbtw/pk60/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/playkbtw/pk60/rules.mk b/keyboards/playkbtw/pk60/rules.mk deleted file mode 100644 index 32e82925ccf..00000000000 --- a/keyboards/playkbtw/pk60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/plume/plume65/info.json b/keyboards/plume/plume65/keyboard.json similarity index 98% rename from keyboards/plume/plume65/info.json rename to keyboards/plume/plume65/keyboard.json index a149784fd7f..f0b6097a186 100644 --- a/keyboards/plume/plume65/info.json +++ b/keyboards/plume/plume65/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B7", "F7", "C7", "C6", "B6", "F0", "B5", "F1", "B4", "F4", "D7", "F5", "D6", "F6", "D4"], "rows": ["D2", "D5", "E6", "D0", "D1"] diff --git a/keyboards/plume/plume65/rules.mk b/keyboards/plume/plume65/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/plume/plume65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/plx/info.json b/keyboards/plx/keyboard.json similarity index 98% rename from keyboards/plx/info.json rename to keyboards/plx/keyboard.json index 749c8fc9da0..dd47ce70370 100644 --- a/keyboards/plx/info.json +++ b/keyboards/plx/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE972", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D1", "D0", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F1", "F0"], "rows": ["B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/plx/rules.mk b/keyboards/plx/rules.mk deleted file mode 100644 index 29f6808ed5d..00000000000 --- a/keyboards/plx/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/plywrks/ahgase/info.json b/keyboards/plywrks/ahgase/keyboard.json similarity index 98% rename from keyboards/plywrks/ahgase/info.json rename to keyboards/plywrks/ahgase/keyboard.json index 2949aec9c6e..b98d4f69ee9 100644 --- a/keyboards/plywrks/ahgase/info.json +++ b/keyboards/plywrks/ahgase/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x7902", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D4", "D5", "B0", "B1", "D1"], "rows": ["B2", "B3", "B7", "D6", "D3", "D2"] diff --git a/keyboards/plywrks/ahgase/rules.mk b/keyboards/plywrks/ahgase/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/plywrks/ahgase/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/plywrks/lune/info.json b/keyboards/plywrks/lune/keyboard.json similarity index 97% rename from keyboards/plywrks/lune/info.json rename to keyboards/plywrks/lune/keyboard.json index 46c789054d1..9368627e981 100644 --- a/keyboards/plywrks/lune/info.json +++ b/keyboards/plywrks/lune/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "E2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "D4", "D5", "D3", "D2"], "rows": ["F1", "F0", "B7", "B0", "B6", "B5", "D7", "B4", "D6"] diff --git a/keyboards/plywrks/lune/rules.mk b/keyboards/plywrks/lune/rules.mk deleted file mode 100644 index e557ae8ab43..00000000000 --- a/keyboards/plywrks/lune/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes # Enable OLED diff --git a/keyboards/pohjolaworks/louhi/info.json b/keyboards/pohjolaworks/louhi/keyboard.json similarity index 97% rename from keyboards/pohjolaworks/louhi/info.json rename to keyboards/pohjolaworks/louhi/keyboard.json index 618d46b9c86..7edf1535561 100644 --- a/keyboards/pohjolaworks/louhi/info.json +++ b/keyboards/pohjolaworks/louhi/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "B6", "F4", "F5", "F6", "F7", "B1"], "rows": ["D3", "D2", "D1", "D0", "D7", "C6", "B4", "E6"] diff --git a/keyboards/pohjolaworks/louhi/rules.mk b/keyboards/pohjolaworks/louhi/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/pohjolaworks/louhi/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/poker87c/info.json b/keyboards/poker87c/keyboard.json similarity index 98% rename from keyboards/poker87c/info.json rename to keyboards/poker87c/keyboard.json index b0c8befc23e..ab626c8be91 100644 --- a/keyboards/poker87c/info.json +++ b/keyboards/poker87c/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x087C", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D0", "F7", "F6", "F5", "D5", "D3", "D2", "C7", "C6", "B5", "F4", "F1", "B4", "B0"], "rows": ["E6", "B7", "D4", "F0", "D6", "D7"] diff --git a/keyboards/poker87c/rules.mk b/keyboards/poker87c/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/poker87c/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/poker87d/info.json b/keyboards/poker87d/keyboard.json similarity index 98% rename from keyboards/poker87d/info.json rename to keyboards/poker87d/keyboard.json index 8eec7890895..61710aac2c3 100644 --- a/keyboards/poker87d/info.json +++ b/keyboards/poker87d/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x087D", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D0", "F7", "F6", "F5", "D5", "D3", "D2", "C7", "C6", "B5", "F4", "F1", "B4", "B0"], "rows": ["E6", "B7", "D4", "F0", "D6", "D7"] diff --git a/keyboards/poker87d/rules.mk b/keyboards/poker87d/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/poker87d/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/polycarbdiet/s20/info.json b/keyboards/polycarbdiet/s20/keyboard.json similarity index 94% rename from keyboards/polycarbdiet/s20/info.json rename to keyboards/polycarbdiet/s20/keyboard.json index 0905f9240ac..e734673ffc6 100644 --- a/keyboards/polycarbdiet/s20/info.json +++ b/keyboards/polycarbdiet/s20/keyboard.json @@ -9,6 +9,16 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C6", "C7", "D4", "D6"], "rows": ["B7", "E6", "D0", "D1", "D5"] diff --git a/keyboards/polycarbdiet/s20/rules.mk b/keyboards/polycarbdiet/s20/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/polycarbdiet/s20/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/portal_66/hotswap/info.json b/keyboards/portal_66/hotswap/keyboard.json similarity index 96% rename from keyboards/portal_66/hotswap/info.json rename to keyboards/portal_66/hotswap/keyboard.json index 2d4bbb9b161..764d0f62053 100644 --- a/keyboards/portal_66/hotswap/info.json +++ b/keyboards/portal_66/hotswap/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x5067", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/portal_66/hotswap/rules.mk b/keyboards/portal_66/hotswap/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/portal_66/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/portal_66/soldered/info.json b/keyboards/portal_66/soldered/keyboard.json similarity index 99% rename from keyboards/portal_66/soldered/info.json rename to keyboards/portal_66/soldered/keyboard.json index 89057513294..0f0ac6b1844 100644 --- a/keyboards/portal_66/soldered/info.json +++ b/keyboards/portal_66/soldered/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x5066", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "B7", "F7", "F4", "F5"] diff --git a/keyboards/portal_66/soldered/rules.mk b/keyboards/portal_66/soldered/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/portal_66/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/pos78/info.json b/keyboards/pos78/keyboard.json similarity index 96% rename from keyboards/pos78/info.json rename to keyboards/pos78/keyboard.json index f7f56a46de6..b9902195e3f 100644 --- a/keyboards/pos78/info.json +++ b/keyboards/pos78/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x7878", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B2", "B1", "D2", "D3", "D1", "D0", "C6", "E6", "B5", "B6", "B7", "D6", "C7"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/pos78/rules.mk b/keyboards/pos78/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/pos78/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/keyboard.json similarity index 98% rename from keyboards/preonic/rev3/info.json rename to keyboards/preonic/rev3/keyboard.json index 6112699cfae..472229c0da7 100644 --- a/keyboards/preonic/rev3/info.json +++ b/keyboards/preonic/rev3/keyboard.json @@ -28,6 +28,18 @@ "rgb_matrix": { "driver": "ws2812" }, + "features": { + "audio": true, + "bootmagic": true, + "command": true, + "console": true, + "dip_switch": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2", "A3", "A6"] diff --git a/keyboards/preonic/rev3/rules.mk b/keyboards/preonic/rev3/rules.mk deleted file mode 100644 index 6836d195416..00000000000 --- a/keyboards/preonic/rev3/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = yes # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. - -# Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE -RGB_MATRIX_ENABLE = no - -ENCODER_ENABLE = yes -DIP_SWITCH_ENABLE = yes diff --git a/keyboards/primekb/meridian_rgb/info.json b/keyboards/primekb/meridian_rgb/keyboard.json similarity index 95% rename from keyboards/primekb/meridian_rgb/info.json rename to keyboards/primekb/meridian_rgb/keyboard.json index 767a70b6f34..49491b769ad 100644 --- a/keyboards/primekb/meridian_rgb/info.json +++ b/keyboards/primekb/meridian_rgb/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0042", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "F7", "D4", "B7", "B3", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "F0", "F6", "D7", "D6"] diff --git a/keyboards/primekb/meridian_rgb/rules.mk b/keyboards/primekb/meridian_rgb/rules.mk deleted file mode 100644 index d307363777b..00000000000 --- a/keyboards/primekb/meridian_rgb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/primekb/prime_m/info.json b/keyboards/primekb/prime_m/keyboard.json similarity index 95% rename from keyboards/primekb/prime_m/info.json rename to keyboards/primekb/prime_m/keyboard.json index aa8e3e36680..b63b96bf702 100644 --- a/keyboards/primekb/prime_m/info.json +++ b/keyboards/primekb/prime_m/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x504D", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "C7", "C6", "D2", "D1", "D0"], "rows": ["C5", "B5", "B2", "D5", "D3"] diff --git a/keyboards/primekb/prime_m/rules.mk b/keyboards/primekb/prime_m/rules.mk deleted file mode 100644 index bdc6e54bc21..00000000000 --- a/keyboards/primekb/prime_m/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/primekb/prime_o/info.json b/keyboards/primekb/prime_o/keyboard.json similarity index 95% rename from keyboards/primekb/prime_o/info.json rename to keyboards/primekb/prime_o/keyboard.json index 2a3a59cfb63..f3b427e148a 100644 --- a/keyboards/primekb/prime_o/info.json +++ b/keyboards/primekb/prime_o/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4024", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "B5", "C7", "C6", "D2", "D1", "D0", "C2"], "rows": ["D4", "D6", "B1", "C5", "B4", "B3", "C4", "B2", "B0", "D5"] diff --git a/keyboards/primekb/prime_o/rules.mk b/keyboards/primekb/prime_o/rules.mk deleted file mode 100644 index 9ce191fd81e..00000000000 --- a/keyboards/primekb/prime_o/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/primekb/prime_r/info.json b/keyboards/primekb/prime_r/keyboard.json similarity index 95% rename from keyboards/primekb/prime_r/info.json rename to keyboards/primekb/prime_r/keyboard.json index 86c6db9c4f1..a45db2351a6 100644 --- a/keyboards/primekb/prime_r/info.json +++ b/keyboards/primekb/prime_r/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "C7", "C6", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["D1", "D0", "B7", "B3", "B2"] diff --git a/keyboards/primekb/prime_r/rules.mk b/keyboards/primekb/prime_r/rules.mk deleted file mode 100644 index e0fca34fa1e..00000000000 --- a/keyboards/primekb/prime_r/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/projectcain/relic/info.json b/keyboards/projectcain/relic/keyboard.json similarity index 98% rename from keyboards/projectcain/relic/info.json rename to keyboards/projectcain/relic/keyboard.json index 1b2d44a87ed..9ebfbf72d45 100644 --- a/keyboards/projectcain/relic/info.json +++ b/keyboards/projectcain/relic/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D3", "D5", "B0", "F0", "F1", "F4", "F5", "F6", "C7", "C6", "B4"], "rows": ["D7", "B2", "B6", "B5"] diff --git a/keyboards/projectcain/relic/rules.mk b/keyboards/projectcain/relic/rules.mk deleted file mode 100644 index c58df49ea8f..00000000000 --- a/keyboards/projectcain/relic/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/projectcain/vault45/info.json b/keyboards/projectcain/vault45/keyboard.json similarity index 98% rename from keyboards/projectcain/vault45/info.json rename to keyboards/projectcain/vault45/keyboard.json index 9695631cc90..d09c8be7641 100644 --- a/keyboards/projectcain/vault45/info.json +++ b/keyboards/projectcain/vault45/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B0", "D5", "D4", "D6", "D7", "B4", "D3", "F0", "F1", "F4", "F5", "F6", "F7"], "rows": ["C6", "B6", "B5", "C7"] diff --git a/keyboards/projectcain/vault45/rules.mk b/keyboards/projectcain/vault45/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/projectcain/vault45/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/projectkb/signature65/info.json b/keyboards/projectkb/signature65/keyboard.json similarity index 99% rename from keyboards/projectkb/signature65/info.json rename to keyboards/projectkb/signature65/keyboard.json index 4e6447689f2..7f865fbaaf3 100644 --- a/keyboards/projectkb/signature65/info.json +++ b/keyboards/projectkb/signature65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0165", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B14", "A2", "B9", "B8", "B5", "B4", "B3", "A15", "B11", "B10", "B2", "A3", "B1", "B0", "A4", "A5"], "rows": ["A8", "A9", "B13", "A6", "A7"] diff --git a/keyboards/projectkb/signature65/rules.mk b/keyboards/projectkb/signature65/rules.mk deleted file mode 100644 index 5fb302d01f1..00000000000 --- a/keyboards/projectkb/signature65/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - - diff --git a/keyboards/projectkb/signature87/info.json b/keyboards/projectkb/signature87/keyboard.json similarity index 99% rename from keyboards/projectkb/signature87/info.json rename to keyboards/projectkb/signature87/keyboard.json index 79ac099b449..2f8666aeb9e 100644 --- a/keyboards/projectkb/signature87/info.json +++ b/keyboards/projectkb/signature87/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0187", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A7", "A6", "A5", "A4", "A3", "A2", "A15", "B3", "B4"], "rows": ["B13", "B12", "A8", "B15", "A10", "A9", "B9", "B8", "B1", "B0", "B10", "B2"] diff --git a/keyboards/projectkb/signature87/rules.mk b/keyboards/projectkb/signature87/rules.mk deleted file mode 100644 index a09b9d3bdf2..00000000000 --- a/keyboards/projectkb/signature87/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no - diff --git a/keyboards/prototypist/allison/info.json b/keyboards/prototypist/allison/keyboard.json similarity index 99% rename from keyboards/prototypist/allison/info.json rename to keyboards/prototypist/allison/keyboard.json index 0cdb65281c2..0261b204bb0 100644 --- a/keyboards/prototypist/allison/info.json +++ b/keyboards/prototypist/allison/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x414D", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F1", "F0"], "rows": ["D2", "D1", "D0", "B1", "B2", "D3"] diff --git a/keyboards/prototypist/allison/rules.mk b/keyboards/prototypist/allison/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/prototypist/allison/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/prototypist/allison_numpad/info.json b/keyboards/prototypist/allison_numpad/keyboard.json similarity index 94% rename from keyboards/prototypist/allison_numpad/info.json rename to keyboards/prototypist/allison_numpad/keyboard.json index 9e20788a127..974573fc64e 100644 --- a/keyboards/prototypist/allison_numpad/info.json +++ b/keyboards/prototypist/allison_numpad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x414E", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F6", "F5", "F1", "F0"], "rows": ["F4", "C7", "C6", "B6", "B5", "B4"] diff --git a/keyboards/prototypist/allison_numpad/rules.mk b/keyboards/prototypist/allison_numpad/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/prototypist/allison_numpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/psuieee/pluto12/info.json b/keyboards/psuieee/pluto12/keyboard.json similarity index 86% rename from keyboards/psuieee/pluto12/info.json rename to keyboards/psuieee/pluto12/keyboard.json index d997f60cfa3..6dcb3d33ac7 100644 --- a/keyboards/psuieee/pluto12/info.json +++ b/keyboards/psuieee/pluto12/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x7012", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D7", "E6", "B4", "B5"], "rows": ["D0", "D4", "C6"] diff --git a/keyboards/psuieee/pluto12/rules.mk b/keyboards/psuieee/pluto12/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/psuieee/pluto12/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/puck/info.json b/keyboards/puck/keyboard.json similarity index 86% rename from keyboards/puck/info.json rename to keyboards/puck/keyboard.json index c32c4f8c0f9..1ee73dc4375 100644 --- a/keyboards/puck/info.json +++ b/keyboards/puck/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["B4", "D7", "D6"], "rows": ["D2", "D3", "C6", "C7"] diff --git a/keyboards/puck/rules.mk b/keyboards/puck/rules.mk deleted file mode 100644 index c271aa0f069..00000000000 --- a/keyboards/puck/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. diff --git a/keyboards/qpockets/eggman/info.json b/keyboards/qpockets/eggman/keyboard.json similarity index 93% rename from keyboards/qpockets/eggman/info.json rename to keyboards/qpockets/eggman/keyboard.json index 16b0ebe42a3..32cb76fc88d 100644 --- a/keyboards/qpockets/eggman/info.json +++ b/keyboards/qpockets/eggman/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x656D", "device_version": "10.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "B4", "B3", "B2", "D3", "D2", "D1"], "rows": ["C4", "C5", "C2", "D0", "B5", "B6", "D6"] diff --git a/keyboards/qpockets/eggman/rules.mk b/keyboards/qpockets/eggman/rules.mk deleted file mode 100644 index c473e6a78e4..00000000000 --- a/keyboards/qpockets/eggman/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes - diff --git a/keyboards/qpockets/wanten/info.json b/keyboards/qpockets/wanten/keyboard.json similarity index 97% rename from keyboards/qpockets/wanten/info.json rename to keyboards/qpockets/wanten/keyboard.json index df1798db249..86bfe023003 100644 --- a/keyboards/qpockets/wanten/info.json +++ b/keyboards/qpockets/wanten/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x7774", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F1", "B5", "B6", "C6", "C7", "D4", "E6", "D2", "B1", "B2", "D3"], "rows": ["F0", "F7", "B3", "D5"] diff --git a/keyboards/qpockets/wanten/rules.mk b/keyboards/qpockets/wanten/rules.mk deleted file mode 100644 index f0a88209b69..00000000000 --- a/keyboards/qpockets/wanten/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/quad_h/lb75/info.json b/keyboards/quad_h/lb75/keyboard.json similarity index 98% rename from keyboards/quad_h/lb75/info.json rename to keyboards/quad_h/lb75/keyboard.json index 16701a5e99c..98bcde60ccb 100644 --- a/keyboards/quad_h/lb75/info.json +++ b/keyboards/quad_h/lb75/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "D1", "D0", "F1", "F4", "F5", "F6", "F7"], "rows": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D3", "D5", "F0", "E6"] diff --git a/keyboards/quad_h/lb75/rules.mk b/keyboards/quad_h/lb75/rules.mk deleted file mode 100644 index 45377383806..00000000000 --- a/keyboards/quad_h/lb75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/quantrik/kyuu/info.json b/keyboards/quantrik/kyuu/keyboard.json similarity index 96% rename from keyboards/quantrik/kyuu/info.json rename to keyboards/quantrik/kyuu/keyboard.json index e741eeb04a1..6e3fe5b74cd 100644 --- a/keyboards/quantrik/kyuu/info.json +++ b/keyboards/quantrik/kyuu/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0009", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "F6", "F7", "C7", "C6", "F0", "B7", "D0", "D5", "D3", "D2", "D1", "B3"], "rows": ["B6", "B5", "B4", "D7", "D6"] diff --git a/keyboards/quantrik/kyuu/rules.mk b/keyboards/quantrik/kyuu/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/quantrik/kyuu/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/quarkeys/z40/info.json b/keyboards/quarkeys/z40/keyboard.json similarity index 95% rename from keyboards/quarkeys/z40/info.json rename to keyboards/quarkeys/z40/keyboard.json index 6e7d213614d..fb945dba5a5 100644 --- a/keyboards/quarkeys/z40/info.json +++ b/keyboards/quarkeys/z40/keyboard.json @@ -52,6 +52,15 @@ "alternating": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6", "D0", "B1", "B0"], "rows": ["E6", "B3", "C7", "C6"] diff --git a/keyboards/quarkeys/z40/rules.mk b/keyboards/quarkeys/z40/rules.mk deleted file mode 100644 index 4554ab2970a..00000000000 --- a/keyboards/quarkeys/z40/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output - -# Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE -RGBLIGHT_ENABLE = no # Enable this and unable RGB_MATRIX_ENABLE to use RGB light effect - -RGB_MATRIX_ENABLE = yes # Enable this and unable RGBLIGHT_ENABLE to use RGB Matrix effect diff --git a/keyboards/quarkeys/z60/hotswap/info.json b/keyboards/quarkeys/z60/hotswap/keyboard.json similarity index 95% rename from keyboards/quarkeys/z60/hotswap/info.json rename to keyboards/quarkeys/z60/hotswap/keyboard.json index d10065bbd5c..c586d62ef46 100644 --- a/keyboards/quarkeys/z60/hotswap/info.json +++ b/keyboards/quarkeys/z60/hotswap/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x3C02", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F7", "F1", "F6", "F5", "F4", "C7", "B7", "D5", "C6", "B6", "B5", "D7", "D4"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/quarkeys/z60/hotswap/rules.mk b/keyboards/quarkeys/z60/hotswap/rules.mk deleted file mode 100644 index 36b8dd4d443..00000000000 --- a/keyboards/quarkeys/z60/hotswap/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/quarkeys/z60/solder/info.json b/keyboards/quarkeys/z60/solder/keyboard.json similarity index 99% rename from keyboards/quarkeys/z60/solder/info.json rename to keyboards/quarkeys/z60/solder/keyboard.json index 55e4ca33d9a..52514fc7a3a 100644 --- a/keyboards/quarkeys/z60/solder/info.json +++ b/keyboards/quarkeys/z60/solder/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x3C01", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F7", "F1", "F6", "F5", "F4", "C7", "B7", "D5", "C6", "B6", "B5", "D7", "D4"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/quarkeys/z60/solder/rules.mk b/keyboards/quarkeys/z60/solder/rules.mk deleted file mode 100644 index 54bbea4e625..00000000000 --- a/keyboards/quarkeys/z60/solder/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/quarkeys/z67/hotswap/info.json b/keyboards/quarkeys/z67/hotswap/keyboard.json similarity index 96% rename from keyboards/quarkeys/z67/hotswap/info.json rename to keyboards/quarkeys/z67/hotswap/keyboard.json index 13a5cd09e28..266a9a879e0 100644 --- a/keyboards/quarkeys/z67/hotswap/info.json +++ b/keyboards/quarkeys/z67/hotswap/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4102", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "B7", "D5", "D1", "D2", "D3", "D4", "D0", "D6", "D7", "B4"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/quarkeys/z67/hotswap/rules.mk b/keyboards/quarkeys/z67/hotswap/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/quarkeys/z67/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/quarkeys/z67/solder/info.json b/keyboards/quarkeys/z67/solder/keyboard.json similarity index 99% rename from keyboards/quarkeys/z67/solder/info.json rename to keyboards/quarkeys/z67/solder/keyboard.json index 93ea9fa0fc9..c1e1412d217 100644 --- a/keyboards/quarkeys/z67/solder/info.json +++ b/keyboards/quarkeys/z67/solder/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4101", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B5", "B4"], "rows": ["B0", "B1", "B2", "B3", "F7"] diff --git a/keyboards/quarkeys/z67/solder/rules.mk b/keyboards/quarkeys/z67/solder/rules.mk deleted file mode 100644 index f4e87458b0d..00000000000 --- a/keyboards/quarkeys/z67/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/qvex/lynepad/info.json b/keyboards/qvex/lynepad/keyboard.json similarity index 87% rename from keyboards/qvex/lynepad/info.json rename to keyboards/qvex/lynepad/keyboard.json index 1a2091dc979..65afceb26ab 100644 --- a/keyboards/qvex/lynepad/info.json +++ b/keyboards/qvex/lynepad/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4C50", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5"], "rows": ["C7", "F7", "F6"] diff --git a/keyboards/qvex/lynepad/rules.mk b/keyboards/qvex/lynepad/rules.mk deleted file mode 100644 index fe695a8986e..00000000000 --- a/keyboards/qvex/lynepad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = yes # Enable the encoders diff --git a/keyboards/qwertlekeys/calice/info.json b/keyboards/qwertlekeys/calice/keyboard.json similarity index 98% rename from keyboards/qwertlekeys/calice/info.json rename to keyboards/qwertlekeys/calice/keyboard.json index c5d880f40ca..3355400ccc6 100644 --- a/keyboards/qwertlekeys/calice/info.json +++ b/keyboards/qwertlekeys/calice/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["D7", "B4", "F7", "F6", "D1", "B7", "B3", "B2"], "rows": ["F0", "F1", "F5", "F4", "C6", "C7", "B5", "B6", "D4", "D2", "D5", "D3"] diff --git a/keyboards/qwertlekeys/calice/rules.mk b/keyboards/qwertlekeys/calice/rules.mk deleted file mode 100644 index 0334a51bb5b..00000000000 --- a/keyboards/qwertlekeys/calice/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/qwertykeys/qk65/hotswap/info.json b/keyboards/qwertykeys/qk65/hotswap/keyboard.json similarity index 96% rename from keyboards/qwertykeys/qk65/hotswap/info.json rename to keyboards/qwertykeys/qk65/hotswap/keyboard.json index 01799ac0ef3..7c786a70384 100644 --- a/keyboards/qwertykeys/qk65/hotswap/info.json +++ b/keyboards/qwertykeys/qk65/hotswap/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B7", "D0", "D1", "D2"] diff --git a/keyboards/qwertykeys/qk65/hotswap/rules.mk b/keyboards/qwertykeys/qk65/hotswap/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/qwertykeys/qk65/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/qwertykeys/qk65/solder/info.json b/keyboards/qwertykeys/qk65/solder/keyboard.json similarity index 99% rename from keyboards/qwertykeys/qk65/solder/info.json rename to keyboards/qwertykeys/qk65/solder/keyboard.json index f0de59102aa..b1795474d36 100644 --- a/keyboards/qwertykeys/qk65/solder/info.json +++ b/keyboards/qwertykeys/qk65/solder/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["B0", "B7", "D0", "D1", "D2"] diff --git a/keyboards/qwertykeys/qk65/solder/rules.mk b/keyboards/qwertykeys/qk65/solder/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/qwertykeys/qk65/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rabbit/rabbit68/info.json b/keyboards/rabbit/rabbit68/keyboard.json similarity index 95% rename from keyboards/rabbit/rabbit68/info.json rename to keyboards/rabbit/rabbit68/keyboard.json index 530af17cf09..31389e06383 100644 --- a/keyboards/rabbit/rabbit68/info.json +++ b/keyboards/rabbit/rabbit68/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x68F1", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D6", "D1", "B4", "D2", "B5", "F7", "F6", "F5", "F4", "F1", "F0", "B0", "B1", "B2"], "rows": ["B6", "D7", "D0", "B3", "B7"] diff --git a/keyboards/rabbit/rabbit68/rules.mk b/keyboards/rabbit/rabbit68/rules.mk deleted file mode 100644 index 7829a2753bb..00000000000 --- a/keyboards/rabbit/rabbit68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rad/info.json b/keyboards/rad/keyboard.json similarity index 86% rename from keyboards/rad/info.json rename to keyboards/rad/keyboard.json index a1352700fff..0d86f25275d 100644 --- a/keyboards/rad/info.json +++ b/keyboards/rad/keyboard.json @@ -6,6 +6,14 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B4", "E6"], "rows": ["D7", "C6", "B6", "D0"] diff --git a/keyboards/rad/rules.mk b/keyboards/rad/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/rad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rainkeebs/delilah/info.json b/keyboards/rainkeebs/delilah/keyboard.json similarity index 94% rename from keyboards/rainkeebs/delilah/info.json rename to keyboards/rainkeebs/delilah/keyboard.json index 714308d4164..9abdfc583dc 100644 --- a/keyboards/rainkeebs/delilah/info.json +++ b/keyboards/rainkeebs/delilah/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "F6", "F5", "F4", "F0", "E6", "D5", "D3", "D4", "D6", "D7", "B4"], "rows": ["B5", "B6", "C6", "C7"] diff --git a/keyboards/rainkeebs/delilah/rules.mk b/keyboards/rainkeebs/delilah/rules.mk deleted file mode 100644 index c4a40815c6d..00000000000 --- a/keyboards/rainkeebs/delilah/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/rainkeebs/rainkeeb/info.json b/keyboards/rainkeebs/rainkeeb/keyboard.json similarity index 92% rename from keyboards/rainkeebs/rainkeeb/info.json rename to keyboards/rainkeebs/rainkeeb/keyboard.json index 2b05e06f4c2..742db864bd5 100644 --- a/keyboards/rainkeebs/rainkeeb/info.json +++ b/keyboards/rainkeebs/rainkeeb/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x726B", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "wpm": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3"], "rows": ["D3", "D2", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/rainkeebs/rainkeeb/rules.mk b/keyboards/rainkeebs/rainkeeb/rules.mk deleted file mode 100644 index 866521b4288..00000000000 --- a/keyboards/rainkeebs/rainkeeb/rules.mk +++ /dev/null @@ -1,21 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no - -# OLED enable -OLED_ENABLE = yes - -# Encoder enable -ENCODER_ENABLE = yes - -# WPM counter enable -WPM_ENABLE = yes diff --git a/keyboards/rainkeebs/yasui/info.json b/keyboards/rainkeebs/yasui/keyboard.json similarity index 94% rename from keyboards/rainkeebs/yasui/info.json rename to keyboards/rainkeebs/yasui/keyboard.json index 5e7ea06deb3..926b1084dd3 100644 --- a/keyboards/rainkeebs/yasui/info.json +++ b/keyboards/rainkeebs/yasui/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "B4", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["D4", "C6", "B5", "E6"] diff --git a/keyboards/rainkeebs/yasui/rules.mk b/keyboards/rainkeebs/yasui/rules.mk deleted file mode 100644 index e9c793f741b..00000000000 --- a/keyboards/rainkeebs/yasui/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes - diff --git a/keyboards/rart/rart45/info.json b/keyboards/rart/rart45/keyboard.json similarity index 96% rename from keyboards/rart/rart45/info.json rename to keyboards/rart/rart45/keyboard.json index 27dd87197eb..fdc92b689b2 100644 --- a/keyboards/rart/rart45/info.json +++ b/keyboards/rart/rart45/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0045", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D6", "D4", "B2", "B5", "B4", "B3"], "rows": ["D1", "C2", "C1", "B1", "D0", "C3", "C0", "D7", "B0"] diff --git a/keyboards/rart/rart45/rules.mk b/keyboards/rart/rart45/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/rart/rart45/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rart/rart4x4/info.json b/keyboards/rart/rart4x4/keyboard.json similarity index 90% rename from keyboards/rart/rart4x4/info.json rename to keyboards/rart/rart4x4/keyboard.json index aa822b8f5c0..8cd6ea5bd26 100644 --- a/keyboards/rart/rart4x4/info.json +++ b/keyboards/rart/rart4x4/keyboard.json @@ -30,6 +30,16 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F7", "B2", "B5", "B4"], "rows": ["F4", "B6", "B3", "B1"] diff --git a/keyboards/rart/rart4x4/rules.mk b/keyboards/rart/rart4x4/rules.mk deleted file mode 100644 index 7e8534dae5a..00000000000 --- a/keyboards/rart/rart4x4/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/rart/rart67/info.json b/keyboards/rart/rart67/keyboard.json similarity index 99% rename from keyboards/rart/rart67/info.json rename to keyboards/rart/rart67/keyboard.json index a6722f4432e..6a86ec74cad 100644 --- a/keyboards/rart/rart67/info.json +++ b/keyboards/rart/rart67/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "D5", "D4", "D6", "D7", "B4", "B5", "F0", "F7", "F6", "F5", "F4", "F1", "E6"], "rows": ["D0", "D1", "D2", "D3", "B0"] diff --git a/keyboards/rart/rart67/rules.mk b/keyboards/rart/rart67/rules.mk deleted file mode 100644 index b483118606d..00000000000 --- a/keyboards/rart/rart67/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rart/rart67m/info.json b/keyboards/rart/rart67m/keyboard.json similarity index 95% rename from keyboards/rart/rart67m/info.json rename to keyboards/rart/rart67m/keyboard.json index 00e5db27b6f..66f28e45119 100644 --- a/keyboards/rart/rart67m/info.json +++ b/keyboards/rart/rart67m/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6067", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "unicode": true + }, "matrix_pins": { "cols": ["F4", "F5", "C6", "F7", "D7", "B1", "E6", "B6"], "rows": ["D3", "D2", "D4", "F6", "B3", "B4", "B2", "B5"] diff --git a/keyboards/rart/rart67m/rules.mk b/keyboards/rart/rart67m/rules.mk deleted file mode 100644 index 5a309870d33..00000000000 --- a/keyboards/rart/rart67m/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/rart/rart75/info.json b/keyboards/rart/rart75/keyboard.json similarity index 99% rename from keyboards/rart/rart75/info.json rename to keyboards/rart/rart75/keyboard.json index 0bbd84cb657..2d0c1e4001d 100644 --- a/keyboards/rart/rart75/info.json +++ b/keyboards/rart/rart75/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0075", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D1", "C6", "B6", "B5", "B4", "D7", "D6", "B3", "B1", "F7", "F5", "B2", "B7"], "rows": ["F1", "F4", "F6", "C7", "D4", "D0"] diff --git a/keyboards/rart/rart75/rules.mk b/keyboards/rart/rart75/rules.mk deleted file mode 100644 index 8feeffc98b9..00000000000 --- a/keyboards/rart/rart75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/rart/rart75m/info.json b/keyboards/rart/rart75m/keyboard.json similarity index 96% rename from keyboards/rart/rart75m/info.json rename to keyboards/rart/rart75m/keyboard.json index a893b216b61..18e8432e70e 100644 --- a/keyboards/rart/rart75m/info.json +++ b/keyboards/rart/rart75m/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x6075", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "unicode": true + }, "matrix_pins": { "cols": ["B2", "D4", "F0", "C6", "F1", "D7", "F4", "E6", "F5", "B4", "F6", "B5", "F7", "B6"], "rows": ["C7", "B3", "B1", "B0", "D3", "D2"] diff --git a/keyboards/rart/rart75m/rules.mk b/keyboards/rart/rart75m/rules.mk deleted file mode 100644 index 5277f7c480d..00000000000 --- a/keyboards/rart/rart75m/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes -OLED_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/rart/rartand/info.json b/keyboards/rart/rartand/keyboard.json similarity index 98% rename from keyboards/rart/rartand/info.json rename to keyboards/rart/rartand/keyboard.json index 958c4c85c8a..50d94a1cc7d 100644 --- a/keyboards/rart/rartand/info.json +++ b/keyboards/rart/rartand/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5050", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true + }, "matrix_pins": { "cols": ["D0", "D1", "B4", "B5", "B3", "D4", "D6"], "rows": ["C3", "B2", "C2", "B1", "C1", "D7", "C0", "B0"] diff --git a/keyboards/rart/rartand/rules.mk b/keyboards/rart/rartand/rules.mk deleted file mode 100644 index 7b55e77aeed..00000000000 --- a/keyboards/rart/rartand/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/rart/rartlice/info.json b/keyboards/rart/rartlice/keyboard.json similarity index 96% rename from keyboards/rart/rartlice/info.json rename to keyboards/rart/rartlice/keyboard.json index d800165b53a..4d65deedefd 100644 --- a/keyboards/rart/rartlice/info.json +++ b/keyboards/rart/rartlice/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0065", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "rgblight": true, + "sleep_led": true + }, "matrix_pins": { "cols": ["B12", "B8", "B5", "B4", "B3", "B11", "B10", "B1", "B0", "A7", "A6", "A5", "A3", "A4", "A1"], "rows": ["B13", "A15", "B9", "A2", "A0"] diff --git a/keyboards/rart/rartlice/rules.mk b/keyboards/rart/rartlice/rules.mk deleted file mode 100644 index b3f4fc8b8a7..00000000000 --- a/keyboards/rart/rartlice/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SLEEP_LED_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/rart/rartlite/info.json b/keyboards/rart/rartlite/keyboard.json similarity index 97% rename from keyboards/rart/rartlite/info.json rename to keyboards/rart/rartlite/keyboard.json index db25aae5298..e88507161df 100644 --- a/keyboards/rart/rartlite/info.json +++ b/keyboards/rart/rartlite/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4040", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B3", "F7", "D3"], "rows": ["F4", "D2", "B2", "B4", "B6", "B5", "D0", "D1"] diff --git a/keyboards/rart/rartlite/rules.mk b/keyboards/rart/rartlite/rules.mk deleted file mode 100644 index 6d3709762d5..00000000000 --- a/keyboards/rart/rartlite/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rart/rartpad/info.json b/keyboards/rart/rartpad/keyboard.json similarity index 94% rename from keyboards/rart/rartpad/info.json rename to keyboards/rart/rartpad/keyboard.json index 8c921931a8c..06be8a5f691 100644 --- a/keyboards/rart/rartpad/info.json +++ b/keyboards/rart/rartpad/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0050", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "D1", "D2", "D3"], "rows": ["B6", "F6", "D0", "D4", "C6"] diff --git a/keyboards/rart/rartpad/rules.mk b/keyboards/rart/rartpad/rules.mk deleted file mode 100644 index 8c692a7b560..00000000000 --- a/keyboards/rart/rartpad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/rate/pistachio_mp/info.json b/keyboards/rate/pistachio_mp/keyboard.json similarity index 88% rename from keyboards/rate/pistachio_mp/info.json rename to keyboards/rate/pistachio_mp/keyboard.json index a37b55b6aba..613f7bb8fa5 100644 --- a/keyboards/rate/pistachio_mp/info.json +++ b/keyboards/rate/pistachio_mp/keyboard.json @@ -16,6 +16,16 @@ "ws2812": { "pin": "D2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B3", "B1", "F7", "F6"], "rows": ["B4", "E6", "D7", "C6", "D4"] diff --git a/keyboards/rate/pistachio_mp/rules.mk b/keyboards/rate/pistachio_mp/rules.mk deleted file mode 100644 index c5c4d8f35f1..00000000000 --- a/keyboards/rate/pistachio_mp/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/rationalist/ratio65_hotswap/rev_a/info.json b/keyboards/rationalist/ratio65_hotswap/rev_a/keyboard.json similarity index 96% rename from keyboards/rationalist/ratio65_hotswap/rev_a/info.json rename to keyboards/rationalist/ratio65_hotswap/rev_a/keyboard.json index e53227ce7f0..fe40f12f460 100644 --- a/keyboards/rationalist/ratio65_hotswap/rev_a/info.json +++ b/keyboards/rationalist/ratio65_hotswap/rev_a/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C2", "D2", "B6", "B5", "B4", "B3", "B2", "D6"], "rows": ["D1", "D0", "D5", "D4", "C7", "B7", "C6", "C5", "B0", "B1"] diff --git a/keyboards/rationalist/ratio65_hotswap/rev_a/rules.mk b/keyboards/rationalist/ratio65_hotswap/rev_a/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/rationalist/ratio65_hotswap/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rationalist/ratio65_solder/rev_a/info.json b/keyboards/rationalist/ratio65_solder/rev_a/keyboard.json similarity index 99% rename from keyboards/rationalist/ratio65_solder/rev_a/info.json rename to keyboards/rationalist/ratio65_solder/rev_a/keyboard.json index 0ef22251029..6953636dee8 100644 --- a/keyboards/rationalist/ratio65_solder/rev_a/info.json +++ b/keyboards/rationalist/ratio65_solder/rev_a/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C2", "D2", "B6", "B5", "B4", "B3", "B2", "D6"], "rows": ["D1", "D0", "D5", "D4", "C7", "B7", "C6", "C5", "B0", "B1"] diff --git a/keyboards/rationalist/ratio65_solder/rev_a/rules.mk b/keyboards/rationalist/ratio65_solder/rev_a/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/rationalist/ratio65_solder/rev_a/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/recompile_keys/mio/info.json b/keyboards/recompile_keys/mio/keyboard.json similarity index 94% rename from keyboards/recompile_keys/mio/info.json rename to keyboards/recompile_keys/mio/keyboard.json index 0456937cc5a..700bb09c071 100644 --- a/keyboards/recompile_keys/mio/info.json +++ b/keyboards/recompile_keys/mio/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F1", "F0", "F4", "F7", "F6", "F5"] diff --git a/keyboards/recompile_keys/mio/rules.mk b/keyboards/recompile_keys/mio/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/recompile_keys/mio/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rect44/info.json b/keyboards/rect44/keyboard.json similarity index 98% rename from keyboards/rect44/info.json rename to keyboards/rect44/keyboard.json index 2a127db8315..d331e48bd95 100644 --- a/keyboards/rect44/info.json +++ b/keyboards/rect44/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "B6" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F7", "B1", "B3", "B2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["D3", "D2", "F5", "F4"] diff --git a/keyboards/rect44/rules.mk b/keyboards/rect44/rules.mk deleted file mode 100644 index aa4c817d2a2..00000000000 --- a/keyboards/rect44/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/redscarf_i/info.json b/keyboards/redscarf_i/keyboard.json similarity index 96% rename from keyboards/redscarf_i/info.json rename to keyboards/redscarf_i/keyboard.json index 573d7dcaeaa..0a268169ef1 100644 --- a/keyboards/redscarf_i/info.json +++ b/keyboards/redscarf_i/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5959", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7"], "rows": ["D0", "D1", "D2", "D3", "D4", "D5"] diff --git a/keyboards/redscarf_i/rules.mk b/keyboards/redscarf_i/rules.mk deleted file mode 100644 index 887d6344d73..00000000000 --- a/keyboards/redscarf_i/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/retro_75/info.json b/keyboards/retro_75/keyboard.json similarity index 98% rename from keyboards/retro_75/info.json rename to keyboards/retro_75/keyboard.json index 2a3e249d473..513379ff5f2 100644 --- a/keyboards/retro_75/info.json +++ b/keyboards/retro_75/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "A9" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A5", "A4", "A3", "F0", "C15", "C14", "C13", "A6", "B11", "B10", "B2", "B1", "B0", "A7", "A14", "A15"], "rows": ["A8", "B15", "B14", "B13", "B12", "B8"] diff --git a/keyboards/retro_75/rules.mk b/keyboards/retro_75/rules.mk deleted file mode 100644 index ac809dd9ede..00000000000 --- a/keyboards/retro_75/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/reversestudio/decadepad/info.json b/keyboards/reversestudio/decadepad/keyboard.json similarity index 90% rename from keyboards/reversestudio/decadepad/info.json rename to keyboards/reversestudio/decadepad/keyboard.json index 18ea68a9352..d9dc9f52533 100644 --- a/keyboards/reversestudio/decadepad/info.json +++ b/keyboards/reversestudio/decadepad/keyboard.json @@ -28,6 +28,16 @@ "ws2812": { "pin": "D5" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "unicode": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/reversestudio/decadepad/rules.mk b/keyboards/reversestudio/decadepad/rules.mk deleted file mode 100644 index 6019f36e418..00000000000 --- a/keyboards/reversestudio/decadepad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes # Unicode diff --git a/keyboards/reviung/reviung33/info.json b/keyboards/reviung/reviung33/keyboard.json similarity index 93% rename from keyboards/reviung/reviung33/info.json rename to keyboards/reviung/reviung33/keyboard.json index d292748b2f7..ff0078f1970 100644 --- a/keyboards/reviung/reviung33/info.json +++ b/keyboards/reviung/reviung33/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B1", "B3", "B2", "B6", "B5"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/reviung/reviung33/rules.mk b/keyboards/reviung/reviung33/rules.mk deleted file mode 100644 index ff287d5235b..00000000000 --- a/keyboards/reviung/reviung33/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/reviung/reviung34/info.json b/keyboards/reviung/reviung34/keyboard.json similarity index 96% rename from keyboards/reviung/reviung34/info.json rename to keyboards/reviung/reviung34/keyboard.json index e273b714ff5..99ddd28b819 100755 --- a/keyboards/reviung/reviung34/info.json +++ b/keyboards/reviung/reviung34/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4E03", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B1", "B3", "B2", "B6"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/reviung/reviung34/rules.mk b/keyboards/reviung/reviung34/rules.mk deleted file mode 100755 index 7829a2753bb..00000000000 --- a/keyboards/reviung/reviung34/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/reviung/reviung39/info.json b/keyboards/reviung/reviung39/keyboard.json similarity index 94% rename from keyboards/reviung/reviung39/info.json rename to keyboards/reviung/reviung39/keyboard.json index 5c2b3445d9a..fca69124b1b 100644 --- a/keyboards/reviung/reviung39/info.json +++ b/keyboards/reviung/reviung39/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5F10", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"] diff --git a/keyboards/reviung/reviung39/rules.mk b/keyboards/reviung/reviung39/rules.mk deleted file mode 100644 index 7829a2753bb..00000000000 --- a/keyboards/reviung/reviung39/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/reviung/reviung41/info.json b/keyboards/reviung/reviung41/keyboard.json similarity index 94% rename from keyboards/reviung/reviung41/info.json rename to keyboards/reviung/reviung41/keyboard.json index f4a434db779..cf5827935bc 100644 --- a/keyboards/reviung/reviung41/info.json +++ b/keyboards/reviung/reviung41/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"] diff --git a/keyboards/reviung/reviung41/rules.mk b/keyboards/reviung/reviung41/rules.mk deleted file mode 100644 index 4465ace1727..00000000000 --- a/keyboards/reviung/reviung41/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/reviung/reviung5/info.json b/keyboards/reviung/reviung5/keyboard.json similarity index 86% rename from keyboards/reviung/reviung5/info.json rename to keyboards/reviung/reviung5/keyboard.json index d3503be13e7..674f044eeeb 100644 --- a/keyboards/reviung/reviung5/info.json +++ b/keyboards/reviung/reviung5/keyboard.json @@ -30,6 +30,16 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4"], "rows": ["F4"] diff --git a/keyboards/reviung/reviung5/rules.mk b/keyboards/reviung/reviung5/rules.mk deleted file mode 100644 index 5d71c286faf..00000000000 --- a/keyboards/reviung/reviung5/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/reviung/reviung53/info.json b/keyboards/reviung/reviung53/keyboard.json similarity index 95% rename from keyboards/reviung/reviung53/info.json rename to keyboards/reviung/reviung53/keyboard.json index 6f0549d374e..e5556af10b9 100644 --- a/keyboards/reviung/reviung53/info.json +++ b/keyboards/reviung/reviung53/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["D0", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/reviung/reviung53/rules.mk b/keyboards/reviung/reviung53/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/reviung/reviung53/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rmi_kb/squishy65/info.json b/keyboards/rmi_kb/squishy65/keyboard.json similarity index 98% rename from keyboards/rmi_kb/squishy65/info.json rename to keyboards/rmi_kb/squishy65/keyboard.json index 1af28e861c7..1025584b6a2 100644 --- a/keyboards/rmi_kb/squishy65/info.json +++ b/keyboards/rmi_kb/squishy65/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "B15" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A9", "B9", "B7", "B6", "B5", "B4", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A10", "A3", "A2"], "rows": ["A15", "B3", "A0", "B10", "B11"] diff --git a/keyboards/rmi_kb/squishy65/rules.mk b/keyboards/rmi_kb/squishy65/rules.mk deleted file mode 100644 index 31f4f7acad0..00000000000 --- a/keyboards/rmi_kb/squishy65/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/rmi_kb/squishyfrl/info.json b/keyboards/rmi_kb/squishyfrl/keyboard.json similarity index 98% rename from keyboards/rmi_kb/squishyfrl/info.json rename to keyboards/rmi_kb/squishyfrl/keyboard.json index a19d0bde7dd..7f6943e8641 100644 --- a/keyboards/rmi_kb/squishyfrl/info.json +++ b/keyboards/rmi_kb/squishyfrl/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "C15" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A7", "C4", "C5", "B0", "B1", "B2", "B10", "B12", "B13", "B14", "B15", "C6", "C9", "C7", "C8", "A10", "A4", "C14", "A3", "A2", "C3"], "rows": ["B9", "B8", "A0", "A1", "A9", "A8", "B11", "A6", "A5"] diff --git a/keyboards/rmi_kb/squishyfrl/rules.mk b/keyboards/rmi_kb/squishyfrl/rules.mk deleted file mode 100644 index d612de6c5f5..00000000000 --- a/keyboards/rmi_kb/squishyfrl/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/rmi_kb/squishytkl/info.json b/keyboards/rmi_kb/squishytkl/keyboard.json similarity index 99% rename from keyboards/rmi_kb/squishytkl/info.json rename to keyboards/rmi_kb/squishytkl/keyboard.json index 64b13752d9f..c9b0c276717 100644 --- a/keyboards/rmi_kb/squishytkl/info.json +++ b/keyboards/rmi_kb/squishytkl/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "C15" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A15", "C10", "C11", "C12", "D2", "A7", "C4", "C5", "B0", "B1", "B2", "B10", "B12", "B13", "B14", "B15", "C6", "C9", "C7", "C8", "A10", "A4", "C14", "A3", "A2", "C3"], "rows": ["B3", "B4", "B5", "C13", "B9", "B8", "A0", "A1", "A9", "A8", "B11", "A6", "A5", "C0"] diff --git a/keyboards/rmi_kb/squishytkl/rules.mk b/keyboards/rmi_kb/squishytkl/rules.mk deleted file mode 100644 index a84e51ab51c..00000000000 --- a/keyboards/rmi_kb/squishytkl/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enable rotary encoder fuctionality diff --git a/keyboards/rmkeebs/rm_numpad/info.json b/keyboards/rmkeebs/rm_numpad/keyboard.json similarity index 96% rename from keyboards/rmkeebs/rm_numpad/info.json rename to keyboards/rmkeebs/rm_numpad/keyboard.json index 86ab94653aa..eb3d11ca86d 100644 --- a/keyboards/rmkeebs/rm_numpad/info.json +++ b/keyboards/rmkeebs/rm_numpad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x524E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "B5", "B6"], "rows": ["B4", "F7", "C7", "C6", "F1", "F0"] diff --git a/keyboards/rmkeebs/rm_numpad/rules.mk b/keyboards/rmkeebs/rm_numpad/rules.mk deleted file mode 100644 index f024adf5c48..00000000000 --- a/keyboards/rmkeebs/rm_numpad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/rominronin/katana60/rev1/info.json b/keyboards/rominronin/katana60/rev1/keyboard.json similarity index 96% rename from keyboards/rominronin/katana60/rev1/info.json rename to keyboards/rominronin/katana60/rev1/keyboard.json index f3e827cf85a..56b4709857d 100644 --- a/keyboards/rominronin/katana60/rev1/info.json +++ b/keyboards/rominronin/katana60/rev1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0C2C", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B7", "B3", "B2", "B1", "B0", "C7", "D1", "D2", "C6", "B6", "B5", "B4", "D4", "D6", "D7"], "rows": ["F5", "F6", "F4", "F1", "D0"] diff --git a/keyboards/rominronin/katana60/rev1/rules.mk b/keyboards/rominronin/katana60/rev1/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/rominronin/katana60/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rominronin/katana60/rev2/info.json b/keyboards/rominronin/katana60/rev2/keyboard.json similarity index 99% rename from keyboards/rominronin/katana60/rev2/info.json rename to keyboards/rominronin/katana60/rev2/keyboard.json index f069e415d93..241a35d4034 100644 --- a/keyboards/rominronin/katana60/rev2/info.json +++ b/keyboards/rominronin/katana60/rev2/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xF03B", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "D6", "D4", "D3", "D2", "D1", "D0"], "rows": ["B0", "E6", "D5", "B4", "B5"] diff --git a/keyboards/rominronin/katana60/rev2/rules.mk b/keyboards/rominronin/katana60/rev2/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/rominronin/katana60/rev2/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/roseslite/info.json b/keyboards/roseslite/keyboard.json similarity index 96% rename from keyboards/roseslite/info.json rename to keyboards/roseslite/keyboard.json index 0d8931301c6..f315e21770a 100644 --- a/keyboards/roseslite/info.json +++ b/keyboards/roseslite/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/roseslite/rules.mk b/keyboards/roseslite/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/roseslite/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rotor/info.json b/keyboards/rotor/keyboard.json similarity index 98% rename from keyboards/rotor/info.json rename to keyboards/rotor/keyboard.json index 5f129ebc7cc..19763235400 100644 --- a/keyboards/rotor/info.json +++ b/keyboards/rotor/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE8BE", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D5", "D3"], "rows": ["B7", "B0", "B1", "B2", "B3"] diff --git a/keyboards/rotor/rules.mk b/keyboards/rotor/rules.mk deleted file mode 100644 index 6ff9b4e02ba..00000000000 --- a/keyboards/rotor/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/rotr/info.json b/keyboards/rotr/keyboard.json similarity index 79% rename from keyboards/rotr/info.json rename to keyboards/rotr/keyboard.json index 0b9ce15de31..24694e93f83 100644 --- a/keyboards/rotr/info.json +++ b/keyboards/rotr/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D1", "D0", "D4"], "rows": ["E6"] diff --git a/keyboards/rotr/rules.mk b/keyboards/rotr/rules.mk deleted file mode 100644 index ba4c520f3a7..00000000000 --- a/keyboards/rotr/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Enables Rotary Encoder support diff --git a/keyboards/runes/skjoldr/info.json b/keyboards/runes/skjoldr/keyboard.json similarity index 96% rename from keyboards/runes/skjoldr/info.json rename to keyboards/runes/skjoldr/keyboard.json index 69aa29b9d62..a6040dedd6b 100644 --- a/keyboards/runes/skjoldr/info.json +++ b/keyboards/runes/skjoldr/keyboard.json @@ -9,6 +9,14 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B7", "D0", "D1", "D2", "D3", "B3", "E6", "D5", "F7", "F6", "F5", "F4", "F1", "F0"], "rows": ["D6", "D7", "B4", "B5", "B0"] diff --git a/keyboards/runes/skjoldr/rules.mk b/keyboards/runes/skjoldr/rules.mk deleted file mode 100644 index 2957d6980d8..00000000000 --- a/keyboards/runes/skjoldr/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/runes/vaengr/info.json b/keyboards/runes/vaengr/keyboard.json similarity index 95% rename from keyboards/runes/vaengr/info.json rename to keyboards/runes/vaengr/keyboard.json index cf55a4093f0..42389043d4e 100644 --- a/keyboards/runes/vaengr/info.json +++ b/keyboards/runes/vaengr/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "C7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "D0", "D1", "D6", "D4", "D2", "D3", "D5"], "rows": ["B3", "B7", "B0", "F7", "C6"] diff --git a/keyboards/runes/vaengr/rules.mk b/keyboards/runes/vaengr/rules.mk deleted file mode 100644 index 4ae26a099a5..00000000000 --- a/keyboards/runes/vaengr/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ryanbaekr/rb1/info.json b/keyboards/ryanbaekr/rb1/keyboard.json similarity index 73% rename from keyboards/ryanbaekr/rb1/info.json rename to keyboards/ryanbaekr/rb1/keyboard.json index c3452d7596d..0d14acb6bb0 100644 --- a/keyboards/ryanbaekr/rb1/info.json +++ b/keyboards/ryanbaekr/rb1/keyboard.json @@ -10,6 +10,14 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["B1"] diff --git a/keyboards/ryanbaekr/rb1/rules.mk b/keyboards/ryanbaekr/rb1/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/ryanbaekr/rb1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ryanbaekr/rb18/info.json b/keyboards/ryanbaekr/rb18/keyboard.json similarity index 90% rename from keyboards/ryanbaekr/rb18/info.json rename to keyboards/ryanbaekr/rb18/keyboard.json index f03a29dfb1f..41677aa148e 100644 --- a/keyboards/ryanbaekr/rb18/info.json +++ b/keyboards/ryanbaekr/rb18/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "B6", "B5", "B4"], "rows": ["B1", "F7", "F6", "F5", "F4"] diff --git a/keyboards/ryanbaekr/rb18/rules.mk b/keyboards/ryanbaekr/rb18/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/ryanbaekr/rb18/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ryanbaekr/rb69/info.json b/keyboards/ryanbaekr/rb69/keyboard.json similarity index 95% rename from keyboards/ryanbaekr/rb69/info.json rename to keyboards/ryanbaekr/rb69/keyboard.json index 8f132e6f5f0..5a50b691cb4 100644 --- a/keyboards/ryanbaekr/rb69/info.json +++ b/keyboards/ryanbaekr/rb69/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "F0", "F1", "B4", "B5", "B7", "D5", "C7", "E6"], "rows": ["D7", "C6", "D4", "D0", "D1"] diff --git a/keyboards/ryanbaekr/rb69/rules.mk b/keyboards/ryanbaekr/rb69/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/ryanbaekr/rb69/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ryanbaekr/rb86/info.json b/keyboards/ryanbaekr/rb86/keyboard.json similarity index 96% rename from keyboards/ryanbaekr/rb86/info.json rename to keyboards/ryanbaekr/rb86/keyboard.json index fb4b9a4d21c..1255864c522 100644 --- a/keyboards/ryanbaekr/rb86/info.json +++ b/keyboards/ryanbaekr/rb86/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0086", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["B6", "B5", "D5", "C7", "F1", "F0", "D3", "D2", "D1", "D0", "D4", "E6", "B7", "C6", "F4", "F5", "F6"], "rows": ["B0", "B1", "B2", "B3", "B4", "D7"] diff --git a/keyboards/ryanbaekr/rb86/rules.mk b/keyboards/ryanbaekr/rb86/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/ryanbaekr/rb86/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ryanbaekr/rb87/info.json b/keyboards/ryanbaekr/rb87/keyboard.json similarity index 96% rename from keyboards/ryanbaekr/rb87/info.json rename to keyboards/ryanbaekr/rb87/keyboard.json index cade6f12931..ea19528cb31 100644 --- a/keyboards/ryanbaekr/rb87/info.json +++ b/keyboards/ryanbaekr/rb87/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "F0", "F1", "C7", "E6", "B4", "B5", "B7", "D5", "D3"], "rows": ["D2", "D7", "C6", "D4", "D0", "D1"] diff --git a/keyboards/ryanbaekr/rb87/rules.mk b/keyboards/ryanbaekr/rb87/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/ryanbaekr/rb87/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/ryloo_studio/m0110/info.json b/keyboards/ryloo_studio/m0110/keyboard.json similarity index 98% rename from keyboards/ryloo_studio/m0110/info.json rename to keyboards/ryloo_studio/m0110/keyboard.json index 2df9f04cc7e..3f2f366cbbe 100644 --- a/keyboards/ryloo_studio/m0110/info.json +++ b/keyboards/ryloo_studio/m0110/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x1000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "F7", "B5", "B4", "D7", "D6", "B3", "B2"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/ryloo_studio/m0110/rules.mk b/keyboards/ryloo_studio/m0110/rules.mk deleted file mode 100755 index 3d5cb57ad50..00000000000 --- a/keyboards/ryloo_studio/m0110/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output From 14990ca5a2d444aa8db62b8faadf11bd5b8b8d75 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 15 Mar 2024 22:24:10 +0000 Subject: [PATCH 100/107] Migrate features from rules.mk to data driven - ST (#23286) --- .../nafuda/{info.json => keyboard.json} | 9 +++++++++ keyboards/salicylic_acid3/nafuda/rules.mk | 13 ------------- keyboards/sam/s80/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sam/s80/rules.mk | 12 ------------ keyboards/sam/sg81m/{info.json => keyboard.json} | 9 +++++++++ keyboards/sam/sg81m/rules.mk | 12 ------------ .../sandwich/keeb68/{info.json => keyboard.json} | 9 +++++++++ keyboards/sandwich/keeb68/rules.mk | 12 ------------ .../satt/vision/{info.json => keyboard.json} | 8 ++++++++ keyboards/satt/vision/rules.mk | 13 ------------- keyboards/sauce/mild/{info.json => keyboard.json} | 8 ++++++++ keyboards/sauce/mild/rules.mk | 13 ------------- .../amber80/solder/{info.json => keyboard.json} | 9 +++++++++ keyboards/sawnsprojects/amber80/solder/rules.mk | 12 ------------ .../krush65/hotswap/{info.json => keyboard.json} | 10 ++++++++++ .../sawnsprojects/krush/krush65/hotswap/rules.mk | 13 ------------- .../krush65/solder/{info.json => keyboard.json} | 10 ++++++++++ .../sawnsprojects/krush/krush65/solder/rules.mk | 12 ------------ .../satxri6key/{info.json => keyboard.json} | 8 ++++++++ keyboards/sawnsprojects/satxri6key/rules.mk | 11 ----------- .../vcl65/solder/{info.json => keyboard.json} | 9 +++++++++ keyboards/sawnsprojects/vcl65/solder/rules.mk | 12 ------------ keyboards/sck/gtm/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sck/gtm/rules.mk | 13 ------------- keyboards/sck/m0116b/{info.json => keyboard.json} | 8 ++++++++ keyboards/sck/m0116b/rules.mk | 12 ------------ keyboards/sck/neiso/{info.json => keyboard.json} | 8 ++++++++ keyboards/sck/neiso/rules.mk | 12 ------------ keyboards/sck/osa/{info.json => keyboard.json} | 9 +++++++++ keyboards/sck/osa/rules.mk | 12 ------------ .../75pixels/{info.json => keyboard.json} | 8 ++++++++ keyboards/sendyyeah/75pixels/rules.mk | 12 ------------ .../sendyyeah/bevi/{info.json => keyboard.json} | 8 ++++++++ keyboards/sendyyeah/bevi/rules.mk | 12 ------------ .../sendyyeah/pix/{info.json => keyboard.json} | 11 +++++++++++ keyboards/sendyyeah/pix/rules.mk | 14 -------------- .../ck60/{info.json => keyboard.json} | 9 +++++++++ keyboards/senselessclay/ck60/rules.mk | 14 -------------- .../ck65/{info.json => keyboard.json} | 9 +++++++++ keyboards/senselessclay/ck65/rules.mk | 12 ------------ .../gos65/{info.json => keyboard.json} | 9 +++++++++ keyboards/senselessclay/gos65/rules.mk | 12 ------------ .../had60/{info.json => keyboard.json} | 8 ++++++++ keyboards/senselessclay/had60/rules.mk | 12 ------------ .../number_pad/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sentraq/number_pad/rules.mk | 12 ------------ .../s60_x/default/{info.json => keyboard.json} | 8 ++++++++ keyboards/sentraq/s60_x/default/rules.mk | 7 ------- .../s60_x/rgb/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sentraq/s60_x/rgb/rules.mk | 12 ------------ .../sentraq/s65_plus/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sentraq/s65_plus/rules.mk | 10 ---------- .../sentraq/s65_x/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sentraq/s65_x/rules.mk | 10 ---------- .../creator_pro/{info.json => keyboard.json} | 9 +++++++++ keyboards/sergiopoverony/creator_pro/rules.mk | 13 ------------- .../sets3n/kk980/{info.json => keyboard.json} | 9 +++++++++ keyboards/sets3n/kk980/rules.mk | 12 ------------ keyboards/shambles/{info.json => keyboard.json} | 8 ++++++++ keyboards/shambles/rules.mk | 12 ------------ .../flygone60/rev3/{info.json => keyboard.json} | 8 ++++++++ keyboards/shandoncodes/flygone60/rev3/rules.mk | 12 ------------ .../mino/hotswap/{info.json => keyboard.json} | 10 ++++++++++ keyboards/shandoncodes/mino/hotswap/rules.mk | 13 ------------- .../shapeshifter4060/{info.json => keyboard.json} | 8 ++++++++ keyboards/shapeshifter4060/rules.mk | 11 ----------- keyboards/shiro/{info.json => keyboard.json} | 8 ++++++++ keyboards/shiro/rules.mk | 12 ------------ keyboards/shk9/{info.json => keyboard.json} | 8 ++++++++ keyboards/shk9/rules.mk | 12 ------------ keyboards/shoc/{info.json => keyboard.json} | 10 ++++++++++ keyboards/shoc/rules.mk | 14 -------------- .../majbritt/rev1/{info.json => keyboard.json} | 8 ++++++++ keyboards/sidderskb/majbritt/rev1/rules.mk | 12 ------------ .../majbritt/rev2/{info.json => keyboard.json} | 9 +++++++++ keyboards/sidderskb/majbritt/rev2/rules.mk | 14 -------------- keyboards/singa/{info.json => keyboard.json} | 10 ++++++++++ keyboards/singa/rules.mk | 10 ---------- .../hotswap/{info.json => keyboard.json} | 10 ++++++++++ keyboards/skeletn87/hotswap/rules.mk | 12 ------------ .../soldered/{info.json => keyboard.json} | 10 ++++++++++ keyboards/skeletn87/soldered/rules.mk | 12 ------------ .../skeletonnumpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/skeletonkbd/skeletonnumpad/rules.mk | 12 ------------ keyboards/slz40/{info.json => keyboard.json} | 8 ++++++++ keyboards/slz40/rules.mk | 12 ------------ keyboards/smk60/{info.json => keyboard.json} | 9 +++++++++ keyboards/smk60/rules.mk | 12 ------------ keyboards/snampad/{info.json => keyboard.json} | 8 ++++++++ keyboards/snampad/rules.mk | 12 ------------ .../aliceclone/{info.json => keyboard.json} | 9 +++++++++ keyboards/sneakbox/aliceclone/rules.mk | 13 ------------- .../aliceclonergb/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sneakbox/aliceclonergb/rules.mk | 13 ------------- .../sneakbox/ava/{info.json => keyboard.json} | 10 ++++++++++ keyboards/sneakbox/ava/rules.mk | 13 ------------- .../disarray/ortho/{info.json => keyboard.json} | 9 +++++++++ keyboards/sneakbox/disarray/ortho/rules.mk | 13 ------------- .../staggered/{info.json => keyboard.json} | 9 +++++++++ keyboards/sneakbox/disarray/staggered/rules.mk | 13 ------------- .../sowbug/68keys/{info.json => keyboard.json} | 9 +++++++++ keyboards/sowbug/68keys/rules.mk | 14 -------------- .../sowbug/ansi_tkl/{info.json => keyboard.json} | 9 +++++++++ keyboards/sowbug/ansi_tkl/rules.mk | 14 -------------- keyboards/soy20/{info.json => keyboard.json} | 8 ++++++++ keyboards/soy20/rules.mk | 12 ------------ .../spaceman/2_milk/{info.json => keyboard.json} | 9 +++++++++ keyboards/spaceman/2_milk/rules.mk | 12 ------------ .../pancake/rev2/{info.json => keyboard.json} | 9 +++++++++ keyboards/spaceman/pancake/rev2/rules.mk | 13 ------------- .../spaceman/yun65/{info.json => keyboard.json} | 8 ++++++++ keyboards/spaceman/yun65/rules.mk | 12 ------------ keyboards/splitish/{info.json => keyboard.json} | 8 ++++++++ keyboards/splitish/rules.mk | 10 ---------- .../banime40/{info.json => keyboard.json} | 8 ++++++++ keyboards/sporewoh/banime40/rules.mk | 12 ------------ .../stello65/beta/{info.json => keyboard.json} | 9 +++++++++ keyboards/stello65/beta/rules.mk | 13 ------------- .../stello65/hs_rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/stello65/hs_rev1/rules.mk | 12 ------------ .../stello65/sl_rev1/{info.json => keyboard.json} | 9 +++++++++ keyboards/stello65/sl_rev1/rules.mk | 12 ------------ .../pro_micro/{info.json => keyboard.json} | 9 +++++++++ .../stenokeyboards/the_uni/pro_micro/rules.mk | 13 ------------- .../the_uni/rp_2040/{info.json => keyboard.json} | 9 +++++++++ keyboards/stenokeyboards/the_uni/rp_2040/rules.mk | 13 ------------- .../the_uni/usb_c/{info.json => keyboard.json} | 9 +++++++++ keyboards/stenokeyboards/the_uni/usb_c/rules.mk | 13 ------------- keyboards/stratos/{info.json => keyboard.json} | 9 +++++++++ keyboards/stratos/rules.mk | 12 ------------ .../bourgeau/{info.json => keyboard.json} | 9 +++++++++ keyboards/studiokestra/bourgeau/rules.mk | 12 ------------ .../cascade/{info.json => keyboard.json} | 9 +++++++++ keyboards/studiokestra/cascade/rules.mk | 12 ------------ .../nascent/{info.json => keyboard.json} | 8 ++++++++ keyboards/studiokestra/nascent/rules.mk | 12 ------------ .../studiokestra/nue/{info.json => keyboard.json} | 8 ++++++++ keyboards/studiokestra/nue/rules.mk | 12 ------------ .../suavity/ehan/{info.json => keyboard.json} | 8 ++++++++ keyboards/suavity/ehan/rules.mk | 13 ------------- keyboards/subatomic/{info.json => keyboard.json} | 10 ++++++++++ keyboards/subatomic/rules.mk | 13 ------------- .../subrezon/la_nc/{info.json => keyboard.json} | 8 ++++++++ keyboards/subrezon/la_nc/rules.mk | 12 ------------ .../retropad/{info.json => keyboard.json} | 10 ++++++++++ keyboards/swiftrax/retropad/rules.mk | 13 ------------- .../{info.json => keyboard.json} | 9 +++++++++ keyboards/switchplate/southpaw_fullsize/rules.mk | 12 ------------ .../switchplate910/{info.json => keyboard.json} | 9 +++++++++ keyboards/switchplate/switchplate910/rules.mk | 12 ------------ .../synthlabs/solo/{info.json => keyboard.json} | 9 +++++++++ keyboards/synthlabs/solo/rules.mk | 13 ------------- .../center_enter/{info.json => keyboard.json} | 10 ++++++++++ keyboards/takashicompany/center_enter/rules.mk | 14 -------------- .../endzone34/{info.json => keyboard.json} | 10 ++++++++++ keyboards/takashicompany/endzone34/rules.mk | 13 ------------- .../qoolee/{info.json => keyboard.json} | 10 ++++++++++ keyboards/takashicompany/qoolee/rules.mk | 14 -------------- .../radialex/{info.json => keyboard.json} | 9 +++++++++ keyboards/takashicompany/radialex/rules.mk | 12 ------------ .../taleguers75/{info.json => keyboard.json} | 10 ++++++++++ keyboards/taleguers/taleguers75/rules.mk | 13 ------------- keyboards/tanuki/{info.json => keyboard.json} | 9 +++++++++ keyboards/tanuki/rules.mk | 12 ------------ .../team0110/p1800fl/{info.json => keyboard.json} | 10 ++++++++++ keyboards/team0110/p1800fl/rules.mk | 12 ------------ keyboards/technika/{info.json => keyboard.json} | 9 +++++++++ keyboards/technika/rules.mk | 14 -------------- .../teleport/numpad/{info.json => keyboard.json} | 8 ++++++++ keyboards/teleport/numpad/rules.mk | 11 ----------- .../bradpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/tempo_turtle/bradpad/rules.mk | 13 ------------- .../macrowo_pad/{info.json => keyboard.json} | 8 ++++++++ keyboards/tender/macrowo_pad/rules.mk | 11 ----------- keyboards/tenki/{info.json => keyboard.json} | 9 +++++++++ keyboards/tenki/rules.mk | 12 ------------ keyboards/terrazzo/{info.json => keyboard.json} | 11 +++++++++++ keyboards/terrazzo/rules.mk | 15 --------------- keyboards/tgr/910/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tgr/910/rules.mk | 10 ---------- keyboards/tgr/910ce/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tgr/910ce/rules.mk | 10 ---------- keyboards/tgr/alice/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tgr/alice/rules.mk | 10 ---------- .../tgr/jane/v2/{info.json => keyboard.json} | 9 +++++++++ keyboards/tgr/jane/v2/rules.mk | 10 ---------- .../tgr/jane/v2ce/{info.json => keyboard.json} | 9 +++++++++ keyboards/tgr/jane/v2ce/rules.mk | 10 ---------- keyboards/tgr/tris/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tgr/tris/rules.mk | 10 ---------- .../liminal/{info.json => keyboard.json} | 9 +++++++++ keyboards/the_royal/liminal/rules.mk | 12 ------------ .../schwann/{info.json => keyboard.json} | 9 +++++++++ keyboards/the_royal/schwann/rules.mk | 11 ----------- .../degenpad/{info.json => keyboard.json} | 9 +++++++++ keyboards/thepanduuh/degenpad/rules.mk | 13 ------------- .../bananasplit/{info.json => keyboard.json} | 9 +++++++++ keyboards/thevankeyboards/bananasplit/rules.mk | 10 ---------- .../caravan/{info.json => keyboard.json} | 8 ++++++++ keyboards/thevankeyboards/caravan/rules.mk | 11 ----------- .../jetvan/{info.json => keyboard.json} | 9 +++++++++ keyboards/thevankeyboards/jetvan/rules.mk | 12 ------------ .../minivan/{info.json => keyboard.json} | 9 +++++++++ keyboards/thevankeyboards/minivan/rules.mk | 12 ------------ .../roadkit/{info.json => keyboard.json} | 8 ++++++++ keyboards/thevankeyboards/roadkit/rules.mk | 11 ----------- .../tkc/california/{info.json => keyboard.json} | 9 +++++++++ keyboards/tkc/california/rules.mk | 12 ------------ .../tkc/godspeed75/{info.json => keyboard.json} | 9 +++++++++ keyboards/tkc/godspeed75/rules.mk | 13 ------------- keyboards/tkc/m0lly/{info.json => keyboard.json} | 11 +++++++++++ keyboards/tkc/m0lly/rules.mk | 13 ------------- .../tkc/tkc1800/{info.json => keyboard.json} | 11 +++++++++++ keyboards/tkc/tkc1800/rules.mk | 13 ------------- .../tkc/tkl_ab87/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tkc/tkl_ab87/rules.mk | 12 ------------ keyboards/tmo50/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tmo50/rules.mk | 12 ------------ keyboards/toad/{info.json => keyboard.json} | 8 ++++++++ keyboards/toad/rules.mk | 12 ------------ .../tokyo60/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tokyokeyboard/tokyo60/rules.mk | 12 ------------ .../adalyn/{info.json => keyboard.json} | 8 ++++++++ keyboards/tominabox1/adalyn/rules.mk | 10 ---------- .../bigboy/{info.json => keyboard.json} | 9 +++++++++ keyboards/tominabox1/bigboy/rules.mk | 13 ------------- .../tominabox1/qaz/{info.json => keyboard.json} | 9 +++++++++ keyboards/tominabox1/qaz/rules.mk | 12 ------------ keyboards/tr60w/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tr60w/rules.mk | 12 ------------ .../trashman/ketch/{info.json => keyboard.json} | 9 +++++++++ keyboards/trashman/ketch/rules.mk | 12 ------------ .../treasure/type9/{info.json => keyboard.json} | 9 +++++++++ keyboards/treasure/type9/rules.mk | 12 ------------ .../tunks/ergo33/{info.json => keyboard.json} | 10 ++++++++++ keyboards/tunks/ergo33/rules.mk | 14 -------------- 236 files changed, 1070 insertions(+), 1432 deletions(-) rename keyboards/salicylic_acid3/nafuda/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/salicylic_acid3/nafuda/rules.mk rename keyboards/sam/s80/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/sam/s80/rules.mk rename keyboards/sam/sg81m/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/sam/sg81m/rules.mk rename keyboards/sandwich/keeb68/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/sandwich/keeb68/rules.mk rename keyboards/satt/vision/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/satt/vision/rules.mk rename keyboards/sauce/mild/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/sauce/mild/rules.mk rename keyboards/sawnsprojects/amber80/solder/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/sawnsprojects/amber80/solder/rules.mk rename keyboards/sawnsprojects/krush/krush65/hotswap/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/sawnsprojects/krush/krush65/hotswap/rules.mk rename keyboards/sawnsprojects/krush/krush65/solder/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/sawnsprojects/krush/krush65/solder/rules.mk rename keyboards/sawnsprojects/satxri6key/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/sawnsprojects/satxri6key/rules.mk rename keyboards/sawnsprojects/vcl65/solder/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/sawnsprojects/vcl65/solder/rules.mk rename keyboards/sck/gtm/{info.json => keyboard.json} (87%) delete mode 100644 keyboards/sck/gtm/rules.mk rename keyboards/sck/m0116b/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/sck/m0116b/rules.mk rename keyboards/sck/neiso/{info.json => keyboard.json} (82%) delete mode 100644 keyboards/sck/neiso/rules.mk rename keyboards/sck/osa/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/sck/osa/rules.mk rename keyboards/sendyyeah/75pixels/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/sendyyeah/75pixels/rules.mk rename keyboards/sendyyeah/bevi/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/sendyyeah/bevi/rules.mk rename keyboards/sendyyeah/pix/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/sendyyeah/pix/rules.mk rename keyboards/senselessclay/ck60/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/senselessclay/ck60/rules.mk rename keyboards/senselessclay/ck65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/senselessclay/ck65/rules.mk rename keyboards/senselessclay/gos65/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/senselessclay/gos65/rules.mk rename keyboards/senselessclay/had60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/senselessclay/had60/rules.mk rename keyboards/sentraq/number_pad/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/sentraq/number_pad/rules.mk rename keyboards/sentraq/s60_x/default/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/sentraq/s60_x/default/rules.mk rename keyboards/sentraq/s60_x/rgb/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/sentraq/s60_x/rgb/rules.mk rename keyboards/sentraq/s65_plus/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/sentraq/s65_plus/rules.mk rename keyboards/sentraq/s65_x/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/sentraq/s65_x/rules.mk rename keyboards/sergiopoverony/creator_pro/{info.json => keyboard.json} (85%) delete mode 100644 keyboards/sergiopoverony/creator_pro/rules.mk rename keyboards/sets3n/kk980/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/sets3n/kk980/rules.mk rename keyboards/shambles/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/shambles/rules.mk rename keyboards/shandoncodes/flygone60/rev3/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/shandoncodes/flygone60/rev3/rules.mk rename keyboards/shandoncodes/mino/hotswap/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/shandoncodes/mino/hotswap/rules.mk rename keyboards/shapeshifter4060/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/shapeshifter4060/rules.mk rename keyboards/shiro/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/shiro/rules.mk rename keyboards/shk9/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/shk9/rules.mk rename keyboards/shoc/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/shoc/rules.mk rename keyboards/sidderskb/majbritt/rev1/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/sidderskb/majbritt/rev1/rules.mk rename keyboards/sidderskb/majbritt/rev2/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/sidderskb/majbritt/rev2/rules.mk rename keyboards/singa/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/singa/rules.mk rename keyboards/skeletn87/hotswap/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/skeletn87/hotswap/rules.mk rename keyboards/skeletn87/soldered/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/skeletn87/soldered/rules.mk rename keyboards/skeletonkbd/skeletonnumpad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/skeletonkbd/skeletonnumpad/rules.mk rename keyboards/slz40/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/slz40/rules.mk rename keyboards/smk60/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/smk60/rules.mk rename keyboards/snampad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/snampad/rules.mk rename keyboards/sneakbox/aliceclone/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/sneakbox/aliceclone/rules.mk rename keyboards/sneakbox/aliceclonergb/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/sneakbox/aliceclonergb/rules.mk rename keyboards/sneakbox/ava/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/sneakbox/ava/rules.mk rename keyboards/sneakbox/disarray/ortho/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/sneakbox/disarray/ortho/rules.mk rename keyboards/sneakbox/disarray/staggered/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/sneakbox/disarray/staggered/rules.mk rename keyboards/sowbug/68keys/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/sowbug/68keys/rules.mk rename keyboards/sowbug/ansi_tkl/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/sowbug/ansi_tkl/rules.mk rename keyboards/soy20/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/soy20/rules.mk rename keyboards/spaceman/2_milk/{info.json => keyboard.json} (76%) delete mode 100644 keyboards/spaceman/2_milk/rules.mk rename keyboards/spaceman/pancake/rev2/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/spaceman/pancake/rev2/rules.mk rename keyboards/spaceman/yun65/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/spaceman/yun65/rules.mk rename keyboards/splitish/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/splitish/rules.mk rename keyboards/sporewoh/banime40/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/sporewoh/banime40/rules.mk rename keyboards/stello65/beta/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/stello65/beta/rules.mk rename keyboards/stello65/hs_rev1/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/stello65/hs_rev1/rules.mk rename keyboards/stello65/sl_rev1/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/stello65/sl_rev1/rules.mk rename keyboards/stenokeyboards/the_uni/pro_micro/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/stenokeyboards/the_uni/pro_micro/rules.mk rename keyboards/stenokeyboards/the_uni/rp_2040/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/stenokeyboards/the_uni/rp_2040/rules.mk rename keyboards/stenokeyboards/the_uni/usb_c/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/stenokeyboards/the_uni/usb_c/rules.mk rename keyboards/stratos/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/stratos/rules.mk rename keyboards/studiokestra/bourgeau/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/studiokestra/bourgeau/rules.mk rename keyboards/studiokestra/cascade/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/studiokestra/cascade/rules.mk rename keyboards/studiokestra/nascent/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/studiokestra/nascent/rules.mk rename keyboards/studiokestra/nue/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/studiokestra/nue/rules.mk rename keyboards/suavity/ehan/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/suavity/ehan/rules.mk rename keyboards/subatomic/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/subatomic/rules.mk rename keyboards/subrezon/la_nc/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/subrezon/la_nc/rules.mk rename keyboards/swiftrax/retropad/{info.json => keyboard.json} (86%) delete mode 100644 keyboards/swiftrax/retropad/rules.mk rename keyboards/switchplate/southpaw_fullsize/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/switchplate/southpaw_fullsize/rules.mk rename keyboards/switchplate/switchplate910/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/switchplate/switchplate910/rules.mk rename keyboards/synthlabs/solo/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/synthlabs/solo/rules.mk rename keyboards/takashicompany/center_enter/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/takashicompany/center_enter/rules.mk rename keyboards/takashicompany/endzone34/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/takashicompany/endzone34/rules.mk rename keyboards/takashicompany/qoolee/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/takashicompany/qoolee/rules.mk rename keyboards/takashicompany/radialex/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/takashicompany/radialex/rules.mk rename keyboards/taleguers/taleguers75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/taleguers/taleguers75/rules.mk rename keyboards/tanuki/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/tanuki/rules.mk rename keyboards/team0110/p1800fl/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/team0110/p1800fl/rules.mk rename keyboards/technika/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/technika/rules.mk rename keyboards/teleport/numpad/{info.json => keyboard.json} (89%) delete mode 100644 keyboards/teleport/numpad/rules.mk rename keyboards/tempo_turtle/bradpad/{info.json => keyboard.json} (88%) delete mode 100644 keyboards/tempo_turtle/bradpad/rules.mk rename keyboards/tender/macrowo_pad/{info.json => keyboard.json} (90%) delete mode 100644 keyboards/tender/macrowo_pad/rules.mk rename keyboards/tenki/{info.json => keyboard.json} (91%) delete mode 100644 keyboards/tenki/rules.mk rename keyboards/terrazzo/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/terrazzo/rules.mk rename keyboards/tgr/910/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/tgr/910/rules.mk rename keyboards/tgr/910ce/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/tgr/910ce/rules.mk rename keyboards/tgr/alice/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/tgr/alice/rules.mk rename keyboards/tgr/jane/v2/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/tgr/jane/v2/rules.mk rename keyboards/tgr/jane/v2ce/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/tgr/jane/v2ce/rules.mk rename keyboards/tgr/tris/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/tgr/tris/rules.mk rename keyboards/the_royal/liminal/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/the_royal/liminal/rules.mk rename keyboards/the_royal/schwann/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/the_royal/schwann/rules.mk rename keyboards/thepanduuh/degenpad/{info.json => keyboard.json} (97%) delete mode 100644 keyboards/thepanduuh/degenpad/rules.mk rename keyboards/thevankeyboards/bananasplit/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/thevankeyboards/bananasplit/rules.mk rename keyboards/thevankeyboards/caravan/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/thevankeyboards/caravan/rules.mk rename keyboards/thevankeyboards/jetvan/{info.json => keyboard.json} (94%) delete mode 100644 keyboards/thevankeyboards/jetvan/rules.mk rename keyboards/thevankeyboards/minivan/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/thevankeyboards/minivan/rules.mk rename keyboards/thevankeyboards/roadkit/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/thevankeyboards/roadkit/rules.mk rename keyboards/tkc/california/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/tkc/california/rules.mk rename keyboards/tkc/godspeed75/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/tkc/godspeed75/rules.mk rename keyboards/tkc/m0lly/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/tkc/m0lly/rules.mk rename keyboards/tkc/tkc1800/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/tkc/tkc1800/rules.mk rename keyboards/tkc/tkl_ab87/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/tkc/tkl_ab87/rules.mk rename keyboards/tmo50/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/tmo50/rules.mk rename keyboards/toad/{info.json => keyboard.json} (99%) delete mode 100644 keyboards/toad/rules.mk rename keyboards/tokyokeyboard/tokyo60/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/tokyokeyboard/tokyo60/rules.mk rename keyboards/tominabox1/adalyn/{info.json => keyboard.json} (93%) delete mode 100644 keyboards/tominabox1/adalyn/rules.mk rename keyboards/tominabox1/bigboy/{info.json => keyboard.json} (89%) delete mode 100755 keyboards/tominabox1/bigboy/rules.mk rename keyboards/tominabox1/qaz/{info.json => keyboard.json} (96%) delete mode 100644 keyboards/tominabox1/qaz/rules.mk rename keyboards/tr60w/{info.json => keyboard.json} (95%) delete mode 100644 keyboards/tr60w/rules.mk rename keyboards/trashman/ketch/{info.json => keyboard.json} (98%) delete mode 100644 keyboards/trashman/ketch/rules.mk rename keyboards/treasure/type9/{info.json => keyboard.json} (84%) delete mode 100644 keyboards/treasure/type9/rules.mk rename keyboards/tunks/ergo33/{info.json => keyboard.json} (92%) delete mode 100644 keyboards/tunks/ergo33/rules.mk diff --git a/keyboards/salicylic_acid3/nafuda/info.json b/keyboards/salicylic_acid3/nafuda/keyboard.json similarity index 87% rename from keyboards/salicylic_acid3/nafuda/info.json rename to keyboards/salicylic_acid3/nafuda/keyboard.json index b42cfeb6b4f..59e646c5b7f 100644 --- a/keyboards/salicylic_acid3/nafuda/info.json +++ b/keyboards/salicylic_acid3/nafuda/keyboard.json @@ -27,6 +27,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6"], "rows": ["D1", "D0", "D4"] diff --git a/keyboards/salicylic_acid3/nafuda/rules.mk b/keyboards/salicylic_acid3/nafuda/rules.mk deleted file mode 100644 index 84e129e63b9..00000000000 --- a/keyboards/salicylic_acid3/nafuda/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -OLED_ENABLE = no diff --git a/keyboards/sam/s80/info.json b/keyboards/sam/s80/keyboard.json similarity index 96% rename from keyboards/sam/s80/info.json rename to keyboards/sam/s80/keyboard.json index 3949a2680ab..c721efdbd79 100644 --- a/keyboards/sam/s80/info.json +++ b/keyboards/sam/s80/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x3830", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"], "rows": ["E6", "B0", "B1", "B2", "B3", "B7", "F7", "F6", "F5", "F4", "F1"] diff --git a/keyboards/sam/s80/rules.mk b/keyboards/sam/s80/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/sam/s80/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sam/sg81m/info.json b/keyboards/sam/sg81m/keyboard.json similarity index 98% rename from keyboards/sam/sg81m/info.json rename to keyboards/sam/sg81m/keyboard.json index ca06c38aa4c..66e0f1ab9ce 100644 --- a/keyboards/sam/sg81m/info.json +++ b/keyboards/sam/sg81m/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x3831", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B7", "B6", "B5", "B4", "C7", "C6", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"], "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] diff --git a/keyboards/sam/sg81m/rules.mk b/keyboards/sam/sg81m/rules.mk deleted file mode 100644 index 2626cca9293..00000000000 --- a/keyboards/sam/sg81m/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sandwich/keeb68/info.json b/keyboards/sandwich/keeb68/keyboard.json similarity index 95% rename from keyboards/sandwich/keeb68/info.json rename to keyboards/sandwich/keeb68/keyboard.json index df8b91a3385..ffad82b8271 100644 --- a/keyboards/sandwich/keeb68/info.json +++ b/keyboards/sandwich/keeb68/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B6", "C6", "F7", "E6", "B7", "D0", "D1", "D2", "D3", "D4", "D6", "D7", "B4", "B5"], "rows": ["F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/sandwich/keeb68/rules.mk b/keyboards/sandwich/keeb68/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/sandwich/keeb68/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/satt/vision/info.json b/keyboards/satt/vision/keyboard.json similarity index 94% rename from keyboards/satt/vision/info.json rename to keyboards/satt/vision/keyboard.json index 90dad63451d..7683855f42b 100644 --- a/keyboards/satt/vision/info.json +++ b/keyboards/satt/vision/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x5649", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B1", "B0", "A7", "A6", "A5", "A4", "A3", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], "rows": ["B12", "B2", "A2", "A1"] diff --git a/keyboards/satt/vision/rules.mk b/keyboards/satt/vision/rules.mk deleted file mode 100644 index 7f4f202a1b7..00000000000 --- a/keyboards/satt/vision/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/sauce/mild/info.json b/keyboards/sauce/mild/keyboard.json similarity index 99% rename from keyboards/sauce/mild/info.json rename to keyboards/sauce/mild/keyboard.json index 1573e4dcf6d..48cc1c772f3 100644 --- a/keyboards/sauce/mild/info.json +++ b/keyboards/sauce/mild/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x7783", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B11", "B10", "B2", "B1", "B0", "A7", "A5", "A4", "A3", "A2", "A1", "B6", "B5", "B4"], "rows": ["C13", "C14", "C15", "A15", "F0", "F1"] diff --git a/keyboards/sauce/mild/rules.mk b/keyboards/sauce/mild/rules.mk deleted file mode 100644 index ca4d3845848..00000000000 --- a/keyboards/sauce/mild/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/sawnsprojects/amber80/solder/info.json b/keyboards/sawnsprojects/amber80/solder/keyboard.json similarity index 99% rename from keyboards/sawnsprojects/amber80/solder/info.json rename to keyboards/sawnsprojects/amber80/solder/keyboard.json index f6c458a9b72..dc8e718fd66 100644 --- a/keyboards/sawnsprojects/amber80/solder/info.json +++ b/keyboards/sawnsprojects/amber80/solder/keyboard.json @@ -8,6 +8,15 @@ "pid": "0xA801", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F6", "F7", "C7", "C6", "B6", "B5", "D6", "D4"], "rows": ["B1", "B2", "B3", "B7", "D0", "D1", "F1", "F0", "D7", "B4", "D5", "D3"] diff --git a/keyboards/sawnsprojects/amber80/solder/rules.mk b/keyboards/sawnsprojects/amber80/solder/rules.mk deleted file mode 100644 index 97c1694c811..00000000000 --- a/keyboards/sawnsprojects/amber80/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json b/keyboards/sawnsprojects/krush/krush65/hotswap/keyboard.json similarity index 95% rename from keyboards/sawnsprojects/krush/krush65/hotswap/info.json rename to keyboards/sawnsprojects/krush/krush65/hotswap/keyboard.json index 5f8036cd3aa..ccb9165c5ba 100644 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json +++ b/keyboards/sawnsprojects/krush/krush65/hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5B31", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B7", "B3", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D0", "D5", "D6", "D3"], "rows": ["B1", "B2", "D4", "F1", "F0"] diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/rules.mk b/keyboards/sawnsprojects/krush/krush65/hotswap/rules.mk deleted file mode 100644 index 27132e67478..00000000000 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/sawnsprojects/krush/krush65/solder/info.json b/keyboards/sawnsprojects/krush/krush65/solder/keyboard.json similarity index 98% rename from keyboards/sawnsprojects/krush/krush65/solder/info.json rename to keyboards/sawnsprojects/krush/krush65/solder/keyboard.json index 853f95b45e2..a72c903d8c3 100644 --- a/keyboards/sawnsprojects/krush/krush65/solder/info.json +++ b/keyboards/sawnsprojects/krush/krush65/solder/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6B31", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D5", "D3"], "rows": ["B1", "B2", "D1", "D2", "D4", "D6", "F6", "F7", "F5", "F4"] diff --git a/keyboards/sawnsprojects/krush/krush65/solder/rules.mk b/keyboards/sawnsprojects/krush/krush65/solder/rules.mk deleted file mode 100644 index cb7ca38b803..00000000000 --- a/keyboards/sawnsprojects/krush/krush65/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -ENCODER_ENABLE = yes diff --git a/keyboards/sawnsprojects/satxri6key/info.json b/keyboards/sawnsprojects/satxri6key/keyboard.json similarity index 94% rename from keyboards/sawnsprojects/satxri6key/info.json rename to keyboards/sawnsprojects/satxri6key/keyboard.json index e56af19c7da..7049be25cf8 100644 --- a/keyboards/sawnsprojects/satxri6key/info.json +++ b/keyboards/sawnsprojects/satxri6key/keyboard.json @@ -81,6 +81,14 @@ "ws2812": { "pin": "F0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F1", "F4", "F5"], "rows": ["F7", "F6"] diff --git a/keyboards/sawnsprojects/satxri6key/rules.mk b/keyboards/sawnsprojects/satxri6key/rules.mk deleted file mode 100644 index 1dfb86ae3c3..00000000000 --- a/keyboards/sawnsprojects/satxri6key/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sawnsprojects/vcl65/solder/info.json b/keyboards/sawnsprojects/vcl65/solder/keyboard.json similarity index 99% rename from keyboards/sawnsprojects/vcl65/solder/info.json rename to keyboards/sawnsprojects/vcl65/solder/keyboard.json index a7c3975ccf0..4fc0f29766d 100644 --- a/keyboards/sawnsprojects/vcl65/solder/info.json +++ b/keyboards/sawnsprojects/vcl65/solder/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x1727", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B2", "B5", "F5", "C7", "B4", "C6", "D7", "D6", "D4", "D5", "D3", "D2", "B6", "D1", "D0"], "rows": ["F6", "F7", "F0", "F4", "B1"] diff --git a/keyboards/sawnsprojects/vcl65/solder/rules.mk b/keyboards/sawnsprojects/vcl65/solder/rules.mk deleted file mode 100644 index fde71474dc9..00000000000 --- a/keyboards/sawnsprojects/vcl65/solder/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/sck/gtm/info.json b/keyboards/sck/gtm/keyboard.json similarity index 87% rename from keyboards/sck/gtm/info.json rename to keyboards/sck/gtm/keyboard.json index 7925b109ece..54f6eda446b 100644 --- a/keyboards/sck/gtm/info.json +++ b/keyboards/sck/gtm/keyboard.json @@ -26,6 +26,16 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "encoder": true, + "extrakey": false, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "B5", "B6", "B7", "C7", "D0"], "rows": ["C4", "C5", "D1"] diff --git a/keyboards/sck/gtm/rules.mk b/keyboards/sck/gtm/rules.mk deleted file mode 100644 index 54bef062d85..00000000000 --- a/keyboards/sck/gtm/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # [Crawlpad] Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # [Crawlpad] This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = yes # [Crawlpad] This can be enabled if a ws2812 strip is connected to the expansion port. -ENCODER_ENABLE = yes # [2Key2crawl] Make the knobs turn diff --git a/keyboards/sck/m0116b/info.json b/keyboards/sck/m0116b/keyboard.json similarity index 98% rename from keyboards/sck/m0116b/info.json rename to keyboards/sck/m0116b/keyboard.json index b6ebf873111..68184f340cf 100644 --- a/keyboards/sck/m0116b/info.json +++ b/keyboards/sck/m0116b/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D5", "D3", "D2", "D0", "B3", "B2", "B1", "B0", "E6", "B5", "B6", "C6", "C7", "F7", "D4", "D6", "D7", "B4"], "rows": ["D1", "F0", "F1", "F4", "F5", "F6"] diff --git a/keyboards/sck/m0116b/rules.mk b/keyboards/sck/m0116b/rules.mk deleted file mode 100644 index 5356b24d77c..00000000000 --- a/keyboards/sck/m0116b/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sck/neiso/info.json b/keyboards/sck/neiso/keyboard.json similarity index 82% rename from keyboards/sck/neiso/info.json rename to keyboards/sck/neiso/keyboard.json index c7b75dbbc31..59132579c92 100644 --- a/keyboards/sck/neiso/info.json +++ b/keyboards/sck/neiso/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": false, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "D2", "F5", "F7", "B4"], "rows": ["F4"] diff --git a/keyboards/sck/neiso/rules.mk b/keyboards/sck/neiso/rules.mk deleted file mode 100644 index d87b40c0b2c..00000000000 --- a/keyboards/sck/neiso/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sck/osa/info.json b/keyboards/sck/osa/keyboard.json similarity index 98% rename from keyboards/sck/osa/info.json rename to keyboards/sck/osa/keyboard.json index 823b94f4777..1cdd59367bf 100644 --- a/keyboards/sck/osa/info.json +++ b/keyboards/sck/osa/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "D7", "D5", "D3", "D2", "D0", "D1", "B5"], "rows": ["F0", "F1", "F4", "F5", "F6", "B0", "B1", "B2", "B3", "B7"] diff --git a/keyboards/sck/osa/rules.mk b/keyboards/sck/osa/rules.mk deleted file mode 100644 index 2b56e4df774..00000000000 --- a/keyboards/sck/osa/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sendyyeah/75pixels/info.json b/keyboards/sendyyeah/75pixels/keyboard.json similarity index 96% rename from keyboards/sendyyeah/75pixels/info.json rename to keyboards/sendyyeah/75pixels/keyboard.json index 9ccc1a8dfbf..a9300bb19a5 100644 --- a/keyboards/sendyyeah/75pixels/info.json +++ b/keyboards/sendyyeah/75pixels/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x3735", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6"], "rows": ["B6", "F4", "F5", "F6", "F7", "B1", "B3", "B2", "B4", "B5"] diff --git a/keyboards/sendyyeah/75pixels/rules.mk b/keyboards/sendyyeah/75pixels/rules.mk deleted file mode 100644 index f98db94648b..00000000000 --- a/keyboards/sendyyeah/75pixels/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sendyyeah/bevi/info.json b/keyboards/sendyyeah/bevi/keyboard.json similarity index 96% rename from keyboards/sendyyeah/bevi/info.json rename to keyboards/sendyyeah/bevi/keyboard.json index 401d7b42b5b..e0c54f03dbc 100644 --- a/keyboards/sendyyeah/bevi/info.json +++ b/keyboards/sendyyeah/bevi/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4256", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B6", "B4", "B5"], "rows": ["B3", "B2", "D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6"] diff --git a/keyboards/sendyyeah/bevi/rules.mk b/keyboards/sendyyeah/bevi/rules.mk deleted file mode 100644 index f98db94648b..00000000000 --- a/keyboards/sendyyeah/bevi/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sendyyeah/pix/info.json b/keyboards/sendyyeah/pix/keyboard.json similarity index 84% rename from keyboards/sendyyeah/pix/info.json rename to keyboards/sendyyeah/pix/keyboard.json index 9701dffb159..40c432fb01c 100644 --- a/keyboards/sendyyeah/pix/info.json +++ b/keyboards/sendyyeah/pix/keyboard.json @@ -36,6 +36,17 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["C6", "D7", "E6", "B4", "F6"] diff --git a/keyboards/sendyyeah/pix/rules.mk b/keyboards/sendyyeah/pix/rules.mk deleted file mode 100644 index 83231e1022b..00000000000 --- a/keyboards/sendyyeah/pix/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes -OLED_ENABLE = yes diff --git a/keyboards/senselessclay/ck60/info.json b/keyboards/senselessclay/ck60/keyboard.json similarity index 96% rename from keyboards/senselessclay/ck60/info.json rename to keyboards/senselessclay/ck60/keyboard.json index e9971574367..0208ea24bcd 100644 --- a/keyboards/senselessclay/ck60/info.json +++ b/keyboards/senselessclay/ck60/keyboard.json @@ -39,6 +39,15 @@ "max_brightness": 160, "sleep": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["F0", "D5", "D3", "D2", "D1", "D0", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B3", "B2", "F1", "F4", "F5"] diff --git a/keyboards/senselessclay/ck60/rules.mk b/keyboards/senselessclay/ck60/rules.mk deleted file mode 100644 index c33aa21c4b8..00000000000 --- a/keyboards/senselessclay/ck60/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -RGB_MATRIX_ENABLE = yes # RGB matrix lighting diff --git a/keyboards/senselessclay/ck65/info.json b/keyboards/senselessclay/ck65/keyboard.json similarity index 96% rename from keyboards/senselessclay/ck65/info.json rename to keyboards/senselessclay/ck65/keyboard.json index 129c487e19d..6ac3de4b8ae 100644 --- a/keyboards/senselessclay/ck65/info.json +++ b/keyboards/senselessclay/ck65/keyboard.json @@ -28,6 +28,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "D5", "D3", "D2", "D1", "D0", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B3", "B2", "F1", "F4", "F5"] diff --git a/keyboards/senselessclay/ck65/rules.mk b/keyboards/senselessclay/ck65/rules.mk deleted file mode 100644 index 502dc1b7bdf..00000000000 --- a/keyboards/senselessclay/ck65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/senselessclay/gos65/info.json b/keyboards/senselessclay/gos65/keyboard.json similarity index 95% rename from keyboards/senselessclay/gos65/info.json rename to keyboards/senselessclay/gos65/keyboard.json index c834b8152f1..bf79cf7fff5 100644 --- a/keyboards/senselessclay/gos65/info.json +++ b/keyboards/senselessclay/gos65/keyboard.json @@ -28,6 +28,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "D5", "D3", "D2", "D1", "D0", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["B1", "B2", "F1", "F6", "F5"] diff --git a/keyboards/senselessclay/gos65/rules.mk b/keyboards/senselessclay/gos65/rules.mk deleted file mode 100644 index 3c777809b4a..00000000000 --- a/keyboards/senselessclay/gos65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/senselessclay/had60/info.json b/keyboards/senselessclay/had60/keyboard.json similarity index 99% rename from keyboards/senselessclay/had60/info.json rename to keyboards/senselessclay/had60/keyboard.json index dba08759419..4aa263fb7a9 100644 --- a/keyboards/senselessclay/had60/info.json +++ b/keyboards/senselessclay/had60/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x060F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "D5", "D3", "D2", "D1", "D0", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], "rows": ["F1", "F0", "F7", "F6", "F5"] diff --git a/keyboards/senselessclay/had60/rules.mk b/keyboards/senselessclay/had60/rules.mk deleted file mode 100644 index 903797c70d9..00000000000 --- a/keyboards/senselessclay/had60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output \ No newline at end of file diff --git a/keyboards/sentraq/number_pad/info.json b/keyboards/sentraq/number_pad/keyboard.json similarity index 93% rename from keyboards/sentraq/number_pad/info.json rename to keyboards/sentraq/number_pad/keyboard.json index 7852587d394..2354af3f9c8 100644 --- a/keyboards/sentraq/number_pad/info.json +++ b/keyboards/sentraq/number_pad/keyboard.json @@ -28,6 +28,16 @@ "ws2812": { "pin": "B0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "D5", "D1", "D0"], "rows": ["F5", "F0", "B5", "D6", "D4"] diff --git a/keyboards/sentraq/number_pad/rules.mk b/keyboards/sentraq/number_pad/rules.mk deleted file mode 100644 index 16be45209b4..00000000000 --- a/keyboards/sentraq/number_pad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sentraq/s60_x/default/info.json b/keyboards/sentraq/s60_x/default/keyboard.json similarity index 99% rename from keyboards/sentraq/s60_x/default/info.json rename to keyboards/sentraq/s60_x/default/keyboard.json index 70ec42fd9eb..262c3ae862a 100644 --- a/keyboards/sentraq/s60_x/default/info.json +++ b/keyboards/sentraq/s60_x/default/keyboard.json @@ -1,5 +1,13 @@ { "keyboard_name": "S60-X", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "E6", "F1"], "rows": ["B7", "B3", "B2", "B1", "B0"] diff --git a/keyboards/sentraq/s60_x/default/rules.mk b/keyboards/sentraq/s60_x/default/rules.mk deleted file mode 100644 index 6da7eeb948a..00000000000 --- a/keyboards/sentraq/s60_x/default/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sentraq/s60_x/rgb/info.json b/keyboards/sentraq/s60_x/rgb/keyboard.json similarity index 98% rename from keyboards/sentraq/s60_x/rgb/info.json rename to keyboards/sentraq/s60_x/rgb/keyboard.json index 108eb42b3f2..20b67976c4d 100644 --- a/keyboards/sentraq/s60_x/rgb/info.json +++ b/keyboards/sentraq/s60_x/rgb/keyboard.json @@ -1,5 +1,15 @@ { "keyboard_name": "S60-X-RGB", + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "B6", "C6", "C7", "F1", "F0", "E6", "B3", "B2", "B1", "B0"], "rows": ["B5", "B4", "D7", "D6", "D4"] diff --git a/keyboards/sentraq/s60_x/rgb/rules.mk b/keyboards/sentraq/s60_x/rgb/rules.mk deleted file mode 100644 index 28fa223e99f..00000000000 --- a/keyboards/sentraq/s60_x/rgb/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -AUDIO_ENABLE = no # Audio output -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable RGB light diff --git a/keyboards/sentraq/s65_plus/info.json b/keyboards/sentraq/s65_plus/keyboard.json similarity index 97% rename from keyboards/sentraq/s65_plus/info.json rename to keyboards/sentraq/s65_plus/keyboard.json index bac1729ce4e..d802c88d9c5 100644 --- a/keyboards/sentraq/s65_plus/info.json +++ b/keyboards/sentraq/s65_plus/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F6", "F5", "F4", "F1", "F0", "E6", "B0", "B1", "D5", "B2", "B3", "D0", "D1", "D2", "D4", "D6", "D7", "F7"], "rows": ["C7", "C6", "B6", "B5", "B4"] diff --git a/keyboards/sentraq/s65_plus/rules.mk b/keyboards/sentraq/s65_plus/rules.mk deleted file mode 100644 index 7b8e9cd1c4f..00000000000 --- a/keyboards/sentraq/s65_plus/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -AUDIO_ENABLE = no # Audio output -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable RGB light diff --git a/keyboards/sentraq/s65_x/info.json b/keyboards/sentraq/s65_x/keyboard.json similarity index 97% rename from keyboards/sentraq/s65_x/info.json rename to keyboards/sentraq/s65_x/keyboard.json index 416baa89df3..d5b20392e3b 100644 --- a/keyboards/sentraq/s65_x/info.json +++ b/keyboards/sentraq/s65_x/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F1", "F0", "E6", "B0", "B1", "D5", "B2", "B3", "D0", "D1", "D2", "D4", "D6", "D7", "F7"], "rows": ["C7", "C6", "B6", "B5", "B4"] diff --git a/keyboards/sentraq/s65_x/rules.mk b/keyboards/sentraq/s65_x/rules.mk deleted file mode 100644 index 7b8e9cd1c4f..00000000000 --- a/keyboards/sentraq/s65_x/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -AUDIO_ENABLE = no # Audio output -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable RGB light diff --git a/keyboards/sergiopoverony/creator_pro/info.json b/keyboards/sergiopoverony/creator_pro/keyboard.json similarity index 85% rename from keyboards/sergiopoverony/creator_pro/info.json rename to keyboards/sergiopoverony/creator_pro/keyboard.json index 4c9143ea078..9b3cafe1837 100644 --- a/keyboards/sergiopoverony/creator_pro/info.json +++ b/keyboards/sergiopoverony/creator_pro/keyboard.json @@ -15,6 +15,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "direct": [ ["D1", "D4", "C6", "D7", "E6", "B2", "B3", "B1", "F7"] diff --git a/keyboards/sergiopoverony/creator_pro/rules.mk b/keyboards/sergiopoverony/creator_pro/rules.mk deleted file mode 100644 index a7fd1110b21..00000000000 --- a/keyboards/sergiopoverony/creator_pro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/sets3n/kk980/info.json b/keyboards/sets3n/kk980/keyboard.json similarity index 97% rename from keyboards/sets3n/kk980/info.json rename to keyboards/sets3n/kk980/keyboard.json index 2efdb4dafef..0a4a87d2992 100644 --- a/keyboards/sets3n/kk980/info.json +++ b/keyboards/sets3n/kk980/keyboard.json @@ -29,6 +29,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "B1", "B0", "D0", "D1"], "rows": ["B2", "B3", "D3", "D4", "D5", "D6"] diff --git a/keyboards/sets3n/kk980/rules.mk b/keyboards/sets3n/kk980/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/sets3n/kk980/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/shambles/info.json b/keyboards/shambles/keyboard.json similarity index 95% rename from keyboards/shambles/info.json rename to keyboards/shambles/keyboard.json index b49849b5c6e..7f11204be0e 100644 --- a/keyboards/shambles/info.json +++ b/keyboards/shambles/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0F42", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D3", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "F4", "F6"], "rows": ["F5", "B3", "B1", "F7"] diff --git a/keyboards/shambles/rules.mk b/keyboards/shambles/rules.mk deleted file mode 100644 index 3b6a1809db1..00000000000 --- a/keyboards/shambles/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/shandoncodes/flygone60/rev3/info.json b/keyboards/shandoncodes/flygone60/rev3/keyboard.json similarity index 95% rename from keyboards/shandoncodes/flygone60/rev3/info.json rename to keyboards/shandoncodes/flygone60/rev3/keyboard.json index 254f093aee7..70a57528f17 100644 --- a/keyboards/shandoncodes/flygone60/rev3/info.json +++ b/keyboards/shandoncodes/flygone60/rev3/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "E6", "B1", "B2", "B3", "B0", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["D2", "D3", "D5", "B7", "F1"] diff --git a/keyboards/shandoncodes/flygone60/rev3/rules.mk b/keyboards/shandoncodes/flygone60/rev3/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/shandoncodes/flygone60/rev3/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/shandoncodes/mino/hotswap/info.json b/keyboards/shandoncodes/mino/hotswap/keyboard.json similarity index 93% rename from keyboards/shandoncodes/mino/hotswap/info.json rename to keyboards/shandoncodes/mino/hotswap/keyboard.json index 9ba76179209..56bca83a926 100644 --- a/keyboards/shandoncodes/mino/hotswap/info.json +++ b/keyboards/shandoncodes/mino/hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "wpm": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5", "B4", "E6", "D7"], "rows": ["D3", "C6", "D4", "D2"] diff --git a/keyboards/shandoncodes/mino/hotswap/rules.mk b/keyboards/shandoncodes/mino/hotswap/rules.mk deleted file mode 100644 index f8a709213ce..00000000000 --- a/keyboards/shandoncodes/mino/hotswap/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes -WPM_ENABLE = yes diff --git a/keyboards/shapeshifter4060/info.json b/keyboards/shapeshifter4060/keyboard.json similarity index 94% rename from keyboards/shapeshifter4060/info.json rename to keyboards/shapeshifter4060/keyboard.json index 7f815832dd6..8c83153d007 100644 --- a/keyboards/shapeshifter4060/info.json +++ b/keyboards/shapeshifter4060/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xA1F1", "device_version": "0.0.2" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "B1", "B3", "B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4"], "rows": ["F4", "F5", "F6", "F7"] diff --git a/keyboards/shapeshifter4060/rules.mk b/keyboards/shapeshifter4060/rules.mk deleted file mode 100644 index bac8b2e5518..00000000000 --- a/keyboards/shapeshifter4060/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -#BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -KEY_LOCK_ENABLE = no diff --git a/keyboards/shiro/info.json b/keyboards/shiro/keyboard.json similarity index 88% rename from keyboards/shiro/info.json rename to keyboards/shiro/keyboard.json index a67261dfd2e..bd541b3e7d8 100644 --- a/keyboards/shiro/info.json +++ b/keyboards/shiro/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "F6"], "rows": ["D4", "C6", "D7", "E6", "B4"] diff --git a/keyboards/shiro/rules.mk b/keyboards/shiro/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/shiro/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/shk9/info.json b/keyboards/shk9/keyboard.json similarity index 84% rename from keyboards/shk9/info.json rename to keyboards/shk9/keyboard.json index 5974ce37032..19c30ec08dc 100644 --- a/keyboards/shk9/info.json +++ b/keyboards/shk9/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4B39", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "B4", "B5"], "rows": ["B0", "B1", "B2"] diff --git a/keyboards/shk9/rules.mk b/keyboards/shk9/rules.mk deleted file mode 100644 index ab9ede17169..00000000000 --- a/keyboards/shk9/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/shoc/info.json b/keyboards/shoc/keyboard.json similarity index 94% rename from keyboards/shoc/info.json rename to keyboards/shoc/keyboard.json index 276e64adee9..f044ab1b4e8 100644 --- a/keyboards/shoc/info.json +++ b/keyboards/shoc/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6060", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "oled": true, + "wpm": true + }, "matrix_pins": { "cols": ["D3", "D2", "D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B6", "B2"] diff --git a/keyboards/shoc/rules.mk b/keyboards/shoc/rules.mk deleted file mode 100644 index 5d17ed9492a..00000000000 --- a/keyboards/shoc/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes -WPM_ENABLE = yes diff --git a/keyboards/sidderskb/majbritt/rev1/info.json b/keyboards/sidderskb/majbritt/rev1/keyboard.json similarity index 96% rename from keyboards/sidderskb/majbritt/rev1/info.json rename to keyboards/sidderskb/majbritt/rev1/keyboard.json index bcbac9b10cc..717b4e85a0d 100644 --- a/keyboards/sidderskb/majbritt/rev1/info.json +++ b/keyboards/sidderskb/majbritt/rev1/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/sidderskb/majbritt/rev1/rules.mk b/keyboards/sidderskb/majbritt/rev1/rules.mk deleted file mode 100644 index fce764c22d4..00000000000 --- a/keyboards/sidderskb/majbritt/rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sidderskb/majbritt/rev2/info.json b/keyboards/sidderskb/majbritt/rev2/keyboard.json similarity index 95% rename from keyboards/sidderskb/majbritt/rev2/info.json rename to keyboards/sidderskb/majbritt/rev2/keyboard.json index cced270ff80..2c71f49dfdb 100644 --- a/keyboards/sidderskb/majbritt/rev2/info.json +++ b/keyboards/sidderskb/majbritt/rev2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "C7", "B6", "D6", "B4", "D4", "D7", "D5", "D3", "D2", "D1", "D0"], "rows": ["B0", "B1", "F7", "C6", "B5"] diff --git a/keyboards/sidderskb/majbritt/rev2/rules.mk b/keyboards/sidderskb/majbritt/rev2/rules.mk deleted file mode 100644 index d7d5ea9bff6..00000000000 --- a/keyboards/sidderskb/majbritt/rev2/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes # Encoders diff --git a/keyboards/singa/info.json b/keyboards/singa/keyboard.json similarity index 99% rename from keyboards/singa/info.json rename to keyboards/singa/keyboard.json index 0987506b36e..ef9176211ba 100644 --- a/keyboards/singa/info.json +++ b/keyboards/singa/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x7575", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6"] diff --git a/keyboards/singa/rules.mk b/keyboards/singa/rules.mk deleted file mode 100644 index 166b3d3ec8d..00000000000 --- a/keyboards/singa/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/skeletn87/hotswap/info.json b/keyboards/skeletn87/hotswap/keyboard.json similarity index 96% rename from keyboards/skeletn87/hotswap/info.json rename to keyboards/skeletn87/hotswap/keyboard.json index c7eac83fc3d..b0af2306684 100644 --- a/keyboards/skeletn87/hotswap/info.json +++ b/keyboards/skeletn87/hotswap/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xB5E9", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B0", "B1"], "rows": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"] diff --git a/keyboards/skeletn87/hotswap/rules.mk b/keyboards/skeletn87/hotswap/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/skeletn87/hotswap/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/skeletn87/soldered/info.json b/keyboards/skeletn87/soldered/keyboard.json similarity index 98% rename from keyboards/skeletn87/soldered/info.json rename to keyboards/skeletn87/soldered/keyboard.json index 304fa00dc49..292914d8b41 100644 --- a/keyboards/skeletn87/soldered/info.json +++ b/keyboards/skeletn87/soldered/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xB5E8", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B0", "B1"], "rows": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"] diff --git a/keyboards/skeletn87/soldered/rules.mk b/keyboards/skeletn87/soldered/rules.mk deleted file mode 100644 index 8a6e2c7b715..00000000000 --- a/keyboards/skeletn87/soldered/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/skeletonkbd/skeletonnumpad/info.json b/keyboards/skeletonkbd/skeletonnumpad/keyboard.json similarity index 90% rename from keyboards/skeletonkbd/skeletonnumpad/info.json rename to keyboards/skeletonkbd/skeletonnumpad/keyboard.json index 7f4c72248d6..5b72e5d8ec6 100644 --- a/keyboards/skeletonkbd/skeletonnumpad/info.json +++ b/keyboards/skeletonkbd/skeletonnumpad/keyboard.json @@ -29,6 +29,15 @@ "alternating": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "D7", "B4", "B5"], "rows": ["B6", "C6", "C7", "F7", "F6"] diff --git a/keyboards/skeletonkbd/skeletonnumpad/rules.mk b/keyboards/skeletonkbd/skeletonnumpad/rules.mk deleted file mode 100644 index 951dd07d6e0..00000000000 --- a/keyboards/skeletonkbd/skeletonnumpad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/slz40/info.json b/keyboards/slz40/keyboard.json similarity index 95% rename from keyboards/slz40/info.json rename to keyboards/slz40/keyboard.json index 952f6c74f05..97533fd939e 100644 --- a/keyboards/slz40/info.json +++ b/keyboards/slz40/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "D2", "F5", "D1", "F6", "D0", "F7", "D4", "B1", "C6", "E6", "D7"], "rows": ["B4", "B5", "B3", "B2", "B6"] diff --git a/keyboards/slz40/rules.mk b/keyboards/slz40/rules.mk deleted file mode 100644 index ab2c49da70e..00000000000 --- a/keyboards/slz40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/smk60/info.json b/keyboards/smk60/keyboard.json similarity index 99% rename from keyboards/smk60/info.json rename to keyboards/smk60/keyboard.json index 535dab67413..67265a667c2 100644 --- a/keyboards/smk60/info.json +++ b/keyboards/smk60/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "E6" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "B5", "B6", "C6", "C7", "F6", "F7", "F4", "B1", "B3", "D0", "D1", "D2", "D3", "D5"], "rows": ["B0", "F0", "F1", "F5", "B2"] diff --git a/keyboards/smk60/rules.mk b/keyboards/smk60/rules.mk deleted file mode 100644 index b5524236523..00000000000 --- a/keyboards/smk60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Use RGB bottom light diff --git a/keyboards/snampad/info.json b/keyboards/snampad/keyboard.json similarity index 90% rename from keyboards/snampad/info.json rename to keyboards/snampad/keyboard.json index e5eb0272bb3..a5ea2cda2f1 100644 --- a/keyboards/snampad/info.json +++ b/keyboards/snampad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3"], "rows": ["F4", "F5", "F6", "F7", "B1", "B3"] diff --git a/keyboards/snampad/rules.mk b/keyboards/snampad/rules.mk deleted file mode 100644 index 309e55c9f4c..00000000000 --- a/keyboards/snampad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/sneakbox/aliceclone/info.json b/keyboards/sneakbox/aliceclone/keyboard.json similarity index 97% rename from keyboards/sneakbox/aliceclone/info.json rename to keyboards/sneakbox/aliceclone/keyboard.json index e53b80f14e8..0e134c84d48 100644 --- a/keyboards/sneakbox/aliceclone/info.json +++ b/keyboards/sneakbox/aliceclone/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "D0", "C7", "C6", "B6", "B5", "B4", "D1"], "rows": ["F1", "E6", "F4", "B1", "F5", "B2", "F6", "B3", "F7", "B7"] diff --git a/keyboards/sneakbox/aliceclone/rules.mk b/keyboards/sneakbox/aliceclone/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/sneakbox/aliceclone/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/sneakbox/aliceclonergb/info.json b/keyboards/sneakbox/aliceclonergb/keyboard.json similarity index 97% rename from keyboards/sneakbox/aliceclonergb/info.json rename to keyboards/sneakbox/aliceclonergb/keyboard.json index ecf420a10c4..be3d48fa878 100644 --- a/keyboards/sneakbox/aliceclonergb/info.json +++ b/keyboards/sneakbox/aliceclonergb/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "D0", "C7", "C6", "B6", "B5", "B4", "D1"], "rows": ["F1", "E6", "F4", "B1", "F5", "B2", "F6", "B3", "F7", "B7"] diff --git a/keyboards/sneakbox/aliceclonergb/rules.mk b/keyboards/sneakbox/aliceclonergb/rules.mk deleted file mode 100644 index c5c4d8f35f1..00000000000 --- a/keyboards/sneakbox/aliceclonergb/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/sneakbox/ava/info.json b/keyboards/sneakbox/ava/keyboard.json similarity index 97% rename from keyboards/sneakbox/ava/info.json rename to keyboards/sneakbox/ava/keyboard.json index 78be99ce6ca..41712f7e953 100644 --- a/keyboards/sneakbox/ava/info.json +++ b/keyboards/sneakbox/ava/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "D0", "C7", "C6", "B6", "B5", "B4", "D1"], "rows": ["F1", "E6", "F4", "B1", "F5", "B2", "F6", "B3", "B7"] diff --git a/keyboards/sneakbox/ava/rules.mk b/keyboards/sneakbox/ava/rules.mk deleted file mode 100644 index 12ee1bcfbd2..00000000000 --- a/keyboards/sneakbox/ava/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/sneakbox/disarray/ortho/info.json b/keyboards/sneakbox/disarray/ortho/keyboard.json similarity index 96% rename from keyboards/sneakbox/disarray/ortho/info.json rename to keyboards/sneakbox/disarray/ortho/keyboard.json index 40b2b0ed2f9..49a321a2da1 100644 --- a/keyboards/sneakbox/disarray/ortho/info.json +++ b/keyboards/sneakbox/disarray/ortho/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"], "rows": ["B7", "D0", "D1", "D2", "D3", "B0"] diff --git a/keyboards/sneakbox/disarray/ortho/rules.mk b/keyboards/sneakbox/disarray/ortho/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/sneakbox/disarray/ortho/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/sneakbox/disarray/staggered/info.json b/keyboards/sneakbox/disarray/staggered/keyboard.json similarity index 96% rename from keyboards/sneakbox/disarray/staggered/info.json rename to keyboards/sneakbox/disarray/staggered/keyboard.json index ff79e2ada52..01334273e49 100644 --- a/keyboards/sneakbox/disarray/staggered/info.json +++ b/keyboards/sneakbox/disarray/staggered/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "E6"], "rows": ["B7", "D0", "D1", "D2", "D3"] diff --git a/keyboards/sneakbox/disarray/staggered/rules.mk b/keyboards/sneakbox/disarray/staggered/rules.mk deleted file mode 100644 index b03b6fa9058..00000000000 --- a/keyboards/sneakbox/disarray/staggered/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/sowbug/68keys/info.json b/keyboards/sowbug/68keys/keyboard.json similarity index 96% rename from keyboards/sowbug/68keys/info.json rename to keyboards/sowbug/68keys/keyboard.json index aa22cb804a1..cfdf78efaf2 100644 --- a/keyboards/sowbug/68keys/info.json +++ b/keyboards/sowbug/68keys/keyboard.json @@ -60,6 +60,15 @@ "driver": "ws2812", "max_brightness": 128 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10"], "rows": ["C14", "C15", "A0", "A1", "A2"] diff --git a/keyboards/sowbug/68keys/rules.mk b/keyboards/sowbug/68keys/rules.mk deleted file mode 100644 index c49a369dd02..00000000000 --- a/keyboards/sowbug/68keys/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/sowbug/ansi_tkl/info.json b/keyboards/sowbug/ansi_tkl/keyboard.json similarity index 97% rename from keyboards/sowbug/ansi_tkl/info.json rename to keyboards/sowbug/ansi_tkl/keyboard.json index 6c6f2346bda..e6b9d28fdcb 100644 --- a/keyboards/sowbug/ansi_tkl/info.json +++ b/keyboards/sowbug/ansi_tkl/keyboard.json @@ -60,6 +60,15 @@ "driver": "ws2812", "max_brightness": 128 }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["A4", "A5", "A6", "A7", "B0", "B1", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B3"], "rows": ["C14", "C15", "A0", "A1", "A2", "A3"] diff --git a/keyboards/sowbug/ansi_tkl/rules.mk b/keyboards/sowbug/ansi_tkl/rules.mk deleted file mode 100644 index c49a369dd02..00000000000 --- a/keyboards/sowbug/ansi_tkl/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes - diff --git a/keyboards/soy20/info.json b/keyboards/soy20/keyboard.json similarity index 90% rename from keyboards/soy20/info.json rename to keyboards/soy20/keyboard.json index 717a3245af6..e5c4499af54 100644 --- a/keyboards/soy20/info.json +++ b/keyboards/soy20/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x534F", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B6", "B7", "C7"], "rows": ["B0", "B1", "B2", "B3", "B4"] diff --git a/keyboards/soy20/rules.mk b/keyboards/soy20/rules.mk deleted file mode 100644 index ab9ede17169..00000000000 --- a/keyboards/soy20/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/spaceman/2_milk/info.json b/keyboards/spaceman/2_milk/keyboard.json similarity index 76% rename from keyboards/spaceman/2_milk/info.json rename to keyboards/spaceman/2_milk/keyboard.json index a703c8f8903..4fdef6bacec 100644 --- a/keyboards/spaceman/2_milk/info.json +++ b/keyboards/spaceman/2_milk/keyboard.json @@ -16,6 +16,15 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "features": { + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "direct": [ ["D4"], diff --git a/keyboards/spaceman/2_milk/rules.mk b/keyboards/spaceman/2_milk/rules.mk deleted file mode 100644 index 55f12300d58..00000000000 --- a/keyboards/spaceman/2_milk/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port. diff --git a/keyboards/spaceman/pancake/rev2/info.json b/keyboards/spaceman/pancake/rev2/keyboard.json similarity index 94% rename from keyboards/spaceman/pancake/rev2/info.json rename to keyboards/spaceman/pancake/rev2/keyboard.json index d92d5a88f64..88bf2a0b9f3 100644 --- a/keyboards/spaceman/pancake/rev2/info.json +++ b/keyboards/spaceman/pancake/rev2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x5032", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true, + "oled": true + }, "matrix_pins": { "cols": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"], "rows": ["C7", "C6", "B6", "B5"] diff --git a/keyboards/spaceman/pancake/rev2/rules.mk b/keyboards/spaceman/pancake/rev2/rules.mk deleted file mode 100644 index a7cc2bfee46..00000000000 --- a/keyboards/spaceman/pancake/rev2/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/spaceman/yun65/info.json b/keyboards/spaceman/yun65/keyboard.json similarity index 96% rename from keyboards/spaceman/yun65/info.json rename to keyboards/spaceman/yun65/keyboard.json index 40854c78f3b..017de06abb4 100644 --- a/keyboards/spaceman/yun65/info.json +++ b/keyboards/spaceman/yun65/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x594E", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D5", "B3"], "rows": ["E6", "D3", "D2", "D1", "D0"] diff --git a/keyboards/spaceman/yun65/rules.mk b/keyboards/spaceman/yun65/rules.mk deleted file mode 100644 index e12dc198de2..00000000000 --- a/keyboards/spaceman/yun65/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled -AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below -RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. diff --git a/keyboards/splitish/info.json b/keyboards/splitish/keyboard.json similarity index 94% rename from keyboards/splitish/info.json rename to keyboards/splitish/keyboard.json index 7183ed66b21..08043173717 100644 --- a/keyboards/splitish/info.json +++ b/keyboards/splitish/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6464", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "C6", "D4", "D0", "D1", "D2", "D3"], "rows": ["B4", "B5", "B2", "B6"] diff --git a/keyboards/splitish/rules.mk b/keyboards/splitish/rules.mk deleted file mode 100644 index 363f2330b33..00000000000 --- a/keyboards/splitish/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality diff --git a/keyboards/sporewoh/banime40/info.json b/keyboards/sporewoh/banime40/keyboard.json similarity index 94% rename from keyboards/sporewoh/banime40/info.json rename to keyboards/sporewoh/banime40/keyboard.json index 857daf8ec73..dfe71070a14 100644 --- a/keyboards/sporewoh/banime40/info.json +++ b/keyboards/sporewoh/banime40/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["E6", "D7", "C6", "D4"] diff --git a/keyboards/sporewoh/banime40/rules.mk b/keyboards/sporewoh/banime40/rules.mk deleted file mode 100644 index fd62cad1658..00000000000 --- a/keyboards/sporewoh/banime40/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/stello65/beta/info.json b/keyboards/stello65/beta/keyboard.json similarity index 99% rename from keyboards/stello65/beta/info.json rename to keyboards/stello65/beta/keyboard.json index 9236d322b9f..230cc6ff007 100644 --- a/keyboards/stello65/beta/info.json +++ b/keyboards/stello65/beta/keyboard.json @@ -11,6 +11,15 @@ "build": { "debounce_type": "sym_defer_pk" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"], "rows": ["F0", "E6", "D0", "D1", "C6", "F7", "F6", "F5", "F4", "F1"] diff --git a/keyboards/stello65/beta/rules.mk b/keyboards/stello65/beta/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/stello65/beta/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/stello65/hs_rev1/info.json b/keyboards/stello65/hs_rev1/keyboard.json similarity index 95% rename from keyboards/stello65/hs_rev1/info.json rename to keyboards/stello65/hs_rev1/keyboard.json index cccaf7ccee3..ebda63da6d0 100644 --- a/keyboards/stello65/hs_rev1/info.json +++ b/keyboards/stello65/hs_rev1/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "D0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["F1", "F0", "D1", "D2", "B6", "C6", "C7", "F7", "F6", "F5"] diff --git a/keyboards/stello65/hs_rev1/rules.mk b/keyboards/stello65/hs_rev1/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/stello65/hs_rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/stello65/sl_rev1/info.json b/keyboards/stello65/sl_rev1/keyboard.json similarity index 95% rename from keyboards/stello65/sl_rev1/info.json rename to keyboards/stello65/sl_rev1/keyboard.json index e89c5a5bdf2..9204986cd1e 100644 --- a/keyboards/stello65/sl_rev1/info.json +++ b/keyboards/stello65/sl_rev1/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], "rows": ["F0", "E6", "D0", "D1", "C6", "F7", "F6", "F5", "F4", "F1"] diff --git a/keyboards/stello65/sl_rev1/rules.mk b/keyboards/stello65/sl_rev1/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/stello65/sl_rev1/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/stenokeyboards/the_uni/pro_micro/info.json b/keyboards/stenokeyboards/the_uni/pro_micro/keyboard.json similarity index 90% rename from keyboards/stenokeyboards/the_uni/pro_micro/info.json rename to keyboards/stenokeyboards/the_uni/pro_micro/keyboard.json index 3510e076ff1..f14728b577f 100644 --- a/keyboards/stenokeyboards/the_uni/pro_micro/info.json +++ b/keyboards/stenokeyboards/the_uni/pro_micro/keyboard.json @@ -3,6 +3,15 @@ "device_version": "0.0.1", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true, + "steno": true + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "B3", "B5", "B4", "E6", "D7", "C6", "D4"], "rows": ["F4", "B2", "B6"] diff --git a/keyboards/stenokeyboards/the_uni/pro_micro/rules.mk b/keyboards/stenokeyboards/the_uni/pro_micro/rules.mk deleted file mode 100644 index 7cabc7b8731..00000000000 --- a/keyboards/stenokeyboards/the_uni/pro_micro/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -STENO_ENABLE = yes diff --git a/keyboards/stenokeyboards/the_uni/rp_2040/info.json b/keyboards/stenokeyboards/the_uni/rp_2040/keyboard.json similarity index 90% rename from keyboards/stenokeyboards/the_uni/rp_2040/info.json rename to keyboards/stenokeyboards/the_uni/rp_2040/keyboard.json index 0fc56dff8d9..1ca94185ab5 100644 --- a/keyboards/stenokeyboards/the_uni/rp_2040/info.json +++ b/keyboards/stenokeyboards/the_uni/rp_2040/keyboard.json @@ -3,6 +3,15 @@ "device_version": "0.0.4", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "steno": true + }, "matrix_pins": { "cols": ["GP24", "GP23", "GP21", "GP20", "GP19", "GP6", "GP5", "GP4", "GP3", "GP2", "GP1"], "rows": ["GP25", "GP18", "GP17"] diff --git a/keyboards/stenokeyboards/the_uni/rp_2040/rules.mk b/keyboards/stenokeyboards/the_uni/rp_2040/rules.mk deleted file mode 100644 index 2249662c5d2..00000000000 --- a/keyboards/stenokeyboards/the_uni/rp_2040/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -STENO_ENABLE = yes diff --git a/keyboards/stenokeyboards/the_uni/usb_c/info.json b/keyboards/stenokeyboards/the_uni/usb_c/keyboard.json similarity index 90% rename from keyboards/stenokeyboards/the_uni/usb_c/info.json rename to keyboards/stenokeyboards/the_uni/usb_c/keyboard.json index fe7706357d9..5226fb0a8ee 100644 --- a/keyboards/stenokeyboards/the_uni/usb_c/info.json +++ b/keyboards/stenokeyboards/the_uni/usb_c/keyboard.json @@ -3,6 +3,15 @@ "device_version": "0.0.3", "force_nkro": true }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true, + "steno": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "D5", "D3", "D2", "D1", "D0", "D4"], "rows": ["B7", "D6", "C7"] diff --git a/keyboards/stenokeyboards/the_uni/usb_c/rules.mk b/keyboards/stenokeyboards/the_uni/usb_c/rules.mk deleted file mode 100644 index 7cabc7b8731..00000000000 --- a/keyboards/stenokeyboards/the_uni/usb_c/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -STENO_ENABLE = yes diff --git a/keyboards/stratos/info.json b/keyboards/stratos/keyboard.json similarity index 99% rename from keyboards/stratos/info.json rename to keyboards/stratos/keyboard.json index e4f6c808fd5..4d4bca34470 100644 --- a/keyboards/stratos/info.json +++ b/keyboards/stratos/keyboard.json @@ -30,6 +30,15 @@ "twinkle": true } }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F7", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"], "rows": ["B1", "B2", "B3", "F0", "F1"] diff --git a/keyboards/stratos/rules.mk b/keyboards/stratos/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/stratos/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/studiokestra/bourgeau/info.json b/keyboards/studiokestra/bourgeau/keyboard.json similarity index 96% rename from keyboards/studiokestra/bourgeau/info.json rename to keyboards/studiokestra/bourgeau/keyboard.json index e14cfc9fc4f..22cc6095363 100644 --- a/keyboards/studiokestra/bourgeau/info.json +++ b/keyboards/studiokestra/bourgeau/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B7" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "B0", "D2", "D1", "D0", "D3", "B6", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B5", "B4"], "rows": ["D4", "D6", "D7", "D5", "B1", "F0"] diff --git a/keyboards/studiokestra/bourgeau/rules.mk b/keyboards/studiokestra/bourgeau/rules.mk deleted file mode 100644 index e027898b626..00000000000 --- a/keyboards/studiokestra/bourgeau/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/studiokestra/cascade/info.json b/keyboards/studiokestra/cascade/keyboard.json similarity index 98% rename from keyboards/studiokestra/cascade/info.json rename to keyboards/studiokestra/cascade/keyboard.json index 823eebad6e9..f6d95261ac1 100644 --- a/keyboards/studiokestra/cascade/info.json +++ b/keyboards/studiokestra/cascade/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B0" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["E6", "D5", "D1", "D0", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D6", "D7"], "rows": ["F0", "B1", "D4", "F4", "F1"] diff --git a/keyboards/studiokestra/cascade/rules.mk b/keyboards/studiokestra/cascade/rules.mk deleted file mode 100644 index e027898b626..00000000000 --- a/keyboards/studiokestra/cascade/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/studiokestra/nascent/info.json b/keyboards/studiokestra/nascent/keyboard.json similarity index 99% rename from keyboards/studiokestra/nascent/info.json rename to keyboards/studiokestra/nascent/keyboard.json index 950b6836be2..c2b14a71bc4 100644 --- a/keyboards/studiokestra/nascent/info.json +++ b/keyboards/studiokestra/nascent/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0165", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D2", "D3", "D7", "D6", "D4", "D5", "B0", "E6"], "rows": ["F5", "F4", "F7", "F6", "C6", "C7", "B4", "B5", "D0", "D1"] diff --git a/keyboards/studiokestra/nascent/rules.mk b/keyboards/studiokestra/nascent/rules.mk deleted file mode 100644 index 6ff9b4e02ba..00000000000 --- a/keyboards/studiokestra/nascent/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/studiokestra/nue/info.json b/keyboards/studiokestra/nue/keyboard.json similarity index 99% rename from keyboards/studiokestra/nue/info.json rename to keyboards/studiokestra/nue/keyboard.json index 02ca6229883..ffd5581fee5 100644 --- a/keyboards/studiokestra/nue/info.json +++ b/keyboards/studiokestra/nue/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x0701", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F0", "F6", "F7", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["B0", "B7", "F1", "F5", "F4"] diff --git a/keyboards/studiokestra/nue/rules.mk b/keyboards/studiokestra/nue/rules.mk deleted file mode 100644 index c58df49ea8f..00000000000 --- a/keyboards/studiokestra/nue/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/suavity/ehan/info.json b/keyboards/suavity/ehan/keyboard.json similarity index 98% rename from keyboards/suavity/ehan/info.json rename to keyboards/suavity/ehan/keyboard.json index 8526992376b..a025ec4992b 100755 --- a/keyboards/suavity/ehan/info.json +++ b/keyboards/suavity/ehan/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x4548", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "C14", "B7", "B6", "B5", "B4", "B3", "A15", "C13", "B9", "B8"], "rows": ["A7", "B0", "A3", "A4", "A5", "A6"] diff --git a/keyboards/suavity/ehan/rules.mk b/keyboards/suavity/ehan/rules.mk deleted file mode 100644 index 5a44d1732f8..00000000000 --- a/keyboards/suavity/ehan/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/subatomic/info.json b/keyboards/subatomic/keyboard.json similarity index 98% rename from keyboards/subatomic/info.json rename to keyboards/subatomic/keyboard.json index 65b1abac268..64f254a087a 100644 --- a/keyboards/subatomic/info.json +++ b/keyboards/subatomic/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x6063", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "midi": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7", "C6", "C5"], "rows": ["D2", "D5", "B5", "B6", "D3"] diff --git a/keyboards/subatomic/rules.mk b/keyboards/subatomic/rules.mk deleted file mode 100644 index 3c9bf3cc2cb..00000000000 --- a/keyboards/subatomic/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = yes # MIDI support -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. diff --git a/keyboards/subrezon/la_nc/info.json b/keyboards/subrezon/la_nc/keyboard.json similarity index 95% rename from keyboards/subrezon/la_nc/info.json rename to keyboards/subrezon/la_nc/keyboard.json index dd9fbb30a6e..471bf090518 100644 --- a/keyboards/subrezon/la_nc/info.json +++ b/keyboards/subrezon/la_nc/keyboard.json @@ -6,6 +6,14 @@ "pid": "0x1A7C", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "B1", "F7", "F6", "F5", "D4", "C6", "D7", "E6", "B4"], "rows": ["D3", "F4", "D2", "B2", "B5", "B6"] diff --git a/keyboards/subrezon/la_nc/rules.mk b/keyboards/subrezon/la_nc/rules.mk deleted file mode 100644 index 895af57980a..00000000000 --- a/keyboards/subrezon/la_nc/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/swiftrax/retropad/info.json b/keyboards/swiftrax/retropad/keyboard.json similarity index 86% rename from keyboards/swiftrax/retropad/info.json rename to keyboards/swiftrax/retropad/keyboard.json index 8d6431fdde0..c8dd0e33274 100644 --- a/keyboards/swiftrax/retropad/info.json +++ b/keyboards/swiftrax/retropad/keyboard.json @@ -8,6 +8,16 @@ "pid": "0xEB0C", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "D2"], "rows": ["C7", "C6", "B5"] diff --git a/keyboards/swiftrax/retropad/rules.mk b/keyboards/swiftrax/retropad/rules.mk deleted file mode 100644 index 3d49f75c87a..00000000000 --- a/keyboards/swiftrax/retropad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/switchplate/southpaw_fullsize/info.json b/keyboards/switchplate/southpaw_fullsize/keyboard.json similarity index 98% rename from keyboards/switchplate/southpaw_fullsize/info.json rename to keyboards/switchplate/southpaw_fullsize/keyboard.json index 3397418adfe..822fc660815 100644 --- a/keyboards/switchplate/southpaw_fullsize/info.json +++ b/keyboards/switchplate/southpaw_fullsize/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0017", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A7", "C7", "C6", "C5", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "E0", "D7", "D6"], "rows": ["E1", "C0", "C1", "C2", "C3", "C4"] diff --git a/keyboards/switchplate/southpaw_fullsize/rules.mk b/keyboards/switchplate/southpaw_fullsize/rules.mk deleted file mode 100644 index 3cd23319a29..00000000000 --- a/keyboards/switchplate/southpaw_fullsize/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/switchplate/switchplate910/info.json b/keyboards/switchplate/switchplate910/keyboard.json similarity index 98% rename from keyboards/switchplate/switchplate910/info.json rename to keyboards/switchplate/switchplate910/keyboard.json index 7c9d9ba62d3..40a2a246374 100644 --- a/keyboards/switchplate/switchplate910/info.json +++ b/keyboards/switchplate/switchplate910/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x2065", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "B3", "B2", "B0", "B1"], "rows": ["F4", "F5", "F6", "F7", "D1"] diff --git a/keyboards/switchplate/switchplate910/rules.mk b/keyboards/switchplate/switchplate910/rules.mk deleted file mode 100644 index 14e80e7106b..00000000000 --- a/keyboards/switchplate/switchplate910/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/synthlabs/solo/info.json b/keyboards/synthlabs/solo/keyboard.json similarity index 94% rename from keyboards/synthlabs/solo/info.json rename to keyboards/synthlabs/solo/keyboard.json index 613ace72657..1aedf981855 100644 --- a/keyboards/synthlabs/solo/info.json +++ b/keyboards/synthlabs/solo/keyboard.json @@ -5,6 +5,15 @@ "maintainer": "hongaaronc", "bootloader": "atmel-dfu", "processor": "atmega32u4", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "direct": [ ["C6", "D6", "B5", "B4", "D7", "B6", "D4"], diff --git a/keyboards/synthlabs/solo/rules.mk b/keyboards/synthlabs/solo/rules.mk deleted file mode 100644 index 131aa72aeb5..00000000000 --- a/keyboards/synthlabs/solo/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/takashicompany/center_enter/info.json b/keyboards/takashicompany/center_enter/keyboard.json similarity index 93% rename from keyboards/takashicompany/center_enter/info.json rename to keyboards/takashicompany/center_enter/keyboard.json index 77c9410723e..41a3e450931 100644 --- a/keyboards/takashicompany/center_enter/info.json +++ b/keyboards/takashicompany/center_enter/keyboard.json @@ -28,6 +28,16 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "D7", "B2", "B6", "D0", "D4", "C6"], "rows": ["E6", "B4", "B5"] diff --git a/keyboards/takashicompany/center_enter/rules.mk b/keyboards/takashicompany/center_enter/rules.mk deleted file mode 100644 index 916e9f99346..00000000000 --- a/keyboards/takashicompany/center_enter/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes diff --git a/keyboards/takashicompany/endzone34/info.json b/keyboards/takashicompany/endzone34/keyboard.json similarity index 92% rename from keyboards/takashicompany/endzone34/info.json rename to keyboards/takashicompany/endzone34/keyboard.json index 8e6f6c29e43..382d2f06724 100644 --- a/keyboards/takashicompany/endzone34/info.json +++ b/keyboards/takashicompany/endzone34/keyboard.json @@ -29,6 +29,16 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "D4", "C6", "D7", "E6", "B4"], "rows": ["B3", "B2", "B6", "B5"] diff --git a/keyboards/takashicompany/endzone34/rules.mk b/keyboards/takashicompany/endzone34/rules.mk deleted file mode 100644 index e6ed3b4b034..00000000000 --- a/keyboards/takashicompany/endzone34/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/takashicompany/qoolee/info.json b/keyboards/takashicompany/qoolee/keyboard.json similarity index 93% rename from keyboards/takashicompany/qoolee/info.json rename to keyboards/takashicompany/qoolee/keyboard.json index d4068189b3c..52e6d61b803 100644 --- a/keyboards/takashicompany/qoolee/info.json +++ b/keyboards/takashicompany/qoolee/keyboard.json @@ -28,6 +28,16 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D0", "D4", "C6", "D7"], "rows": ["E6", "B4", "B5"] diff --git a/keyboards/takashicompany/qoolee/rules.mk b/keyboards/takashicompany/qoolee/rules.mk deleted file mode 100644 index 0aa58dc8619..00000000000 --- a/keyboards/takashicompany/qoolee/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes \ No newline at end of file diff --git a/keyboards/takashicompany/radialex/info.json b/keyboards/takashicompany/radialex/keyboard.json similarity index 94% rename from keyboards/takashicompany/radialex/info.json rename to keyboards/takashicompany/radialex/keyboard.json index e334d2c16ca..3cc94cdd913 100644 --- a/keyboards/takashicompany/radialex/info.json +++ b/keyboards/takashicompany/radialex/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "D3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"], "rows": ["B6", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/takashicompany/radialex/rules.mk b/keyboards/takashicompany/radialex/rules.mk deleted file mode 100644 index 7800cd80750..00000000000 --- a/keyboards/takashicompany/radialex/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/taleguers/taleguers75/info.json b/keyboards/taleguers/taleguers75/keyboard.json similarity index 96% rename from keyboards/taleguers/taleguers75/info.json rename to keyboards/taleguers/taleguers75/keyboard.json index 7ebd8707b7c..5526c0b0a87 100644 --- a/keyboards/taleguers/taleguers75/info.json +++ b/keyboards/taleguers/taleguers75/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0075", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "E6", "B7", "C7", "C6", "D4", "D6", "D7", "B4", "D0", "D1", "F7"], "rows": ["B0", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/taleguers/taleguers75/rules.mk b/keyboards/taleguers/taleguers75/rules.mk deleted file mode 100644 index 7e8534dae5a..00000000000 --- a/keyboards/taleguers/taleguers75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/tanuki/info.json b/keyboards/tanuki/keyboard.json similarity index 94% rename from keyboards/tanuki/info.json rename to keyboards/tanuki/keyboard.json index e7bb9aa8985..cebcc4404e4 100644 --- a/keyboards/tanuki/info.json +++ b/keyboards/tanuki/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B3", "B2", "B6", "B5", "B4", "E6", "D7", "C6", "F4", "F5", "F6"], "rows": ["F7", "B1", "D4", "D0"] diff --git a/keyboards/tanuki/rules.mk b/keyboards/tanuki/rules.mk deleted file mode 100644 index 9047eadf714..00000000000 --- a/keyboards/tanuki/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -RGBLIGHT_ENABLE =yes # Enable keyboard underlight functionality -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no diff --git a/keyboards/team0110/p1800fl/info.json b/keyboards/team0110/p1800fl/keyboard.json similarity index 96% rename from keyboards/team0110/p1800fl/info.json rename to keyboards/team0110/p1800fl/keyboard.json index d329c6de293..d5a34de0494 100644 --- a/keyboards/team0110/p1800fl/info.json +++ b/keyboards/team0110/p1800fl/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x3EAE", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0", "B1", "B2", "B3", "D0", "D1", "D2"], "rows": ["B6", "B5", "B4", "D7", "D6", "D4"] diff --git a/keyboards/team0110/p1800fl/rules.mk b/keyboards/team0110/p1800fl/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/team0110/p1800fl/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/technika/info.json b/keyboards/technika/keyboard.json similarity index 95% rename from keyboards/technika/info.json rename to keyboards/technika/keyboard.json index 1b99728481e..303983dfb41 100644 --- a/keyboards/technika/info.json +++ b/keyboards/technika/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x6049", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A10", "A9", "A8", "B14", "B12", "B2", "B1", "B0", "A7", "A6", "A3", "B9", "B8", "B7"], "rows": ["B11", "B10", "A5", "A4"] diff --git a/keyboards/technika/rules.mk b/keyboards/technika/rules.mk deleted file mode 100644 index 4d4628146af..00000000000 --- a/keyboards/technika/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no - diff --git a/keyboards/teleport/numpad/info.json b/keyboards/teleport/numpad/keyboard.json similarity index 89% rename from keyboards/teleport/numpad/info.json rename to keyboards/teleport/numpad/keyboard.json index 50ab7d0d709..ace8e949e00 100644 --- a/keyboards/teleport/numpad/info.json +++ b/keyboards/teleport/numpad/keyboard.json @@ -7,6 +7,14 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F6", "F5", "F7", "F4"], "rows": ["D7", "D4", "D6", "B4", "B5"] diff --git a/keyboards/teleport/numpad/rules.mk b/keyboards/teleport/numpad/rules.mk deleted file mode 100644 index 1304f503911..00000000000 --- a/keyboards/teleport/numpad/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/tempo_turtle/bradpad/info.json b/keyboards/tempo_turtle/bradpad/keyboard.json similarity index 88% rename from keyboards/tempo_turtle/bradpad/info.json rename to keyboards/tempo_turtle/bradpad/keyboard.json index 7b6d03823a7..374dbeaaaf6 100644 --- a/keyboards/tempo_turtle/bradpad/info.json +++ b/keyboards/tempo_turtle/bradpad/keyboard.json @@ -4,6 +4,15 @@ "url": "https://tempoturtle.com", "maintainer": "wxyangf", "diode_direction": "ROW2COL", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "unicode": true + }, "matrix_pins": { "rows": ["B7", "D5", "C7", "D2", "D3"], "cols": ["D7", "E6", "B4", "F1"] diff --git a/keyboards/tempo_turtle/bradpad/rules.mk b/keyboards/tempo_turtle/bradpad/rules.mk deleted file mode 100644 index 7738ffff8b8..00000000000 --- a/keyboards/tempo_turtle/bradpad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes diff --git a/keyboards/tender/macrowo_pad/info.json b/keyboards/tender/macrowo_pad/keyboard.json similarity index 90% rename from keyboards/tender/macrowo_pad/info.json rename to keyboards/tender/macrowo_pad/keyboard.json index 39a2e87ca1b..53e22289f60 100644 --- a/keyboards/tender/macrowo_pad/info.json +++ b/keyboards/tender/macrowo_pad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0xE936", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["E6", "B4", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "rows": ["B5", "D7"] diff --git a/keyboards/tender/macrowo_pad/rules.mk b/keyboards/tender/macrowo_pad/rules.mk deleted file mode 100644 index a112ce1f160..00000000000 --- a/keyboards/tender/macrowo_pad/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = no # Enable support for EC11 Rotary Encoder diff --git a/keyboards/tenki/info.json b/keyboards/tenki/keyboard.json similarity index 91% rename from keyboards/tenki/info.json rename to keyboards/tenki/keyboard.json index 10e5a88d1c0..7c05c98ef7d 100644 --- a/keyboards/tenki/info.json +++ b/keyboards/tenki/keyboard.json @@ -30,6 +30,15 @@ "ws2812": { "pin": "D1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "D4", "D0"], "rows": ["B1", "B4", "F6", "B6", "B2"] diff --git a/keyboards/tenki/rules.mk b/keyboards/tenki/rules.mk deleted file mode 100644 index c4a40815c6d..00000000000 --- a/keyboards/tenki/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/terrazzo/info.json b/keyboards/terrazzo/keyboard.json similarity index 97% rename from keyboards/terrazzo/info.json rename to keyboards/terrazzo/keyboard.json index 53a497cfc4e..e2cfbfcfb16 100644 --- a/keyboards/terrazzo/info.json +++ b/keyboards/terrazzo/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x545A", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "led_matrix": true, + "mousekey": false, + "nkro": false, + "wpm": true + }, "matrix_pins": { "cols": ["D3", "F4", "F5", "F6", "F7", "B1"], "rows": ["D2", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "F0"] diff --git a/keyboards/terrazzo/rules.mk b/keyboards/terrazzo/rules.mk deleted file mode 100644 index e996c29fbc9..00000000000 --- a/keyboards/terrazzo/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LED_MATRIX_ENABLE = yes -ENCODER_ENABLE = yes -WPM_ENABLE = yes diff --git a/keyboards/tgr/910/info.json b/keyboards/tgr/910/keyboard.json similarity index 98% rename from keyboards/tgr/910/info.json rename to keyboards/tgr/910/keyboard.json index 28ea383f0d2..072eb07ea1a 100644 --- a/keyboards/tgr/910/info.json +++ b/keyboards/tgr/910/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x9100", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D7", "C2", "C3", "C4", "C5", "C6", "C7", "A7", "A6", "A5", "A4", "A3", "A1", "A0"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6"] diff --git a/keyboards/tgr/910/rules.mk b/keyboards/tgr/910/rules.mk deleted file mode 100644 index 51df0b642e1..00000000000 --- a/keyboards/tgr/910/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/tgr/910ce/info.json b/keyboards/tgr/910ce/keyboard.json similarity index 98% rename from keyboards/tgr/910ce/info.json rename to keyboards/tgr/910ce/keyboard.json index 63bb727570d..4d70a5b5db7 100644 --- a/keyboards/tgr/910ce/info.json +++ b/keyboards/tgr/910ce/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x910C", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B1", "B2", "B3", "B4", "B5", "B6"] diff --git a/keyboards/tgr/910ce/rules.mk b/keyboards/tgr/910ce/rules.mk deleted file mode 100644 index 7dd71d89ed7..00000000000 --- a/keyboards/tgr/910ce/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/tgr/alice/info.json b/keyboards/tgr/alice/keyboard.json similarity index 97% rename from keyboards/tgr/alice/info.json rename to keyboards/tgr/alice/keyboard.json index 722de6251ab..d78185106bf 100644 --- a/keyboards/tgr/alice/info.json +++ b/keyboards/tgr/alice/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x422E", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/tgr/alice/rules.mk b/keyboards/tgr/alice/rules.mk deleted file mode 100644 index 6b0cec85a44..00000000000 --- a/keyboards/tgr/alice/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/tgr/jane/v2/info.json b/keyboards/tgr/jane/v2/keyboard.json similarity index 99% rename from keyboards/tgr/jane/v2/info.json rename to keyboards/tgr/jane/v2/keyboard.json index cd1ff1f1ac0..dc36757eb5b 100644 --- a/keyboards/tgr/jane/v2/info.json +++ b/keyboards/tgr/jane/v2/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4A4E", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/tgr/jane/v2/rules.mk b/keyboards/tgr/jane/v2/rules.mk deleted file mode 100644 index 88711b21277..00000000000 --- a/keyboards/tgr/jane/v2/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = no diff --git a/keyboards/tgr/jane/v2ce/info.json b/keyboards/tgr/jane/v2ce/keyboard.json similarity index 99% rename from keyboards/tgr/jane/v2ce/info.json rename to keyboards/tgr/jane/v2ce/keyboard.json index df82cdc6cf9..107e2dee9e0 100644 --- a/keyboards/tgr/jane/v2ce/info.json +++ b/keyboards/tgr/jane/v2ce/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4A43", "device_version": "2.0.0" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] diff --git a/keyboards/tgr/jane/v2ce/rules.mk b/keyboards/tgr/jane/v2ce/rules.mk deleted file mode 100644 index 7663aa664fe..00000000000 --- a/keyboards/tgr/jane/v2ce/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow diff --git a/keyboards/tgr/tris/info.json b/keyboards/tgr/tris/keyboard.json similarity index 94% rename from keyboards/tgr/tris/info.json rename to keyboards/tgr/tris/keyboard.json index f7577757d95..7776c7b2c9c 100644 --- a/keyboards/tgr/tris/info.json +++ b/keyboards/tgr/tris/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x5452", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["A3", "A2", "A1", "A0"], "rows": ["B0", "B1", "B2", "B3", "B4", "B5"] diff --git a/keyboards/tgr/tris/rules.mk b/keyboards/tgr/tris/rules.mk deleted file mode 100644 index 51df0b642e1..00000000000 --- a/keyboards/tgr/tris/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes diff --git a/keyboards/the_royal/liminal/info.json b/keyboards/the_royal/liminal/keyboard.json similarity index 94% rename from keyboards/the_royal/liminal/info.json rename to keyboards/the_royal/liminal/keyboard.json index 046d535e4ab..c0fa5524ad0 100644 --- a/keyboards/the_royal/liminal/info.json +++ b/keyboards/the_royal/liminal/keyboard.json @@ -17,6 +17,15 @@ "ws2812": { "pin": "D4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["D6", "C4", "D3", "D2", "D1", "D0", "C2", "B0", "B1", "B2", "B3", "B4", "D5", "C5"], "rows": ["C6", "B6", "B7", "C7"] diff --git a/keyboards/the_royal/liminal/rules.mk b/keyboards/the_royal/liminal/rules.mk deleted file mode 100644 index a927de843cb..00000000000 --- a/keyboards/the_royal/liminal/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/the_royal/schwann/info.json b/keyboards/the_royal/schwann/keyboard.json similarity index 97% rename from keyboards/the_royal/schwann/info.json rename to keyboards/the_royal/schwann/keyboard.json index 5a0c4e50e58..dcb32312f95 100644 --- a/keyboards/the_royal/schwann/info.json +++ b/keyboards/the_royal/schwann/keyboard.json @@ -29,6 +29,15 @@ "ws2812": { "pin": "B3" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "D5", "D3", "D2", "C6", "B6", "B5", "B4", "D7", "D6", "D1"], "rows": ["F0", "F1", "F6", "C7"] diff --git a/keyboards/the_royal/schwann/rules.mk b/keyboards/the_royal/schwann/rules.mk deleted file mode 100644 index d7bdfe544b5..00000000000 --- a/keyboards/the_royal/schwann/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/thepanduuh/degenpad/info.json b/keyboards/thepanduuh/degenpad/keyboard.json similarity index 97% rename from keyboards/thepanduuh/degenpad/info.json rename to keyboards/thepanduuh/degenpad/keyboard.json index 4a5e844b50d..7a0edc21243 100644 --- a/keyboards/thepanduuh/degenpad/info.json +++ b/keyboards/thepanduuh/degenpad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x4447", "device_version": "1.0.0" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false + }, "matrix_pins": { "cols": ["F4", "F5", "B1", "D3"], "rows": ["D5", "D6", "D7", "B4", "B5", "B6"] diff --git a/keyboards/thepanduuh/degenpad/rules.mk b/keyboards/thepanduuh/degenpad/rules.mk deleted file mode 100644 index 39946d6840b..00000000000 --- a/keyboards/thepanduuh/degenpad/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary Encoder support diff --git a/keyboards/thevankeyboards/bananasplit/info.json b/keyboards/thevankeyboards/bananasplit/keyboard.json similarity index 99% rename from keyboards/thevankeyboards/bananasplit/info.json rename to keyboards/thevankeyboards/bananasplit/keyboard.json index 36fcc06af22..3b1d5c846dc 100644 --- a/keyboards/thevankeyboards/bananasplit/info.json +++ b/keyboards/thevankeyboards/bananasplit/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x8870", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F5", "B1", "F0", "F1", "F4", "B3", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["B0", "B2", "B4", "B5", "B6"] diff --git a/keyboards/thevankeyboards/bananasplit/rules.mk b/keyboards/thevankeyboards/bananasplit/rules.mk deleted file mode 100644 index f5b6814e29b..00000000000 --- a/keyboards/thevankeyboards/bananasplit/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes diff --git a/keyboards/thevankeyboards/caravan/info.json b/keyboards/thevankeyboards/caravan/keyboard.json similarity index 94% rename from keyboards/thevankeyboards/caravan/info.json rename to keyboards/thevankeyboards/caravan/keyboard.json index 781580bd866..595c7c9fc9c 100644 --- a/keyboards/thevankeyboards/caravan/info.json +++ b/keyboards/thevankeyboards/caravan/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8844", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F4", "F5", "B4", "B5", "B6", "B7", "D2", "D3", "D5", "D4", "D6"], "rows": ["B0", "B1", "B2", "B3"] diff --git a/keyboards/thevankeyboards/caravan/rules.mk b/keyboards/thevankeyboards/caravan/rules.mk deleted file mode 100644 index 5f2f28d2d25..00000000000 --- a/keyboards/thevankeyboards/caravan/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/thevankeyboards/jetvan/info.json b/keyboards/thevankeyboards/jetvan/keyboard.json similarity index 94% rename from keyboards/thevankeyboards/jetvan/info.json rename to keyboards/thevankeyboards/jetvan/keyboard.json index fc04a4c013f..5e1535a8ad1 100644 --- a/keyboards/thevankeyboards/jetvan/info.json +++ b/keyboards/thevankeyboards/jetvan/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "D0" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "D3", "D5", "D6", "B4", "B6", "F6", "F5", "F4", "F1", "F0", "B3"], "rows": ["D7", "B5", "F7", "D4"] diff --git a/keyboards/thevankeyboards/jetvan/rules.mk b/keyboards/thevankeyboards/jetvan/rules.mk deleted file mode 100644 index 725d8386824..00000000000 --- a/keyboards/thevankeyboards/jetvan/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/thevankeyboards/minivan/info.json b/keyboards/thevankeyboards/minivan/keyboard.json similarity index 98% rename from keyboards/thevankeyboards/minivan/info.json rename to keyboards/thevankeyboards/minivan/keyboard.json index cff65e6fed8..11684b6cf80 100644 --- a/keyboards/thevankeyboards/minivan/info.json +++ b/keyboards/thevankeyboards/minivan/keyboard.json @@ -15,6 +15,15 @@ "ws2812": { "pin": "D0" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "D3", "D5", "D6", "B4", "B6", "F6", "F5", "F4", "F1", "F0", "B3"], "rows": ["D7", "B5", "F7", "D4"] diff --git a/keyboards/thevankeyboards/minivan/rules.mk b/keyboards/thevankeyboards/minivan/rules.mk deleted file mode 100644 index b983ff075df..00000000000 --- a/keyboards/thevankeyboards/minivan/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable support for RGB LEDs diff --git a/keyboards/thevankeyboards/roadkit/info.json b/keyboards/thevankeyboards/roadkit/keyboard.json similarity index 92% rename from keyboards/thevankeyboards/roadkit/info.json rename to keyboards/thevankeyboards/roadkit/keyboard.json index 9323281a321..3b8a5b21591 100644 --- a/keyboards/thevankeyboards/roadkit/info.json +++ b/keyboards/thevankeyboards/roadkit/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x8846", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["F1", "F4", "D6", "D4"], "rows": ["F0", "F5", "D7", "B4"] diff --git a/keyboards/thevankeyboards/roadkit/rules.mk b/keyboards/thevankeyboards/roadkit/rules.mk deleted file mode 100644 index a75f1b96cbf..00000000000 --- a/keyboards/thevankeyboards/roadkit/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/tkc/california/info.json b/keyboards/tkc/california/keyboard.json similarity index 98% rename from keyboards/tkc/california/info.json rename to keyboards/tkc/california/keyboard.json index 731e65323ee..1d52466bbab 100644 --- a/keyboards/tkc/california/info.json +++ b/keyboards/tkc/california/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0009", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B5", "B4", "D7", "D6", "F7", "F6", "F5", "D5", "D1", "F4"], "rows": ["C7", "C6", "B6", "D4", "D3", "D0", "E6", "B0", "B1", "B2", "D2", "B3"] diff --git a/keyboards/tkc/california/rules.mk b/keyboards/tkc/california/rules.mk deleted file mode 100644 index b325f3f0c79..00000000000 --- a/keyboards/tkc/california/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/tkc/godspeed75/info.json b/keyboards/tkc/godspeed75/keyboard.json similarity index 96% rename from keyboards/tkc/godspeed75/info.json rename to keyboards/tkc/godspeed75/keyboard.json index 4776a9bab86..48cf06f3ca5 100644 --- a/keyboards/tkc/godspeed75/info.json +++ b/keyboards/tkc/godspeed75/keyboard.json @@ -26,6 +26,15 @@ "ws2812": { "pin": "A13" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "B12", "B13", "B14", "B15", "A8"], "rows": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "A9", "A10"] diff --git a/keyboards/tkc/godspeed75/rules.mk b/keyboards/tkc/godspeed75/rules.mk deleted file mode 100644 index 0098dc473ac..00000000000 --- a/keyboards/tkc/godspeed75/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - diff --git a/keyboards/tkc/m0lly/info.json b/keyboards/tkc/m0lly/keyboard.json similarity index 99% rename from keyboards/tkc/m0lly/info.json rename to keyboards/tkc/m0lly/keyboard.json index 462bc0f27b5..e37b9e7bb2a 100644 --- a/keyboards/tkc/m0lly/info.json +++ b/keyboards/tkc/m0lly/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "F5", "F6", "F7"], "rows": ["F2", "F1", "F0", "E1", "E0"] diff --git a/keyboards/tkc/m0lly/rules.mk b/keyboards/tkc/m0lly/rules.mk deleted file mode 100644 index 6d915f6d417..00000000000 --- a/keyboards/tkc/m0lly/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/tkc/tkc1800/info.json b/keyboards/tkc/tkc1800/keyboard.json similarity index 96% rename from keyboards/tkc/tkc1800/info.json rename to keyboards/tkc/tkc1800/keyboard.json index b99d4ca60f8..bdc6aa13a75 100644 --- a/keyboards/tkc/tkc1800/info.json +++ b/keyboards/tkc/tkc1800/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x0001", "device_version": "0.0.3" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "oled": true, + "rgblight": true + }, "matrix_pins": { "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "F5", "F6", "F7"], "rows": ["F4", "F3", "F2", "F1", "F0", "E1", "E0"] diff --git a/keyboards/tkc/tkc1800/rules.mk b/keyboards/tkc/tkc1800/rules.mk deleted file mode 100644 index fc74989daff..00000000000 --- a/keyboards/tkc/tkc1800/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes diff --git a/keyboards/tkc/tkl_ab87/info.json b/keyboards/tkc/tkl_ab87/keyboard.json similarity index 99% rename from keyboards/tkc/tkl_ab87/info.json rename to keyboards/tkc/tkl_ab87/keyboard.json index 0d464a2db9d..a3583c0d678 100644 --- a/keyboards/tkc/tkl_ab87/info.json +++ b/keyboards/tkc/tkl_ab87/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "E6", "F6", "F4"], "rows": ["B1", "F5", "F7", "B0", "B2", "B3"] diff --git a/keyboards/tkc/tkl_ab87/rules.mk b/keyboards/tkc/tkl_ab87/rules.mk deleted file mode 100644 index 45377383806..00000000000 --- a/keyboards/tkc/tkl_ab87/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/tmo50/info.json b/keyboards/tmo50/keyboard.json similarity index 96% rename from keyboards/tmo50/info.json rename to keyboards/tmo50/keyboard.json index ff3f95b223b..d3d4b15e63d 100644 --- a/keyboards/tmo50/info.json +++ b/keyboards/tmo50/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0050", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D1", "D4", "F0", "F1", "F4", "F5", "F6", "F7", "D6", "D7", "B4", "B5", "B6", "C6"], "rows": ["D5", "D3", "D2", "D0"] diff --git a/keyboards/tmo50/rules.mk b/keyboards/tmo50/rules.mk deleted file mode 100644 index 1955f1d315b..00000000000 --- a/keyboards/tmo50/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/toad/info.json b/keyboards/toad/keyboard.json similarity index 99% rename from keyboards/toad/info.json rename to keyboards/toad/keyboard.json index f0dccbfe5ad..edb45794556 100644 --- a/keyboards/toad/info.json +++ b/keyboards/toad/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6776", "device_version": "0.0.1" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "E6", "B7", "C7", "C6", "D4", "D6", "D7", "B4", "D0", "D1", "F7"], "rows": ["B0", "F6", "F5", "F4", "F1", "F0"] diff --git a/keyboards/toad/rules.mk b/keyboards/toad/rules.mk deleted file mode 100644 index 51c80ed6cf1..00000000000 --- a/keyboards/toad/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = no diff --git a/keyboards/tokyokeyboard/tokyo60/info.json b/keyboards/tokyokeyboard/tokyo60/keyboard.json similarity index 95% rename from keyboards/tokyokeyboard/tokyo60/info.json rename to keyboards/tokyokeyboard/tokyo60/keyboard.json index e0f756121ca..78fdcae0e37 100644 --- a/keyboards/tokyokeyboard/tokyo60/info.json +++ b/keyboards/tokyokeyboard/tokyo60/keyboard.json @@ -9,6 +9,16 @@ "device_version": "0.0.1", "max_power": 100 }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B2", "B5", "B4", "D7", "D6", "B3"], "rows": ["D0", "D1", "D2", "D3", "D5"] diff --git a/keyboards/tokyokeyboard/tokyo60/rules.mk b/keyboards/tokyokeyboard/tokyo60/rules.mk deleted file mode 100644 index f3d19b1d395..00000000000 --- a/keyboards/tokyokeyboard/tokyo60/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -AUDIO_ENABLE = no # Audio output -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable RGB light diff --git a/keyboards/tominabox1/adalyn/info.json b/keyboards/tominabox1/adalyn/keyboard.json similarity index 93% rename from keyboards/tominabox1/adalyn/info.json rename to keyboards/tominabox1/adalyn/keyboard.json index ae66ef50fdb..f896dd4ab1c 100644 --- a/keyboards/tominabox1/adalyn/info.json +++ b/keyboards/tominabox1/adalyn/keyboard.json @@ -8,6 +8,14 @@ "pid": "0x6164", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["D7", "B4", "B5", "B6", "C6", "F7", "F6", "F5", "F4", "F1"], "rows": ["C7", "D6", "B7", "B3"] diff --git a/keyboards/tominabox1/adalyn/rules.mk b/keyboards/tominabox1/adalyn/rules.mk deleted file mode 100644 index 92299c80b9c..00000000000 --- a/keyboards/tominabox1/adalyn/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover - diff --git a/keyboards/tominabox1/bigboy/info.json b/keyboards/tominabox1/bigboy/keyboard.json similarity index 89% rename from keyboards/tominabox1/bigboy/info.json rename to keyboards/tominabox1/bigboy/keyboard.json index 8d8e26dc551..a25189f35eb 100644 --- a/keyboards/tominabox1/bigboy/info.json +++ b/keyboards/tominabox1/bigboy/keyboard.json @@ -34,6 +34,15 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "direct": [ ["D0", "B1", "B0"], diff --git a/keyboards/tominabox1/bigboy/rules.mk b/keyboards/tominabox1/bigboy/rules.mk deleted file mode 100755 index 28fb3e866d6..00000000000 --- a/keyboards/tominabox1/bigboy/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes diff --git a/keyboards/tominabox1/qaz/info.json b/keyboards/tominabox1/qaz/keyboard.json similarity index 96% rename from keyboards/tominabox1/qaz/info.json rename to keyboards/tominabox1/qaz/keyboard.json index 1ddb07e6212..691a1129bc7 100644 --- a/keyboards/tominabox1/qaz/info.json +++ b/keyboards/tominabox1/qaz/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "F7" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B4", "D3", "D2", "F5", "B5", "F6", "D7"], "rows": ["F4", "D4", "C6", "E6", "D1", "D0"] diff --git a/keyboards/tominabox1/qaz/rules.mk b/keyboards/tominabox1/qaz/rules.mk deleted file mode 100644 index b851d0ab392..00000000000 --- a/keyboards/tominabox1/qaz/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/tr60w/info.json b/keyboards/tr60w/keyboard.json similarity index 95% rename from keyboards/tr60w/info.json rename to keyboards/tr60w/keyboard.json index ba0ce45233c..6fa5914d6cf 100644 --- a/keyboards/tr60w/info.json +++ b/keyboards/tr60w/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x4140", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F5", "F4", "F1", "F0", "B0", "D5", "D3", "D6", "D7", "B4", "B5", "B6", "C6", "D2"], "rows": ["D0", "D1", "B1", "B2", "E6", "B3"] diff --git a/keyboards/tr60w/rules.mk b/keyboards/tr60w/rules.mk deleted file mode 100644 index 3d5cb57ad50..00000000000 --- a/keyboards/tr60w/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/trashman/ketch/info.json b/keyboards/trashman/ketch/keyboard.json similarity index 98% rename from keyboards/trashman/ketch/info.json rename to keyboards/trashman/ketch/keyboard.json index a674acb2759..6e042eee0b1 100644 --- a/keyboards/trashman/ketch/info.json +++ b/keyboards/trashman/ketch/keyboard.json @@ -28,6 +28,15 @@ "ws2812": { "pin": "F4" }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"], "rows": ["F5", "F1", "F0", "F7", "B6", "F6"] diff --git a/keyboards/trashman/ketch/rules.mk b/keyboards/trashman/ketch/rules.mk deleted file mode 100644 index 5525d13f88b..00000000000 --- a/keyboards/trashman/ketch/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/treasure/type9/info.json b/keyboards/treasure/type9/keyboard.json similarity index 84% rename from keyboards/treasure/type9/info.json rename to keyboards/treasure/type9/keyboard.json index cab118fc8ef..2970c012967 100644 --- a/keyboards/treasure/type9/info.json +++ b/keyboards/treasure/type9/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": false, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["D1", "D0", "D4"], "rows": ["E6", "D7", "C6"] diff --git a/keyboards/treasure/type9/rules.mk b/keyboards/treasure/type9/rules.mk deleted file mode 100644 index fab0de3b945..00000000000 --- a/keyboards/treasure/type9/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/tunks/ergo33/info.json b/keyboards/tunks/ergo33/keyboard.json similarity index 92% rename from keyboards/tunks/ergo33/info.json rename to keyboards/tunks/ergo33/keyboard.json index 213907999a0..2bace9cf009 100644 --- a/keyboards/tunks/ergo33/info.json +++ b/keyboards/tunks/ergo33/keyboard.json @@ -25,6 +25,16 @@ "ws2812": { "pin": "D4" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6"], "rows": ["F0", "F1", "B5", "B4", "D7"] diff --git a/keyboards/tunks/ergo33/rules.mk b/keyboards/tunks/ergo33/rules.mk deleted file mode 100644 index bff15770a8e..00000000000 --- a/keyboards/tunks/ergo33/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -MOUSEKEY_ENABLE = yes # Mouse keys -COMMAND_ENABLE = no # Commands for debug and configuration -CONSOLE_ENABLE = no # Console for debug -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes # Rotary encoders From 1f8f0f70a2beacdc6d085d2541fe498300b1eaab Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:36:23 -0700 Subject: [PATCH 101/107] Linworks FAve 87H Keymap Refactor/Bugfix (#23292) * Refactor keymaps - use QMK-native keycode aliases - grid-align keycodes [refactor] * Correct key sequence Moves the keycode representing the right half of a split Backspace to the number row, after the left half/2u Backspace keycode. Updates the keycode grid alignment to maintain readability. [bugfix] --- .../linworks/fave87h/keymaps/default/keymap.c | 24 +++++----- .../linworks/fave87h/keymaps/via/keymap.c | 48 +++++++++---------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/keyboards/linworks/fave87h/keymaps/default/keymap.c b/keyboards/linworks/fave87h/keymaps/default/keymap.c index 639f382cde2..f669452b2e5 100644 --- a/keyboards/linworks/fave87h/keymaps/default/keymap.c +++ b/keyboards/linworks/fave87h/keymaps/default/keymap.c @@ -22,21 +22,21 @@ enum layers { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_LAYER0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_DEL, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ), [_LAYER1] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EE_CLR, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_AUDIO_VOL_UP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MEDIA_PREV_TRACK, KC_AUDIO_VOL_DOWN, KC_MEDIA_NEXT_TRACK + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EE_CLR, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT ) }; diff --git a/keyboards/linworks/fave87h/keymaps/via/keymap.c b/keyboards/linworks/fave87h/keymaps/via/keymap.c index fe366829a73..1798170c136 100644 --- a/keyboards/linworks/fave87h/keymaps/via/keymap.c +++ b/keyboards/linworks/fave87h/keymaps/via/keymap.c @@ -24,39 +24,39 @@ enum layers { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_LAYER0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_DEL, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ), [_LAYER1] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EE_CLR, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_AUDIO_VOL_UP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MEDIA_PREV_TRACK, KC_AUDIO_VOL_DOWN, KC_MEDIA_NEXT_TRACK + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EE_CLR, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT ), [_LAYER2] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), [_LAYER3] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ) }; From bbe0c515f883af463f50acaad79bd62a82e68922 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Fri, 15 Mar 2024 17:30:16 -0700 Subject: [PATCH 102/107] KPRepublic JJ50 rev1 Refactor (#23294) * Move `kprepublic/jj50` to `kprepublic/jj50/rev1` [chore] * Add layout/matrix diagram [docs] * Add `LAYOUT_ortho_5x12_1x2u_c` [enhancement] * Add `LAYOUT_ortho_5x12_1x2u_l` [enhancement] * Add `LAYOUT_ortho_5x12_1x2u_r` [enhancement] * Add `LAYOUT_ortho_5x12_2x2u` [enhancement] * Convert `rules.mk` to data driven [chore] * Remove `console` and `command` from keyboard level [chore] * Rename `info.json` to `keyboard.json` Also deletes `rules.mk` as it's no longer needed. [chore] [enhancement] --- data/mappings/keyboard_aliases.hjson | 4 + keyboards/kprepublic/jj50/info.json | 118 ------ keyboards/kprepublic/jj50/rev1/keyboard.json | 396 ++++++++++++++++++ .../kprepublic/jj50/rev1/matrix_diagram.md | 21 + .../kprepublic/jj50/{ => rev1}/readme.md | 10 +- keyboards/kprepublic/jj50/rules.mk | 13 +- 6 files changed, 427 insertions(+), 135 deletions(-) delete mode 100644 keyboards/kprepublic/jj50/info.json create mode 100644 keyboards/kprepublic/jj50/rev1/keyboard.json create mode 100644 keyboards/kprepublic/jj50/rev1/matrix_diagram.md rename keyboards/kprepublic/jj50/{ => rev1}/readme.md (81%) diff --git a/data/mappings/keyboard_aliases.hjson b/data/mappings/keyboard_aliases.hjson index 29a7a719f38..8508c87a3ba 100644 --- a/data/mappings/keyboard_aliases.hjson +++ b/data/mappings/keyboard_aliases.hjson @@ -1518,5 +1518,9 @@ // Moved during 2023 Q4 cycle "ymdk/melody96": { "target": "ymdk/melody96/soldered" + }, + // Moved during 2024 Q2 cycle + "kprepublic/jj50": { + "target": "kprepublic/jj50/rev1" } } diff --git a/keyboards/kprepublic/jj50/info.json b/keyboards/kprepublic/jj50/info.json deleted file mode 100644 index 492d106f21e..00000000000 --- a/keyboards/kprepublic/jj50/info.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "keyboard_name": "JJ50", - "manufacturer": "KPrepublic", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0x4B50", - "pid": "0x0050", - "device_version": "2.0.0" - }, - "matrix_pins": { - "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4"], - "rows": ["B0", "B1", "B2", "B3", "B4"] - }, - "diode_direction": "COL2ROW", - "backlight": { - "pin": "D4", - "levels": 12, - "breathing": true - }, - "rgblight": { - "hue_steps": 12, - "saturation_steps": 15, - "brightness_steps": 18, - "led_count": 12, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "ws2812": { - "driver": "i2c" - }, - "processor": "atmega32a", - "bootloader": "bootloadhid", - "layout_aliases": { - "LAYOUT": "LAYOUT_ortho_5x12" - }, - "community_layouts": ["ortho_5x12"], - "layouts": { - "LAYOUT_ortho_5x12": { - "layout": [ - {"matrix": [2, 11], "x": 0, "y": 0}, - {"matrix": [2, 10], "x": 1, "y": 0}, - {"matrix": [2, 9], "x": 2, "y": 0}, - {"matrix": [2, 8], "x": 3, "y": 0}, - {"matrix": [2, 4], "x": 4, "y": 0}, - {"matrix": [2, 5], "x": 5, "y": 0}, - {"matrix": [2, 6], "x": 6, "y": 0}, - {"matrix": [2, 7], "x": 7, "y": 0}, - {"matrix": [2, 3], "x": 8, "y": 0}, - {"matrix": [2, 2], "x": 9, "y": 0}, - {"matrix": [2, 1], "x": 10, "y": 0}, - {"matrix": [2, 0], "x": 11, "y": 0}, - - {"matrix": [0, 11], "x": 0, "y": 1}, - {"matrix": [0, 10], "x": 1, "y": 1}, - {"matrix": [0, 9], "x": 2, "y": 1}, - {"matrix": [0, 8], "x": 3, "y": 1}, - {"matrix": [0, 4], "x": 4, "y": 1}, - {"matrix": [0, 5], "x": 5, "y": 1}, - {"matrix": [0, 6], "x": 6, "y": 1}, - {"matrix": [0, 7], "x": 7, "y": 1}, - {"matrix": [0, 3], "x": 8, "y": 1}, - {"matrix": [0, 2], "x": 9, "y": 1}, - {"matrix": [0, 1], "x": 10, "y": 1}, - {"matrix": [0, 0], "x": 11, "y": 1}, - - {"matrix": [1, 11], "x": 0, "y": 2}, - {"matrix": [1, 10], "x": 1, "y": 2}, - {"matrix": [1, 9], "x": 2, "y": 2}, - {"matrix": [1, 8], "x": 3, "y": 2}, - {"matrix": [1, 4], "x": 4, "y": 2}, - {"matrix": [1, 5], "x": 5, "y": 2}, - {"matrix": [1, 6], "x": 6, "y": 2}, - {"matrix": [1, 7], "x": 7, "y": 2}, - {"matrix": [1, 3], "x": 8, "y": 2}, - {"matrix": [1, 2], "x": 9, "y": 2}, - {"matrix": [1, 1], "x": 10, "y": 2}, - {"matrix": [1, 0], "x": 11, "y": 2}, - - {"matrix": [3, 11], "x": 0, "y": 3}, - {"matrix": [3, 10], "x": 1, "y": 3}, - {"matrix": [3, 9], "x": 2, "y": 3}, - {"matrix": [3, 8], "x": 3, "y": 3}, - {"matrix": [3, 4], "x": 4, "y": 3}, - {"matrix": [3, 5], "x": 5, "y": 3}, - {"matrix": [3, 6], "x": 6, "y": 3}, - {"matrix": [3, 7], "x": 7, "y": 3}, - {"matrix": [3, 3], "x": 8, "y": 3}, - {"matrix": [3, 2], "x": 9, "y": 3}, - {"matrix": [3, 1], "x": 10, "y": 3}, - {"matrix": [3, 0], "x": 11, "y": 3}, - - {"matrix": [4, 11], "x": 0, "y": 4}, - {"matrix": [4, 10], "x": 1, "y": 4}, - {"matrix": [4, 9], "x": 2, "y": 4}, - {"matrix": [4, 8], "x": 3, "y": 4}, - {"matrix": [4, 4], "x": 4, "y": 4}, - {"matrix": [4, 5], "x": 5, "y": 4}, - {"matrix": [4, 6], "x": 6, "y": 4}, - {"matrix": [4, 7], "x": 7, "y": 4}, - {"matrix": [4, 3], "x": 8, "y": 4}, - {"matrix": [4, 2], "x": 9, "y": 4}, - {"matrix": [4, 1], "x": 10, "y": 4}, - {"matrix": [4, 0], "x": 11, "y": 4} - ] - } - } -} diff --git a/keyboards/kprepublic/jj50/rev1/keyboard.json b/keyboards/kprepublic/jj50/rev1/keyboard.json new file mode 100644 index 00000000000..c9f191ef9cb --- /dev/null +++ b/keyboards/kprepublic/jj50/rev1/keyboard.json @@ -0,0 +1,396 @@ +{ + "keyboard_name": "JJ50 rev1", + "manufacturer": "KPrepublic", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0x4B50", + "pid": "0x0050", + "device_version": "2.0.0" + }, + "matrix_pins": { + "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4"], + "rows": ["B0", "B1", "B2", "B3", "B4"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "mousekey": false, + "extrakey": true, + "nkro": false, + "backlight": true, + "rgblight": true + }, + "build": { + "lto": true + }, + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, + "rgblight": { + "hue_steps": 12, + "saturation_steps": 15, + "brightness_steps": 18, + "led_count": 12, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "ws2812": { + "driver": "i2c" + }, + "processor": "atmega32a", + "bootloader": "bootloadhid", + "layout_aliases": { + "LAYOUT": "LAYOUT_ortho_5x12" + }, + "community_layouts": ["ortho_5x12"], + "layouts": { + "LAYOUT_ortho_5x12": { + "layout": [ + {"matrix": [2, 11], "x": 0, "y": 0}, + {"matrix": [2, 10], "x": 1, "y": 0}, + {"matrix": [2, 9], "x": 2, "y": 0}, + {"matrix": [2, 8], "x": 3, "y": 0}, + {"matrix": [2, 4], "x": 4, "y": 0}, + {"matrix": [2, 5], "x": 5, "y": 0}, + {"matrix": [2, 6], "x": 6, "y": 0}, + {"matrix": [2, 7], "x": 7, "y": 0}, + {"matrix": [2, 3], "x": 8, "y": 0}, + {"matrix": [2, 2], "x": 9, "y": 0}, + {"matrix": [2, 1], "x": 10, "y": 0}, + {"matrix": [2, 0], "x": 11, "y": 0}, + + {"matrix": [0, 11], "x": 0, "y": 1}, + {"matrix": [0, 10], "x": 1, "y": 1}, + {"matrix": [0, 9], "x": 2, "y": 1}, + {"matrix": [0, 8], "x": 3, "y": 1}, + {"matrix": [0, 4], "x": 4, "y": 1}, + {"matrix": [0, 5], "x": 5, "y": 1}, + {"matrix": [0, 6], "x": 6, "y": 1}, + {"matrix": [0, 7], "x": 7, "y": 1}, + {"matrix": [0, 3], "x": 8, "y": 1}, + {"matrix": [0, 2], "x": 9, "y": 1}, + {"matrix": [0, 1], "x": 10, "y": 1}, + {"matrix": [0, 0], "x": 11, "y": 1}, + + {"matrix": [1, 11], "x": 0, "y": 2}, + {"matrix": [1, 10], "x": 1, "y": 2}, + {"matrix": [1, 9], "x": 2, "y": 2}, + {"matrix": [1, 8], "x": 3, "y": 2}, + {"matrix": [1, 4], "x": 4, "y": 2}, + {"matrix": [1, 5], "x": 5, "y": 2}, + {"matrix": [1, 6], "x": 6, "y": 2}, + {"matrix": [1, 7], "x": 7, "y": 2}, + {"matrix": [1, 3], "x": 8, "y": 2}, + {"matrix": [1, 2], "x": 9, "y": 2}, + {"matrix": [1, 1], "x": 10, "y": 2}, + {"matrix": [1, 0], "x": 11, "y": 2}, + + {"matrix": [3, 11], "x": 0, "y": 3}, + {"matrix": [3, 10], "x": 1, "y": 3}, + {"matrix": [3, 9], "x": 2, "y": 3}, + {"matrix": [3, 8], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 3], "x": 8, "y": 3}, + {"matrix": [3, 2], "x": 9, "y": 3}, + {"matrix": [3, 1], "x": 10, "y": 3}, + {"matrix": [3, 0], "x": 11, "y": 3}, + + {"matrix": [4, 11], "x": 0, "y": 4}, + {"matrix": [4, 10], "x": 1, "y": 4}, + {"matrix": [4, 9], "x": 2, "y": 4}, + {"matrix": [4, 8], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4}, + {"matrix": [4, 5], "x": 5, "y": 4}, + {"matrix": [4, 6], "x": 6, "y": 4}, + {"matrix": [4, 7], "x": 7, "y": 4}, + {"matrix": [4, 3], "x": 8, "y": 4}, + {"matrix": [4, 2], "x": 9, "y": 4}, + {"matrix": [4, 1], "x": 10, "y": 4}, + {"matrix": [4, 0], "x": 11, "y": 4} + ] + }, + "LAYOUT_ortho_5x12_1x2u_c": { + "layout": [ + {"matrix": [2, 11], "x": 0, "y": 0}, + {"matrix": [2, 10], "x": 1, "y": 0}, + {"matrix": [2, 9], "x": 2, "y": 0}, + {"matrix": [2, 8], "x": 3, "y": 0}, + {"matrix": [2, 4], "x": 4, "y": 0}, + {"matrix": [2, 5], "x": 5, "y": 0}, + {"matrix": [2, 6], "x": 6, "y": 0}, + {"matrix": [2, 7], "x": 7, "y": 0}, + {"matrix": [2, 3], "x": 8, "y": 0}, + {"matrix": [2, 2], "x": 9, "y": 0}, + {"matrix": [2, 1], "x": 10, "y": 0}, + {"matrix": [2, 0], "x": 11, "y": 0}, + + {"matrix": [0, 11], "x": 0, "y": 1}, + {"matrix": [0, 10], "x": 1, "y": 1}, + {"matrix": [0, 9], "x": 2, "y": 1}, + {"matrix": [0, 8], "x": 3, "y": 1}, + {"matrix": [0, 4], "x": 4, "y": 1}, + {"matrix": [0, 5], "x": 5, "y": 1}, + {"matrix": [0, 6], "x": 6, "y": 1}, + {"matrix": [0, 7], "x": 7, "y": 1}, + {"matrix": [0, 3], "x": 8, "y": 1}, + {"matrix": [0, 2], "x": 9, "y": 1}, + {"matrix": [0, 1], "x": 10, "y": 1}, + {"matrix": [0, 0], "x": 11, "y": 1}, + + {"matrix": [1, 11], "x": 0, "y": 2}, + {"matrix": [1, 10], "x": 1, "y": 2}, + {"matrix": [1, 9], "x": 2, "y": 2}, + {"matrix": [1, 8], "x": 3, "y": 2}, + {"matrix": [1, 4], "x": 4, "y": 2}, + {"matrix": [1, 5], "x": 5, "y": 2}, + {"matrix": [1, 6], "x": 6, "y": 2}, + {"matrix": [1, 7], "x": 7, "y": 2}, + {"matrix": [1, 3], "x": 8, "y": 2}, + {"matrix": [1, 2], "x": 9, "y": 2}, + {"matrix": [1, 1], "x": 10, "y": 2}, + {"matrix": [1, 0], "x": 11, "y": 2}, + + {"matrix": [3, 11], "x": 0, "y": 3}, + {"matrix": [3, 10], "x": 1, "y": 3}, + {"matrix": [3, 9], "x": 2, "y": 3}, + {"matrix": [3, 8], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 3], "x": 8, "y": 3}, + {"matrix": [3, 2], "x": 9, "y": 3}, + {"matrix": [3, 1], "x": 10, "y": 3}, + {"matrix": [3, 0], "x": 11, "y": 3}, + + {"matrix": [4, 11], "x": 0, "y": 4}, + {"matrix": [4, 10], "x": 1, "y": 4}, + {"matrix": [4, 9], "x": 2, "y": 4}, + {"matrix": [4, 8], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4}, + {"matrix": [4, 5], "x": 5, "y": 4, "w": 2}, + {"matrix": [4, 7], "x": 7, "y": 4}, + {"matrix": [4, 3], "x": 8, "y": 4}, + {"matrix": [4, 2], "x": 9, "y": 4}, + {"matrix": [4, 1], "x": 10, "y": 4}, + {"matrix": [4, 0], "x": 11, "y": 4} + ] + }, + "LAYOUT_ortho_5x12_1x2u_l": { + "layout": [ + {"matrix": [2, 11], "x": 0, "y": 0}, + {"matrix": [2, 10], "x": 1, "y": 0}, + {"matrix": [2, 9], "x": 2, "y": 0}, + {"matrix": [2, 8], "x": 3, "y": 0}, + {"matrix": [2, 4], "x": 4, "y": 0}, + {"matrix": [2, 5], "x": 5, "y": 0}, + {"matrix": [2, 6], "x": 6, "y": 0}, + {"matrix": [2, 7], "x": 7, "y": 0}, + {"matrix": [2, 3], "x": 8, "y": 0}, + {"matrix": [2, 2], "x": 9, "y": 0}, + {"matrix": [2, 1], "x": 10, "y": 0}, + {"matrix": [2, 0], "x": 11, "y": 0}, + + {"matrix": [0, 11], "x": 0, "y": 1}, + {"matrix": [0, 10], "x": 1, "y": 1}, + {"matrix": [0, 9], "x": 2, "y": 1}, + {"matrix": [0, 8], "x": 3, "y": 1}, + {"matrix": [0, 4], "x": 4, "y": 1}, + {"matrix": [0, 5], "x": 5, "y": 1}, + {"matrix": [0, 6], "x": 6, "y": 1}, + {"matrix": [0, 7], "x": 7, "y": 1}, + {"matrix": [0, 3], "x": 8, "y": 1}, + {"matrix": [0, 2], "x": 9, "y": 1}, + {"matrix": [0, 1], "x": 10, "y": 1}, + {"matrix": [0, 0], "x": 11, "y": 1}, + + {"matrix": [1, 11], "x": 0, "y": 2}, + {"matrix": [1, 10], "x": 1, "y": 2}, + {"matrix": [1, 9], "x": 2, "y": 2}, + {"matrix": [1, 8], "x": 3, "y": 2}, + {"matrix": [1, 4], "x": 4, "y": 2}, + {"matrix": [1, 5], "x": 5, "y": 2}, + {"matrix": [1, 6], "x": 6, "y": 2}, + {"matrix": [1, 7], "x": 7, "y": 2}, + {"matrix": [1, 3], "x": 8, "y": 2}, + {"matrix": [1, 2], "x": 9, "y": 2}, + {"matrix": [1, 1], "x": 10, "y": 2}, + {"matrix": [1, 0], "x": 11, "y": 2}, + + {"matrix": [3, 11], "x": 0, "y": 3}, + {"matrix": [3, 10], "x": 1, "y": 3}, + {"matrix": [3, 9], "x": 2, "y": 3}, + {"matrix": [3, 8], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 3], "x": 8, "y": 3}, + {"matrix": [3, 2], "x": 9, "y": 3}, + {"matrix": [3, 1], "x": 10, "y": 3}, + {"matrix": [3, 0], "x": 11, "y": 3}, + + {"matrix": [4, 11], "x": 0, "y": 4}, + {"matrix": [4, 10], "x": 1, "y": 4}, + {"matrix": [4, 9], "x": 2, "y": 4}, + {"matrix": [4, 8], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4, "w": 2}, + {"matrix": [4, 6], "x": 6, "y": 4}, + {"matrix": [4, 7], "x": 7, "y": 4}, + {"matrix": [4, 3], "x": 8, "y": 4}, + {"matrix": [4, 2], "x": 9, "y": 4}, + {"matrix": [4, 1], "x": 10, "y": 4}, + {"matrix": [4, 0], "x": 11, "y": 4} + ] + }, + "LAYOUT_ortho_5x12_1x2u_r": { + "layout": [ + {"matrix": [2, 11], "x": 0, "y": 0}, + {"matrix": [2, 10], "x": 1, "y": 0}, + {"matrix": [2, 9], "x": 2, "y": 0}, + {"matrix": [2, 8], "x": 3, "y": 0}, + {"matrix": [2, 4], "x": 4, "y": 0}, + {"matrix": [2, 5], "x": 5, "y": 0}, + {"matrix": [2, 6], "x": 6, "y": 0}, + {"matrix": [2, 7], "x": 7, "y": 0}, + {"matrix": [2, 3], "x": 8, "y": 0}, + {"matrix": [2, 2], "x": 9, "y": 0}, + {"matrix": [2, 1], "x": 10, "y": 0}, + {"matrix": [2, 0], "x": 11, "y": 0}, + + {"matrix": [0, 11], "x": 0, "y": 1}, + {"matrix": [0, 10], "x": 1, "y": 1}, + {"matrix": [0, 9], "x": 2, "y": 1}, + {"matrix": [0, 8], "x": 3, "y": 1}, + {"matrix": [0, 4], "x": 4, "y": 1}, + {"matrix": [0, 5], "x": 5, "y": 1}, + {"matrix": [0, 6], "x": 6, "y": 1}, + {"matrix": [0, 7], "x": 7, "y": 1}, + {"matrix": [0, 3], "x": 8, "y": 1}, + {"matrix": [0, 2], "x": 9, "y": 1}, + {"matrix": [0, 1], "x": 10, "y": 1}, + {"matrix": [0, 0], "x": 11, "y": 1}, + + {"matrix": [1, 11], "x": 0, "y": 2}, + {"matrix": [1, 10], "x": 1, "y": 2}, + {"matrix": [1, 9], "x": 2, "y": 2}, + {"matrix": [1, 8], "x": 3, "y": 2}, + {"matrix": [1, 4], "x": 4, "y": 2}, + {"matrix": [1, 5], "x": 5, "y": 2}, + {"matrix": [1, 6], "x": 6, "y": 2}, + {"matrix": [1, 7], "x": 7, "y": 2}, + {"matrix": [1, 3], "x": 8, "y": 2}, + {"matrix": [1, 2], "x": 9, "y": 2}, + {"matrix": [1, 1], "x": 10, "y": 2}, + {"matrix": [1, 0], "x": 11, "y": 2}, + + {"matrix": [3, 11], "x": 0, "y": 3}, + {"matrix": [3, 10], "x": 1, "y": 3}, + {"matrix": [3, 9], "x": 2, "y": 3}, + {"matrix": [3, 8], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 3], "x": 8, "y": 3}, + {"matrix": [3, 2], "x": 9, "y": 3}, + {"matrix": [3, 1], "x": 10, "y": 3}, + {"matrix": [3, 0], "x": 11, "y": 3}, + + {"matrix": [4, 11], "x": 0, "y": 4}, + {"matrix": [4, 10], "x": 1, "y": 4}, + {"matrix": [4, 9], "x": 2, "y": 4}, + {"matrix": [4, 8], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4}, + {"matrix": [4, 5], "x": 5, "y": 4}, + {"matrix": [4, 6], "x": 6, "y": 4, "w": 2}, + {"matrix": [4, 3], "x": 8, "y": 4}, + {"matrix": [4, 2], "x": 9, "y": 4}, + {"matrix": [4, 1], "x": 10, "y": 4}, + {"matrix": [4, 0], "x": 11, "y": 4} + ] + }, + "LAYOUT_ortho_5x12_2x2u": { + "layout": [ + {"matrix": [2, 11], "x": 0, "y": 0}, + {"matrix": [2, 10], "x": 1, "y": 0}, + {"matrix": [2, 9], "x": 2, "y": 0}, + {"matrix": [2, 8], "x": 3, "y": 0}, + {"matrix": [2, 4], "x": 4, "y": 0}, + {"matrix": [2, 5], "x": 5, "y": 0}, + {"matrix": [2, 6], "x": 6, "y": 0}, + {"matrix": [2, 7], "x": 7, "y": 0}, + {"matrix": [2, 3], "x": 8, "y": 0}, + {"matrix": [2, 2], "x": 9, "y": 0}, + {"matrix": [2, 1], "x": 10, "y": 0}, + {"matrix": [2, 0], "x": 11, "y": 0}, + + {"matrix": [0, 11], "x": 0, "y": 1}, + {"matrix": [0, 10], "x": 1, "y": 1}, + {"matrix": [0, 9], "x": 2, "y": 1}, + {"matrix": [0, 8], "x": 3, "y": 1}, + {"matrix": [0, 4], "x": 4, "y": 1}, + {"matrix": [0, 5], "x": 5, "y": 1}, + {"matrix": [0, 6], "x": 6, "y": 1}, + {"matrix": [0, 7], "x": 7, "y": 1}, + {"matrix": [0, 3], "x": 8, "y": 1}, + {"matrix": [0, 2], "x": 9, "y": 1}, + {"matrix": [0, 1], "x": 10, "y": 1}, + {"matrix": [0, 0], "x": 11, "y": 1}, + + {"matrix": [1, 11], "x": 0, "y": 2}, + {"matrix": [1, 10], "x": 1, "y": 2}, + {"matrix": [1, 9], "x": 2, "y": 2}, + {"matrix": [1, 8], "x": 3, "y": 2}, + {"matrix": [1, 4], "x": 4, "y": 2}, + {"matrix": [1, 5], "x": 5, "y": 2}, + {"matrix": [1, 6], "x": 6, "y": 2}, + {"matrix": [1, 7], "x": 7, "y": 2}, + {"matrix": [1, 3], "x": 8, "y": 2}, + {"matrix": [1, 2], "x": 9, "y": 2}, + {"matrix": [1, 1], "x": 10, "y": 2}, + {"matrix": [1, 0], "x": 11, "y": 2}, + + {"matrix": [3, 11], "x": 0, "y": 3}, + {"matrix": [3, 10], "x": 1, "y": 3}, + {"matrix": [3, 9], "x": 2, "y": 3}, + {"matrix": [3, 8], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 3], "x": 8, "y": 3}, + {"matrix": [3, 2], "x": 9, "y": 3}, + {"matrix": [3, 1], "x": 10, "y": 3}, + {"matrix": [3, 0], "x": 11, "y": 3}, + + {"matrix": [4, 11], "x": 0, "y": 4}, + {"matrix": [4, 10], "x": 1, "y": 4}, + {"matrix": [4, 9], "x": 2, "y": 4}, + {"matrix": [4, 8], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4, "w": 2}, + {"matrix": [4, 6], "x": 6, "y": 4, "w": 2}, + {"matrix": [4, 3], "x": 8, "y": 4}, + {"matrix": [4, 2], "x": 9, "y": 4}, + {"matrix": [4, 1], "x": 10, "y": 4}, + {"matrix": [4, 0], "x": 11, "y": 4} + ] + } + } +} diff --git a/keyboards/kprepublic/jj50/rev1/matrix_diagram.md b/keyboards/kprepublic/jj50/rev1/matrix_diagram.md new file mode 100644 index 00000000000..c13292d3361 --- /dev/null +++ b/keyboards/kprepublic/jj50/rev1/matrix_diagram.md @@ -0,0 +1,21 @@ +# Matrix Diagram for KPrepublic JJ50 rev1 + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│2B │2A │29 │28 │24 │25 │26 │27 │23 │22 │21 │20 │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│0B │0A │09 │08 │04 │05 │06 │07 │03 │02 │01 │00 │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│1B │1A │19 │18 │14 │15 │16 │17 │13 │12 │11 │10 │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│3B │3A │39 │38 │34 │35 │36 │37 │33 │32 │31 │30 │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│4B │4A │49 │48 │44 │45 │46 │47 │43 │42 │41 │40 │ +└───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ + ┌───────┐ + │45 │ 1x2u_c (MIT) + └───────┘ + ┌───────┬───────┐ + │44 │46 │ 2x2u_c + └───────┴───────┘ +``` diff --git a/keyboards/kprepublic/jj50/readme.md b/keyboards/kprepublic/jj50/rev1/readme.md similarity index 81% rename from keyboards/kprepublic/jj50/readme.md rename to keyboards/kprepublic/jj50/rev1/readme.md index c34b5d8eeba..643dfc54da3 100644 --- a/keyboards/kprepublic/jj50/readme.md +++ b/keyboards/kprepublic/jj50/rev1/readme.md @@ -1,20 +1,20 @@ -# JJ50 +# JJ50 rev1 -![JJ50 + SA Vilebloom (w/ Sakurios) by u/rendleshift](https://i.imgur.com/SwYZ4wol.jpg) +![JJ50 rev1 + SA Vilebloom (w/ Sakurios) by u/rendleshift](https://i.imgur.com/SwYZ4wol.jpg) A compact 50% (5x12) ortholinear keyboard made and sold by KPrepublic. * Keyboard Maintainer: [QMK Community](https://github.com/qmk) -* Hardware Supported: Atmega32A +* Hardware Supported: JJ50 rev1 (ATmega32A) * Hardware Availability: [AliExpress](https://www.aliexpress.com/item/jj50-v1-0-Custom-Mechanical-Keyboard-50-PCB-programmed-50-preonic-layouts-bface-firmware-with-rgb/32848915277.html); [KPrepublic](https://kprepublic.com/collections/jj50-50/products/jj50-50-custom-keyboard-pcb-similar-with-preonic) Make example for this keyboard (after setting up your build environment): - make kprepublic/jj50:default + make kprepublic/jj50/rev1:default Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid)) - make kprepublic/jj50:default:flash + make kprepublic/jj50/rev1:default:flash **Reset Key**: Hold down the key `Backspace` (`Key below the top right key`) while plugging in the keyboard. diff --git a/keyboards/kprepublic/jj50/rules.mk b/keyboards/kprepublic/jj50/rules.mk index 2e721d00cde..8f77c68db25 100644 --- a/keyboards/kprepublic/jj50/rules.mk +++ b/keyboards/kprepublic/jj50/rules.mk @@ -1,12 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -LTO_ENABLE = yes # Enable link time optimization +DEFAULT_FOLDER = kprepublic/jj50/rev1 From 7e39635c0a76bc852169a765b2c21b52615de152 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Fri, 15 Mar 2024 20:37:40 -0700 Subject: [PATCH 103/107] Swift65 Solder Layout Name Standardization (#23289) * Rename `LAYOUT_625u_space` to `LAYOUT_ansi_blocker` [refactor] * Rename `LAYOUT_625u_space_split_bs` to `LAYOUT_ansi_blocker_split_bs` [refactor] * Rename `LAYOUT_7u_space` to `LAYOUT_ansi_blocker_tsangan` [refactor] * Rename `LAYOUT_7u_space_split_bs` to `LAYOUT_ansi_blocker_tsangan_split_bs` [refactor] * Rename `LAYOUT_iso_625u_space` to `LAYOUT_iso_blocker` [refactor] * Rename `LAYOUT_iso_625u_space_split_bs` to `LAYOUT_iso_blocker_split_bs` [refactor] * Rename `LAYOUT_iso_7u_space` to `LAYOUT_iso_blocker_tsangan` [refactor] * Rename `LAYOUT_iso_7u_space_split_bs` to `LAYOUT_iso_blocker_tsangan_split_bs` [refactor] * Refactor keymaps Updates the keycode grid alignment to better resemble the assembled board. [style] --- .../alfredslab/swift65/solder/keyboard.json | 28 +++++++---- .../swift65/solder/keymaps/default/keymap.c | 26 +++++----- .../swift65/solder/keymaps/via/keymap.c | 48 +++++++++---------- 3 files changed, 55 insertions(+), 47 deletions(-) diff --git a/keyboards/alfredslab/swift65/solder/keyboard.json b/keyboards/alfredslab/swift65/solder/keyboard.json index 3bd15e74964..cb419d4cc1f 100644 --- a/keyboards/alfredslab/swift65/solder/keyboard.json +++ b/keyboards/alfredslab/swift65/solder/keyboard.json @@ -47,11 +47,19 @@ "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { - "LAYOUT": "LAYOUT_625u_space_split_bs", - "LAYOUT_all": "LAYOUT_625u_space_split_bs" + "LAYOUT": "LAYOUT_ansi_blocker_split_bs", + "LAYOUT_all": "LAYOUT_ansi_blocker_split_bs", + "LAYOUT_625u_space": "LAYOUT_ansi_blocker", + "LAYOUT_625u_space_split_bs": "LAYOUT_ansi_blocker_split_bs", + "LAYOUT_7u_space": "LAYOUT_ansi_blocker_tsangan", + "LAYOUT_7u_space_split_bs": "LAYOUT_ansi_blocker_tsangan_split_bs", + "LAYOUT_iso_625u_space": "LAYOUT_iso_blocker", + "LAYOUT_iso_625u_space_split_bs": "LAYOUT_iso_blocker_split_bs", + "LAYOUT_iso_7u_space": "LAYOUT_iso_blocker_tsangan", + "LAYOUT_iso_7u_space_split_bs": "LAYOUT_iso_blocker_tsangan_split_bs" }, "layouts": { - "LAYOUT_625u_space": { + "LAYOUT_ansi_blocker": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -129,7 +137,7 @@ {"matrix": [4, 14], "x": 15, "y": 4} ] }, - "LAYOUT_625u_space_split_bs": { + "LAYOUT_ansi_blocker_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -208,7 +216,7 @@ {"matrix": [4, 14], "x": 15, "y": 4} ] }, - "LAYOUT_7u_space": { + "LAYOUT_ansi_blocker_tsangan": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -285,7 +293,7 @@ {"matrix": [4, 14], "x": 15, "y": 4} ] }, - "LAYOUT_7u_space_split_bs": { + "LAYOUT_ansi_blocker_tsangan_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -363,7 +371,7 @@ {"matrix": [4, 14], "x": 15, "y": 4} ] }, - "LAYOUT_iso_625u_space": { + "LAYOUT_iso_blocker": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -442,7 +450,7 @@ {"matrix": [4, 14], "x": 15, "y": 4} ] }, - "LAYOUT_iso_625u_space_split_bs": { + "LAYOUT_iso_blocker_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -522,7 +530,7 @@ {"matrix": [4, 14], "x": 15, "y": 4} ] }, - "LAYOUT_iso_7u_space": { + "LAYOUT_iso_blocker_tsangan": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -600,7 +608,7 @@ {"matrix": [4, 14], "x": 15, "y": 4} ] }, - "LAYOUT_iso_7u_space_split_bs": { + "LAYOUT_iso_blocker_tsangan_split_bs": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, diff --git a/keyboards/alfredslab/swift65/solder/keymaps/default/keymap.c b/keyboards/alfredslab/swift65/solder/keymaps/default/keymap.c index 0aed2fd3c57..3dfd7ad48b2 100644 --- a/keyboards/alfredslab/swift65/solder/keymaps/default/keymap.c +++ b/keyboards/alfredslab/swift65/solder/keymaps/default/keymap.c @@ -17,19 +17,19 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_625u_space_split_bs( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSPC, KC_HOME, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + [0] = LAYOUT_ansi_blocker_split_bs( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT ), - [1] = LAYOUT_625u_space_split_bs( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, - _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + [1] = LAYOUT_ansi_blocker_split_bs( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, + _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END ), -}; \ No newline at end of file +}; diff --git a/keyboards/alfredslab/swift65/solder/keymaps/via/keymap.c b/keyboards/alfredslab/swift65/solder/keymaps/via/keymap.c index 5e54716a93f..ba05b3340ae 100644 --- a/keyboards/alfredslab/swift65/solder/keymaps/via/keymap.c +++ b/keyboards/alfredslab/swift65/solder/keymaps/via/keymap.c @@ -17,33 +17,33 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_625u_space_split_bs( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSPC, KC_HOME, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + [0] = LAYOUT_ansi_blocker_split_bs( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT ), - [1] = LAYOUT_625u_space_split_bs( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, - _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + [1] = LAYOUT_ansi_blocker_split_bs( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, + _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END ), - [2] = LAYOUT_625u_space_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + [2] = LAYOUT_ansi_blocker_split_bs( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [3] = LAYOUT_625u_space_split_bs( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + [3] = LAYOUT_ansi_blocker_split_bs( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), }; From 164065682eae63805ebe61a4c5a561c4ea2f523c Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Fri, 15 Mar 2024 20:38:01 -0700 Subject: [PATCH 104/107] Swift65 Hotswap Layout Name Standardization (#23288) * Rename `LAYOUT_7u_space` to `LAYOUT_ansi_blocker_tsangan` [refactor] * Refactor keymaps Updates the keycode grid alignment to better resemble the assembled board. [style] --- .../alfredslab/swift65/hotswap/keyboard.json | 9 ++-- .../swift65/hotswap/keymaps/default/keymap.c | 26 +++++----- .../swift65/hotswap/keymaps/via/keymap.c | 49 +++++++++---------- 3 files changed, 42 insertions(+), 42 deletions(-) diff --git a/keyboards/alfredslab/swift65/hotswap/keyboard.json b/keyboards/alfredslab/swift65/hotswap/keyboard.json index 7799374e7cf..d2a6e6da036 100644 --- a/keyboards/alfredslab/swift65/hotswap/keyboard.json +++ b/keyboards/alfredslab/swift65/hotswap/keyboard.json @@ -46,11 +46,12 @@ "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { - "LAYOUT": "LAYOUT_7u_space", - "LAYOUT_all": "LAYOUT_7u_space" - }, + "LAYOUT": "LAYOUT_ansi_blocker_tsangan", + "LAYOUT_all": "LAYOUT_ansi_blocker_tsangan", + "LAYOUT_7u_space": "LAYOUT_ansi_blocker_tsangan" + }, "layouts": { - "LAYOUT_7u_space": { + "LAYOUT_ansi_blocker_tsangan": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, diff --git a/keyboards/alfredslab/swift65/hotswap/keymaps/default/keymap.c b/keyboards/alfredslab/swift65/hotswap/keymaps/default/keymap.c index 53c29981dfd..27f69d27c04 100644 --- a/keyboards/alfredslab/swift65/hotswap/keymaps/default/keymap.c +++ b/keyboards/alfredslab/swift65/hotswap/keymaps/default/keymap.c @@ -18,20 +18,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_7u_space( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_LEFT, KC_DOWN, KC_RGHT + [0] = LAYOUT_ansi_blocker_tsangan( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_LEFT, KC_DOWN, KC_RGHT ), - [1] = LAYOUT_7u_space( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, - _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + [1] = LAYOUT_ansi_blocker_tsangan( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, + _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END ), -}; \ No newline at end of file +}; diff --git a/keyboards/alfredslab/swift65/hotswap/keymaps/via/keymap.c b/keyboards/alfredslab/swift65/hotswap/keymaps/via/keymap.c index 25abe67beec..828ff4ae578 100644 --- a/keyboards/alfredslab/swift65/hotswap/keymaps/via/keymap.c +++ b/keyboards/alfredslab/swift65/hotswap/keymaps/via/keymap.c @@ -17,37 +17,36 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_7u_space( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_LEFT, KC_DOWN, KC_RGHT + [0] = LAYOUT_ansi_blocker_tsangan( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, _______, KC_LEFT, KC_DOWN, KC_RGHT ), - [1] = LAYOUT_7u_space( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, - _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + [1] = LAYOUT_ansi_blocker_tsangan( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, + _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END ), - - [2] = LAYOUT_7u_space( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + [2] = LAYOUT_ansi_blocker_tsangan( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - [3] = LAYOUT_7u_space( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + [3] = LAYOUT_ansi_blocker_tsangan( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), }; From 47dc471bd45dc5428638fa40f95b0a3560cc09e4 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Sun, 17 Mar 2024 00:03:58 -0700 Subject: [PATCH 105/107] KPRepublic JJ40 rev1 Refactor (#23299) * Move `kprepublic/jj40` to `kprepublic/jj40/rev1` [chore] * Friendly-format `info.json` [style] * Add layout/matrix diagram [docs] * Refactor keymaps - use four-space indent - grid-align keycodes - refactor to use `LAYOUT_ortho_4x12` macro [refactor] * Rename `LAYOUT_planck_mit` to `LAYOUT_ortho_4x12_1x2u_c` [refactor] * Rename `LAYOUT_planck_1x2uR` to `LAYOUT_ortho_4x12_1x2u_r` [refactor] * Re-sort `layouts` object Places `LAYOUT_ortho_4x12` (the `LAYOUT_all` equivalent) first in sequence. [refactor] * Add `LAYOUT_ortho_4x12_1x2u_l` [enhancement] * Add `LAYOUT_ortho_4x12_2x2u` [enhancement] * Convert `rules.mk` to data driven [chore] * Remove `console` and `command` settings from keyboard level [chore] * Rename `info.json` to `keyboard.json` [chore] [enhancement] * Remove `audio` setting from keyboard level [chore] --- data/mappings/keyboard_aliases.hjson | 3 + keyboards/kprepublic/jj40/info.json | 211 ----------- .../kprepublic/jj40/keymaps/default/keymap.c | 146 ++++---- .../kprepublic/jj40/keymaps/via/keymap.c | 136 ++++---- keyboards/kprepublic/jj40/rev1/keyboard.json | 328 ++++++++++++++++++ .../kprepublic/jj40/rev1/matrix_diagram.md | 19 + .../kprepublic/jj40/{ => rev1}/readme.md | 10 +- keyboards/kprepublic/jj40/rev1/rules.mk | 2 + keyboards/kprepublic/jj40/rules.mk | 16 +- 9 files changed, 499 insertions(+), 372 deletions(-) delete mode 100644 keyboards/kprepublic/jj40/info.json create mode 100644 keyboards/kprepublic/jj40/rev1/keyboard.json create mode 100644 keyboards/kprepublic/jj40/rev1/matrix_diagram.md rename keyboards/kprepublic/jj40/{ => rev1}/readme.md (76%) create mode 100644 keyboards/kprepublic/jj40/rev1/rules.mk diff --git a/data/mappings/keyboard_aliases.hjson b/data/mappings/keyboard_aliases.hjson index 8508c87a3ba..7421b8bfacd 100644 --- a/data/mappings/keyboard_aliases.hjson +++ b/data/mappings/keyboard_aliases.hjson @@ -1520,6 +1520,9 @@ "target": "ymdk/melody96/soldered" }, // Moved during 2024 Q2 cycle + "kprepublic/jj40": { + "target": "kprepublic/jj40/rev1" + }, "kprepublic/jj50": { "target": "kprepublic/jj50/rev1" } diff --git a/keyboards/kprepublic/jj40/info.json b/keyboards/kprepublic/jj40/info.json deleted file mode 100644 index 79c9d4a7591..00000000000 --- a/keyboards/kprepublic/jj40/info.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "keyboard_name": "JJ40", - "manufacturer": "KPrepublic", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0x4B50", - "pid": "0x0040", - "device_version": "2.0.0", - "max_power": 100 - }, - "matrix_pins": { - "cols": ["C4", "C5", "C6", "C7", "A4", "A5", "A6", "A7", "A3", "A2", "A1", "A0"], - "rows": ["B0", "B1", "B3", "B4"] - }, - "diode_direction": "COL2ROW", - "backlight": { - "pin": "D4", - "levels": 12, - "breathing": true - }, - "rgblight": { - "led_count": 5, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "ws2812": { - "driver": "i2c" - }, - "processor": "atmega32a", - "bootloader": "bootloadhid", - "community_layouts": ["ortho_4x12", "planck_mit"], - "layout_aliases": { - "LAYOUT": "LAYOUT_planck_mit" - }, - "layouts": { - "LAYOUT_planck_mit": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - {"matrix": [0, 4], "x": 4, "y": 0}, - {"matrix": [0, 5], "x": 5, "y": 0}, - {"matrix": [0, 6], "x": 6, "y": 0}, - {"matrix": [0, 7], "x": 7, "y": 0}, - {"matrix": [0, 8], "x": 8, "y": 0}, - {"matrix": [0, 9], "x": 9, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, - {"matrix": [0, 11], "x": 11, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - {"matrix": [1, 4], "x": 4, "y": 1}, - {"matrix": [1, 5], "x": 5, "y": 1}, - {"matrix": [1, 6], "x": 6, "y": 1}, - {"matrix": [1, 7], "x": 7, "y": 1}, - {"matrix": [1, 8], "x": 8, "y": 1}, - {"matrix": [1, 9], "x": 9, "y": 1}, - {"matrix": [1, 10], "x": 10, "y": 1}, - {"matrix": [1, 11], "x": 11, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2}, - {"matrix": [2, 1], "x": 1, "y": 2}, - {"matrix": [2, 2], "x": 2, "y": 2}, - {"matrix": [2, 3], "x": 3, "y": 2}, - {"matrix": [2, 4], "x": 4, "y": 2}, - {"matrix": [2, 5], "x": 5, "y": 2}, - {"matrix": [2, 6], "x": 6, "y": 2}, - {"matrix": [2, 7], "x": 7, "y": 2}, - {"matrix": [2, 8], "x": 8, "y": 2}, - {"matrix": [2, 9], "x": 9, "y": 2}, - {"matrix": [2, 10], "x": 10, "y": 2}, - {"matrix": [2, 11], "x": 11, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3}, - {"matrix": [3, 1], "x": 1, "y": 3}, - {"matrix": [3, 2], "x": 2, "y": 3}, - {"matrix": [3, 3], "x": 3, "y": 3}, - {"matrix": [3, 4], "x": 4, "y": 3}, - {"matrix": [3, 5], "x": 5, "y": 3, "w": 2}, - {"matrix": [3, 7], "x": 7, "y": 3}, - {"matrix": [3, 8], "x": 8, "y": 3}, - {"matrix": [3, 9], "x": 9, "y": 3}, - {"matrix": [3, 10], "x": 10, "y": 3}, - {"matrix": [3, 11], "x": 11, "y": 3} - ] - }, - "LAYOUT_ortho_4x12": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - {"matrix": [0, 4], "x": 4, "y": 0}, - {"matrix": [0, 5], "x": 5, "y": 0}, - {"matrix": [0, 6], "x": 6, "y": 0}, - {"matrix": [0, 7], "x": 7, "y": 0}, - {"matrix": [0, 8], "x": 8, "y": 0}, - {"matrix": [0, 9], "x": 9, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, - {"matrix": [0, 11], "x": 11, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - {"matrix": [1, 4], "x": 4, "y": 1}, - {"matrix": [1, 5], "x": 5, "y": 1}, - {"matrix": [1, 6], "x": 6, "y": 1}, - {"matrix": [1, 7], "x": 7, "y": 1}, - {"matrix": [1, 8], "x": 8, "y": 1}, - {"matrix": [1, 9], "x": 9, "y": 1}, - {"matrix": [1, 10], "x": 10, "y": 1}, - {"matrix": [1, 11], "x": 11, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2}, - {"matrix": [2, 1], "x": 1, "y": 2}, - {"matrix": [2, 2], "x": 2, "y": 2}, - {"matrix": [2, 3], "x": 3, "y": 2}, - {"matrix": [2, 4], "x": 4, "y": 2}, - {"matrix": [2, 5], "x": 5, "y": 2}, - {"matrix": [2, 6], "x": 6, "y": 2}, - {"matrix": [2, 7], "x": 7, "y": 2}, - {"matrix": [2, 8], "x": 8, "y": 2}, - {"matrix": [2, 9], "x": 9, "y": 2}, - {"matrix": [2, 10], "x": 10, "y": 2}, - {"matrix": [2, 11], "x": 11, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3}, - {"matrix": [3, 1], "x": 1, "y": 3}, - {"matrix": [3, 2], "x": 2, "y": 3}, - {"matrix": [3, 3], "x": 3, "y": 3}, - {"matrix": [3, 4], "x": 4, "y": 3}, - {"matrix": [3, 5], "x": 5, "y": 3}, - {"matrix": [3, 6], "x": 6, "y": 3}, - {"matrix": [3, 7], "x": 7, "y": 3}, - {"matrix": [3, 8], "x": 8, "y": 3}, - {"matrix": [3, 9], "x": 9, "y": 3}, - {"matrix": [3, 10], "x": 10, "y": 3}, - {"matrix": [3, 11], "x": 11, "y": 3} - ] - }, - "LAYOUT_planck_1x2uR": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0}, - {"matrix": [0, 1], "x": 1, "y": 0}, - {"matrix": [0, 2], "x": 2, "y": 0}, - {"matrix": [0, 3], "x": 3, "y": 0}, - {"matrix": [0, 4], "x": 4, "y": 0}, - {"matrix": [0, 5], "x": 5, "y": 0}, - {"matrix": [0, 6], "x": 6, "y": 0}, - {"matrix": [0, 7], "x": 7, "y": 0}, - {"matrix": [0, 8], "x": 8, "y": 0}, - {"matrix": [0, 9], "x": 9, "y": 0}, - {"matrix": [0, 10], "x": 10, "y": 0}, - {"matrix": [0, 11], "x": 11, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1}, - {"matrix": [1, 1], "x": 1, "y": 1}, - {"matrix": [1, 2], "x": 2, "y": 1}, - {"matrix": [1, 3], "x": 3, "y": 1}, - {"matrix": [1, 4], "x": 4, "y": 1}, - {"matrix": [1, 5], "x": 5, "y": 1}, - {"matrix": [1, 6], "x": 6, "y": 1}, - {"matrix": [1, 7], "x": 7, "y": 1}, - {"matrix": [1, 8], "x": 8, "y": 1}, - {"matrix": [1, 9], "x": 9, "y": 1}, - {"matrix": [1, 10], "x": 10, "y": 1}, - {"matrix": [1, 11], "x": 11, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2}, - {"matrix": [2, 1], "x": 1, "y": 2}, - {"matrix": [2, 2], "x": 2, "y": 2}, - {"matrix": [2, 3], "x": 3, "y": 2}, - {"matrix": [2, 4], "x": 4, "y": 2}, - {"matrix": [2, 5], "x": 5, "y": 2}, - {"matrix": [2, 6], "x": 6, "y": 2}, - {"matrix": [2, 7], "x": 7, "y": 2}, - {"matrix": [2, 8], "x": 8, "y": 2}, - {"matrix": [2, 9], "x": 9, "y": 2}, - {"matrix": [2, 10], "x": 10, "y": 2}, - {"matrix": [2, 11], "x": 11, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3}, - {"matrix": [3, 1], "x": 1, "y": 3}, - {"matrix": [3, 2], "x": 2, "y": 3}, - {"matrix": [3, 3], "x": 3, "y": 3}, - {"matrix": [3, 4], "x": 4, "y": 3}, - {"matrix": [3, 5], "x": 5, "y": 3}, - {"matrix": [3, 6], "x": 6, "y": 3, "w": 2}, - {"matrix": [3, 8], "x": 8, "y": 3}, - {"matrix": [3, 9], "x": 9, "y": 3}, - {"matrix": [3, 10], "x": 10, "y": 3}, - {"matrix": [3, 11], "x": 11, "y": 3} - ] - } - } -} diff --git a/keyboards/kprepublic/jj40/keymaps/default/keymap.c b/keyboards/kprepublic/jj40/keymaps/default/keymap.c index c82106e1871..24218dddfc2 100644 --- a/keyboards/kprepublic/jj40/keymaps/default/keymap.c +++ b/keyboards/kprepublic/jj40/keymaps/default/keymap.c @@ -16,89 +16,89 @@ #include QMK_KEYBOARD_H enum layers { - _QWERTY = 0, - _LOWER, - _RAISE, - _ADJUST, + _QWERTY = 0, + _LOWER, + _RAISE, + _ADJUST, }; #define LOWER MO(_LOWER) #define RAISE MO(_RAISE) const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Esc | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), + /* Qwerty + * ,-----------------------------------------------------------------------------------. + * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | Esc | A | S | D | F | G | H | J | K | L | ; | " | + * |------+------+------+------+------+------|------+------+------+------+------+------| + * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | + * `-----------------------------------------------------------------------------------' + */ + [_QWERTY] = LAYOUT_ortho_4x12( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ), -/* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | | \ | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_planck_mit( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), + /* Lower + * ,-----------------------------------------------------------------------------------. + * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | | \ | | | + * |------+------+------+------+------+------|------+------+------+------+------+------| + * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | | | | | | | | Next | Vol- | Vol+ | Play | + * `-----------------------------------------------------------------------------------' + */ + [_LOWER] = LAYOUT_ortho_4x12( + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY + ), -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | | |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_planck_mit( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), + /* Raise + * ,-----------------------------------------------------------------------------------. + * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | + * |------+------+------+------+------+------|------+------+------+------+------+------| + * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | | | | | | | | Next | Vol- | Vol+ | Play | + * `-----------------------------------------------------------------------------------' + */ + [_RAISE] = LAYOUT_ortho_4x12( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY + ), -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | Reset| | | | | | | | | | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_ortho_4x12( - _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, - _______, _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) + /* Adjust (Lower + Raise) + * ,-----------------------------------------------------------------------------------. + * | | Reset| | | | | | | | | | Del | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | | |BL Tog|BL Mod| | | | | | | | | + * |------+------+------+------+------+------|------+------+------+------+------+------| + * | | |RGBTog|RGBMod| | | | | | | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | | | | | | | | | | | | + * `-----------------------------------------------------------------------------------' + */ + [_ADJUST] = LAYOUT_ortho_4x12( + _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, + _______, _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) }; layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); + return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); } diff --git a/keyboards/kprepublic/jj40/keymaps/via/keymap.c b/keyboards/kprepublic/jj40/keymaps/via/keymap.c index 84e27088497..b52e92ab7ac 100644 --- a/keyboards/kprepublic/jj40/keymaps/via/keymap.c +++ b/keyboards/kprepublic/jj40/keymaps/via/keymap.c @@ -19,75 +19,75 @@ #define RAISE TL_UPPR const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Esc | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[0] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), + /* Qwerty + * ,-----------------------------------------------------------------------------------. + * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | Esc | A | S | D | F | G | H | J | K | L | ; | " | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | + * `-----------------------------------------------------------------------------------' + */ + [0] = LAYOUT_ortho_4x12( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , + _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ), -/* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | | \ | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[1] = LAYOUT_planck_mit( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), + /* Lower + * ,-----------------------------------------------------------------------------------. + * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | | \ | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | | | | | | | | Next | Vol- | Vol+ | Play | + * `-----------------------------------------------------------------------------------' + */ + [1] = LAYOUT_ortho_4x12( + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY + ), -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | | |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[2] = LAYOUT_planck_mit( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), + /* Raise + * ,-----------------------------------------------------------------------------------. + * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | | | | | | | | Next | Vol- | Vol+ | Play | + * `-----------------------------------------------------------------------------------' + */ + [2] = LAYOUT_ortho_4x12( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY + ), -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | Reset| | | | | | | | | | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[3] = LAYOUT_planck_mit( - _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, - _______, _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) + /* Adjust (Lower + Raise) + * ,-----------------------------------------------------------------------------------. + * | | Reset| | | | | | | | | | Del | + * |------+------+------+------+------+-------------+------+------+------+------+------| + * | | | | | | | | | | | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | | | | | | | | | | | | + * |------+------+------+------+------+------+------+------+------+------+------+------| + * | | | | | | | | | | | | | + * `-----------------------------------------------------------------------------------' + */ + [3] = LAYOUT_ortho_4x12( + _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, + _______, _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) }; diff --git a/keyboards/kprepublic/jj40/rev1/keyboard.json b/keyboards/kprepublic/jj40/rev1/keyboard.json new file mode 100644 index 00000000000..3ac3e2f02cd --- /dev/null +++ b/keyboards/kprepublic/jj40/rev1/keyboard.json @@ -0,0 +1,328 @@ +{ + "keyboard_name": "JJ40 rev1", + "manufacturer": "KPrepublic", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0x4B50", + "pid": "0x0040", + "device_version": "2.0.0", + "max_power": 100 + }, + "matrix_pins": { + "cols": ["C4", "C5", "C6", "C7", "A4", "A5", "A6", "A7", "A3", "A2", "A1", "A0"], + "rows": ["B0", "B1", "B3", "B4"] + }, + "diode_direction": "COL2ROW", + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, + "rgblight": { + "led_count": 5, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "ws2812": { + "driver": "i2c" + }, + "processor": "atmega32a", + "bootloader": "bootloadhid", + "features": { + "bootmagic": false, + "mousekey": false, + "extrakey": true, + "nkro": false, + "backlight": true, + "rgblight": true + }, + "community_layouts": ["ortho_4x12", "planck_mit"], + "layout_aliases": { + "LAYOUT": "LAYOUT_ortho_4x12_1x2u_c", + "LAYOUT_planck_mit": "LAYOUT_ortho_4x12_1x2u_c", + "LAYOUT_planck_1x2uR": "LAYOUT_ortho_4x12_1x2u_r" + }, + "layouts": { + "LAYOUT_ortho_4x12": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [2, 10], "x": 10, "y": 2}, + {"matrix": [2, 11], "x": 11, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3}, + {"matrix": [3, 10], "x": 10, "y": 3}, + {"matrix": [3, 11], "x": 11, "y": 3} + ] + }, + "LAYOUT_ortho_4x12_1x2u_c": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [2, 10], "x": 10, "y": 2}, + {"matrix": [2, 11], "x": 11, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3, "w": 2}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3}, + {"matrix": [3, 10], "x": 10, "y": 3}, + {"matrix": [3, 11], "x": 11, "y": 3} + ] + }, + "LAYOUT_ortho_4x12_1x2u_l": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [2, 10], "x": 10, "y": 2}, + {"matrix": [2, 11], "x": 11, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3, "w": 2}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3}, + {"matrix": [3, 10], "x": 10, "y": 3}, + {"matrix": [3, 11], "x": 11, "y": 3} + ] + }, + "LAYOUT_ortho_4x12_1x2u_r": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [2, 10], "x": 10, "y": 2}, + {"matrix": [2, 11], "x": 11, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3, "w": 2}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3}, + {"matrix": [3, 10], "x": 10, "y": 3}, + {"matrix": [3, 11], "x": 11, "y": 3} + ] + }, + "LAYOUT_ortho_4x12_2x2u": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2}, + {"matrix": [2, 7], "x": 7, "y": 2}, + {"matrix": [2, 8], "x": 8, "y": 2}, + {"matrix": [2, 9], "x": 9, "y": 2}, + {"matrix": [2, 10], "x": 10, "y": 2}, + {"matrix": [2, 11], "x": 11, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3, "w": 2}, + {"matrix": [3, 6], "x": 6, "y": 3, "w": 2}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3}, + {"matrix": [3, 10], "x": 10, "y": 3}, + {"matrix": [3, 11], "x": 11, "y": 3} + ] + } + } +} diff --git a/keyboards/kprepublic/jj40/rev1/matrix_diagram.md b/keyboards/kprepublic/jj40/rev1/matrix_diagram.md new file mode 100644 index 00000000000..33858c5714f --- /dev/null +++ b/keyboards/kprepublic/jj40/rev1/matrix_diagram.md @@ -0,0 +1,19 @@ +# Matrix Diagram for KPrepublic JJ40 rev1 + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │ +├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ +│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │ +└───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ + ┌───────┐ + │35 │ 1x2u_c (MIT) + └───────┘ + ┌───────┬───────┐ + │34 │36 │ 2x2u_c + └───────┴───────┘ +``` diff --git a/keyboards/kprepublic/jj40/readme.md b/keyboards/kprepublic/jj40/rev1/readme.md similarity index 76% rename from keyboards/kprepublic/jj40/readme.md rename to keyboards/kprepublic/jj40/rev1/readme.md index 06ca2e657ee..12d65869da3 100644 --- a/keyboards/kprepublic/jj40/readme.md +++ b/keyboards/kprepublic/jj40/rev1/readme.md @@ -1,20 +1,20 @@ -# jj40 +# JJ40 rev1 -![jj40](https://ae01.alicdn.com/kf/HTB18bq6bOERMeJjSspiq6zZLFXar.jpg?size=359506&height=562&width=750&hash=663a22d0109e2416ec8f54a7658686da) +![JJ40 rev1](https://ae01.alicdn.com/kf/HTB18bq6bOERMeJjSspiq6zZLFXar.jpg?size=359506&height=562&width=750&hash=663a22d0109e2416ec8f54a7658686da) A compact 40% (12x4) ortholinear keyboard kit made and KPRepublic on AliExpress. * Keyboard Maintainer: [QMK Community](https://github.com/qmk) -* Hardware Supported: Atmega32A +* Hardware Supported: JJ40 rev1 (Atmega32A) * Hardware Availability: [AliExpress](https://www.aliexpress.com/store/product/jj40-Custom-Mechanical-Keyboard-40-PCB-programmed-40-planck-layouts-bface-firmware-gh40/3034003_32828781103.html) Make example for this keyboard (after setting up your build environment): - make kprepublic/jj40:default + make kprepublic/jj40/rev1:default Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid)) - make kprepublic/jj40:default:flash + make kprepublic/jj40/rev1:default:flash **Reset Key**: Hold down the *Top Right Key* key, commonly programmed as *Backspace* while plugging in the keyboard. diff --git a/keyboards/kprepublic/jj40/rev1/rules.mk b/keyboards/kprepublic/jj40/rev1/rules.mk new file mode 100644 index 00000000000..271780b75ec --- /dev/null +++ b/keyboards/kprepublic/jj40/rev1/rules.mk @@ -0,0 +1,2 @@ +# Disable unsupported hardware +AUDIO_SUPPORTED = no diff --git a/keyboards/kprepublic/jj40/rules.mk b/keyboards/kprepublic/jj40/rules.mk index 13588c113cc..fa09523958c 100644 --- a/keyboards/kprepublic/jj40/rules.mk +++ b/keyboards/kprepublic/jj40/rules.mk @@ -1,15 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -# Disable unsupported hardware -AUDIO_SUPPORTED = no +DEFAULT_FOLDER = kprepublic/jj40/rev1 From 23b7a02ebe2e6df738baa624c17e821c1573b69b Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 17 Mar 2024 19:23:14 +1100 Subject: [PATCH 106/107] LED drivers: add support for IS31FL3236 (#23264) --- builddefs/common_features.mk | 16 ++- data/schemas/keyboard.jsonschema | 2 + docs/reference_info_json.md | 2 +- drivers/led/issi/is31fl3236-mono.c | 168 +++++++++++++++++++++++ drivers/led/issi/is31fl3236-mono.h | 101 ++++++++++++++ drivers/led/issi/is31fl3236.c | 172 ++++++++++++++++++++++++ drivers/led/issi/is31fl3236.h | 103 ++++++++++++++ quantum/led_matrix/led_matrix_drivers.c | 8 ++ quantum/led_matrix/led_matrix_drivers.h | 2 + quantum/rgb_matrix/rgb_matrix_drivers.c | 8 ++ quantum/rgb_matrix/rgb_matrix_drivers.h | 2 + 11 files changed, 581 insertions(+), 3 deletions(-) create mode 100644 drivers/led/issi/is31fl3236-mono.c create mode 100644 drivers/led/issi/is31fl3236-mono.h create mode 100644 drivers/led/issi/is31fl3236.c create mode 100644 drivers/led/issi/is31fl3236.h diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 7227a5558e2..49197dc91e1 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -340,7 +340,7 @@ LED_MATRIX_DRIVER := snled27351 endif LED_MATRIX_ENABLE ?= no -VALID_LED_MATRIX_TYPES := is31fl3218 is31fl3729 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 custom +VALID_LED_MATRIX_TYPES := is31fl3218 is31fl3236 is31fl3729 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 custom ifeq ($(strip $(LED_MATRIX_ENABLE)), yes) ifeq ($(filter $(LED_MATRIX_DRIVER),$(VALID_LED_MATRIX_TYPES)),) @@ -365,6 +365,12 @@ ifeq ($(strip $(LED_MATRIX_ENABLE)), yes) SRC += is31fl3218-mono.c endif + ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3236) + I2C_DRIVER_REQUIRED = yes + COMMON_VPATH += $(DRIVER_PATH)/led/issi + SRC += is31fl3236-mono.c + endif + ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3729) I2C_DRIVER_REQUIRED = yes COMMON_VPATH += $(DRIVER_PATH)/led/issi @@ -443,7 +449,7 @@ endif RGB_MATRIX_ENABLE ?= no -VALID_RGB_MATRIX_TYPES := aw20216s is31fl3218 is31fl3729 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 ws2812 custom +VALID_RGB_MATRIX_TYPES := aw20216s is31fl3218 is31fl3236 is31fl3729 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a snled27351 ws2812 custom ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) ifeq ($(filter $(RGB_MATRIX_DRIVER),$(VALID_RGB_MATRIX_TYPES)),) $(call CATASTROPHIC_ERROR,Invalid RGB_MATRIX_DRIVER,RGB_MATRIX_DRIVER="$(RGB_MATRIX_DRIVER)" is not a valid matrix type) @@ -474,6 +480,12 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) SRC += is31fl3218.c endif + ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3236) + I2C_DRIVER_REQUIRED = yes + COMMON_VPATH += $(DRIVER_PATH)/led/issi + SRC += is31fl3236.c + endif + ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3729) I2C_DRIVER_REQUIRED = yes COMMON_VPATH += $(DRIVER_PATH)/led/issi diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 5c6788913b0..25aaabcf4a3 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -453,6 +453,7 @@ "enum": [ "custom", "is31fl3218", + "is31fl3236", "is31fl3729", "is31fl3731", "is31fl3733", @@ -535,6 +536,7 @@ "aw20216s", "custom", "is31fl3218", + "is31fl3236", "is31fl3729", "is31fl3731", "is31fl3733", diff --git a/docs/reference_info_json.md b/docs/reference_info_json.md index b715c14041c..e6bc34e79ec 100644 --- a/docs/reference_info_json.md +++ b/docs/reference_info_json.md @@ -640,7 +640,7 @@ Configures the [RGB Matrix](feature_rgb_matrix.md) feature. * The default animation speed. * Default: `128` * `driver` (Required) - * The driver to use. Must be one of `aw20216s`, `custom`, `is31fl3218`, `is31fl3729`, `is31fl3731`, `is31fl3733`, `is31fl3736`, `is31fl3737`, `is31fl3741`, `is31fl3742a`, `is31fl3743a`, `is31fl3745`, `is31fl3746a`, `snled27351`, `ws2812`. + * The driver to use. Must be one of `aw20216s`, `custom`, `is31fl3218`, `is31fl3236`, `is31fl3729`, `is31fl3731`, `is31fl3733`, `is31fl3736`, `is31fl3737`, `is31fl3741`, `is31fl3742a`, `is31fl3743a`, `is31fl3745`, `is31fl3746a`, `snled27351`, `ws2812`. * `hue_steps` * The number of hue adjustment steps. * Default: `8` diff --git a/drivers/led/issi/is31fl3236-mono.c b/drivers/led/issi/is31fl3236-mono.c new file mode 100644 index 00000000000..b80245a1dc0 --- /dev/null +++ b/drivers/led/issi/is31fl3236-mono.c @@ -0,0 +1,168 @@ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "is31fl3236-mono.h" +#include "i2c_master.h" +#include "gpio.h" + +#define IS31FL3236_PWM_REGISTER_COUNT 36 +#define IS31FL3236_LED_CONTROL_REGISTER_COUNT 36 + +#ifndef IS31FL3236_I2C_TIMEOUT +# define IS31FL3236_I2C_TIMEOUT 100 +#endif + +#ifndef IS31FL3236_I2C_PERSISTENCE +# define IS31FL3236_I2C_PERSISTENCE 0 +#endif + +#ifndef IS31FL3236_PWM_FREQUENCY +# define IS31FL3236_PWM_FREQUENCY IS31FL3236_PWM_FREQUENCY_3K_HZ // OFS - IS31FL3236A only +#endif + +const uint8_t i2c_addresses[IS31FL3236_DRIVER_COUNT] = { + IS31FL3236_I2C_ADDRESS_1, +#ifdef IS31FL3236_I2C_ADDRESS_2 + IS31FL3236_I2C_ADDRESS_2, +# ifdef IS31FL3236_I2C_ADDRESS_3 + IS31FL3236_I2C_ADDRESS_3, +# ifdef IS31FL3236_I2C_ADDRESS_4 + IS31FL3236_I2C_ADDRESS_4, +# endif +# endif +#endif +}; + +typedef struct is31fl3236_driver_t { + uint8_t pwm_buffer[IS31FL3236_PWM_REGISTER_COUNT]; + bool pwm_buffer_dirty; + uint8_t led_control_buffer[IS31FL3236_LED_CONTROL_REGISTER_COUNT]; + bool led_control_buffer_dirty; +} PACKED is31fl3236_driver_t; + +is31fl3236_driver_t driver_buffers[IS31FL3236_DRIVER_COUNT] = {{ + .pwm_buffer = {0}, + .pwm_buffer_dirty = false, + .led_control_buffer = {0}, + .led_control_buffer_dirty = false, +}}; + +void is31fl3236_write_register(uint8_t index, uint8_t reg, uint8_t data) { +#if IS31FL3236_I2C_PERSISTENCE > 0 + for (uint8_t i = 0; i < IS31FL3236_I2C_PERSISTENCE; i++) { + if (i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3236_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + } +#else + i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3236_I2C_TIMEOUT); +#endif +} + +void is31fl3236_write_pwm_buffer(uint8_t index) { +#if IS31FL3236_I2C_PERSISTENCE > 0 + for (uint8_t i = 0; i < IS31FL3236_I2C_PERSISTENCE; i++) { + if (i2c_write_register(i2c_addresses[index] << 1, IS31FL3236_REG_PWM, driver_buffers[index].pwm_buffer, 36, IS31FL3236_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + } +#else + i2c_write_register(i2c_addresses[index] << 1, IS31FL3236_REG_PWM, driver_buffers[index].pwm_buffer, 36, IS31FL3236_I2C_TIMEOUT); +#endif +} + +void is31fl3236_init_drivers(void) { + i2c_init(); + +#if defined(IS31FL3236_SDB_PIN) + gpio_set_pin_output(IS31FL3236_SDB_PIN); + gpio_write_pin_high(IS31FL3236_SDB_PIN); +#endif + + for (uint8_t i = 0; i < IS31FL3236_DRIVER_COUNT; i++) { + is31fl3236_init(i); + } + + for (uint8_t i = 0; i < IS31FL3236_LED_COUNT; i++) { + is31fl3236_set_led_control_register(i, true); + } + + for (uint8_t i = 0; i < IS31FL3236_DRIVER_COUNT; i++) { + is31fl3236_update_led_control_registers(i); + } +} + +void is31fl3236_init(uint8_t index) { + // In case we ever want to reinitialize (?) + is31fl3236_write_register(index, IS31FL3236_REG_RESET, 0x00); + + // Turn off software shutdown + is31fl3236_write_register(index, IS31FL3236_REG_SHUTDOWN, 0x01); + + // Set all PWM values to zero + for (uint8_t i = 0; i < IS31FL3236_PWM_REGISTER_COUNT; i++) { + is31fl3236_write_register(index, IS31FL3236_REG_PWM + i, 0x00); + } + + // turn off all LEDs in the LED control register + for (uint8_t i = 0; i < IS31FL3236_LED_CONTROL_REGISTER_COUNT; i++) { + is31fl3236_write_register(index, IS31FL3236_REG_LED_CONTROL + i, 0x00); + } + + // Set PWM frequency (IS31FL3236A) + is31fl3236_write_register(index, IS31FL3236_REG_PWM_FREQUENCY, IS31FL3236_PWM_FREQUENCY); + + // Load PWM registers and LED Control register data + is31fl3236_write_register(index, IS31FL3236_REG_UPDATE, 0x01); +} + +void is31fl3236_set_value(int index, uint8_t value) { + is31fl3236_led_t led; + + if (index < IS31FL3236_LED_COUNT) { + memcpy_P(&led, (&g_is31fl3236_leds[index]), sizeof(led)); + + if (driver_buffers[led.driver].pwm_buffer[led.v] == value) { + return; + } + + driver_buffers[led.driver].pwm_buffer[led.v] = value; + driver_buffers[led.driver].pwm_buffer_dirty = true; + } +} + +void is31fl3236_set_value_all(uint8_t value) { + for (uint8_t i = 0; i < IS31FL3236_LED_COUNT; i++) { + is31fl3236_set_value(i, value); + } +} + +void is31fl3236_set_led_control_register(uint8_t index, bool value) { + is31fl3236_led_t led; + memcpy_P(&led, (&g_is31fl3236_leds[index]), sizeof(led)); + + driver_buffers[led.driver].led_control_buffer[led.v] = value ? 0x01 : 0x00; + driver_buffers[led.driver].led_control_buffer_dirty = true; +} + +void is31fl3236_update_pwm_buffers(uint8_t index) { + if (driver_buffers[index].pwm_buffer_dirty) { + is31fl3236_write_pwm_buffer(index); + // Load PWM registers and LED Control register data + is31fl3236_write_register(index, IS31FL3236_REG_UPDATE, 0x01); + + driver_buffers[index].pwm_buffer_dirty = false; + } +} + +void is31fl3236_update_led_control_registers(uint8_t index) { + if (driver_buffers[index].led_control_buffer_dirty) { + for (uint8_t i = 0; i < IS31FL3236_LED_CONTROL_REGISTER_COUNT; i++) { + is31fl3236_write_register(index, IS31FL3236_REG_LED_CONTROL + i, driver_buffers[index].led_control_buffer[i]); + } + + driver_buffers[index].led_control_buffer_dirty = false; + } +} + +void is31fl3236_flush(void) { + for (uint8_t i = 0; i < IS31FL3236_DRIVER_COUNT; i++) { + is31fl3236_update_pwm_buffers(i); + } +} diff --git a/drivers/led/issi/is31fl3236-mono.h b/drivers/led/issi/is31fl3236-mono.h new file mode 100644 index 00000000000..90735bb1aa7 --- /dev/null +++ b/drivers/led/issi/is31fl3236-mono.h @@ -0,0 +1,101 @@ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include +#include +#include "progmem.h" +#include "util.h" + +#define IS31FL3236_REG_SHUTDOWN 0x00 +#define IS31FL3236_REG_PWM 0x01 +#define IS31FL3236_REG_UPDATE 0x25 +#define IS31FL3236_REG_LED_CONTROL 0x26 +#define IS31FL3236_REG_GLOBAL_CONTROL 0x4A +#define IS31FL3236_REG_PWM_FREQUENCY 0x4B +#define IS31FL3236_REG_RESET 0x4F + +#define IS31FL3236_I2C_ADDRESS_GND 0x3C +#define IS31FL3236_I2C_ADDRESS_SCL 0x3D +#define IS31FL3236_I2C_ADDRESS_SDA 0x3E +#define IS31FL3236_I2C_ADDRESS_VCC 0x3F + +#if defined(LED_MATRIX_IS31FL3236) +# define IS31FL3236_LED_COUNT LED_MATRIX_LED_COUNT +#endif + +#if defined(IS31FL3236_I2C_ADDRESS_4) +# define IS31FL3236_DRIVER_COUNT 4 +#elif defined(IS31FL3236_I2C_ADDRESS_3) +# define IS31FL3236_DRIVER_COUNT 3 +#elif defined(IS31FL3236_I2C_ADDRESS_2) +# define IS31FL3236_DRIVER_COUNT 2 +#elif defined(IS31FL3236_I2C_ADDRESS_1) +# define IS31FL3236_DRIVER_COUNT 1 +#endif + +typedef struct is31fl3236_led_t { + uint8_t driver : 2; + uint8_t v; +} PACKED is31fl3236_led_t; + +extern const is31fl3236_led_t PROGMEM g_is31fl3236_leds[IS31FL3236_LED_COUNT]; + +void is31fl3236_init_drivers(void); + +void is31fl3236_init(uint8_t index); + +void is31fl3236_write_register(uint8_t index, uint8_t reg, uint8_t data); + +void is31fl3236_set_value(int index, uint8_t value); + +void is31fl3236_set_value_all(uint8_t value); + +void is31fl3236_set_led_control_register(uint8_t index, bool value); + +void is31fl3236_update_pwm_buffers(uint8_t index); + +void is31fl3236_update_led_control_registers(uint8_t index); + +void is31fl3236_flush(void); + +#define IS31FL3236_PWM_FREQUENCY_3K_HZ 0b0 +#define IS31FL3236_PWM_FREQUENCY_22K_HZ 0b1 + +#define OUT1 0x00 +#define OUT2 0x01 +#define OUT3 0x02 +#define OUT4 0x03 +#define OUT5 0x04 +#define OUT6 0x05 +#define OUT7 0x06 +#define OUT8 0x07 +#define OUT9 0x08 +#define OUT10 0x09 +#define OUT11 0x0A +#define OUT12 0x0B +#define OUT13 0x0C +#define OUT14 0x0D +#define OUT15 0x0E +#define OUT16 0x0F +#define OUT17 0x10 +#define OUT18 0x11 +#define OUT19 0x12 +#define OUT20 0x13 +#define OUT21 0x14 +#define OUT22 0x15 +#define OUT23 0x16 +#define OUT24 0x17 +#define OUT25 0x18 +#define OUT26 0x19 +#define OUT27 0x1A +#define OUT28 0x1B +#define OUT29 0x1C +#define OUT30 0x1D +#define OUT31 0x1E +#define OUT32 0x1F +#define OUT33 0x20 +#define OUT34 0x21 +#define OUT35 0x22 +#define OUT36 0x23 diff --git a/drivers/led/issi/is31fl3236.c b/drivers/led/issi/is31fl3236.c new file mode 100644 index 00000000000..b8aa9c34b1b --- /dev/null +++ b/drivers/led/issi/is31fl3236.c @@ -0,0 +1,172 @@ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "is31fl3236.h" +#include "i2c_master.h" +#include "gpio.h" + +#define IS31FL3236_PWM_REGISTER_COUNT 36 +#define IS31FL3236_LED_CONTROL_REGISTER_COUNT 36 + +#ifndef IS31FL3236_I2C_TIMEOUT +# define IS31FL3236_I2C_TIMEOUT 100 +#endif + +#ifndef IS31FL3236_I2C_PERSISTENCE +# define IS31FL3236_I2C_PERSISTENCE 0 +#endif + +#ifndef IS31FL3236_PWM_FREQUENCY +# define IS31FL3236_PWM_FREQUENCY IS31FL3236_PWM_FREQUENCY_3K_HZ // OFS - IS31FL3236A only +#endif + +const uint8_t i2c_addresses[IS31FL3236_DRIVER_COUNT] = { + IS31FL3236_I2C_ADDRESS_1, +#ifdef IS31FL3236_I2C_ADDRESS_2 + IS31FL3236_I2C_ADDRESS_2, +# ifdef IS31FL3236_I2C_ADDRESS_3 + IS31FL3236_I2C_ADDRESS_3, +# ifdef IS31FL3236_I2C_ADDRESS_4 + IS31FL3236_I2C_ADDRESS_4, +# endif +# endif +#endif +}; + +typedef struct is31fl3236_driver_t { + uint8_t pwm_buffer[IS31FL3236_PWM_REGISTER_COUNT]; + bool pwm_buffer_dirty; + uint8_t led_control_buffer[IS31FL3236_LED_CONTROL_REGISTER_COUNT]; + bool led_control_buffer_dirty; +} PACKED is31fl3236_driver_t; + +is31fl3236_driver_t driver_buffers[IS31FL3236_DRIVER_COUNT] = {{ + .pwm_buffer = {0}, + .pwm_buffer_dirty = false, + .led_control_buffer = {0}, + .led_control_buffer_dirty = false, +}}; + +void is31fl3236_write_register(uint8_t index, uint8_t reg, uint8_t data) { +#if IS31FL3236_I2C_PERSISTENCE > 0 + for (uint8_t i = 0; i < IS31FL3236_I2C_PERSISTENCE; i++) { + if (i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3236_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + } +#else + i2c_write_register(i2c_addresses[index] << 1, reg, &data, 1, IS31FL3236_I2C_TIMEOUT); +#endif +} + +void is31fl3236_write_pwm_buffer(uint8_t index) { +#if IS31FL3236_I2C_PERSISTENCE > 0 + for (uint8_t i = 0; i < IS31FL3236_I2C_PERSISTENCE; i++) { + if (i2c_write_register(i2c_addresses[index] << 1, IS31FL3236_REG_PWM, driver_buffers[index].pwm_buffer, 36, IS31FL3236_I2C_TIMEOUT) == I2C_STATUS_SUCCESS) break; + } +#else + i2c_write_register(i2c_addresses[index] << 1, IS31FL3236_REG_PWM, driver_buffers[index].pwm_buffer, 36, IS31FL3236_I2C_TIMEOUT); +#endif +} + +void is31fl3236_init_drivers(void) { + i2c_init(); + +#if defined(IS31FL3236_SDB_PIN) + gpio_set_pin_output(IS31FL3236_SDB_PIN); + gpio_write_pin_high(IS31FL3236_SDB_PIN); +#endif + + for (uint8_t i = 0; i < IS31FL3236_DRIVER_COUNT; i++) { + is31fl3236_init(i); + } + + for (uint8_t i = 0; i < IS31FL3236_LED_COUNT; i++) { + is31fl3236_set_led_control_register(i, true, true, true); + } + + for (uint8_t i = 0; i < IS31FL3236_DRIVER_COUNT; i++) { + is31fl3236_update_led_control_registers(i); + } +} + +void is31fl3236_init(uint8_t index) { + // In case we ever want to reinitialize (?) + is31fl3236_write_register(index, IS31FL3236_REG_RESET, 0x00); + + // Turn off software shutdown + is31fl3236_write_register(index, IS31FL3236_REG_SHUTDOWN, 0x01); + + // Set all PWM values to zero + for (uint8_t i = 0; i < IS31FL3236_PWM_REGISTER_COUNT; i++) { + is31fl3236_write_register(index, IS31FL3236_REG_PWM + i, 0x00); + } + + // turn off all LEDs in the LED control register + for (uint8_t i = 0; i < IS31FL3236_LED_CONTROL_REGISTER_COUNT; i++) { + is31fl3236_write_register(index, IS31FL3236_REG_LED_CONTROL + i, 0x00); + } + + // Set PWM frequency (IS31FL3236A) + is31fl3236_write_register(index, IS31FL3236_REG_PWM_FREQUENCY, IS31FL3236_PWM_FREQUENCY); + + // Load PWM registers and LED Control register data + is31fl3236_write_register(index, IS31FL3236_REG_UPDATE, 0x01); +} + +void is31fl3236_set_color(int index, uint8_t red, uint8_t green, uint8_t blue) { + is31fl3236_led_t led; + + if (index < IS31FL3236_LED_COUNT) { + memcpy_P(&led, (&g_is31fl3236_leds[index]), sizeof(led)); + + if (driver_buffers[led.driver].pwm_buffer[led.r] == red && driver_buffers[led.driver].pwm_buffer[led.g] == green && driver_buffers[led.driver].pwm_buffer[led.b] == blue) { + return; + } + + driver_buffers[led.driver].pwm_buffer[led.r] = red; + driver_buffers[led.driver].pwm_buffer[led.g] = green; + driver_buffers[led.driver].pwm_buffer[led.b] = blue; + driver_buffers[led.driver].pwm_buffer_dirty = true; + } +} + +void is31fl3236_set_color_all(uint8_t red, uint8_t green, uint8_t blue) { + for (uint8_t i = 0; i < IS31FL3236_LED_COUNT; i++) { + is31fl3236_set_color(i, red, green, blue); + } +} + +void is31fl3236_set_led_control_register(uint8_t index, bool red, bool green, bool blue) { + is31fl3236_led_t led; + memcpy_P(&led, (&g_is31fl3236_leds[index]), sizeof(led)); + + driver_buffers[led.driver].led_control_buffer[led.r] = red ? 0x01 : 0x00; + driver_buffers[led.driver].led_control_buffer[led.g] = green ? 0x01 : 0x00; + driver_buffers[led.driver].led_control_buffer[led.b] = blue ? 0x01 : 0x00; + driver_buffers[led.driver].led_control_buffer_dirty = true; +} + +void is31fl3236_update_pwm_buffers(uint8_t index) { + if (driver_buffers[index].pwm_buffer_dirty) { + is31fl3236_write_pwm_buffer(index); + // Load PWM registers and LED Control register data + is31fl3236_write_register(index, IS31FL3236_REG_UPDATE, 0x01); + + driver_buffers[index].pwm_buffer_dirty = false; + } +} + +void is31fl3236_update_led_control_registers(uint8_t index) { + if (driver_buffers[index].led_control_buffer_dirty) { + for (uint8_t i = 0; i < IS31FL3236_LED_CONTROL_REGISTER_COUNT; i++) { + is31fl3236_write_register(index, IS31FL3236_REG_LED_CONTROL + i, driver_buffers[index].led_control_buffer[i]); + } + + driver_buffers[index].led_control_buffer_dirty = false; + } +} + +void is31fl3236_flush(void) { + for (uint8_t i = 0; i < IS31FL3236_DRIVER_COUNT; i++) { + is31fl3236_update_pwm_buffers(i); + } +} diff --git a/drivers/led/issi/is31fl3236.h b/drivers/led/issi/is31fl3236.h new file mode 100644 index 00000000000..1e490796b26 --- /dev/null +++ b/drivers/led/issi/is31fl3236.h @@ -0,0 +1,103 @@ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include +#include +#include "progmem.h" +#include "util.h" + +#define IS31FL3236_REG_SHUTDOWN 0x00 +#define IS31FL3236_REG_PWM 0x01 +#define IS31FL3236_REG_UPDATE 0x25 +#define IS31FL3236_REG_LED_CONTROL 0x26 +#define IS31FL3236_REG_GLOBAL_CONTROL 0x4A +#define IS31FL3236_REG_PWM_FREQUENCY 0x4B +#define IS31FL3236_REG_RESET 0x4F + +#define IS31FL3236_I2C_ADDRESS_GND 0x3C +#define IS31FL3236_I2C_ADDRESS_SCL 0x3D +#define IS31FL3236_I2C_ADDRESS_SDA 0x3E +#define IS31FL3236_I2C_ADDRESS_VCC 0x3F + +#if defined(RGB_MATRIX_IS31FL3236) +# define IS31FL3236_LED_COUNT RGB_MATRIX_LED_COUNT +#endif + +#if defined(IS31FL3236_I2C_ADDRESS_4) +# define IS31FL3236_DRIVER_COUNT 4 +#elif defined(IS31FL3236_I2C_ADDRESS_3) +# define IS31FL3236_DRIVER_COUNT 3 +#elif defined(IS31FL3236_I2C_ADDRESS_2) +# define IS31FL3236_DRIVER_COUNT 2 +#elif defined(IS31FL3236_I2C_ADDRESS_1) +# define IS31FL3236_DRIVER_COUNT 1 +#endif + +typedef struct is31fl3236_led_t { + uint8_t driver : 2; + uint8_t r; + uint8_t g; + uint8_t b; +} PACKED is31fl3236_led_t; + +extern const is31fl3236_led_t PROGMEM g_is31fl3236_leds[IS31FL3236_LED_COUNT]; + +void is31fl3236_init_drivers(void); + +void is31fl3236_init(uint8_t index); + +void is31fl3236_write_register(uint8_t index, uint8_t reg, uint8_t data); + +void is31fl3236_set_color(int index, uint8_t red, uint8_t green, uint8_t blue); + +void is31fl3236_set_color_all(uint8_t red, uint8_t green, uint8_t blue); + +void is31fl3236_set_led_control_register(uint8_t index, bool red, bool green, bool blue); + +void is31fl3236_update_pwm_buffers(uint8_t index); + +void is31fl3236_update_led_control_registers(uint8_t index); + +void is31fl3236_flush(void); + +#define IS31FL3236_PWM_FREQUENCY_3K_HZ 0b0 +#define IS31FL3236_PWM_FREQUENCY_22K_HZ 0b1 + +#define OUT1 0x00 +#define OUT2 0x01 +#define OUT3 0x02 +#define OUT4 0x03 +#define OUT5 0x04 +#define OUT6 0x05 +#define OUT7 0x06 +#define OUT8 0x07 +#define OUT9 0x08 +#define OUT10 0x09 +#define OUT11 0x0A +#define OUT12 0x0B +#define OUT13 0x0C +#define OUT14 0x0D +#define OUT15 0x0E +#define OUT16 0x0F +#define OUT17 0x10 +#define OUT18 0x11 +#define OUT19 0x12 +#define OUT20 0x13 +#define OUT21 0x14 +#define OUT22 0x15 +#define OUT23 0x16 +#define OUT24 0x17 +#define OUT25 0x18 +#define OUT26 0x19 +#define OUT27 0x1A +#define OUT28 0x1B +#define OUT29 0x1C +#define OUT30 0x1D +#define OUT31 0x1E +#define OUT32 0x1F +#define OUT33 0x20 +#define OUT34 0x21 +#define OUT35 0x22 +#define OUT36 0x23 diff --git a/quantum/led_matrix/led_matrix_drivers.c b/quantum/led_matrix/led_matrix_drivers.c index 2e80bd03752..bd4852e9395 100644 --- a/quantum/led_matrix/led_matrix_drivers.c +++ b/quantum/led_matrix/led_matrix_drivers.c @@ -33,6 +33,14 @@ const led_matrix_driver_t led_matrix_driver = { .set_value_all = is31fl3218_set_value_all, }; +#elif defined(LED_MATRIX_IS31FL3236) +const led_matrix_driver_t led_matrix_driver = { + .init = is31fl3236_init_drivers, + .flush = is31fl3236_flush, + .set_value = is31fl3236_set_value, + .set_value_all = is31fl3236_set_value_all, +}; + #elif defined(LED_MATRIX_IS31FL3729) const led_matrix_driver_t led_matrix_driver = { .init = is31fl3729_init_drivers, diff --git a/quantum/led_matrix/led_matrix_drivers.h b/quantum/led_matrix/led_matrix_drivers.h index a961784a62f..60354e46779 100644 --- a/quantum/led_matrix/led_matrix_drivers.h +++ b/quantum/led_matrix/led_matrix_drivers.h @@ -7,6 +7,8 @@ #if defined(LED_MATRIX_IS31FL3218) # include "is31fl3218-mono.h" +#elif defined(LED_MATRIX_IS31FL3236) +# include "is31fl3236-mono.h" #elif defined(LED_MATRIX_IS31FL3729) # include "is31fl3729-mono.h" #elif defined(LED_MATRIX_IS31FL3731) diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c index 95d1e884f09..729dcdb4395 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix/rgb_matrix_drivers.c @@ -36,6 +36,14 @@ const rgb_matrix_driver_t rgb_matrix_driver = { .set_color_all = is31fl3218_set_color_all, }; +#elif defined(RGB_MATRIX_IS31FL3236) +const rgb_matrix_driver_t rgb_matrix_driver = { + .init = is31fl3236_init_drivers, + .flush = is31fl3236_flush, + .set_color = is31fl3236_set_color, + .set_color_all = is31fl3236_set_color_all, +}; + #elif defined(RGB_MATRIX_IS31FL3729) const rgb_matrix_driver_t rgb_matrix_driver = { .init = is31fl3729_init_drivers, diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.h b/quantum/rgb_matrix/rgb_matrix_drivers.h index a24cb03a185..1ea5f0817d3 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.h +++ b/quantum/rgb_matrix/rgb_matrix_drivers.h @@ -7,6 +7,8 @@ #if defined(RGB_MATRIX_AW20216S) # include "aw20216s.h" +#elif defined(RGB_MATRIX_IS31FL3236) +# include "is31fl3236.h" #elif defined(RGB_MATRIX_IS31FL3218) # include "is31fl3218.h" #elif defined(RGB_MATRIX_IS31FL3729) From f7cf40fa77164d7be9358ce83f7f5939d71b38bc Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 18 Mar 2024 22:03:27 +1100 Subject: [PATCH 107/107] Add init function to RGBLight driver struct (#23076) --- drivers/led/apa102.c | 10 +- drivers/ws2812.h | 2 + keyboards/1k/keymaps/default/keymap.c | 1 + keyboards/1k/keymaps/default/rgblite.h | 4 + .../ergodox_ez/glow/keymaps/default/keymap.c | 200 ++++++++++++++++++ .../ergodox_ez/glow/keymaps/default/rules.mk | 2 + .../ergodox_ez/keymaps/default_glow/keymap.c | 1 - .../ergodox_ez/keymaps/default_glow/rules.mk | 4 - .../ergodox_ez/keymaps/rgb_layer/keymap.c | 37 ++-- keyboards/ergodox_ez/keymaps/testing/keymap.c | 27 +-- keyboards/ergodox_ez/rules.mk | 3 +- .../{led_i2c.c => shine/rgblight_custom.c} | 9 +- keyboards/ergodox_ez/shine/rules.mk | 1 + keyboards/handwired/promethium/rgbsps.c | 7 + keyboards/ibm/model_m/mschwingen/mschwingen.c | 1 + keyboards/kprepublic/bm60hsrgb/rev2/rev2.c | 1 + .../kprepublic/bm60hsrgb_iso/rev2/rev2.c | 1 + .../kprepublic/bm60hsrgb_poker/rev2/rev2.c | 1 + keyboards/matrix/abelx/abelx.c | 1 + keyboards/matrix/noah/noah.c | 1 + keyboards/neson_design/700e/700e.c | 1 + keyboards/neson_design/n6/n6.c | 1 + keyboards/neson_design/nico/nico.c | 1 + keyboards/oddforge/vea/ws2812_custom.c | 6 - keyboards/rgbkb/pan/pan.c | 4 +- keyboards/wilba_tech/wt_rgb_backlight.c | 3 + keyboards/work_louder/rgb_functions.c | 2 + keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c | 2 +- .../xd002/keymaps/multilayer_rgb/keymap.c | 1 + .../xd002/keymaps/multilayer_rgb/rgblite.h | 8 +- .../xiudi/xd002/keymaps/rgb_lite/keymap.c | 1 + .../xiudi/xd002/keymaps/rgb_lite/rgblite.h | 8 +- platforms/avr/drivers/ws2812_bitbang.c | 4 +- platforms/avr/drivers/ws2812_i2c.c | 6 - .../drivers/vendor/RP/RP2040/ws2812_vendor.c | 11 +- platforms/chibios/drivers/ws2812_bitbang.c | 6 - platforms/chibios/drivers/ws2812_pwm.c | 6 - platforms/chibios/drivers/ws2812_spi.c | 6 - quantum/rgb_matrix/rgb_matrix_drivers.c | 1 + quantum/rgblight/rgblight.c | 2 + quantum/rgblight/rgblight_drivers.c | 2 + quantum/rgblight/rgblight_drivers.h | 1 + 42 files changed, 305 insertions(+), 92 deletions(-) create mode 100644 keyboards/ergodox_ez/glow/keymaps/default/keymap.c create mode 100644 keyboards/ergodox_ez/glow/keymaps/default/rules.mk delete mode 100644 keyboards/ergodox_ez/keymaps/default_glow/keymap.c delete mode 100644 keyboards/ergodox_ez/keymaps/default_glow/rules.mk rename keyboards/ergodox_ez/{led_i2c.c => shine/rgblight_custom.c} (95%) diff --git a/drivers/led/apa102.c b/drivers/led/apa102.c index d6d4327495f..b171b07b12c 100644 --- a/drivers/led/apa102.c +++ b/drivers/led/apa102.c @@ -67,7 +67,9 @@ static void apa102_send_byte(uint8_t byte) { } static void apa102_start_frame(void) { - apa102_init(); + gpio_write_pin_low(APA102_DI_PIN); + gpio_write_pin_low(APA102_CI_PIN); + for (uint16_t i = 0; i < 4; i++) { apa102_send_byte(0); } @@ -103,7 +105,8 @@ static void apa102_end_frame(uint16_t num_leds) { apa102_send_byte(0); } - apa102_init(); + gpio_write_pin_low(APA102_DI_PIN); + gpio_write_pin_low(APA102_CI_PIN); } static void apa102_send_frame(uint8_t red, uint8_t green, uint8_t blue, uint8_t brightness) { @@ -116,9 +119,6 @@ static void apa102_send_frame(uint8_t red, uint8_t green, uint8_t blue, uint8_t void apa102_init(void) { gpio_set_pin_output(APA102_DI_PIN); gpio_set_pin_output(APA102_CI_PIN); - - gpio_write_pin_low(APA102_DI_PIN); - gpio_write_pin_low(APA102_CI_PIN); } void apa102_setleds(rgb_led_t *start_led, uint16_t num_leds) { diff --git a/drivers/ws2812.h b/drivers/ws2812.h index 134de51c503..993cce8ce45 100644 --- a/drivers/ws2812.h +++ b/drivers/ws2812.h @@ -62,6 +62,8 @@ # define WS2812_LED_COUNT RGB_MATRIX_LED_COUNT #endif +void ws2812_init(void); + /* User Interface * * Input: diff --git a/keyboards/1k/keymaps/default/keymap.c b/keyboards/1k/keymaps/default/keymap.c index b64d4d8c769..3261a9f922c 100644 --- a/keyboards/1k/keymaps/default/keymap.c +++ b/keyboards/1k/keymaps/default/keymap.c @@ -21,5 +21,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } void keyboard_post_init_user(void) { + rgblite_init(); rgblite_increase_hue(); } diff --git a/keyboards/1k/keymaps/default/rgblite.h b/keyboards/1k/keymaps/default/rgblite.h index 9a7761e30de..2e0b898699c 100644 --- a/keyboards/1k/keymaps/default/rgblite.h +++ b/keyboards/1k/keymaps/default/rgblite.h @@ -6,6 +6,10 @@ #include "ws2812.h" #include "color.h" +static inline void rgblite_init(void) { + ws2812_init(); +} + static inline void rgblite_setrgb(RGB rgb) { rgb_led_t leds[RGBLIGHT_LED_COUNT] = {{.r = rgb.r, .g = rgb.g, .b = rgb.b}}; ws2812_setleds(leds, RGBLIGHT_LED_COUNT); diff --git a/keyboards/ergodox_ez/glow/keymaps/default/keymap.c b/keyboards/ergodox_ez/glow/keymaps/default/keymap.c new file mode 100644 index 00000000000..94d68cb8702 --- /dev/null +++ b/keyboards/ergodox_ez/glow/keymaps/default/keymap.c @@ -0,0 +1,200 @@ +#include QMK_KEYBOARD_H +#include "version.h" + +enum layers { + BASE, // default layer + SYMB, // symbols + MDIA, // media keys +}; + +enum custom_keycodes { + VRSN = SAFE_RANGE, +}; + +// clang-format off +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +/* Keymap 0: Basic layer + * + * ,--------------------------------------------------. ,--------------------------------------------------. + * | = | 1 | 2 | 3 | 4 | 5 | LEFT | | RIGHT| 6 | 7 | 8 | 9 | 0 | - | + * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| + * | Del | Q | W | E | R | T | L1 | | L1 | Y | U | I | O | P | \ | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | BkSp | A | S | D | F | G |------| |------| H | J | K | L |; / L2|' / Cmd | + * |--------+------+------+------+------+------| Hyper| | Meh |------+------+------+------+------+--------| + * | LShift |Z/Ctrl| X | C | V | B | | | | N | M | , | . |//Ctrl| RShift | + * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * |Grv/L1| '" |AltShf| Left | Right| | Up | Down | [ | ] | ~L1 | + * `----------------------------------' `----------------------------------' + * ,-------------. ,-------------. + * | App | LGui | | Alt |Ctrl/Esc| + * ,------|------|------| |------+--------+------. + * | | | Home | | PgUp | | | + * | Space|Backsp|------| |------| Tab |Enter | + * | |ace | End | | PgDn | | | + * `--------------------' `----------------------' + */ +[BASE] = LAYOUT_ergodox_pretty( + // left hand + KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_LEFT, KC_RGHT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, + KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(SYMB), TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, + KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN), GUI_T(KC_QUOT), + KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO), MEH_T(KC_NO), KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH), KC_RSFT, + LT(SYMB,KC_GRV), KC_QUOT, LALT(KC_LSFT), KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(SYMB), + ALT_T(KC_APP), KC_LGUI, KC_LALT, CTL_T(KC_ESC), + KC_HOME, KC_PGUP, + KC_SPC, KC_BSPC, KC_END, KC_PGDN, KC_TAB, KC_ENT +), +/* Keymap 1: Symbol Layer + * + * ,---------------------------------------------------. ,--------------------------------------------------. + * |Version | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | + * |---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------| + * | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 | + * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | | + * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | + * `---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * | EPRM | | | | | | | . | 0 | = | | + * `-----------------------------------' `----------------------------------' + * ,-------------. ,-------------. + * |Animat| | |Toggle|Solid | + * ,------|------|------| |------+------+------. + * |Bright|Bright| | | |Hue- |Hue+ | + * |ness- |ness+ |------| |------| | | + * | | | | | | | | + * `--------------------' `--------------------' + */ +[SYMB] = LAYOUT_ergodox_pretty( + // left hand + VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, + KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, KC_TRNS, KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, + KC_TRNS, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS, + KC_TRNS, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_TRNS, KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS, + EE_CLR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DOT, KC_0, KC_EQL, KC_TRNS, + RGB_MOD, KC_TRNS, RGB_TOG, RGB_M_P, + KC_TRNS, KC_TRNS, + RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, RGB_HUD, RGB_HUI +), +/* Keymap 2: Media and mouse keys + * + * ,--------------------------------------------------. ,--------------------------------------------------. + * | | | | | | | | | | | | | | | | + * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| + * | | | | MsUp | | | | | | | | | | | | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | | |MsLeft|MsDown|MsRght| |------| |------| | | | | | Play | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | | | | | | | | | | | | Prev | Next | | | + * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * | | | | Lclk | Rclk | |VolUp |VolDn | Mute | | | + * `----------------------------------' `----------------------------------' + * ,-------------. ,-------------. + * | | | | | | + * ,------|------|------| |------+------+------. + * | | | | | | |Brwser| + * | | |------| |------| |Back | + * | | | | | | | | + * `--------------------' `--------------------' + */ +[MDIA] = LAYOUT_ergodox_pretty( + // left hand + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2, KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, + + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WBAK +), +}; +// clang-format on + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + if (record->event.pressed) { + switch (keycode) { + case VRSN: + SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); + return false; + } + } + return true; +} + +// Runs just one time when the keyboard initializes. +void keyboard_post_init_user(void) { +#ifdef RGBLIGHT_COLOR_LAYER_0 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_0); +#endif +}; + +// Runs whenever there is a layer state change. +layer_state_t layer_state_set_user(layer_state_t state) { + ergodox_board_led_off(); + ergodox_right_led_1_off(); + ergodox_right_led_2_off(); + ergodox_right_led_3_off(); + + uint8_t layer = get_highest_layer(state); + switch (layer) { + case 0: +#ifdef RGBLIGHT_COLOR_LAYER_0 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_0); +#endif + break; + case 1: + ergodox_right_led_1_on(); +#ifdef RGBLIGHT_COLOR_LAYER_1 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_1); +#endif + break; + case 2: + ergodox_right_led_2_on(); +#ifdef RGBLIGHT_COLOR_LAYER_2 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_2); +#endif + break; + case 3: + ergodox_right_led_3_on(); +#ifdef RGBLIGHT_COLOR_LAYER_3 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_3); +#endif + break; + case 4: + ergodox_right_led_1_on(); + ergodox_right_led_2_on(); +#ifdef RGBLIGHT_COLOR_LAYER_4 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_4); +#endif + break; + case 5: + ergodox_right_led_1_on(); + ergodox_right_led_3_on(); +#ifdef RGBLIGHT_COLOR_LAYER_5 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_5); +#endif + break; + case 6: + ergodox_right_led_2_on(); + ergodox_right_led_3_on(); +#ifdef RGBLIGHT_COLOR_LAYER_6 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_6); +#endif + break; + case 7: + ergodox_right_led_1_on(); + ergodox_right_led_2_on(); + ergodox_right_led_3_on(); +#ifdef RGBLIGHT_COLOR_LAYER_7 + rgblight_setrgb(RGBLIGHT_COLOR_LAYER_7); +#endif + break; + default: + break; + } + + return state; +}; diff --git a/keyboards/ergodox_ez/glow/keymaps/default/rules.mk b/keyboards/ergodox_ez/glow/keymaps/default/rules.mk new file mode 100644 index 00000000000..1a840036e2a --- /dev/null +++ b/keyboards/ergodox_ez/glow/keymaps/default/rules.mk @@ -0,0 +1,2 @@ +RGBLIGHT_ENABLE = no +RGB_MATRIX_ENABLE = yes diff --git a/keyboards/ergodox_ez/keymaps/default_glow/keymap.c b/keyboards/ergodox_ez/keymaps/default_glow/keymap.c deleted file mode 100644 index 526c364029f..00000000000 --- a/keyboards/ergodox_ez/keymaps/default_glow/keymap.c +++ /dev/null @@ -1 +0,0 @@ -// Placeholder. See ../default/keymap.c for details diff --git a/keyboards/ergodox_ez/keymaps/default_glow/rules.mk b/keyboards/ergodox_ez/keymaps/default_glow/rules.mk deleted file mode 100644 index 20bac4ab9dd..00000000000 --- a/keyboards/ergodox_ez/keymaps/default_glow/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes # enable later - -SRC += keymaps/default/keymap.c diff --git a/keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c b/keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c index 6ed204a3579..b033c0ca1c5 100644 --- a/keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c +++ b/keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c @@ -151,6 +151,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), }; +#ifdef RGBLIGHT_ENABLE void eeconfig_init_user(void) { rgblight_enable(); rgblight_sethsv(HSV_CYAN); @@ -158,7 +159,7 @@ void eeconfig_init_user(void) { user_config.rgb_layer_change = true; eeconfig_update_user(user_config.raw); } - +#endif bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { @@ -168,21 +169,17 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { eeconfig_init(); } return false; - break; case VRSN: if (record->event.pressed) { SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); } return false; - break; +#ifdef RGBLIGHT_ENABLE case RGB_SLD: if (record->event.pressed) { - #ifdef RGBLIGHT_ENABLE rgblight_mode(1); - #endif } return false; - break; case RGB_LYR: // This allows me to use underglow as layer indication, or as normal if (record->event.pressed) { user_config.rgb_layer_change ^= 1; // Toggles the status @@ -191,7 +188,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { layer_state_set(layer_state); // then immediately update the layer color } } - return false; break; + return false; case RGB_MODE_FORWARD ... RGB_MODE_GRADIENT: // For any of the RGB codes (see quantum_keycodes.h, L400 for reference) if (record->event.pressed) { //This disables layer indication, as it's assumed that if you're changing this ... you want that disabled if (user_config.rgb_layer_change) { // only if this is enabled @@ -199,11 +196,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { eeconfig_update_user(user_config.raw); // write the setings to EEPROM } } - return true; break; + return true; +#endif } return true; } +#ifdef RGBLIGHT_ENABLE void matrix_init_user(void) { // Call the keymap level matrix init. @@ -217,11 +216,7 @@ void matrix_init_user(void) { rgblight_mode_noeeprom(1); } } - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - -}; +#endif layer_state_t layer_state_set_user(layer_state_t state) { ergodox_board_led_off(); @@ -231,39 +226,55 @@ layer_state_t layer_state_set_user(layer_state_t state) { switch (get_highest_layer(state)) { case SYMB: ergodox_right_led_1_on(); +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_RED); rgblight_mode_noeeprom(1); } +#endif break; case MDIA: ergodox_right_led_2_on(); +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_GREEN); rgblight_mode_noeeprom(1); } +#endif break; case 3: ergodox_right_led_3_on(); +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_BLUE); rgblight_mode_noeeprom(1); } +#endif break; case 4: ergodox_right_led_1_on(); ergodox_right_led_2_on(); +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_ORANGE); rgblight_mode_noeeprom(1); } +#endif break; case 5: ergodox_right_led_1_on(); ergodox_right_led_3_on(); +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_YELLOW); rgblight_mode_noeeprom(1); } +#endif break; case 6: ergodox_right_led_2_on(); ergodox_right_led_3_on(); +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_PINK); rgblight_mode_noeeprom(1); } +#endif break; case 7: ergodox_right_led_1_on(); ergodox_right_led_2_on(); ergodox_right_led_3_on(); +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_WHITE); rgblight_mode_noeeprom(1); } +#endif break; default: // for any other layers, or the default layer +#ifdef RGBLIGHT_ENABLE if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_CYAN); rgblight_mode_noeeprom(1); } +#endif break; } return state; diff --git a/keyboards/ergodox_ez/keymaps/testing/keymap.c b/keyboards/ergodox_ez/keymaps/testing/keymap.c index ef8ca63e3bb..ee07f264b9d 100644 --- a/keyboards/ergodox_ez/keymaps/testing/keymap.c +++ b/keyboards/ergodox_ez/keymaps/testing/keymap.c @@ -29,7 +29,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; void matrix_init_user(void) { -#ifdef RGBLIGHT_COLOR_LAYER_0 +#if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_0) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_0); #endif }; @@ -42,19 +42,18 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { eeconfig_init(); } return false; - break; case VRSN: if (record->event.pressed) { SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); } return false; - break; +#ifdef RGBLIGHT_ENABLE case RGB_SLD: if (record->event.pressed) { rgblight_mode(1); } return false; - break; +#endif } return true; @@ -70,48 +69,50 @@ layer_state_t layer_state_set_user(layer_state_t state) { ergodox_right_led_3_off(); switch (layer) { case 0: - #ifdef RGBLIGHT_COLOR_LAYER_0 + #ifdef RGBLIGHT_ENABLE + #ifdef RGBLIGHT_COLOR_LAYER_0 rgblight_setrgb(RGBLIGHT_COLOR_LAYER_0); - #else + #else rgblight_init(); + #endif #endif break; case 1: ergodox_right_led_1_on(); - #ifdef RGBLIGHT_COLOR_LAYER_1 + #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_1) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_1); #endif break; case 2: ergodox_right_led_2_on(); - #ifdef RGBLIGHT_COLOR_LAYER_2 + #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_2) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_2); #endif break; case 3: ergodox_right_led_3_on(); - #ifdef RGBLIGHT_COLOR_LAYER_3 + #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_3) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_3); #endif break; case 4: ergodox_right_led_1_on(); ergodox_right_led_2_on(); - #ifdef RGBLIGHT_COLOR_LAYER_4 + #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_4) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_4); #endif break; case 5: ergodox_right_led_1_on(); ergodox_right_led_3_on(); - #ifdef RGBLIGHT_COLOR_LAYER_5 + #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_5) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_5); #endif break; case 6: ergodox_right_led_2_on(); ergodox_right_led_3_on(); - #ifdef RGBLIGHT_COLOR_LAYER_6 + #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_6) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_6); #endif break; @@ -119,7 +120,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { ergodox_right_led_1_on(); ergodox_right_led_2_on(); ergodox_right_led_3_on(); - #ifdef RGBLIGHT_COLOR_LAYER_7 + #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_COLOR_LAYER_7) rgblight_setrgb(RGBLIGHT_COLOR_LAYER_6); #endif break; diff --git a/keyboards/ergodox_ez/rules.mk b/keyboards/ergodox_ez/rules.mk index bba3bd86aef..68f785f3cc0 100644 --- a/keyboards/ergodox_ez/rules.mk +++ b/keyboards/ergodox_ez/rules.mk @@ -19,8 +19,7 @@ SWAP_HANDS_ENABLE= no # Allow swapping hands of keyboard RGB_MATRIX_ENABLE = no # enable later # project specific files -SRC += matrix.c \ - led_i2c.c +SRC += matrix.c I2C_DRIVER_REQUIRED = yes # Disable unsupported hardware diff --git a/keyboards/ergodox_ez/led_i2c.c b/keyboards/ergodox_ez/shine/rgblight_custom.c similarity index 95% rename from keyboards/ergodox_ez/led_i2c.c rename to keyboards/ergodox_ez/shine/rgblight_custom.c index 80dabf48150..feac50cba08 100644 --- a/keyboards/ergodox_ez/led_i2c.c +++ b/keyboards/ergodox_ez/shine/rgblight_custom.c @@ -18,10 +18,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifdef RGBLIGHT_ENABLE - -# include "ergodox_ez.h" -# include "ws2812.h" +#include "ergodox_ez.h" +#include "ws2812.h" void setleds_custom(rgb_led_t *led, uint16_t led_num) { uint16_t length = 0; @@ -64,7 +62,6 @@ void setleds_custom(rgb_led_t *led, uint16_t led_num) { } const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = setleds_custom, }; - -#endif // RGBLIGHT_ENABLE diff --git a/keyboards/ergodox_ez/shine/rules.mk b/keyboards/ergodox_ez/shine/rules.mk index b035c368503..4ab494d1aae 100644 --- a/keyboards/ergodox_ez/shine/rules.mk +++ b/keyboards/ergodox_ez/shine/rules.mk @@ -1,2 +1,3 @@ RGBLIGHT_ENABLE = yes WS2812_DRIVER_REQUIRED = yes +SRC += rgblight_custom.c diff --git a/keyboards/handwired/promethium/rgbsps.c b/keyboards/handwired/promethium/rgbsps.c index 957726e775b..7dc26f4a5e4 100644 --- a/keyboards/handwired/promethium/rgbsps.c +++ b/keyboards/handwired/promethium/rgbsps.c @@ -1,8 +1,15 @@ +#include "keyboard.h" #include "ws2812.h" #include "rgbsps.h" rgb_led_t led[RGBSPS_NUM]; +void keyboard_pre_init_kb(void) { + ws2812_init(); + + keyboard_pre_init_user(); +} + void rgbsps_set(uint8_t index, uint8_t r, uint8_t g, uint8_t b) { led[index].r = r; led[index].g = g; diff --git a/keyboards/ibm/model_m/mschwingen/mschwingen.c b/keyboards/ibm/model_m/mschwingen/mschwingen.c index 03dfcdc2f2c..6a8a0ec8fcd 100644 --- a/keyboards/ibm/model_m/mschwingen/mschwingen.c +++ b/keyboards/ibm/model_m/mschwingen/mschwingen.c @@ -90,6 +90,7 @@ void sleep_led_enable(void) { void keyboard_pre_init_kb(void) { #ifdef KEYBOARD_ibm_model_m_mschwingen_led_ws2812 + ws2812_init(); ws2812_setleds(led, RGBLIGHT_LED_COUNT); #else /* Set status LEDs pins to output and Low (on) */ diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c index 3ee74755fad..5bd23a12b8a 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c +++ b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c @@ -154,6 +154,7 @@ rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_TOTAL]; static void rgb_matrix_driver_init(void) { i2c_init(); is31fl3733_init(0); + ws2812_init(); for (uint8_t index = 0; index < IS31FL3733_LED_COUNT; index++) { bool enabled = true; is31fl3733_set_led_control_register(index, enabled, enabled, enabled); diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c index e7641bf4e5e..794dea51764 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c @@ -154,6 +154,7 @@ rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_TOTAL]; static void rgb_matrix_driver_init(void) { i2c_init(); is31fl3733_init(0); + ws2812_init(); for (uint8_t index = 0; index < IS31FL3733_LED_COUNT; index++) { bool enabled = true; is31fl3733_set_led_control_register(index, enabled, enabled, enabled); diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c index 5cb6d850c9f..3586dc8e804 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c @@ -150,6 +150,7 @@ rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_TOTAL]; static void rgb_matrix_driver_init(void) { i2c_init(); is31fl3733_init(0); + ws2812_init(); for (uint8_t index = 0; index < IS31FL3733_LED_COUNT; index++) { bool enabled = true; is31fl3733_set_led_control_register(index, enabled, enabled, enabled); diff --git a/keyboards/matrix/abelx/abelx.c b/keyboards/matrix/abelx/abelx.c index 0a3071a4025..ee7ffde1346 100644 --- a/keyboards/matrix/abelx/abelx.c +++ b/keyboards/matrix/abelx/abelx.c @@ -79,6 +79,7 @@ void setleds_custom(rgb_led_t *start_led, uint16_t num_leds) } const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = setleds_custom, }; diff --git a/keyboards/matrix/noah/noah.c b/keyboards/matrix/noah/noah.c index b5c52f9952b..a01d1b11bc1 100644 --- a/keyboards/matrix/noah/noah.c +++ b/keyboards/matrix/noah/noah.c @@ -55,6 +55,7 @@ void setleds_custom(rgb_led_t *ledarray, uint16_t num_leds) { } const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = setleds_custom, }; #endif diff --git a/keyboards/neson_design/700e/700e.c b/keyboards/neson_design/700e/700e.c index 31f88a71f9b..a9bcbee2885 100644 --- a/keyboards/neson_design/700e/700e.c +++ b/keyboards/neson_design/700e/700e.c @@ -355,6 +355,7 @@ void setleds_custom(rgb_led_t *start_led, uint16_t num_leds) } const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = setleds_custom, }; diff --git a/keyboards/neson_design/n6/n6.c b/keyboards/neson_design/n6/n6.c index b878b9368dd..f257735acc8 100644 --- a/keyboards/neson_design/n6/n6.c +++ b/keyboards/neson_design/n6/n6.c @@ -350,6 +350,7 @@ void setleds_custom(rgb_led_t *start_led, uint16_t num_leds) } const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = setleds_custom, }; diff --git a/keyboards/neson_design/nico/nico.c b/keyboards/neson_design/nico/nico.c index bf8eeb87dd3..0738a3ee987 100644 --- a/keyboards/neson_design/nico/nico.c +++ b/keyboards/neson_design/nico/nico.c @@ -84,6 +84,7 @@ void setleds_custom(rgb_led_t *start_led, uint16_t num_leds) } const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = setleds_custom, }; #endif \ No newline at end of file diff --git a/keyboards/oddforge/vea/ws2812_custom.c b/keyboards/oddforge/vea/ws2812_custom.c index f52c8d06a81..a037b88b3e6 100644 --- a/keyboards/oddforge/vea/ws2812_custom.c +++ b/keyboards/oddforge/vea/ws2812_custom.c @@ -23,12 +23,6 @@ void ws2812_init(void) { // Setleds for standard RGB void ws2812_setleds(rgb_led_t *ledarray, uint16_t leds) { - static bool s_init = false; - if (!s_init) { - ws2812_init(); - s_init = true; - } - i2c_transmit(WS2812_I2C_ADDRESS, (uint8_t *)ledarray, sizeof(rgb_led_t) * (leds >> 1), WS2812_I2C_TIMEOUT); i2c_transmit(WS2812_I2C_ADDRESS_RIGHT, (uint8_t *)ledarray+(sizeof(rgb_led_t) * (leds >> 1)), sizeof(rgb_led_t) * (leds - (leds >> 1)), WS2812_I2C_TIMEOUT); } diff --git a/keyboards/rgbkb/pan/pan.c b/keyboards/rgbkb/pan/pan.c index d175be36417..191ff1ac1fb 100644 --- a/keyboards/rgbkb/pan/pan.c +++ b/keyboards/rgbkb/pan/pan.c @@ -24,8 +24,6 @@ // LED color buffer rgb_led_t rgb_matrix_ws2812_array[RGB_MATRIX_LED_COUNT]; -static void init(void) {} - static void flush(void) { ws2812_setleds(rgb_matrix_ws2812_array, RGB_MATRIX_LED_COUNT); } @@ -56,7 +54,7 @@ static void setled_all(uint8_t r, uint8_t g, uint8_t b) { } const rgb_matrix_driver_t rgb_matrix_driver = { - .init = init, + .init = ws2812_init, .flush = flush, .set_color = setled, .set_color_all = setled_all, diff --git a/keyboards/wilba_tech/wt_rgb_backlight.c b/keyboards/wilba_tech/wt_rgb_backlight.c index cf36288705e..d03d189b298 100644 --- a/keyboards/wilba_tech/wt_rgb_backlight.c +++ b/keyboards/wilba_tech/wt_rgb_backlight.c @@ -2237,6 +2237,9 @@ void backlight_init_drivers(void) is31fl3733_update_led_control_registers( 0 ); is31fl3733_update_led_control_registers( 1 ); #else +#if defined(RGB_BACKLIGHT_DAWN60) + ws2812_init(); +#endif // Init the #1 driver is31fl3731_init( 0 ); // Init the #2 driver (if used) diff --git a/keyboards/work_louder/rgb_functions.c b/keyboards/work_louder/rgb_functions.c index 9b395559714..36f9da013ec 100644 --- a/keyboards/work_louder/rgb_functions.c +++ b/keyboards/work_louder/rgb_functions.c @@ -20,11 +20,13 @@ #undef WS2812_DI_PIN #define WS2812_DI_PIN RGBLIGHT_DI_PIN +#define ws2812_init ws2812_rgb_init #define ws2812_setleds ws2812_rgb_setleds #include "ws2812_bitbang.c" const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = ws2812_setleds, }; #endif diff --git a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c index 6b8f91bc2f8..a153a7cf837 100644 --- a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c +++ b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c @@ -155,7 +155,7 @@ static void init(void) { is31fl3731_update_led_control_registers(1); //RGB Underglow ws2812 - + ws2812_init(); } static void flush(void) { diff --git a/keyboards/xiudi/xd002/keymaps/multilayer_rgb/keymap.c b/keyboards/xiudi/xd002/keymaps/multilayer_rgb/keymap.c index 4ae28fd91b9..d74678d76aa 100644 --- a/keyboards/xiudi/xd002/keymaps/multilayer_rgb/keymap.c +++ b/keyboards/xiudi/xd002/keymaps/multilayer_rgb/keymap.c @@ -169,5 +169,6 @@ layer_state_t layer_state_set_user(layer_state_t state) { // default color void keyboard_post_init_user(void) { + rgblite_init(); rgblite_setrgb(RGB_GREEN); } diff --git a/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rgblite.h b/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rgblite.h index 1fa6f899b99..103b228d33b 100644 --- a/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rgblite.h +++ b/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rgblite.h @@ -3,7 +3,11 @@ #include "ws2812.h" #include "color.h" +static inline void rgblite_init(void) { + ws2812_init(); +} + static inline void rgblite_setrgb(uint8_t _r, uint8_t _g, uint8_t _b) { - rgb_led_t leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}}; - ws2812_setleds(leds, RGBLED_NUM); + rgb_led_t leds[RGBLIGHT_LED_COUNT] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}}; + ws2812_setleds(leds, RGBLIGHT_LED_COUNT); } diff --git a/keyboards/xiudi/xd002/keymaps/rgb_lite/keymap.c b/keyboards/xiudi/xd002/keymaps/rgb_lite/keymap.c index a795ca8a6de..aac4dc6fde1 100644 --- a/keyboards/xiudi/xd002/keymaps/rgb_lite/keymap.c +++ b/keyboards/xiudi/xd002/keymaps/rgb_lite/keymap.c @@ -27,5 +27,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } void keyboard_post_init_user(void) { + rgblite_init(); rgblite_increase_hue(); } diff --git a/keyboards/xiudi/xd002/keymaps/rgb_lite/rgblite.h b/keyboards/xiudi/xd002/keymaps/rgb_lite/rgblite.h index 15ee0c0f6b3..0bb0582415c 100644 --- a/keyboards/xiudi/xd002/keymaps/rgb_lite/rgblite.h +++ b/keyboards/xiudi/xd002/keymaps/rgb_lite/rgblite.h @@ -3,9 +3,13 @@ #include "ws2812.h" #include "color.h" +static inline void rgblite_init(void) { + ws2812_init(); +} + static inline void rgblite_setrgb(uint8_t _r, uint8_t _g, uint8_t _b) { - rgb_led_t leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}}; - ws2812_setleds(leds, RGBLED_NUM); + rgb_led_t leds[RGBLIGHT_LED_COUNT] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}}; + ws2812_setleds(leds, RGBLIGHT_LED_COUNT); } static void rgblite_increase_hue(void) { diff --git a/platforms/avr/drivers/ws2812_bitbang.c b/platforms/avr/drivers/ws2812_bitbang.c index 116053591fd..be127e501c9 100644 --- a/platforms/avr/drivers/ws2812_bitbang.c +++ b/platforms/avr/drivers/ws2812_bitbang.c @@ -37,9 +37,11 @@ static inline void ws2812_sendarray_mask(uint8_t *data, uint16_t datlen, uint8_t masklo, uint8_t maskhi); -void ws2812_setleds(rgb_led_t *ledarray, uint16_t number_of_leds) { +void ws2812_init(void) { DDRx_ADDRESS(WS2812_DI_PIN) |= pinmask(WS2812_DI_PIN); +} +void ws2812_setleds(rgb_led_t *ledarray, uint16_t number_of_leds) { uint8_t masklo = ~(pinmask(WS2812_DI_PIN)) & PORTx_ADDRESS(WS2812_DI_PIN); uint8_t maskhi = pinmask(WS2812_DI_PIN) | PORTx_ADDRESS(WS2812_DI_PIN); diff --git a/platforms/avr/drivers/ws2812_i2c.c b/platforms/avr/drivers/ws2812_i2c.c index f52a037b8ea..60b466c32a9 100644 --- a/platforms/avr/drivers/ws2812_i2c.c +++ b/platforms/avr/drivers/ws2812_i2c.c @@ -19,11 +19,5 @@ void ws2812_init(void) { // Setleds for standard RGB void ws2812_setleds(rgb_led_t *ledarray, uint16_t leds) { - static bool s_init = false; - if (!s_init) { - ws2812_init(); - s_init = true; - } - i2c_transmit(WS2812_I2C_ADDRESS, (uint8_t *)ledarray, sizeof(rgb_led_t) * leds, WS2812_I2C_TIMEOUT); } diff --git a/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c b/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c index 799d96b3c64..95a827e4b8a 100644 --- a/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c +++ b/platforms/chibios/drivers/vendor/RP/RP2040/ws2812_vendor.c @@ -177,7 +177,7 @@ static void ws2812_dma_callback(void* p, uint32_t ct) { osalSysUnlockFromISR(); } -bool ws2812_init(void) { +void ws2812_init(void) { uint pio_idx = pio_get_index(pio); /* Get PIOx peripheral out of reset state. */ hal_lld_peripheral_unreset(pio_idx == 0 ? RESETS_ALLREG_PIO0 : RESETS_ALLREG_PIO1); @@ -196,7 +196,7 @@ bool ws2812_init(void) { STATE_MACHINE = pio_claim_unused_sm(pio, true); if (STATE_MACHINE < 0) { dprintln("ERROR: Failed to acquire state machine for WS2812 output!"); - return false; + return; } uint offset = pio_add_program(pio, &ws2812_program); @@ -246,8 +246,6 @@ bool ws2812_init(void) { DMA_CTRL_TRIG_TREQ_SEL(pio == pio0 ? STATE_MACHINE : STATE_MACHINE + 8) | DMA_CTRL_TRIG_PRIORITY(RP_DMA_PRIORITY_WS2812); // clang-format on - - return true; } static inline void sync_ws2812_transfer(void) { @@ -269,11 +267,6 @@ static inline void sync_ws2812_transfer(void) { } void ws2812_setleds(rgb_led_t* ledarray, uint16_t leds) { - static bool is_initialized = false; - if (unlikely(!is_initialized)) { - is_initialized = ws2812_init(); - } - sync_ws2812_transfer(); for (int i = 0; i < leds; i++) { diff --git a/platforms/chibios/drivers/ws2812_bitbang.c b/platforms/chibios/drivers/ws2812_bitbang.c index 1ed87c4381e..9ed6bacd5ad 100644 --- a/platforms/chibios/drivers/ws2812_bitbang.c +++ b/platforms/chibios/drivers/ws2812_bitbang.c @@ -82,12 +82,6 @@ void ws2812_init(void) { // Setleds for standard RGB void ws2812_setleds(rgb_led_t *ledarray, uint16_t leds) { - static bool s_init = false; - if (!s_init) { - ws2812_init(); - s_init = true; - } - // this code is very time dependent, so we need to disable interrupts chSysLock(); diff --git a/platforms/chibios/drivers/ws2812_pwm.c b/platforms/chibios/drivers/ws2812_pwm.c index e0b3bfd5b55..7dc3414eade 100644 --- a/platforms/chibios/drivers/ws2812_pwm.c +++ b/platforms/chibios/drivers/ws2812_pwm.c @@ -389,12 +389,6 @@ void ws2812_write_led_rgbw(uint16_t led_number, uint8_t r, uint8_t g, uint8_t b, // Setleds for standard RGB void ws2812_setleds(rgb_led_t* ledarray, uint16_t leds) { - static bool s_init = false; - if (!s_init) { - ws2812_init(); - s_init = true; - } - for (uint16_t i = 0; i < leds; i++) { #ifdef RGBW ws2812_write_led_rgbw(i, ledarray[i].r, ledarray[i].g, ledarray[i].b, ledarray[i].w); diff --git a/platforms/chibios/drivers/ws2812_spi.c b/platforms/chibios/drivers/ws2812_spi.c index 01162f07f40..5b990ccaa06 100644 --- a/platforms/chibios/drivers/ws2812_spi.c +++ b/platforms/chibios/drivers/ws2812_spi.c @@ -188,12 +188,6 @@ void ws2812_init(void) { } void ws2812_setleds(rgb_led_t* ledarray, uint16_t leds) { - static bool s_init = false; - if (!s_init) { - ws2812_init(); - s_init = true; - } - for (uint8_t i = 0; i < leds; i++) { set_led_color_rgb(ledarray[i], i); } diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c index 729dcdb4395..4370996d0e1 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix/rgb_matrix_drivers.c @@ -151,6 +151,7 @@ rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_COUNT]; bool ws2812_dirty = false; static void init(void) { + ws2812_init(); ws2812_dirty = false; } diff --git a/quantum/rgblight/rgblight.c b/quantum/rgblight/rgblight.c index 530cb046881..28b58feea65 100644 --- a/quantum/rgblight/rgblight.c +++ b/quantum/rgblight/rgblight.c @@ -247,6 +247,8 @@ void rgblight_init(void) { rgblight_mode_noeeprom(rgblight_config.mode); } + rgblight_driver.init(); + is_rgblight_initialized = true; } diff --git a/quantum/rgblight/rgblight_drivers.c b/quantum/rgblight/rgblight_drivers.c index 45b60e1a5fc..8902b8f842e 100644 --- a/quantum/rgblight/rgblight_drivers.c +++ b/quantum/rgblight/rgblight_drivers.c @@ -7,6 +7,7 @@ # include "ws2812.h" const rgblight_driver_t rgblight_driver = { + .init = ws2812_init, .setleds = ws2812_setleds, }; @@ -14,6 +15,7 @@ const rgblight_driver_t rgblight_driver = { # include "apa102.h" const rgblight_driver_t rgblight_driver = { + .init = apa102_init, .setleds = apa102_setleds, }; diff --git a/quantum/rgblight/rgblight_drivers.h b/quantum/rgblight/rgblight_drivers.h index f7125a6f3d3..af28b918e17 100644 --- a/quantum/rgblight/rgblight_drivers.h +++ b/quantum/rgblight/rgblight_drivers.h @@ -7,6 +7,7 @@ #include "color.h" typedef struct { + void (*init)(void); void (*setleds)(rgb_led_t *ledarray, uint16_t number_of_leds); } rgblight_driver_t;