Migrate led_update_kb implementations to DD (#23985)

This commit is contained in:
Joel Challis 2024-06-25 03:25:05 +01:00 committed by GitHub
parent 751482580e
commit a2176f6a03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 77 additions and 533 deletions

View file

@ -1,8 +0,0 @@
#include "quantum.h"
bool led_update_kb(led_t led_state) {
if (led_update_user(led_state)) {
gpio_write_pin(E6, !led_state.caps_lock);
}
return true;
}

View file

@ -8,6 +8,10 @@
"pid": "0x3938",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "E6",
"on_state": 0
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,