fix: re-query physical Super key state before entering PostRecovery
When recovery mode detects a hotkey (Super+Arrow) it breaks out of the
event loop immediately. If Super was released right after the arrow key,
that release event would be pending but unconsumed, causing super_held
to remain true and incorrectly entering PostRecovery with a stuck Super.
Now we query the physical key state via get_key_state() before deciding
whether to enter PostRecovery, ensuring we don't create a synthetic
Super key-down when the key was already released.
event loop immediately. If Super was released right after the arrow key,
that release event would be pending but unconsumed, causing super_held
to remain true and incorrectly entering PostRecovery with a stuck Super.
Now we query the physical key state via get_key_state() before deciding
whether to enter PostRecovery, ensuring we don't create a synthetic
Super key-down when the key was already released.
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
a467c307e2970de5ede78457441559bbc3ca0ebb- Parents
-
bf0c29a - Tree
09c2652