diff options
Diffstat (limited to 'keyboards/tau4')
-rw-r--r-- | keyboards/tau4/info.json | 4 | ||||
-rw-r--r-- | keyboards/tau4/tau4.c | 14 |
2 files changed, 3 insertions, 15 deletions
diff --git a/keyboards/tau4/info.json b/keyboards/tau4/info.json index dca1387203..979cc9e10c 100644 --- a/keyboards/tau4/info.json +++ b/keyboards/tau4/info.json @@ -56,10 +56,12 @@ }, "led_count": 10, "max_brightness": 128, - "pin": "B2", "saturation_steps": 16, "sleep": true }, + "ws2812": { + "pin": "B2" + }, "layouts": { "LAYOUT_ortho_4x12": { "layout": [ diff --git a/keyboards/tau4/tau4.c b/keyboards/tau4/tau4.c index aa508aae2c..c93d73f2b4 100644 --- a/keyboards/tau4/tau4.c +++ b/keyboards/tau4/tau4.c @@ -17,20 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "quantum.h" -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { return false; } - if (index == 0) { /* First encoder */ - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } - return true; -} -#endif - #ifdef OLED_ENABLE bool oled_task_kb(void) { if (!oled_task_user()) { return false; } |