You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
282 B
Plaintext
18 lines
282 B
Plaintext
1 year ago
|
#SingleInstance force
|
||
|
Persistent
|
||
|
#include Lib\AutoHotInterception.ahk
|
||
|
|
||
|
AHI := AutoHotInterception()
|
||
|
|
||
|
keyboardId := AHI.GetKeyboardId(0x04F2, 0x0112)
|
||
|
AHI.SubscribeKey(keyboardId, GetKeySC("1"), true, KeyEvent)
|
||
|
return
|
||
|
|
||
|
KeyEvent(state){
|
||
|
ToolTip("State: " state)
|
||
|
}
|
||
|
|
||
|
^Esc::
|
||
|
{
|
||
|
ExitApp
|
||
|
}
|