Move LED indicator config to data driven (#19800)

This commit is contained in:
Ryan
2023-02-17 13:14:29 +11:00
committed by GitHub
parent d784f78bd0
commit f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions

View File

@@ -61,7 +61,3 @@
# define ENABLE_RGB_MATRIX_MULTISPLASH
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
#define LED_NUM_LOCK_PIN C15
#define LED_CAPS_LOCK_PIN B2
#define LED_SCROLL_LOCK_PIN B9

View File

@@ -2,5 +2,10 @@
"keyboard_name": "Adelais En Ciel",
"usb": {
"pid": "0xAEC1"
},
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",
"scroll_lock": "B9"
}
}

View File

@@ -96,8 +96,3 @@
#define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10
#define LED_NUM_LOCK_PIN C15
#define LED_CAPS_LOCK_PIN B2
#define LED_SCROLL_LOCK_PIN B9

View File

@@ -2,5 +2,10 @@
"keyboard_name": "Adelais En Ciel Rev2",
"usb": {
"pid": "0xAEC2"
},
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",
"scroll_lock": "B9"
}
}

View File

@@ -119,7 +119,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10
#endif
#define LED_NUM_LOCK_PIN A0
#define LED_CAPS_LOCK_PIN C14
#define LED_SCROLL_LOCK_PIN C15

View File

@@ -2,5 +2,10 @@
"keyboard_name": "Adelais En Ciel Rev3",
"usb": {
"pid": "0xAEC3"
},
"indicators": {
"caps_lock": "C14",
"num_lock": "A0",
"scroll_lock": "C15"
}
}

View File

@@ -41,7 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define LED_NUM_LOCK_PIN C15
#define LED_CAPS_LOCK_PIN B2
#define LED_SCROLL_LOCK_PIN B9

View File

@@ -1,3 +1,8 @@
{
"keyboard_name": "Adelais"
"keyboard_name": "Adelais",
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",
"scroll_lock": "B9"
}
}

View File

@@ -31,11 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_NUM_LOCK_PIN D7
#define LED_CAPS_LOCK_PIN E6
#define LED_SCROLL_LOCK_PIN F7
#define LED_PIN_ON_STATE 1
#define BACKLIGHT_PIN B5
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

View File

@@ -2,5 +2,10 @@
"keyboard_name": "Adelais AVR",
"usb": {
"pid": "0xAD04"
},
"indicators": {
"caps_lock": "E6",
"num_lock": "D7",
"scroll_lock": "F7"
}
}

View File

@@ -36,5 +36,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { F7, D7, D6, D2 }
#define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN B5

View File

@@ -6,6 +6,9 @@
"usb": {
"vid": "0x4D4C"
},
"indicators": {
"num_lock": "B5"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["numpad_6x4", "ortho_6x4"],

View File

@@ -39,11 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_PIN_ON_STATE 0
#define LED_CAPS_LOCK_PIN A1
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define RGB_DI_PIN B15
#ifdef RGB_DI_PIN
# define RGBLED_NUM 22

View File

@@ -8,6 +8,10 @@
"pid": "0x0180",
"device_version": "0.0.2"
},
"indicators": {
"caps_lock": "A1",
"on_state": 0
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"layout_aliases": {

View File

@@ -36,9 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B9
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B8
#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD4

View File

@@ -1,4 +1,8 @@
{
"indicators": {
"caps_lock": "B9",
"on_state": 0
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"

View File

@@ -35,5 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_PIN_ON_STATE 0

View File

@@ -32,12 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B7, A2, A1, A3, A4, A5 }
#define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, D1, D0 }
#define LED_NUM_LOCK_PIN D6
#define LED_CAPS_LOCK_PIN D7
#define LED_SCROLL_LOCK_PIN D5
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_BREATHING

View File

@@ -3,6 +3,12 @@
"usb": {
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D7",
"num_lock": "D6",
"scroll_lock": "D5",
"on_state": 0
},
"processor": "atmega32a",
"bootloader": "usbasploader"
}

View File

@@ -32,12 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 }
#define LED_NUM_LOCK_PIN C15
#define LED_CAPS_LOCK_PIN B9
#define LED_SCROLL_LOCK_PIN A15
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define BACKLIGHT_PIN B8
#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_PWM_DRIVER PWMD4

View File

@@ -3,6 +3,12 @@
"usb": {
"device_version": "0.0.2"
},
"indicators": {
"caps_lock": "B9",
"num_lock": "C15",
"scroll_lock": "A15",
"on_state": 0
},
"processor": "STM32F103",
"bootloader": "stm32duino"
}

View File

@@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN A3
#define LED_CAPS_LOCK_PIN A4
#define LED_SCROLL_LOCK_PIN A8
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B0
#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3

View File

@@ -8,6 +8,12 @@
"pid": "0x6C01",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A4",
"num_lock": "A3",
"scroll_lock": "A8",
"on_state": 0
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",

View File

@@ -24,8 +24,4 @@
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
#define LED_CAPS_LOCK_PIN A4
#define LED_SCROLL_LOCK_PIN A8
#define DIODE_DIRECTION COL2ROW

View File

@@ -1,4 +1,8 @@
{
"indicators": {
"caps_lock": "A4",
"scroll_lock": "A8"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"

View File

@@ -31,11 +31,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_NUM_LOCK_PIN D7
#define LED_CAPS_LOCK_PIN D6
#define LED_SCROLL_LOCK_PIN B4
#define LED_PIN_ON_STATE 1
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

View File

@@ -8,6 +8,11 @@
"pid": "0x8702",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D6",
"num_lock": "D7",
"scroll_lock": "B4"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -38,10 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_CAPS_LOCK_PIN D6
#define LED_SCROLL_LOCK_PIN B4
#define LED_PIN_ON_STATE 1
#ifdef RGB_MATRIX_ENABLE
#define RGB_DI_PIN E2
#define RGB_MATRIX_LED_COUNT 42

View File

@@ -8,6 +8,10 @@
"pid": "0x0875",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D6",
"scroll_lock": "B4"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN A3
#define LED_CAPS_LOCK_PIN A4
#define BACKLIGHT_PIN B0
#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3

View File

@@ -8,6 +8,10 @@
"pid": "0x8802",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A4",
"num_lock": "A3"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",

View File

@@ -38,12 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
#define LED_CAPS_LOCK_PIN D4
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0x0600",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D4"
},
"processor": "atmega32a",
"bootloader": "usbasploader",
"layouts": {

View File

@@ -38,12 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
#define LED_CAPS_LOCK_PIN B0
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 22

View File

@@ -8,6 +8,9 @@
"pid": "0x0601",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -37,13 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
#define LED_CAPS_LOCK_PIN D6
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define LED_PIN_ON_STATE 0
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 24

View File

@@ -8,6 +8,10 @@
"pid": "0x6502",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D6",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker", "65_iso_blocker"],

View File

@@ -30,8 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 }
#define LED_CAPS_LOCK_PIN B9
#define BACKLIGHT_PIN B8
#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3

View File

@@ -4,6 +4,9 @@
"pid": "0x6509",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B9"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"

View File

@@ -30,7 +30,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
#define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 }
#define LED_CAPS_LOCK_PIN A7
#define BACKLIGHT_PIN D4
#define BACKLIGHT_BREATHING

View File

@@ -4,6 +4,9 @@
"pid": "0x6509",
"device_version": "0.0.2"
},
"indicators": {
"caps_lock": "A7"
},
"bootmagic": {
"matrix": [0, 13]
},

View File

@@ -37,11 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN D4
#define BACKLIGHT_BREATHING
#define LED_NUM_LOCK_PIN B1
#define LED_CAPS_LOCK_PIN B0
#define LED_SCROLL_LOCK_PIN B2
#define LED_PIN_ON_STATE 1
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN B3
#define RGBLED_NUM 24

View File

