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

@@ -20,8 +20,5 @@
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN E6
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 7

View File

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

View File

@@ -19,6 +19,3 @@
#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 }
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN E6
#define LED_PIN_ON_STATE 0

View File

@@ -7,6 +7,10 @@
"pid": "0x5245",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "E6",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],

View File

@@ -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
// The pin connected to the data pin of the LEDs
#define RGB_DI_PIN B7
// The number of LEDs connected

View File

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