keychron_qmk_firmware/quantum/quantum_keycodes_legacy.h
Joel Challis 69fa02c37d
Align audio keycode names (#18962)
* Align audio keycode names

* Update docs

* Update quantum
2022-11-05 17:05:19 +00:00

141 lines
5.7 KiB
C

#pragma once
// clang-format off
// Deprecated Quantum keycodes
#define KC_LEAD QK_LEADER
#define KC_LOCK QK_LOCK
#define KC_ASUP QK_AUTO_SHIFT_UP
#define KC_ASDN QK_AUTO_SHIFT_DOWN
#define KC_ASRP QK_AUTO_SHIFT_REPORT
#define KC_ASTG QK_AUTO_SHIFT_TOGGLE
#define KC_ASON QK_AUTO_SHIFT_ON
#define KC_ASOFF QK_AUTO_SHIFT_OFF
#define VLK_TOG QK_VELOCIKEY_TOGGLE
#define CAPSWRD QK_CAPS_WORD_TOGGLE
#define CAPS_WORD QK_CAPS_WORD_TOGGLE
#define KEY_OVERRIDE_TOGGLE QK_KEY_OVERRIDE_TOGGLE
#define KEY_OVERRIDE_ON QK_KEY_OVERRIDE_ON
#define KEY_OVERRIDE_OFF QK_KEY_OVERRIDE_OFF
#define ONESHOT_ENABLE QK_ONE_SHOT_ON
#define ONESHOT_DISABLE QK_ONE_SHOT_OFF
#define ONESHOT_TOGGLE QK_ONE_SHOT_TOGGLE
#define CMB_ON QK_COMBO_ON
#define CMB_OFF QK_COMBO_OFF
#define CMB_TOG QK_COMBO_TOGGLE
#define UC_MOD QK_UNICODE_MODE_NEXT
#define UC_RMOD QK_UNICODE_MODE_PREVIOUS
#define UC_M_MA QK_UNICODE_MODE_MACOS
#define UC_M_LN QK_UNICODE_MODE_LINUX
#define UC_M_WI QK_UNICODE_MODE_WINDOWS
#define UC_M_BS QK_UNICODE_MODE_BSD
#define UC_M_WC QK_UNICODE_MODE_WINCOMPOSE
#define UC_M_EM QK_UNICODE_MODE_EMACS
#define DYN_REC_START1 QK_DYNAMIC_MACRO_RECORD_START_1
#define DYN_REC_START2 QK_DYNAMIC_MACRO_RECORD_START_2
#define DYN_REC_STOP QK_DYNAMIC_MACRO_RECORD_STOP
#define DYN_MACRO_PLAY1 QK_DYNAMIC_MACRO_PLAY_1
#define DYN_MACRO_PLAY2 QK_DYNAMIC_MACRO_PLAY_2
#define PROGRAMMABLE_BUTTON_1 QK_PROGRAMMABLE_BUTTON_1
#define PROGRAMMABLE_BUTTON_2 QK_PROGRAMMABLE_BUTTON_2
#define PROGRAMMABLE_BUTTON_3 QK_PROGRAMMABLE_BUTTON_3
#define PROGRAMMABLE_BUTTON_4 QK_PROGRAMMABLE_BUTTON_4
#define PROGRAMMABLE_BUTTON_5 QK_PROGRAMMABLE_BUTTON_5
#define PROGRAMMABLE_BUTTON_6 QK_PROGRAMMABLE_BUTTON_6
#define PROGRAMMABLE_BUTTON_7 QK_PROGRAMMABLE_BUTTON_7
#define PROGRAMMABLE_BUTTON_8 QK_PROGRAMMABLE_BUTTON_8
#define PROGRAMMABLE_BUTTON_9 QK_PROGRAMMABLE_BUTTON_9
#define PROGRAMMABLE_BUTTON_10 QK_PROGRAMMABLE_BUTTON_10
#define PROGRAMMABLE_BUTTON_11 QK_PROGRAMMABLE_BUTTON_11
#define PROGRAMMABLE_BUTTON_12 QK_PROGRAMMABLE_BUTTON_12
#define PROGRAMMABLE_BUTTON_13 QK_PROGRAMMABLE_BUTTON_13
#define PROGRAMMABLE_BUTTON_14 QK_PROGRAMMABLE_BUTTON_14
#define PROGRAMMABLE_BUTTON_15 QK_PROGRAMMABLE_BUTTON_15
#define PROGRAMMABLE_BUTTON_16 QK_PROGRAMMABLE_BUTTON_16
#define PROGRAMMABLE_BUTTON_17 QK_PROGRAMMABLE_BUTTON_17
#define PROGRAMMABLE_BUTTON_18 QK_PROGRAMMABLE_BUTTON_18
#define PROGRAMMABLE_BUTTON_19 QK_PROGRAMMABLE_BUTTON_19
#define PROGRAMMABLE_BUTTON_20 QK_PROGRAMMABLE_BUTTON_20
#define PROGRAMMABLE_BUTTON_21 QK_PROGRAMMABLE_BUTTON_21
#define PROGRAMMABLE_BUTTON_22 QK_PROGRAMMABLE_BUTTON_22
#define PROGRAMMABLE_BUTTON_23 QK_PROGRAMMABLE_BUTTON_23
#define PROGRAMMABLE_BUTTON_24 QK_PROGRAMMABLE_BUTTON_24
#define PROGRAMMABLE_BUTTON_25 QK_PROGRAMMABLE_BUTTON_25
#define PROGRAMMABLE_BUTTON_26 QK_PROGRAMMABLE_BUTTON_26
#define PROGRAMMABLE_BUTTON_27 QK_PROGRAMMABLE_BUTTON_27
#define PROGRAMMABLE_BUTTON_28 QK_PROGRAMMABLE_BUTTON_28
#define PROGRAMMABLE_BUTTON_29 QK_PROGRAMMABLE_BUTTON_29
#define PROGRAMMABLE_BUTTON_30 QK_PROGRAMMABLE_BUTTON_30
#define PROGRAMMABLE_BUTTON_31 QK_PROGRAMMABLE_BUTTON_31
#define PROGRAMMABLE_BUTTON_32 QK_PROGRAMMABLE_BUTTON_32
#define JS_BUTTON0 QK_JOYSTICK_BUTTON_0
#define JS_BUTTON1 QK_JOYSTICK_BUTTON_1
#define JS_BUTTON2 QK_JOYSTICK_BUTTON_2
#define JS_BUTTON3 QK_JOYSTICK_BUTTON_3
#define JS_BUTTON4 QK_JOYSTICK_BUTTON_4
#define JS_BUTTON5 QK_JOYSTICK_BUTTON_5
#define JS_BUTTON6 QK_JOYSTICK_BUTTON_6
#define JS_BUTTON7 QK_JOYSTICK_BUTTON_7
#define JS_BUTTON8 QK_JOYSTICK_BUTTON_8
#define JS_BUTTON9 QK_JOYSTICK_BUTTON_9
#define JS_BUTTON10 QK_JOYSTICK_BUTTON_10
#define JS_BUTTON11 QK_JOYSTICK_BUTTON_11
#define JS_BUTTON12 QK_JOYSTICK_BUTTON_12
#define JS_BUTTON13 QK_JOYSTICK_BUTTON_13
#define JS_BUTTON14 QK_JOYSTICK_BUTTON_14
#define JS_BUTTON15 QK_JOYSTICK_BUTTON_15
#define JS_BUTTON16 QK_JOYSTICK_BUTTON_16
#define JS_BUTTON17 QK_JOYSTICK_BUTTON_17
#define JS_BUTTON18 QK_JOYSTICK_BUTTON_18
#define JS_BUTTON19 QK_JOYSTICK_BUTTON_19
#define JS_BUTTON20 QK_JOYSTICK_BUTTON_20
#define JS_BUTTON21 QK_JOYSTICK_BUTTON_21
#define JS_BUTTON22 QK_JOYSTICK_BUTTON_22
#define JS_BUTTON23 QK_JOYSTICK_BUTTON_23
#define JS_BUTTON24 QK_JOYSTICK_BUTTON_24
#define JS_BUTTON25 QK_JOYSTICK_BUTTON_25
#define JS_BUTTON26 QK_JOYSTICK_BUTTON_26
#define JS_BUTTON27 QK_JOYSTICK_BUTTON_27
#define JS_BUTTON28 QK_JOYSTICK_BUTTON_28
#define JS_BUTTON29 QK_JOYSTICK_BUTTON_29
#define JS_BUTTON30 QK_JOYSTICK_BUTTON_30
#define JS_BUTTON31 QK_JOYSTICK_BUTTON_31
#define SECURE_LOCK QK_SECURE_LOCK
#define SECURE_UNLOCK QK_SECURE_UNLOCK
#define SECURE_TOGGLE QK_SECURE_TOGGLE
#define SECURE_REQUEST QK_SECURE_REQUEST
#define KC_LSPO QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN
#define KC_RSPC QK_SPACE_CADET_RIGHT_SHIFT_PARENTHESIS_CLOSE
#define KC_LCPO QK_SPACE_CADET_LEFT_CTRL_PARENTHESIS_OPEN
#define KC_RCPC QK_SPACE_CADET_RIGHT_CTRL_PARENTHESIS_CLOSE
#define KC_LAPO QK_SPACE_CADET_LEFT_ALT_PARENTHESIS_OPEN
#define KC_RAPC QK_SPACE_CADET_RIGHT_ALT_PARENTHESIS_CLOSE
#define KC_SFTENT QK_SPACE_CADET_RIGHT_SHIFT_ENTER
#define AU_TOG QK_AUDIO_TOGGLE
#define CLICKY_TOGGLE QK_AUDIO_CLICKY_TOGGLE
#define CLICKY_ENABLE QK_AUDIO_CLICKY_ON
#define CLICKY_DISABLE QK_AUDIO_CLICKY_OFF
#define CLICKY_UP QK_AUDIO_CLICKY_UP
#define CLICKY_DOWN QK_AUDIO_CLICKY_DOWN
#define CLICKY_RESET QK_AUDIO_CLICKY_RESET
#define MU_TOG QK_MUSIC_TOGGLE
#define MU_MOD QK_MUSIC_MODE_NEXT
#define MUV_IN QK_AUDIO_VOICE_NEXT
#define MUV_DE QK_AUDIO_VOICE_PREVIOUS
#define TERM_ON _Static_assert(false, "The Terminal feature has been removed from QMK. Please remove use of TERM_ON/TERM_OFF from your keymap.")
#define TERM_OFF _Static_assert(false, "The Terminal feature has been removed from QMK.. Please remove use of TERM_ON/TERM_OFF from your keymap.")
// #define RESET _Static_assert(false, "The RESET keycode has been removed from QMK.. Please remove use from your keymap.")