@@ -8,6 +8,11 @@
"pid": "0xD181",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B0",
"num_lock": "B1",
"scroll_lock": "B2"
},
"processor": "atmega32a",
"bootloader": "usbasploader",
"layouts": {

View File

@@ -40,11 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN D4
#define BACKLIGHT_BREATHING
#define LED_NUM_LOCK_PIN B1
#define LED_CAPS_LOCK_PIN B0
#define LED_SCROLL_LOCK_PIN B2
#define LED_PIN_ON_STATE 1
#define RGB_DI_PIN B3
#define RGBLED_NUM 27
#define RGBLIGHT_LIMIT_VAL 255

View File

@@ -8,6 +8,11 @@
"pid": "0xD180",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B0",
"num_lock": "B1",
"scroll_lock": "B2"
},
"bootmagic": {
"matrix": [1, 14]
},

View File

@@ -37,11 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_CAPS_LOCK_PIN B10
#define LED_NUM_LOCK_PIN A13
#define LED_SCROLL_LOCK_PIN A14
#define LED_PIN_ON_STATE 1
#ifdef RGBLIGHT_ENABLE
# define RGB_DI_PIN B15
# define RGBLED_NUM 24

View File

@@ -8,6 +8,11 @@
"pid": "0xD870",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B10",
"num_lock": "A13",
"scroll_lock": "A14"
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {

View File

@@ -37,8 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B2
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 3

View File

@@ -8,6 +8,9 @@
"pid": "0x6501",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_NUM_LOCK_PIN D7
#define LED_CAPS_LOCK_PIN D6
#define LED_SCROLL_LOCK_PIN B4
#define LED_PIN_ON_STATE 1
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

View File

@@ -8,6 +8,11 @@
"pid": "0x0870",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D6",
"num_lock": "D7",
"scroll_lock": "B4"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -37,8 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN A2
#define LED_CAPS_LOCK_PIN A0
#define LED_SCROLL_LOCK_PIN A1
#define LED_PIN_ON_STATE 0

View File

@@ -8,6 +8,12 @@
"pid": "0x1800",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A0",
"num_lock": "A2",
"scroll_lock": "A1",
"on_state": 0
},
"processor": "atmega32a",
"bootloader": "usbasploader",
"layouts": {

View File

@@ -44,7 +44,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 3
#define LED_CAPS_LOCK_PIN B9
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@@ -7,6 +7,9 @@
"pid": "0xC601",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B9"
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",

View File

@@ -38,8 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN A4
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN A7
#define RGBLED_NUM 22

View File

@@ -8,6 +8,9 @@
"pid": "0x0602",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A4"
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"layout_aliases": {

View File

@@ -31,11 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -24,6 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, B13, B14, B15, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A6, A5, A4, A3, A2, C13, B7, B6, B5, B4, B3 }
#define LED_CAPS_LOCK_PIN B9
#define LED_PIN_ON_STATE 0

View File

@@ -8,6 +8,10 @@
"pid": "0x6504",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B9",
"on_state": 0
},
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1.25, "y":0}, {"label":"0,2", "x":2.25, "y":0}, {"label":"0,3", "x":3.25, "y":0}, {"label":"0,4", "x":4.25, "y":0}, {"label":"0,5", "x":5.25, "y":0}, {"label":"0,6", "x":6.25, "y":0}, {"label":"0,7", "x":7.25, "y":0}, {"label":"0,8", "x":8.25, "y":0}, {"label":"0,9", "x":9.25, "y":0}, {"label":"0,10", "x":10.25, "y":0}, {"label":"0,11", "x":11.25, "y":0}, {"label":"0,12", "x":12.25, "y":0}, {"label":"0,13", "x":13.25, "y":0}, {"label":"0,14", "x":14.25, "y":0}, {"label":"2,13", "x":15.25, "y":0}, {"label":"0,15", "x":16.75, "y":0}, {"label":"1,0", "x":0, "y":1}, {"label":"1,1", "x":1.25, "y":1, "w":1.5}, {"label":"1,2", "x":2.75, "y":1}, {"label":"1,3", "x":3.75, "y":1}, {"label":"1,4", "x":4.75, "y":1}, {"label":"1,5", "x":5.75, "y":1}, {"label":"1,6", "x":6.75, "y":1}, {"label":"1,7", "x":7.75, "y":1}, {"label":"1,8", "x":8.75, "y":1}, {"label":"1,9", "x":9.75, "y":1}, {"label":"1,10", "x":10.75, "y":1}, {"label":"1,11", "x":11.75, "y":1}, {"label":"1,12", "x":12.75, "y":1}, {"label":"1,13", "x":13.75, "y":1}, {"label":"1,14", "x":14.75, "y":1, "w":1.5}, {"label":"1,15", "x":16.75, "y":1}, {"label":"2,0", "x":0, "y":2}, {"label":"2,1", "x":1.25, "y":2, "w":1.75}, {"label":"2,2", "x":3, "y":2}, {"label":"2,3", "x":4, "y":2}, {"label":"2,4", "x":5, "y":2}, {"label":"2,5", "x":6, "y":2}, {"label":"2,6", "x":7, "y":2}, {"label":"2,7", "x":8, "y":2}, {"label":"2,8", "x":9, "y":2}, {"label":"2,9", "x":10, "y":2}, {"label":"2,10", "x":11, "y":2}, {"label":"2,11", "x":12, "y":2}, {"label":"2,12", "x":13, "y":2}, {"label":"2,14", "x":14, "y":2, "w":2.25}, {"label":"2,15", "x":16.75, "y":2}, {"label":"3,0", "x":0, "y":3}, {"label":"3,1", "x":1.25, "y":3, "w":2.25}, {"label":"3,3", "x":3.5, "y":3}, {"label":"3,4", "x":4.5, "y":3}, {"label":"3,5", "x":5.5, "y":3}, {"label":"3,6", "x":6.5, "y":3}, {"label":"3,7", "x":7.5, "y":3}, {"label":"3,8", "x":8.5, "y":3}, {"label":"3,9", "x":9.5, "y":3}, {"label":"3,10", "x":10.5, "y":3}, {"label":"3,11", "x":11.5, "y":3}, {"label":"3,12", "x":12.5, "y":3}, {"label":"3,13", "x":13.5, "y":3, "w":1.75}, {"label":"3,15", "x":16.75, "y":3}, {"label":"3,14", "x":15.5, "y":3.25}, {"label":"4,0", "x":0, "y":4}, {"label":"4,1", "x":1.25, "y":4, "w":1.25}, {"label":"4,2", "x":2.5, "y":4, "w":1.25}, {"label":"4,3", "x":3.75, "y":4, "w":1.25}, {"label":"4,7", "x":5, "y":4, "w":6.25}, {"label":"4,10", "x":11.25, "y":4, "w":1.25}, {"label":"4,11", "x":12.5, "y":4, "w":1.25}, {"label":"4,13", "x":14.5, "y":4.25}, {"label":"4,14", "x":15.5, "y":4.25}, {"label":"4,15", "x":16.5, "y":4.25}]

