diff options
Diffstat (limited to 'keyboards/crkbd/keymaps/vlukash_trackpad_right')
-rw-r--r-- | keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h | 4 | ||||
-rw-r--r-- | keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h b/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h index cddd09e5b6..89b58e4648 100644 --- a/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h +++ b/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h @@ -38,5 +38,5 @@ #define MATRIX_COL_PINS { F4, F5, F6, F7, B7, D5 } /* ws2812 RGB LED */ -#undef RGB_DI_PIN -#define RGB_DI_PIN B5 +#undef WS2812_DI_PIN +#define WS2812_DI_PIN B5 diff --git a/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c b/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c index afccb8c7ed..4dc336c420 100644 --- a/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c +++ b/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c @@ -43,7 +43,7 @@ uint8_t readRegister(uint8_t address) { return data; } -void pointing_device_task(void){ +bool pointing_device_task(void){ uint8_t motion = readRegister(0x02); // Motion has occurred on the trackpad @@ -73,6 +73,6 @@ void pointing_device_task(void){ } pointing_device_set_report(currentReport); - pointing_device_send(); } + return pointing_device_send(); } |