Remove legacy Debug keycode (#18769)
* `DEBUG` -> `DB_TOGG`, default-ish keymaps * `DEBUG` -> `DB_TOGG`, user keymaps * `DEBUG` -> `DB_TOGG`, community layouts * `DEBUG` -> `DB_TOGG`, userspace * `DEBUG` -> `DB_TOGG`, docs & core
This commit is contained in:
@@ -444,7 +444,7 @@ bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record) {
|
||||
void post_process_record_user_rgb(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
// Acks follow...
|
||||
case DEBUG:
|
||||
case QK_DEBUG_TOGGLE:
|
||||
if (debug_matrix || debug_keyboard)
|
||||
rgb_layer_ack(ACK_HUH);
|
||||
else if (debug_enable)
|
||||
|
@@ -172,7 +172,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
#ifndef NO_DEBUG
|
||||
// Re-implement this here, but fix the persistence!
|
||||
case DEBUG:
|
||||
case QK_DEBUG_TOGGLE:
|
||||
if (get_mods() & MOD_MASK_SHIFT) {
|
||||
debug_enable = 0;
|
||||
debug_keyboard = 0;
|
||||
|
Reference in New Issue
Block a user