Last active
February 13, 2022 20:47
-
-
Save NanoPi/da319b0b0ccca0d1c4869c4c0aa3c5f9 to your computer and use it in GitHub Desktop.
Small demo to test Steam Controller config Action Set switching.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Gui, Show, w640 h360 | |
| OnMessage(0x100, "WM_KEYDOWN") | |
| Return | |
| ;C::DllCall("ShowCursor", UInt,0) | |
| ;V::DllCall("ShowCursor", UInt,1) | |
| GuiClose: | |
| { | |
| ExitApp | |
| } | |
| WM_KEYDOWN(VK, L, M, H) { | |
| ;ToolTip, A: %VK% | |
| ; C key | |
| if (VK = 67){ | |
| DllCall( "ShowCursor", UInt,0 ) | |
| } | |
| ; V key | |
| if (VK = 86){ | |
| DllCall( "ShowCursor", UInt,1 ) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment