summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2022-03-25 16:41:36 -0700
committerDrashna Jael're <drashna@live.com>2022-03-25 16:44:29 -0700
commit67f4e5f34489abf986dedb4984b256692086c615 (patch)
treea3623eaafb52458e6685cbbda57ab38a84da180a /quantum
parent00b8c127c6e2def495301781718d2db1df576573 (diff)
Re-add webusb key
Diffstat (limited to 'quantum')
-rw-r--r--quantum/oryx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/oryx.c b/quantum/oryx.c
index 55176a7e4c..c1e5dfba31 100644
--- a/quantum/oryx.c
+++ b/quantum/oryx.c
@@ -206,6 +206,10 @@ bool process_record_oryx(uint16_t keycode, keyrecord_t *record) {
event[4] = WEBUSB_STOP_BIT;
webusb_send(event, sizeof(event));
}
+ if (keycode == WEBUSB_PAIR && record->event.pressed) {
+ webusb_state.pairing ^= true;
+ return true;
+ }
#ifdef DYNAMIC_KEYMAP_ENABLE
switch (keycode) {