1
0
Fork 0
forked from forks/qmk_firmware

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
979 changed files with 1935 additions and 2171 deletions

View file

@ -38,12 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B1
//#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 */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -30,9 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B6
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B7 #define BACKLIGHT_PIN B7
#ifdef BACKLIGHT_PIN #ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3 #define BACKLIGHT_LEVELS 3

View file

@ -8,6 +8,10 @@
"pid": "0x6874", "pid": "0x6874",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B6",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layout_aliases": { "layout_aliases": {

View file

@ -45,12 +45,6 @@
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B1
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define RGB_DI_PIN B5 #define RGB_DI_PIN B5
#define RGB_MATRIX_LED_COUNT 20 #define RGB_MATRIX_LED_COUNT 20
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN

View file

@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F6 } #define MATRIX_ROW_PINS { F6 }
#define MATRIX_COL_PINS { F4, D7 } #define MATRIX_COL_PINS { F4, D7 }
// LED on kbmount base board is on B7
#define LED_CAPS_LOCK_PIN B7 // onboard LED for testing
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View file

@ -8,6 +8,9 @@
"pid": "0x3304", "pid": "0x3304",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B7"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"layouts": { "layouts": {

View file

@ -21,8 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 6 #define BACKLIGHT_LEVELS 6
#define BACKLIGHT_PINS { F4, F5 } // Top Row, Bottom Row #define BACKLIGHT_PINS { F4, F5 } // Top Row, Bottom Row
/* LED Indicators */
#define LED_PIN_ON_STATE 0
#define LED_CAPS_LOCK_PIN B0 // RX Led
#define LED_NUM_LOCK_PIN D5 // TX Led

View file

@ -8,6 +8,11 @@
"pid": "0x5350", "pid": "0x5350",
"device_version": "10.0.1" "device_version": "10.0.1"
}, },
"indicators": {
"caps_lock": "B0",
"num_lock": "D5",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"matrix_pins": { "matrix_pins": {

View file

@ -48,6 +48,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define LED_CAPS_LOCK_PIN A10
#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_LEVELS 5

View file

@ -8,6 +8,9 @@
"pid": "0x0011", "pid": "0x0011",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"indicators": {
"caps_lock": "A10"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -58,9 +58,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
/* Indicator leds */ /* Indicator leds */
#define LED_CAPS_LOCK_PIN B1
#define LED_NUM_LOCK_PIN B12
#define LED_SCROLL_LOCK_PIN B13
#define LAYER_1 B14 #define LAYER_1 B14
#define LAYER_2 B15 #define LAYER_2 B15
#define LAYER_3 B0 #define LAYER_3 B0

View file

@ -8,6 +8,11 @@
"pid": "0x0010", "pid": "0x0010",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"indicators": {
"caps_lock": "B1",
"num_lock": "B12",
"scroll_lock": "B13"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B10, B1, C13, C14, B14, B12, B9, B8, B5, B4, A15, B3 } #define MATRIX_ROW_PINS { B10, B1, C13, C14, B14, B12, B9, B8, B5, B4, A15, B3 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN A6
#define LED_SCROLL_LOCK_PIN A7
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,10 @@
"pid": "0x000A", "pid": "0x000A",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"indicators": {
"caps_lock": "A6",
"scroll_lock": "A7"
},
"processor": "STM32F411", "processor": "STM32F411",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -58,7 +58,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 #define WS2812_DMA_STREAM STM32_DMA2_STREAM5
#define WS2812_DMA_CHANNEL 6 #define WS2812_DMA_CHANNEL 6
#define LED_CAPS_LOCK_PIN A10
// 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. // 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 #define CAPSLOCK_INDICATOR

View file

@ -4,6 +4,9 @@
"pid": "0x6584", "pid": "0x6584",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "A10"
},
"processor": "STM32F411", "processor": "STM32F411",
"bootloader": "stm32-dfu" "bootloader": "stm32-dfu"
} }

View file

@ -58,7 +58,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5 #define WS2812_DMA_STREAM STM32_DMA2_STREAM5
#define WS2812_DMA_CHANNEL 6 #define WS2812_DMA_CHANNEL 6
#define LED_CAPS_LOCK_PIN C8
// 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. // 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 #define CAPSLOCK_INDICATOR

View file

@ -4,6 +4,9 @@
"pid": "0x6585", "pid": "0x6585",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"indicators": {
"caps_lock": "C8"
},
"processor": "STM32F401", "processor": "STM32F401",
"bootloader": "stm32-dfu" "bootloader": "stm32-dfu"
} }

View file

@ -78,7 +78,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER //#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
#define LED_NUM_LOCK_PIN D2
#define LED_CAPS_LOCK_PIN D1
#define LED_SCROLL_LOCK_PIN D0

View file

@ -8,6 +8,11 @@
"pid": "0x454C", "pid": "0x454C",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "D1",
"num_lock": "D2",
"scroll_lock": "D0"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

@ -24,13 +24,6 @@
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B1
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define RGB_DI_PIN D0 #define RGB_DI_PIN D0
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
# define RGBLED_NUM 107 # define RGBLED_NUM 107

View file

@ -16,8 +16,4 @@
#pragma once #pragma once
// Locks
#define LED_NUM_LOCK_PIN F5
#define LED_CAPS_LOCK_PIN F4
#define LED_SCROLL_LOCK_PIN F1
#define LED_LAYERS_PIN F0 #define LED_LAYERS_PIN F0

View file

@ -7,6 +7,11 @@
"pid": "0xA653", "pid": "0xA653",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "F4",
"num_lock": "F5",
"scroll_lock": "F1"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",

View file

@ -28,7 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define LED_CAPS_LOCK_PIN A2
#define LED_SCROLL_LOCK_PIN A1
#define LED_PIN_ON_STATE 0

View file

@ -8,6 +8,11 @@
"pid": "0x000A", "pid": "0x000A",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "A2",
"scroll_lock": "A1",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -27,11 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 } #define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 }
#define SN74X154_E1_PIN D3 #define SN74X154_E1_PIN D3
#define LED_NUM_LOCK_PIN D0
#define LED_CAPS_LOCK_PIN B7
#define LED_SCROLL_LOCK_PIN D1
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B6 #define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3 #define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING

View file

@ -8,6 +8,12 @@
"pid": "0x6050", "pid": "0x6050",
"device_version": "1.0.4" "device_version": "1.0.4"
}, },
"indicators": {
"caps_lock": "B7",
"num_lock": "D0",
"scroll_lock": "D1",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B7
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B6 #define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_LEVELS 5

View file

@ -7,6 +7,10 @@
"pid": "0x0000", "pid": "0x0000",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B7",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN E6
#define LED_CAPS_LOCK_PIN C6
#define LED_SCROLL_LOCK_PIN C7
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B7 #define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3 #define BACKLIGHT_LEVELS 3

View file

@ -8,6 +8,12 @@
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "C6",
"num_lock": "E6",
"scroll_lock": "C7",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

@ -30,9 +30,6 @@
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B2
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B6 #define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN #ifdef BACKLIGHT_PIN
# define BACKLIGHT_LEVELS 3 # define BACKLIGHT_LEVELS 3

View file

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

View file

@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN C5
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,9 @@
"pid": "0x6464", "pid": "0x6464",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "C5",
},
"bootmagic": { "bootmagic": {
"matrix": [3, 6] "matrix": [3, 6]
}, },

View file

@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F4, F5, F6, F7} #define MATRIX_ROW_PINS { F4, F5, F6, F7}
#define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7} #define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7}
#define LED_CAPS_LOCK_PIN B2
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B6 #define BACKLIGHT_PIN B6
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */

View file

@ -8,6 +8,10 @@
"pid": "0x6072", "pid": "0x6072",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"indicators": {
"caps_lock": "B2",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B2
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B6 #define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 4 #define BACKLIGHT_LEVELS 4
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING

View file

@ -8,6 +8,10 @@
"pid": "0x6066", "pid": "0x6066",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B2",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_hhkb", "60_iso", "60_ansi_split_bs_rshift"], "community_layouts": ["60_ansi", "60_hhkb", "60_iso", "60_ansi_split_bs_rshift"],

View file

@ -24,12 +24,6 @@
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B2
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define BACKLIGHT_PIN B6 #define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3 #define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING

View file

@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define LED_NUM_LOCK_PIN D6
#define LED_PIN_ON_STATE 0
/* Backlight configuration /* Backlight configuration
*/ */
#define BACKLIGHT_LEVELS 4 #define BACKLIGHT_LEVELS 4

View file

