mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed value bounds for the redefined key code value in HOOK_KEYPRESS
Minor code & document edits.
This commit is contained in:
@@ -406,7 +406,7 @@ int ret0 - The new amount of ammo to be consumed, or ammo cost per round for
|
||||
#### `HOOK_KEYPRESS (hs_keypress.int)`
|
||||
|
||||
Runs once every time when any key was pressed or released.
|
||||
- DX codes: (see **dik.h** header)
|
||||
- DX codes: see **dik.h** header or https://kippykip.com/b3ddocs/commands/scancodes.htm
|
||||
- VK codes: http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx
|
||||
|
||||
__NOTE:__ if you want to override a key, the new key DX scancode should be the same for both pressed and released events.
|
||||
|
||||
Reference in New Issue
Block a user