View File

@@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B13, B14, A8, A1, A0 }
#define MATRIX_COL_PINS { B11, B12, B10, B2, B1, B0, A7, A6, A5, A4, A3, A2, B3, A15, B5 }
#define LED_CAPS_LOCK_PIN C14
// Number of encoders
#define ENCODERS_PAD_A { B4, B6 }

View File

@@ -8,6 +8,9 @@
"pid": "0x6601",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "C14"
},
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Insert", "x":15.75, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Delete", "x":15.75, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.25}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.25}, {"label":"\u2191", "x":14.75, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.5}, {"label":"Ctrl", "x":11.5, "y":4, "w":1.25}, {"label":"\u2190", "x":13.75, "y":4}, {"label":"\u2193", "x":14.75, "y":4}, {"label":"\u2192", "x":15.75, "y":4}]

View File

@@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI SPID2 // default: SPID1
#define WS2812_SPI_MOSI_PAL_MODE 0 // MOSI pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
#define LED_CAPS_LOCK_PIN C14
//#define RGB_DI_PIN E2
//#ifdef RGB_DI_PIN
# define RGBLIGHT_HUE_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x6602",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "C14"
},
"layout_aliases": {
"LAYOUT_65_ansi_blocker": "LAYOUT_ansi_blocker",
"LAYOUT_65_iso_blocker": "LAYOUT_iso_blocker"