@ -8,6 +8,10 @@
"pid": "0x6060", "pid": "0x6060",
"device_version": "0.0.3" "device_version": "0.0.3"
}, },
"indicators": {
"num_lock": "D6",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["numpad_6x4", "ortho_6x4"], "community_layouts": ["numpad_6x4", "ortho_6x4"],

View file

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

View file

@ -8,6 +8,9 @@
"pid": "0x422D", "pid": "0x422D",
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"indicators": {
"caps_lock": "D1"
},
"bootmagic": { "bootmagic": {
"matrix": [4, 0] "matrix": [4, 0]
}, },

View file

@ -33,10 +33,6 @@
#define ENCODERS_CCW_KEY { { 4, 5 } } // Note: array is { col, row ) #define ENCODERS_CCW_KEY { { 4, 5 } } // Note: array is { col, row )
#define ENCODERS_CW_KEY { { 3, 5 } } // Note: array is { col, row ) #define ENCODERS_CW_KEY { { 3, 5 } } // Note: array is { col, row )
/* LED pins */
#define LED_CAPS_LOCK_PIN D4
#define LED_PIN_ON_STATE 0
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View file

@ -7,6 +7,10 @@
"pid": "0x0081", "pid": "0x0081",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "D4",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

@ -24,12 +24,6 @@
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B1
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define RGB_DI_PIN D5 #define RGB_DI_PIN D5
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLED_NUM 9 #define RGBLED_NUM 9

View file

@ -28,6 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
/* CAPS LED */
#define LED_CAPS_LOCK_PIN B7

View file

@ -8,6 +8,9 @@
"pid": "0xE3EB", "pid": "0xE3EB",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B7"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layout_aliases": { "layout_aliases": {

View file

@ -25,8 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Ensure we jump to bootloader if the RESET keycode was pressed */ /* Ensure we jump to bootloader if the RESET keycode was pressed */
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
/* Indicator LEDs */
#define LED_CAPS_LOCK_PIN B6
#define LED_SCROLL_LOCK_PIN B7
#define LED_PIN_ON_STATE 0

View file

@ -8,6 +8,11 @@
"pid": "0x4238", "pid": "0x4238",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B6",
"scroll_lock": "B7",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -49,12 +49,6 @@
#define SPLIT_USB_DETECT #define SPLIT_USB_DETECT
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B1
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define RGB_DI_PIN D3 #define RGB_DI_PIN D3
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE

View file

@ -52,9 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5 } #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5 }
#define LED_CAPS_LOCK_PIN B2
#define LED_NUM_LOCK_PIN B3
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View file

@ -7,6 +7,10 @@
"pid": "0x4749", "pid": "0x4749",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B2",
"num_lock": "B3"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

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

View file

@ -8,6 +8,9 @@
"pid": "0x422D", "pid": "0x422D",
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"indicators": {
"caps_lock": "D1"
},
"processor": "atmega32a", "processor": "atmega32a",
"bootloader": "bootloadhid", "bootloader": "bootloadhid",
"layouts": { "layouts": {

View file

@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
/* Indicator LEDs */
#define LED_CAPS_LOCK_PIN F0
#define BACKLIGHT_PIN B7 #define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 8 #define BACKLIGHT_LEVELS 8
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING

View file

@ -8,6 +8,9 @@
"pid": "0x4660", "pid": "0x4660",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "F0"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_tsangan", "60_ansi_split_bs_rshift", "60_hhkb", "60_tsangan_hhkb", "60_ansi_arrow", "60_iso", "60_iso_split_bs_rshift", "60_iso_tsangan"], "community_layouts": ["60_ansi", "60_ansi_tsangan", "60_ansi_split_bs_rshift", "60_hhkb", "60_tsangan_hhkb", "60_ansi_arrow", "60_iso", "60_iso_split_bs_rshift", "60_iso_tsangan"],

View file

@ -38,12 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
//#define LED_NUM_LOCK_PIN B0
#define LED_CAPS_LOCK_PIN B7
//#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 */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

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

View file

@ -36,20 +36,5 @@
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
// D4 D0
// C6 E6 D7
#define LED_NUM_LOCK_PIN D4
#define LED_CAPS_LOCK_PIN D0
#define LED_SCROLL_LOCK_PIN C6
#define LED_COMPOSE_PIN E6
#define LED_KANA_PIN D7
#define ENCODERS_PAD_A { B3 } #define ENCODERS_PAD_A { B3 }
#define ENCODERS_PAD_B { B2 } #define ENCODERS_PAD_B { B2 }

View file

@ -8,6 +8,13 @@
"pid": "0x0002", "pid": "0x0002",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "D0",
"num_lock": "D4",
"scroll_lock": "C6",
"compose": "E6",
"kana": "D7"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"community_layouts": ["ortho_2x3"], "community_layouts": ["ortho_2x3"],

View file

@ -65,11 +65,6 @@
#define ENCODER_RESOLUTION 2 #define ENCODER_RESOLUTION 2
#define TAP_CODE_DELAY 15 #define TAP_CODE_DELAY 15
/* Lock LEDs */
#define LED_NUM_LOCK_PIN A0
#define LED_CAPS_LOCK_PIN A1
#define LED_SCROLL_LOCK_PIN A2
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View file

@ -8,6 +8,11 @@
"pid": "0x4176", "pid": "0x4176",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "A1",
"num_lock": "A0",
"scroll_lock": "A2"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -24,8 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_PIN_ON_STATE 0
#define LED_NUM_LOCK_PIN C5
#define LED_CAPS_LOCK_PIN C6
#define LED_SCROLL_LOCK_PIN B7

View file

@ -8,6 +8,12 @@
"pid": "0x6050", "pid": "0x6050",
"device_version": "1.0.4" "device_version": "1.0.4"
}, },
"indicators": {
"caps_lock": "C6",
"num_lock": "C5",
"scroll_lock": "B7",
"on_state": 0
},
"processor": "atmega32u2", "processor": "atmega32u2",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": [ "community_layouts": [

View file

@ -25,10 +25,6 @@
// HID Liberation Device uses custom matrix code to accomodate a 74HC238 3 to 8 decoder on pins B1, B2 and B3. // HID Liberation Device uses custom matrix code to accomodate a 74HC238 3 to 8 decoder on pins B1, B2 and B3.
//#define DIODE_DIRECTION //#define DIODE_DIRECTION
#define LED_CAPS_LOCK_PIN B5
#define LED_SCROLL_LOCK_PIN B6
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,11 @@
"pid": "0xB919", "pid": "0xB919",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B5",
"scroll_lock": "B6",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View file

@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN B7
#define LED_CAPS_LOCK_PIN C6
#define LED_SCROLL_LOCK_PIN C5
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,12 @@
"pid": "0x6050", "pid": "0x6050",
"device_version": "1.0.4" "device_version": "1.0.4"
}, },
"indicators": {
"caps_lock": "C6",
"num_lock": "B7",
"scroll_lock": "C5",
"on_state": 0
},
"processor": "atmega32u2", "processor": "atmega32u2",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["fullsize_ansi"], "community_layouts": ["fullsize_ansi"],

View file

@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { C2, B3, B4, B2, B1, C7, B6, B5 } #define MATRIX_ROW_PINS { C2, B3, B4, B2, B1, C7, B6, B5 }
#define MATRIX_COL_PINS { NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } #define MATRIX_COL_PINS { NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
#define LED_NUM_LOCK_PIN C5
#define LED_CAPS_LOCK_PIN C6
#define LED_SCROLL_LOCK_PIN B7
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,12 @@
"pid": "0x544C", "pid": "0x544C",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "C6",
"num_lock": "C5",
"scroll_lock": "B7",
"on_state": 0
},
"processor": "atmega32u2", "processor": "atmega32u2",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["fullsize_ansi"], "community_layouts": ["fullsize_ansi"],

View file

@ -22,11 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 8 #define MATRIX_ROWS 8
#define MATRIX_COLS 18 #define MATRIX_COLS 18
#define LED_NUM_LOCK_PIN B7
#define LED_CAPS_LOCK_PIN C5
#define LED_SCROLL_LOCK_PIN C6
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -7,6 +7,12 @@
"pid": "0x1337", "pid": "0x1337",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "C5",
"num_lock": "B7",
"scroll_lock": "C6",
"on_state": 0
},
"processor": "atmega32u2", "processor": "atmega32u2",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi", "tkl_iso"], "community_layouts": ["tkl_ansi", "tkl_iso"],

View file

