Ignore keyswitch events with out-of-bounds addresses (#36)
Any keyswitch events without real physical addresses were injected by other plugins and should not be processed by Qukeys. There was an interaction with OneShot that prevented the two plugins from working together because OneShot sends events with a (row, col) address of `UNKNOWN_KEYSWITCH_LOCATION` (i.e. 255, 255). This meant that if a OneShot modifier was on when a Qukey was pressed, it would fill up the queue with bogus-address versions of the Qukey, which would then get flushed in the primary state, cancelling the OneShot and producing an un-modified, repeating primary keycode, causing both plugins to fail.pull/389/head
parent
1828c9fa2d
commit
26c5bd7162
Loading…
Reference in new issue