1
0
Fork 0

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

@ -26,9 +26,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN D5
#define LED_PIN_ON_STATE 0
/* 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,10 @@
"pid": "0x0045",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D5",
"on_state": 0
},
"processor": "atmega328p",
"bootloader": "usbasploader",
"layouts": {

View file

@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define LED_CAPS_LOCK_PIN GP19
#define LED_PIN_ON_STATE 0
/* disable debug print */
//#define NO_DEBUG

View file

@ -23,6 +23,10 @@
"pid": "0x0060",
"vid": "0x414C"
},
"indicators": {
"caps_lock": "GP19",
"on_state": 0
},
"bootmagic": {
"matrix": [0, 1]
},

View file

@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define LED_CAPS_LOCK_PIN D4
#define LED_PIN_ON_STATE 0
#define ENCODERS_PAD_A { C1 }
#define ENCODERS_PAD_B { C2 }
#define ENCODER_RESOLUTION 4 //default/suggested

View file

@ -8,6 +8,10 @@
"pid": "0x5575",
"device_version": "0.0.3"
},
"indicators": {
"caps_lock": "D4",
"on_state": 0
},
"bootmagic": {
"matrix": [0, 1]
},

View file

@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define LED_CAPS_LOCK_PIN D4
#define LED_PIN_ON_STATE 0
#define RGB_DI_PIN D5
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING

View file

@ -8,6 +8,10 @@
"pid": "0x0080",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D4",
"on_state": 0
},
"bootmagic": {
"matrix": [0, 1]
},

View file

@ -26,9 +26,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN D5
#define LED_PIN_ON_STATE 0
/* 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,10 @@
"pid": "0x5050",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D5",
"on_state": 0
},
"processor": "atmega328p",
"bootloader": "usbasploader",
"layouts": {

View file

@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B4, A7, A5, A6, C3 }
#define MATRIX_COL_PINS { B0, A1, B1, A2, B2, A3, B3, A4, C7, C6, D0, C5, D1, C4 }
#define LED_CAPS_LOCK_PIN A0
#define LED_PIN_ON_STATE 0
#define ENCODERS_PAD_B { D5 }
#define ENCODERS_PAD_A { C2 }
#define ENCODER_RESOLUTION 2 //default/suggested

View file

@ -8,6 +8,10 @@
"pid": "0x6065",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A0",
"on_state": 0
},
"processor": "atmega32a",
"bootloader": "usbasploader",
"community_layouts": ["65_ansi", "65_iso"],

View file

@ -30,11 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define LED_NUM_LOCK_PIN A8
#define LED_CAPS_LOCK_PIN B14
#define LED_SCROLL_LOCK_PIN A9
#define LED_PIN_ON_STATE 0
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -8,6 +8,12 @@
"pid": "0x0065",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B14",
"num_lock": "A8",
"scroll_lock": "A9",
"on_state": 0
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {

View file

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

View file

@ -8,6 +8,11 @@
"pid": "0x4040",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "F5",
"num_lock": "F6",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View file

@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN D7
#define LED_PIN_ON_STATE 1
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View file

@ -8,6 +8,9 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D7"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_5x4", "numpad_5x4"],