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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -