From 67f4e5f34489abf986dedb4984b256692086c615 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Fri, 25 Mar 2022 16:41:36 -0700 Subject: Re-add webusb key --- quantum/oryx.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'quantum/oryx.c') 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) { -- cgit v1.2.3