summaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball/trackball.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco/trackball/trackball.h')
-rw-r--r--keyboards/ploopyco/trackball/trackball.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/keyboards/ploopyco/trackball/trackball.h b/keyboards/ploopyco/trackball/trackball.h
index 8452a78ee7..4cdae526aa 100644
--- a/keyboards/ploopyco/trackball/trackball.h
+++ b/keyboards/ploopyco/trackball/trackball.h
@@ -33,9 +33,6 @@
#define OPT_ENC1_MUX 0
#define OPT_ENC2_MUX 4
-#define LAYOUT(BL, BM, BR, BF, BB) \
- { {BL, BM, BR, BF, BB}, }
-
typedef union {
uint32_t raw;
struct {
@@ -47,17 +44,8 @@ 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);