Reallocate SAFE_RANGE (#19909)
This commit is contained in:
parent
ea77246865
commit
961f0b7b2d
50 changed files with 31 additions and 132 deletions
|
@ -4,16 +4,8 @@
|
|||
#pragma once
|
||||
#include "drashna.h"
|
||||
|
||||
#if defined(KEYBOARD_handwired_tractyl_manuform) && defined(POINTING_DEVICE_ENABLE)
|
||||
# define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
|
||||
#elif defined(KEYBOARD_bastardkb_charybdis)
|
||||
# define PLACEHOLDER_SAFE_RANGE CHARYBDIS_SAFE_RANGE
|
||||
#else
|
||||
# define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
|
||||
#endif
|
||||
|
||||
enum userspace_custom_keycodes {
|
||||
VRSN = PLACEHOLDER_SAFE_RANGE, // Prints QMK Firmware and board info
|
||||
VRSN = SAFE_RANGE, // Prints QMK Firmware and board info
|
||||
KC_QWERTY, // Sets default layer to QWERTY
|
||||
FIRST_DEFAULT_LAYER_KEYCODE = KC_QWERTY, // Sets default layer to QWERTY
|
||||
KC_COLEMAK_DH, // Sets default layer to COLEMAK
|
||||
|
|
|
@ -82,9 +82,9 @@ bool is_mouse_record_user(uint16_t keycode, keyrecord_t* record) {
|
|||
# if defined(KEYBOARD_ploopy)
|
||||
case DPI_CONFIG:
|
||||
# elif (defined(KEYBOARD_bastardkb_charybdis) || defined(KEYBOARD_handwired_tractyl_manuform)) && !defined(NO_CHARYBDIS_KEYCODES)
|
||||
case SAFE_RANGE ...(CHARYBDIS_SAFE_RANGE - 1):
|
||||
case QK_KB ... QK_KB_MAX:
|
||||
# elif (defined(KEYBOARD_bastardkb_dilemma) && !defined(NO_DILEMMA_KEYCODES))
|
||||
case SAFE_RANGE ...(DILEMMA_SAFE_RANGE - 1):
|
||||
case QK_KB ... QK_KB_MAX:
|
||||
# endif
|
||||
case KC_ACCEL:
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue