boppreh / keyboard

Hook and simulate global keyboard events on Windows and Linux.
MIT License
3.8k stars 433 forks source link

Remapped keys cannot be detected by add_hotkey #540

Open jandae opened 2 years ago

jandae commented 2 years ago

keyboard.remap_key(-174, 'ctrl+alt+[')

The remapping functionality works okay, but ctrl+alt+[ not activating the callback of the hotkey keyboard.add_hotkey('ctrl+alt+[', left)

I don't know if this is intentional, I want to know if it is possible to remap a key to a hotkey and that hotkey be able to call the function assigned to it by add_hotkey.

I might have missed something, any feedback would be great, thanks