forked from mirrors/qmk_firmware
287 lines
11 KiB
C
287 lines
11 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 BL_DEC QK_BACKLIGHT_DOWN
|
|
#define BL_INC QK_BACKLIGHT_UP
|
|
|
|
#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 MI_TOG QK_MIDI_TOGGLE
|
|
#define MI_C_1 QK_MIDI_NOTE_C_1
|
|
#define MI_Cs_1 QK_MIDI_NOTE_C_SHARP_1
|
|
#define MI_Db_1 QK_MIDI_NOTE_C_SHARP_1
|
|
#define MI_D_1 QK_MIDI_NOTE_D_1
|
|
#define MI_Ds_1 QK_MIDI_NOTE_D_SHARP_1
|
|
#define MI_Eb_1 QK_MIDI_NOTE_D_SHARP_1
|
|
#define MI_E_1 QK_MIDI_NOTE_E_1
|
|
#define MI_F_1 QK_MIDI_NOTE_F_1
|
|
#define MI_Fs_1 QK_MIDI_NOTE_F_SHARP_1
|
|
#define MI_Gb_1 QK_MIDI_NOTE_F_SHARP_1
|
|
#define MI_G_1 QK_MIDI_NOTE_G_1
|
|
#define MI_Gs_1 QK_MIDI_NOTE_G_SHARP_1
|
|
#define MI_Ab_1 QK_MIDI_NOTE_G_SHARP_1
|
|
#define MI_A_1 QK_MIDI_NOTE_A_1
|
|
#define MI_As_1 QK_MIDI_NOTE_A_SHARP_1
|
|
#define MI_Bb_1 QK_MIDI_NOTE_A_SHARP_1
|
|
#define MI_B_1 QK_MIDI_NOTE_B_1
|
|
#define MI_C_2 QK_MIDI_NOTE_C_2
|
|
#define MI_Cs_2 QK_MIDI_NOTE_C_SHARP_2
|
|
#define MI_Db_2 QK_MIDI_NOTE_C_SHARP_2
|
|
#define MI_D_2 QK_MIDI_NOTE_D_2
|
|
#define MI_Ds_2 QK_MIDI_NOTE_D_SHARP_2
|
|
#define MI_Eb_2 QK_MIDI_NOTE_D_SHARP_2
|
|
#define MI_E_2 QK_MIDI_NOTE_E_2
|
|
#define MI_F_2 QK_MIDI_NOTE_F_2
|
|
#define MI_Fs_2 QK_MIDI_NOTE_F_SHARP_2
|
|
#define MI_Gb_2 QK_MIDI_NOTE_F_SHARP_2
|
|
#define MI_G_2 QK_MIDI_NOTE_G_2
|
|
#define MI_Gs_2 QK_MIDI_NOTE_G_SHARP_2
|
|
#define MI_Ab_2 QK_MIDI_NOTE_G_SHARP_2
|
|
#define MI_A_2 QK_MIDI_NOTE_A_2
|
|
#define MI_As_2 QK_MIDI_NOTE_A_SHARP_2
|
|
#define MI_Bb_2 QK_MIDI_NOTE_A_SHARP_2
|
|
#define MI_B_2 QK_MIDI_NOTE_B_2
|
|
#define MI_C_3 QK_MIDI_NOTE_C_3
|
|
#define MI_Cs_3 QK_MIDI_NOTE_C_SHARP_3
|
|
#define MI_Db_3 QK_MIDI_NOTE_C_SHARP_3
|
|
#define MI_D_3 QK_MIDI_NOTE_D_3
|
|
#define MI_Ds_3 QK_MIDI_NOTE_D_SHARP_3
|
|
#define MI_Eb_3 QK_MIDI_NOTE_D_SHARP_3
|
|
#define MI_E_3 QK_MIDI_NOTE_E_3
|
|
#define MI_F_3 QK_MIDI_NOTE_F_3
|
|
#define MI_Fs_3 QK_MIDI_NOTE_F_SHARP_3
|
|
#define MI_Gb_3 QK_MIDI_NOTE_F_SHARP_3
|
|
#define MI_G_3 QK_MIDI_NOTE_G_3
|
|
#define MI_Gs_3 QK_MIDI_NOTE_G_SHARP_3
|
|
#define MI_Ab_3 QK_MIDI_NOTE_G_SHARP_3
|
|
#define MI_A_3 QK_MIDI_NOTE_A_3
|
|
#define MI_As_3 QK_MIDI_NOTE_A_SHARP_3
|
|
#define MI_Bb_3 QK_MIDI_NOTE_A_SHARP_3
|
|
#define MI_B_3 QK_MIDI_NOTE_B_3
|
|
#define MI_C_4 QK_MIDI_NOTE_C_4
|
|
#define MI_Cs_4 QK_MIDI_NOTE_C_SHARP_4
|
|
#define MI_Db_4 QK_MIDI_NOTE_C_SHARP_4
|
|
#define MI_D_4 QK_MIDI_NOTE_D_4
|
|
#define MI_Ds_4 QK_MIDI_NOTE_D_SHARP_4
|
|
#define MI_Eb_4 QK_MIDI_NOTE_D_SHARP_4
|
|
#define MI_E_4 QK_MIDI_NOTE_E_4
|
|
#define MI_F_4 QK_MIDI_NOTE_F_4
|
|
#define MI_Fs_4 QK_MIDI_NOTE_F_SHARP_4
|
|
#define MI_Gb_4 QK_MIDI_NOTE_F_SHARP_4
|
|
#define MI_G_4 QK_MIDI_NOTE_G_4
|
|
#define MI_Gs_4 QK_MIDI_NOTE_G_SHARP_4
|
|
#define MI_Ab_4 QK_MIDI_NOTE_G_SHARP_4
|
|
#define MI_A_4 QK_MIDI_NOTE_A_4
|
|
#define MI_As_4 QK_MIDI_NOTE_A_SHARP_4
|
|
#define MI_Bb_4 QK_MIDI_NOTE_A_SHARP_4
|
|
#define MI_B_4 QK_MIDI_NOTE_B_4
|
|
#define MI_C_5 QK_MIDI_NOTE_C_5
|
|
#define MI_Cs_5 QK_MIDI_NOTE_C_SHARP_5
|
|
#define MI_Db_5 QK_MIDI_NOTE_C_SHARP_5
|
|
#define MI_D_5 QK_MIDI_NOTE_D_5
|
|
#define MI_Ds_5 QK_MIDI_NOTE_D_SHARP_5
|
|
#define MI_Eb_5 QK_MIDI_NOTE_D_SHARP_5
|
|
#define MI_E_5 QK_MIDI_NOTE_E_5
|
|
#define MI_F_5 QK_MIDI_NOTE_F_5
|
|
#define MI_Fs_5 QK_MIDI_NOTE_F_SHARP_5
|
|
#define MI_Gb_5 QK_MIDI_NOTE_F_SHARP_5
|
|
#define MI_G_5 QK_MIDI_NOTE_G_5
|
|
#define MI_Gs_5 QK_MIDI_NOTE_G_SHARP_5
|
|
#define MI_Ab_5 QK_MIDI_NOTE_G_SHARP_5
|
|
#define MI_A_5 QK_MIDI_NOTE_A_5
|
|
#define MI_As_5 QK_MIDI_NOTE_A_SHARP_5
|
|
#define MI_Bb_5 QK_MIDI_NOTE_A_SHARP_5
|
|
#define MI_B_5 QK_MIDI_NOTE_B_5
|
|
#define MI_OCT_N2 QK_MIDI_OCTAVE_N2
|
|
#define MI_OCT_N1 QK_MIDI_OCTAVE_N1
|
|
#define MI_OCT_0 QK_MIDI_OCTAVE_0
|
|
#define MI_OCT_1 QK_MIDI_OCTAVE_1
|
|
#define MI_OCT_2 QK_MIDI_OCTAVE_2
|
|
#define MI_OCT_3 QK_MIDI_OCTAVE_3
|
|
#define MI_OCT_4 QK_MIDI_OCTAVE_4
|
|
#define MI_OCT_5 QK_MIDI_OCTAVE_5
|
|
#define MI_OCT_6 QK_MIDI_OCTAVE_6
|
|
#define MI_OCT_7 QK_MIDI_OCTAVE_7
|
|
#define MI_TRNS_N6 QK_MIDI_TRANSPOSE_N6
|
|
#define MI_TRNS_N5 QK_MIDI_TRANSPOSE_N5
|
|
#define MI_TRNS_N4 QK_MIDI_TRANSPOSE_N4
|
|
#define MI_TRNS_N3 QK_MIDI_TRANSPOSE_N3
|
|
#define MI_TRNS_N2 QK_MIDI_TRANSPOSE_N2
|
|
#define MI_TRNS_N1 QK_MIDI_TRANSPOSE_N1
|
|
#define MI_TRNS_0 QK_MIDI_TRANSPOSE_0
|
|
#define MI_TRNS_1 QK_MIDI_TRANSPOSE_1
|
|
#define MI_TRNS_2 QK_MIDI_TRANSPOSE_2
|
|
#define MI_TRNS_3 QK_MIDI_TRANSPOSE_3
|
|
#define MI_TRNS_4 QK_MIDI_TRANSPOSE_4
|
|
#define MI_TRNS_5 QK_MIDI_TRANSPOSE_5
|
|
#define MI_TRNS_6 QK_MIDI_TRANSPOSE_6
|
|
#define MI_TRNSD QK_MIDI_TRANSPOSE_DOWN
|
|
#define MI_TRNSU QK_MIDI_TRANSPOSE_UP
|
|
#define MI_VEL_0 QK_MIDI_VELOCITY_0
|
|
#define MI_VEL_1 QK_MIDI_VELOCITY_1
|
|
#define MI_VEL_2 QK_MIDI_VELOCITY_2
|
|
#define MI_VEL_3 QK_MIDI_VELOCITY_3
|
|
#define MI_VEL_4 QK_MIDI_VELOCITY_4
|
|
#define MI_VEL_5 QK_MIDI_VELOCITY_5
|
|
#define MI_VEL_6 QK_MIDI_VELOCITY_6
|
|
#define MI_VEL_7 QK_MIDI_VELOCITY_7
|
|
#define MI_VEL_8 QK_MIDI_VELOCITY_8
|
|
#define MI_VEL_9 QK_MIDI_VELOCITY_9
|
|
#define MI_VEL_10 QK_MIDI_VELOCITY_10
|
|
#define MI_CHD QK_MIDI_CHANNEL_DOWN
|
|
#define MI_CHU QK_MIDI_CHANNEL_UP
|
|
#define MI_ALLOFF QK_MIDI_ALL_NOTES_OFF
|
|
#define MI_MODSD QK_MIDI_MODULATION_SPEED_DOWN
|
|
#define MI_MODSU QK_MIDI_MODULATION_SPEED_UP
|
|
#define MI_BENDD QK_MIDI_PITCH_BEND_DOWN
|
|
#define MI_BENDU QK_MIDI_PITCH_BEND_UP
|
|
|
|
#define HPT_ON QK_HAPTIC_ON
|
|
#define HPT_OFF QK_HAPTIC_OFF
|
|
#define HPT_TOG QK_HAPTIC_TOGGLE
|
|
#define HPT_RST QK_HAPTIC_RESET
|
|
#define HPT_FBK QK_HAPTIC_FEEDBACK_TOGGLE
|
|
#define HPT_BUZ QK_HAPTIC_BUZZ_TOGGLE
|
|
#define HPT_MODI QK_HAPTIC_MODE_NEXT
|
|
#define HPT_MODD QK_HAPTIC_MODE_PREVIOUS
|
|
#define HPT_CONT QK_HAPTIC_CONTINUOUS_TOGGLE
|
|
#define HPT_CONI QK_HAPTIC_CONTINUOUS_UP
|
|
#define HPT_COND QK_HAPTIC_CONTINUOUS_DOWN
|
|
#define HPT_DWLI QK_HAPTIC_DWELL_UP
|
|
#define HPT_DWLD QK_HAPTIC_DWELL_DOWN
|
|
|
|
#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.")
|