[python-win32] getting Windows key codes

reckoner reckoner at gmail.com
Wed Apr 1 00:17:58 CEST 2015


The easiest thing to do is follow the instructions here:

    http://ahkscript.org/docs/KeyList.htm#SpecialKeys

And use the keyboard hook to report the keystrokes. Then, you can use

    https://github.com/t4ngo/dragonfly

To do all the key re-mapping. by the way, the dragonfly source code has 
all the ctypes calls to interact with the keyboard. Just about every key 
and key combination  you can think of is in there.

I hope that helps.



More information about the python-win32 mailing list