@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B4, A15, A14, A0, F0 } #define MATRIX_ROW_PINS { B4, A15, A14, A0, F0 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B12
#define LED_NUM_LOCK_PIN B14
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,11 @@
"pid": "0xBA77", "pid": "0xBA77",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B12",
"num_lock": "B14",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { C14, A1, B14, B15, A8 } #define MATRIX_ROW_PINS { C14, A1, B14, B15, A8 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B3
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,10 @@
"pid": "0x0008", "pid": "0x0008",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B3",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -18,10 +18,6 @@
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6 #define BREATHING_PERIOD 6
#define LED_CAPS_LOCK_PIN B9
#define LED_SCROLL_LOCK_PIN F0
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,11 @@
"pid": "0x000A", "pid": "0x000A",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B9",
"scroll_lock": "F0",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_BREATHING #define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6 #define BREATHING_PERIOD 6
#define LED_CAPS_LOCK_PIN F1
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,10 @@
"pid": "0x0012", "pid": "0x0012",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "F1",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layout_aliases": { "layout_aliases": {

View file

@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { C14, A1, B14, B15, A8 } #define MATRIX_ROW_PINS { C14, A1, B14, B15, A8 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN B3
#define LED_PIN_ON_STATE 0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

@ -8,6 +8,10 @@
"pid": "0x000F", "pid": "0x000F",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B3",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -30,10 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define LED_CAPS_LOCK_PIN B14
#define LED_PIN_ON_STATE 0
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View file

@ -8,6 +8,10 @@
"pid": "0x0010", "pid": "0x0010",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B14",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define LED_CAPS_LOCK_PIN B6
#define LED_SCROLL_LOCK_PIN B2
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View file

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

View file

@ -57,14 +57,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI_SCK_PAL_MODE 0 #define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13 #define WS2812_SPI_SCK_PIN B13
// Indicator LEDs
#define LED_CAPS_LOCK_PIN A8
#define LED_NUM_LOCK_PIN A9
#define LED_SCROLL_LOCK_PIN B12
#define LED_PIN_ON_STATE 0
// 2 bits for 4 layout options // 2 bits for 4 layout options
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2

View file

@ -8,6 +8,12 @@
"pid": "0x0009", "pid": "0x0009",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "A8",
"num_lock": "A9",
"scroll_lock": "B12",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B10, B14, A8, A9, A10, C13, C14, C15, F0, F1 } #define MATRIX_ROW_PINS { B10, B14, A8, A9, A10, C13, C14, C15, F0, F1 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN B4
#define LED_CAPS_LOCK_PIN B3
#define LED_SCROLL_LOCK_PIN A15
#define BACKLIGHT_PIN A6 #define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PWM_CHANNEL 1

View file

@ -8,6 +8,11 @@
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B3",
"num_lock": "B4",
"scroll_lock": "A15"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -30,7 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */ /* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
/* Indicator LEDs */
#define LED_CAPS_LOCK_PIN B6
#define LED_PIN_ON_STATE 0

View file

@ -8,6 +8,10 @@
"pid": "0x4336", "pid": "0x4336",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "B6",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -29,10 +29,6 @@
//NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed //NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed
#define LED_NUM_LOCK_PIN F6
#define LED_CAPS_LOCK_PIN F5
#define LED_SCROLL_LOCK_PIN F7
#define LED_PIN_ON_STATE 0
//TODO change the E6 pin to either B5, B6, B7 or C6 to utilize hardware PWM on a future PCB revision //TODO change the E6 pin to either B5, B6, B7 or C6 to utilize hardware PWM on a future PCB revision
#define BACKLIGHT_PIN E6 #define BACKLIGHT_PIN E6

View file

@ -8,6 +8,12 @@
"pid": "0xAA55", "pid": "0xAA55",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "F5",
"num_lock": "F6",
"scroll_lock": "F7",
"on_state": 0
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "halfkay", "bootloader": "halfkay",
"layouts": { "layouts": {

View file

@ -26,6 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B0, B1, B2, B3, C7 } #define MATRIX_ROW_PINS { B0, B1, B2, B3, C7 }
#define MATRIX_COL_PINS { D3, D5, B4, D7, D6, D4, F7, F6, F5, F4, F1, F0, B5, B6, C6 } #define MATRIX_COL_PINS { D3, D5, B4, D7, D6, D4, F7, F6, F5, F4, F1, F0, B5, B6, C6 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
/* LED config */
#define LED_CAPS_LOCK_PIN E6

View file

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

View file

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

View file

@ -8,6 +8,10 @@
"pid": "0x5353", "pid": "0x5353",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"indicators": {
"caps_lock": "F1",
"on_state": 0
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

Some files were not shown because too many files have changed in this diff Show more