Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D4, D6, D2, D3, D5 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define LED_CAPS_LOCK_PIN E6
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN E2
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 22
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x3001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "E6",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
@@ -37,9 +37,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
|
||||
#define LED_NUM_LOCK_PIN D0
|
||||
#define LED_CAPS_LOCK_PIN D1
|
||||
#define LED_SCROLL_LOCK_PIN D6
|
||||
|
||||
#define BACKLIGHT_PIN D4
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x2000",
|
||||
"device_version": "2.0.0"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "D1",
|
||||
"num_lock": "D0",
|
||||
"scroll_lock": "D6"
|
||||
},
|
||||
"processor": "atmega32a",
|
||||
"bootloader": "bootloadhid",
|
||||
"layouts": {
|
||||
|
@@ -38,9 +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 E6
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
#define BACKLIGHT_PIN B7
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x3000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "E6",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"community_layouts": ["65_ansi_blocker", "65_iso_blocker"],
|
||||
|
@@ -37,11 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define LED_NUM_LOCK_PIN C6
|
||||
#define LED_CAPS_LOCK_PIN C7
|
||||
#define LED_SCROLL_LOCK_PIN F7
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN E2
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 22
|
||||
|
@@ -8,6 +8,12 @@
|
||||
"pid": "0x4001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C7",
|
||||
"num_lock": "C6",
|
||||
"scroll_lock": "F7",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"community_layouts": ["65_ansi_blocker"],
|
||||
|
Reference in New Issue
Block a user