Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance force
- #Persistent
- #include <AutoHotInterception>
- AHI := new AutoHotInterception()
- id1 := AHI.GetKeyboardId(0x1611, 0x2800, 1)
- cm1 := AHI.CreateContextManager(id1)
- return
- #if cm1.IsActive
- ::aaa::JACKPOT
- Up:: ;X
- Send, {w down}
- return
- Up up:: ;X
- Send, {w up}
- return
- Left:: ;Y
- Send, {a down}
- return
- Left up:: ;X
- Send, {a up}
- return
- Down:: ;B
- Send, {x down}
- return
- Down up:: ;X
- Send, {x up}
- return
- Right:: ;A
- Send, {d down}
- return
- Right up:: ;X
- Send, {d up}
- return
- #if
- SC130:: ;up
- Send, {Up down}
- return
- SC130 up:: ;X
- Send, {Up up}
- return
- SC12E:: ;down
- Send, {Down down}
- return
- SC12E up:: ;X
- Send, {Down up}
- return
- SC110:: ;left
- Send, {Left down}
- return
- SC110 up:: ;X
- Send, {Left up}
- return
- SC119:: ;right
- Send, {Right down}
- return
- SC119 up:: ;X
- Send, {Right up}
- return
- ^Esc::
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment