python - Detecting key combinations using pyhook -
i using pyhook capture keys using hook manager's keydown
event. allows me capture single keys pressed on keyboard.
however, haven't been able find way capture key combinations. example, event ctrl
, alt
, 5
pressed @ same time, or [
, ]
@ same time, , on.
is there way pyhook doesn't involve additional modules? example, i've found pyhk seems job, rather have few dependencies possible.
(this question more generic version (not duplicate) of this one, accepted answer seems deal virtual key modifiers ctrl
.)
Comments
Post a Comment