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

@ -54,7 +54,6 @@
#define RGBLIGHT_VAL_STEP 8
//pin setting
#define LED_CAPS_LOCK_PIN E2
#define LED_POWER_PIN D5
#define CHG_EN_PIN E6
#define BATTERY_LEVEL_PIN F0

View file

@ -8,6 +8,9 @@
"pid": "0x474E",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "E2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_hhkb"],

View file

@ -30,10 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Status LEDs */
#define LED_CAPS_LOCK_PIN B6
#define LED_SCROLL_LOCK_PIN B5
/* RGB */
#define RGB_DI_PIN B8
#define RGBLIGHT_EFFECT_BREATHING

View file

@ -8,6 +8,10 @@
"pid": "0x0369",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B6",
"scroll_lock": "B5"
},
"layouts": {
"LAYOUT_all": {
"layout": [

View file

@ -50,7 +50,3 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
// led pins
#define LED_CAPS_LOCK_PIN E6
#define LED_SCROLL_LOCK_PIN D2

View file

@ -8,6 +8,10 @@
"pid": "0x454D",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "E6",
"scroll_lock": "D2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {