Keycodes for cycling output.
This commit is contained in:
parent
22c9c8c87e
commit
d88048cc93
@ -6,6 +6,21 @@
|
||||
}
|
||||
"keycodes": {
|
||||
"0x7780": {
|
||||
"group": "connection",
|
||||
"key": "QK_OUTPUT_NEXT",
|
||||
"aliases": [
|
||||
"CX_NEXT",
|
||||
"OU_AUTO"
|
||||
]
|
||||
},
|
||||
"0x7781": {
|
||||
"group": "connection",
|
||||
"key": "QK_OUTPUT_PREV",
|
||||
"aliases": [
|
||||
"CX_PREV"
|
||||
]
|
||||
},
|
||||
"0x7782": {
|
||||
"group": "connection",
|
||||
"key": "QK_OUTPUT_USB",
|
||||
"aliases": [
|
||||
@ -13,14 +28,14 @@
|
||||
"OU_USB"
|
||||
]
|
||||
},
|
||||
"0x7781": {
|
||||
"0x7783": {
|
||||
"group": "connection",
|
||||
"key": "QK_OUTPUT_2P4GHZ",
|
||||
"aliases": [
|
||||
"CX_2P4G"
|
||||
]
|
||||
},
|
||||
"0x7782": {
|
||||
"0x7784": {
|
||||
"group": "connection",
|
||||
"key": "QK_OUTPUT_BLUETOOTH",
|
||||
"aliases": [
|
||||
|
@ -622,9 +622,11 @@ enum qk_keycode_defines {
|
||||
QK_MACRO_29 = 0x771D,
|
||||
QK_MACRO_30 = 0x771E,
|
||||
QK_MACRO_31 = 0x771F,
|
||||
QK_OUTPUT_USB = 0x7780,
|
||||
QK_OUTPUT_2P4GHZ = 0x7781,
|
||||
QK_OUTPUT_BLUETOOTH = 0x7782,
|
||||
QK_OUTPUT_NEXT = 0x7780,
|
||||
QK_OUTPUT_PREV = 0x7781,
|
||||
QK_OUTPUT_USB = 0x7782,
|
||||
QK_OUTPUT_2P4GHZ = 0x7783,
|
||||
QK_OUTPUT_BLUETOOTH = 0x7784,
|
||||
QK_BLUETOOTH_PROFILE_NEXT = 0x7790,
|
||||
QK_BLUETOOTH_PROFILE_PREV = 0x7791,
|
||||
QK_BLUETOOTH_UNPAIR = 0x7792,
|
||||
@ -1306,6 +1308,9 @@ enum qk_keycode_defines {
|
||||
MC_29 = QK_MACRO_29,
|
||||
MC_30 = QK_MACRO_30,
|
||||
MC_31 = QK_MACRO_31,
|
||||
CX_NEXT = QK_OUTPUT_NEXT,
|
||||
OU_AUTO = QK_OUTPUT_NEXT,
|
||||
CX_PREV = QK_OUTPUT_PREV,
|
||||
CX_USB = QK_OUTPUT_USB,
|
||||
OU_USB = QK_OUTPUT_USB,
|
||||
CX_2P4G = QK_OUTPUT_2P4GHZ,
|
||||
@ -1489,7 +1494,7 @@ enum qk_keycode_defines {
|
||||
#define IS_AUDIO_KEYCODE(code) ((code) >= QK_AUDIO_ON && (code) <= QK_AUDIO_VOICE_PREVIOUS)
|
||||
#define IS_STENO_KEYCODE(code) ((code) >= QK_STENO_BOLT && (code) <= QK_STENO_COMB_MAX)
|
||||
#define IS_MACRO_KEYCODE(code) ((code) >= QK_MACRO_0 && (code) <= QK_MACRO_31)
|
||||
#define IS_CONNECTION_KEYCODE(code) ((code) >= QK_OUTPUT_USB && (code) <= QK_BLUETOOTH_PROFILE5)
|
||||
#define IS_CONNECTION_KEYCODE(code) ((code) >= QK_OUTPUT_NEXT && (code) <= QK_BLUETOOTH_PROFILE5)
|
||||
#define IS_BACKLIGHT_KEYCODE(code) ((code) >= QK_BACKLIGHT_ON && (code) <= QK_BACKLIGHT_TOGGLE_BREATHING)
|
||||
#define IS_LED_MATRIX_KEYCODE(code) ((code) >= QK_LED_MATRIX_ON && (code) <= QK_LED_MATRIX_SPEED_DOWN)
|
||||
#define IS_UNDERGLOW_KEYCODE(code) ((code) >= QK_UNDERGLOW_TOGGLE && (code) <= QK_UNDERGLOW_SPEED_DOWN)
|
||||
@ -1515,7 +1520,7 @@ enum qk_keycode_defines {
|
||||
#define AUDIO_KEYCODE_RANGE QK_AUDIO_ON ... QK_AUDIO_VOICE_PREVIOUS
|
||||
#define STENO_KEYCODE_RANGE QK_STENO_BOLT ... QK_STENO_COMB_MAX
|
||||
#define MACRO_KEYCODE_RANGE QK_MACRO_0 ... QK_MACRO_31
|
||||
#define CONNECTION_KEYCODE_RANGE QK_OUTPUT_USB ... QK_BLUETOOTH_PROFILE5
|
||||
#define CONNECTION_KEYCODE_RANGE QK_OUTPUT_NEXT ... QK_BLUETOOTH_PROFILE5
|
||||
#define BACKLIGHT_KEYCODE_RANGE QK_BACKLIGHT_ON ... QK_BACKLIGHT_TOGGLE_BREATHING
|
||||
#define LED_MATRIX_KEYCODE_RANGE QK_LED_MATRIX_ON ... QK_LED_MATRIX_SPEED_DOWN
|
||||
#define UNDERGLOW_KEYCODE_RANGE QK_UNDERGLOW_TOGGLE ... QK_UNDERGLOW_SPEED_DOWN
|
||||
|
@ -562,6 +562,8 @@ std::map<uint16_t, std::string> KEYCODE_ID_TABLE = {
|
||||
{QK_MACRO_29, "QK_MACRO_29"},
|
||||
{QK_MACRO_30, "QK_MACRO_30"},
|
||||
{QK_MACRO_31, "QK_MACRO_31"},
|
||||
{QK_OUTPUT_NEXT, "QK_OUTPUT_NEXT"},
|
||||
{QK_OUTPUT_PREV, "QK_OUTPUT_PREV"},
|
||||
{QK_OUTPUT_USB, "QK_OUTPUT_USB"},
|
||||
{QK_OUTPUT_2P4GHZ, "QK_OUTPUT_2P4GHZ"},
|
||||
{QK_OUTPUT_BLUETOOTH, "QK_OUTPUT_BLUETOOTH"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user