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

@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 }
#define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN B0
#define LED_CAPS_LOCK_PIN A1
#define LED_SCROLL_LOCK_PIN A0
#define LED_PIN_ON_STATE 0
#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1

View file

@ -8,6 +8,12 @@
"pid": "0x1401",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A1",
"num_lock": "B0",
"scroll_lock": "A0",
"on_state": 0
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["alice", "alice_split_bs"],

View file

@ -10,7 +10,3 @@
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN A9
#define LED_CAPS_LOCK_PIN A10
#define LED_SCROLL_LOCK_PIN A8

View file

@ -8,6 +8,11 @@
"pid": "0x0C61",
"device_version": "1.0.0"
},
"indicators": {
"caps_lock": "A10",
"num_lock": "A9",
"scroll_lock": "A8"
},
"processor": "STM32F042",
"bootloader": "stm32-dfu",
"debounce": 0,