summaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-02-23 09:19:00 +1100
committerGitHub <noreply@github.com>2023-02-23 09:19:00 +1100
commit7f805cc7799deb0ca75f751cebd32c6640058af9 (patch)
treeebc20e21b50812ea4455bdfc5567c8025aa4fc74 /keyboards/ploopyco/trackball
parent403b0addea48548abdbde6203d8673f2b77164a7 (diff)
VIA Protocol 12 + fixes (#19916)
Co-authored-by: Wilba <wilba@wilba.tech> Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/ploopyco/trackball')
-rw-r--r--keyboards/ploopyco/trackball/trackball.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/keyboards/ploopyco/trackball/trackball.h b/keyboards/ploopyco/trackball/trackball.h
index e2e46b2c97..d6c4b0f985 100644
--- a/keyboards/ploopyco/trackball/trackball.h
+++ b/keyboards/ploopyco/trackball/trackball.h
@@ -44,17 +44,9 @@ extern keyboard_config_t keyboard_config;
extern uint16_t dpi_array[];
enum ploopy_keycodes {
-#ifdef VIA_ENABLE
- DPI_CONFIG = USER00,
-#else
- DPI_CONFIG = SAFE_RANGE,
-#endif
+ DPI_CONFIG = QK_KB_0,
DRAG_SCROLL,
-#ifdef VIA_ENABLE
- PLOOPY_SAFE_RANGE = SAFE_RANGE,
-#else
PLOOPY_SAFE_RANGE,
-#endif
};
bool encoder_update_user(uint8_t index, bool clockwise);