summaryrefslogtreecommitdiffstats
path: root/keyboards/ploopyco
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco')
-rw-r--r--keyboards/ploopyco/mouse/mouse.h10
-rw-r--r--keyboards/ploopyco/trackball/trackball.h10
-rw-r--r--keyboards/ploopyco/trackball_mini/trackball_mini.h10
-rw-r--r--keyboards/ploopyco/trackball_thumb/trackball_thumb.h10
4 files changed, 4 insertions, 36 deletions
diff --git a/keyboards/ploopyco/mouse/mouse.h b/keyboards/ploopyco/mouse/mouse.h
index 508a883169..906b6c9308 100644
--- a/keyboards/ploopyco/mouse/mouse.h
+++ b/keyboards/ploopyco/mouse/mouse.h
@@ -41,17 +41,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);
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);
diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.h b/keyboards/ploopyco/trackball_mini/trackball_mini.h
index 3410751cb0..cbd84cc4b4 100644
--- a/keyboards/ploopyco/trackball_mini/trackball_mini.h
+++ b/keyboards/ploopyco/trackball_mini/trackball_mini.h
@@ -41,17 +41,9 @@ typedef union {
extern keyboard_config_t keyboard_config;
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);
diff --git a/keyboards/ploopyco/trackball_thumb/trackball_thumb.h b/keyboards/ploopyco/trackball_thumb/trackball_thumb.h
index 168e894064..9a01944282 100644
--- a/keyboards/ploopyco/trackball_thumb/trackball_thumb.h
+++ b/keyboards/ploopyco/trackball_thumb/trackball_thumb.h
@@ -46,15 +46,7 @@ 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
};