-
Notifications
You must be signed in to change notification settings - Fork 28
Key Reference and Types
Most of the basic usage of Hooked is intuitive. The naming tries to be consistent and easy to remember. With that said, there are a few types of "hotkeys" that you can choose from:
####Keyboard Keys
This is the most obvious of the hotkey types. Almost all keys on the keyboard are included (I can add if it isn't on the list). The entire list is:
"Null","Esc","1","2","3","4","5","6","7","8","9","0","-","=","Backspace","Tab","Q","W","E","R","T","Y","U", "I","O","P","[","]","Return","LCtrl","A","S","D","F","G","H","J","K","L",";","'","`","LShift","\\","Z","X","C", "V","B","N","M",",",".","/","RShift","Key*","LAlt","Space","Capslock","F1","F2","F3","F4","F5","F6","F7","F8", "F9","F10","Numlock","ScrollLock","KeyHome","Up","KeyPgUp","Key-","Left","Key5","Right","Key+","End","Down", "KeyPgDn","KeyIns","KeyDel","SYSRQ","","","F11","F12","","","LWin","RWin","MenuKey","RAlt","RCtrl"
Note that in the above, RCtrl is the Right Ctrl key. This is similar when R or L (left) prefixes a key. "Key" is a shortening of Keypad. For example, KeyIns is the Insert key on the keypad.
####Mouse position
This is the least intuitive of the "hotkey" modules, but the most interesting. Instead of a key, you can set a position on the screen. This should be entered as a list, such as [500,500]
in the place of a key name. There is no tolerance (yet) so the user must put their mouse exactly on the coordinates.
####Mouse clicks
This is rather simple. It acts much like any other keyboard button. The names are:
"LMouse","RMouse","MMouse","Wheel"
The naming conventions are the same for R and L, M is middle (often the scroll wheel clicking). "Wheel" is scrolling the scroll wheel.
That is it! How about learning adding and removing hotkeys