-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-order Windows key entries to fix #147
There were two problems: first, Windows key preference was taking scan codes as more important than vk's, when practice shows it should be the other way around. And second, "key_to_scan_codes" was using `set(left + right)` to return values for ambiguously sided keys, scrambling the order. Three test cases were important when debugging this issue: keyboard.send('play/pause media') # requires high-order byte keyboard.send('windows') keyboard.send('left windows')
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters