Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evilc/hotclass
A class that enhances AutoHotkey's input detection (ie hotkeys) capabilities
https://github.com/evilc/hotclass
Last synced: about 1 month ago
JSON representation
A class that enhances AutoHotkey's input detection (ie hotkeys) capabilities
- Host: GitHub
- URL: https://github.com/evilc/hotclass
- Owner: evilC
- License: mit
- Created: 2015-02-14T17:00:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-26T16:12:26.000Z (over 9 years ago)
- Last Synced: 2024-12-06T20:12:22.773Z (about 1 month ago)
- Language: AutoHotkey
- Size: 324 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HotClass
A class that enhances AutoHotkey's input detection (ie hotkeys) capabilitiesSupports any combination of the following types of "key".
Keyboard keys.
Mouse Buttons: 1-5.
Mouse Wheel: U,D,L,R.
Joystick Buttons: 1-32
Joystick POV Hat / Dpad Directions: U,D,L,R.Any number of keys, pressed in any order.
##How it works
Keyboard / mouse input is read via `SetWindowsHookEx` callbacks. Blocking of Keyboard / mouse input can be achieved through this call.
Joystick Button down events are handled by AHK's hotkey command, up events are simulated with a `GetKeyState` loop.
Joystick POV Hat detection is done via a `GetKeyState` loop.