diff options
Diffstat (limited to 'keyboards/pica40')
-rw-r--r-- | keyboards/pica40/keymaps/zzeneg/config.h | 1 | ||||
-rw-r--r-- | keyboards/pica40/rev1/info.json | 4 | ||||
-rw-r--r-- | keyboards/pica40/rev1/rev1.c | 12 | ||||
-rw-r--r-- | keyboards/pica40/rev2/info.json | 5 | ||||
-rw-r--r-- | keyboards/pica40/rev2/rules.mk | 1 |
5 files changed, 7 insertions, 16 deletions
diff --git a/keyboards/pica40/keymaps/zzeneg/config.h b/keyboards/pica40/keymaps/zzeneg/config.h index ec422c4d8e..f29f5ba1a7 100644 --- a/keyboards/pica40/keymaps/zzeneg/config.h +++ b/keyboards/pica40/keymaps/zzeneg/config.h @@ -3,7 +3,6 @@ #pragma once -#define IGNORE_MOD_TAP_INTERRUPT #define TAPPING_FORCE_HOLD #define TAPPING_FORCE_HOLD_PER_KEY #define TAPPING_TERM 150 diff --git a/keyboards/pica40/rev1/info.json b/keyboards/pica40/rev1/info.json index 8e4e64618d..e491dd798a 100644 --- a/keyboards/pica40/rev1/info.json +++ b/keyboards/pica40/rev1/info.json @@ -19,12 +19,14 @@ }, "rgblight": { "led_count": 1, - "pin": "D3", "layers": { "enabled": true, "max": 3 } }, + "ws2812": { + "pin": "D3" + }, "encoder": { "rotary": [{ "pin_a": "C6", "pin_b": "D4" }] }, diff --git a/keyboards/pica40/rev1/rev1.c b/keyboards/pica40/rev1/rev1.c index f008e4857a..f8a03dde3b 100644 --- a/keyboards/pica40/rev1/rev1.c +++ b/keyboards/pica40/rev1/rev1.c @@ -77,15 +77,3 @@ bool oled_task_kb(void) { } #endif // OLED_ENABLE - -#ifdef ENCODER_ENABLE - -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) return false; - - tap_code(clockwise ? KC_VOLU : KC_VOLD); - - return false; -} - -#endif // ENCODER_ENABLE diff --git a/keyboards/pica40/rev2/info.json b/keyboards/pica40/rev2/info.json index dbef8254ef..7d92343c09 100644 --- a/keyboards/pica40/rev2/info.json +++ b/keyboards/pica40/rev2/info.json @@ -24,13 +24,16 @@ }, "rgblight": { "led_count": 1, - "pin": "GP12", "split": true, "layers": { "enabled": true, "max": 3 } }, + "ws2812": { + "pin": "GP12", + "driver": "vendor" + }, "split": { "enabled": true, "encoder": { diff --git a/keyboards/pica40/rev2/rules.mk b/keyboards/pica40/rev2/rules.mk index 8fb51ec82d..161ec22b16 100644 --- a/keyboards/pica40/rev2/rules.mk +++ b/keyboards/pica40/rev2/rules.mk @@ -1,2 +1 @@ SERIAL_DRIVER = vendor -WS2812_DRIVER = vendor |