summaryrefslogtreecommitdiff
path: root/quantum/oryx.c
diff options
context:
space:
mode:
authorFlorian Didron <0x6664@hey.com>2022-06-23 18:22:10 +0900
committerFlorian Didron <0x6664@hey.com>2022-06-23 18:22:10 +0900
commit7d5eb53524b951384e4e1bb5c69cef08528a1fb5 (patch)
treec629316a43c827a050d00e878a39dd4707dd2071 /quantum/oryx.c
parentb8ba88abe03c6bf916c2ab202e9f6052c7673edd (diff)
fix: adds slight delay before firing a layer change event over hid
Diffstat (limited to 'quantum/oryx.c')
-rw-r--r--quantum/oryx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/oryx.c b/quantum/oryx.c
index 58b5d5c626..f457739375 100644
--- a/quantum/oryx.c
+++ b/quantum/oryx.c
@@ -208,6 +208,7 @@ bool process_record_oryx(uint16_t keycode, keyrecord_t *record) {
void layer_state_set_oryx(layer_state_t state) {
if (rawhid_state.paired) {
+ wait_ms(50);
uint8_t event[RAW_EPSIZE];
event[0] = ORYX_EVT_LAYER;
event[1] = get_highest_layer(state);