Re-add webusb key

This commit is contained in:
Drashna Jael're
2022-03-25 16:41:36 -07:00
parent 00b8c127c6
commit 67f4e5f344

View File

@@ -206,6 +206,10 @@ bool process_record_oryx(uint16_t keycode, keyrecord_t *record) {
event[4] = WEBUSB_STOP_BIT; event[4] = WEBUSB_STOP_BIT;
webusb_send(event, sizeof(event)); webusb_send(event, sizeof(event));
} }
if (keycode == WEBUSB_PAIR && record->event.pressed) {
webusb_state.pairing ^= true;
return true;
}
#ifdef DYNAMIC_KEYMAP_ENABLE #ifdef DYNAMIC_KEYMAP_ENABLE
switch (keycode) { switch (keycode) {