diff options
author | Drashna Jaelre <drashna@live.com> | 2021-02-23 10:57:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 10:57:24 -0800 |
commit | 0b69e4df818c2515cf4eee3d8b6fd4a07775b887 (patch) | |
tree | bdeee9c5a88c2aef8aca366b3e6ea986f44174c0 /users/drashna/pimoroni_trackball.h | |
parent | 11146ecd086c6b6736ab3c5947f26a96be642671 (diff) |
[Keymap] Drashna Updates - Split+OLED edition (#11968)
Diffstat (limited to 'users/drashna/pimoroni_trackball.h')
-rw-r--r-- | users/drashna/pimoroni_trackball.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/users/drashna/pimoroni_trackball.h b/users/drashna/pimoroni_trackball.h index 83d248d3ff..a30fb0bb8c 100644 --- a/users/drashna/pimoroni_trackball.h +++ b/users/drashna/pimoroni_trackball.h @@ -23,13 +23,13 @@ # define TRACKBALL_ADDRESS 0x0A #endif #define TRACKBALL_WRITE ((TRACKBALL_ADDRESS << 1) | I2C_WRITE) -#define TRACKBALL_READ ((TRACKBALL_ADDRESS << 1) | I2C_READ) +#define TRACKBALL_READ ((TRACKBALL_ADDRESS << 1) | I2C_READ) void trackball_set_rgbw(uint8_t red, uint8_t green, uint8_t blue, uint8_t white); void trackball_check_click(bool pressed, report_mouse_t *mouse); void trackball_register_button(bool pressed, enum mouse_buttons button); float trackball_get_precision(void); -void trackball_set_precision(float precision); -bool trackball_is_scrolling(void); -void trackball_set_scrolling(bool scroll); +void trackball_set_precision(float precision); +bool trackball_is_scrolling(void); +void trackball_set_scrolling(bool scroll); |