evilC / AutoHotInterception

An AutoHotkey wrapper for the Interception driver
MIT License
707 stars 64 forks source link

Pause/Numlock support #82

Closed bluechipps closed 2 years ago

bluechipps commented 2 years ago

A pause key can be simulated by first sending LeftControl with a state of 4/5.

AHI.SendKeyEvent(keyboardID, GetKeySC("LControl"), 5)
AHI.SendKeyEvent(keyboardID, GetKeySC("Pause"), 1)
AHI.SendKeyEvent(keyboardID, GetKeySC("LControl"), 4)
AHI.SendKeyEvent(keyboardID, GetKeySC("Pause"), 0)