diff options
author | Joel Challis <git@zvecr.com> | 2023-02-22 22:49:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 09:49:07 +1100 |
commit | 961f0b7b2de54f988daf4ce7b791f91a33e55612 (patch) | |
tree | a96aecd70d8f1341c81dc12d79cbb59a94803241 /keyboards/bastardkb/dilemma | |
parent | ea772468650f7c79a9919a4770d371839985bef0 (diff) |
Reallocate SAFE_RANGE (#19909)
Diffstat (limited to 'keyboards/bastardkb/dilemma')
-rw-r--r-- | keyboards/bastardkb/dilemma/dilemma.c | 2 | ||||
-rw-r--r-- | keyboards/bastardkb/dilemma/dilemma.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/bastardkb/dilemma/dilemma.c b/keyboards/bastardkb/dilemma/dilemma.c index b474a24e7f..5452f9e7f6 100644 --- a/keyboards/bastardkb/dilemma/dilemma.c +++ b/keyboards/bastardkb/dilemma/dilemma.c @@ -308,7 +308,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) { # endif // !NO_DILEMMA_KEYCODES # endif // POINTING_DEVICE_ENABLE debug_dilemma_config_to_console(&g_dilemma_config); - if ((keycode >= POINTER_DEFAULT_DPI_FORWARD && keycode < DILEMMA_SAFE_RANGE) || IS_MOUSEKEY(keycode)) { + if (IS_QK_KB(keycode) || IS_MOUSEKEY(keycode)) { debug_dilemma_config_to_console(&g_dilemma_config); } return true; diff --git a/keyboards/bastardkb/dilemma/dilemma.h b/keyboards/bastardkb/dilemma/dilemma.h index 469986839d..f2c0784533 100644 --- a/keyboards/bastardkb/dilemma/dilemma.h +++ b/keyboards/bastardkb/dilemma/dilemma.h @@ -40,7 +40,6 @@ enum dilemma_keycodes { SNIPING_MODE_TOGGLE, DRAGSCROLL_MODE, DRAGSCROLL_MODE_TOGGLE, - DILEMMA_SAFE_RANGE, }; # define DPI_MOD POINTER_DEFAULT_DPI_FORWARD |