summaryrefslogtreecommitdiffstats
path: root/keyboards/ploopyco/trackball_mini
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-22 22:49:07 +0000
committerGitHub <noreply@github.com>2023-02-23 09:49:07 +1100
commit961f0b7b2de54f988daf4ce7b791f91a33e55612 (patch)
treea96aecd70d8f1341c81dc12d79cbb59a94803241 /keyboards/ploopyco/trackball_mini
parentea772468650f7c79a9919a4770d371839985bef0 (diff)
Reallocate SAFE_RANGE (#19909)
Diffstat (limited to 'keyboards/ploopyco/trackball_mini')
-rw-r--r--keyboards/ploopyco/trackball_mini/keymaps/default/keymap.c2
-rw-r--r--keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c2
-rw-r--r--keyboards/ploopyco/trackball_mini/trackball_mini.h1
3 files changed, 1 insertions, 4 deletions
diff --git a/keyboards/ploopyco/trackball_mini/keymaps/default/keymap.c b/keyboards/ploopyco/trackball_mini/keymaps/default/keymap.c
index 5e7c684d19..3659076bec 100644
--- a/keyboards/ploopyco/trackball_mini/keymaps/default/keymap.c
+++ b/keyboards/ploopyco/trackball_mini/keymaps/default/keymap.c
@@ -18,8 +18,6 @@
*/
#include QMK_KEYBOARD_H
-// safe range starts at `PLOOPY_SAFE_RANGE` instead.
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( /* Base */
KC_BTN1, KC_BTN3, KC_BTN2,
diff --git a/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c b/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c
index 7eb973216b..b6c71c6ece 100644
--- a/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c
+++ b/keyboards/ploopyco/trackball_mini/keymaps/drag_scroll/keymap.c
@@ -21,7 +21,7 @@
bool is_drag_scroll = false;
enum custom_keycodes {
- DRAG_SCROLL = PLOOPY_SAFE_RANGE,
+ DRAG_SCROLL = SAFE_RANGE,
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.h b/keyboards/ploopyco/trackball_mini/trackball_mini.h
index cbd84cc4b4..f212ec17ca 100644
--- a/keyboards/ploopyco/trackball_mini/trackball_mini.h
+++ b/keyboards/ploopyco/trackball_mini/trackball_mini.h
@@ -43,7 +43,6 @@ extern keyboard_config_t keyboard_config;
enum ploopy_keycodes {
DPI_CONFIG = QK_KB_0,
DRAG_SCROLL,
- PLOOPY_SAFE_RANGE,
};
bool encoder_update_user(uint8_t index, bool clockwise);