Open
Description
Since this issue, I've switched to using scan codes for all hotkey-related things. Things were going smoothly until...
D:\>python -m keyboard
{"event_type": "down", "scan_code": 82, "name": "insert", "time": 1526769257.152305, "is_keypad": false}
{"event_type": "up", "scan_code": 82, "name": "insert", "time": 1526769257.224113, "is_keypad": false}
{"event_type": "down", "scan_code": 82, "name": "0", "time": 1526769258.5705125, "is_keypad": true}
0{"event_type": "up", "scan_code": 82, "name": "0", "time": 1526769258.6413236, "is_keypad": true}
How do I distinguish between keys with the same "scan_code"
but different "is_keypad"
values in keyboard.add_hotkey()
and keyboard.send()
?