I would like to remap specific buttons when a specific application is running.
So if I click the "Up" Button on my JoyPad I would like to send a Keyboard "Cursor up" if the process "test.exe" exists and the process "test2.exe" doesn't exist.
Any ideas how I could realize this ??
Mapping keys to keys on other devices isn't the problem... I know the basics of event-ghost, but I don't know how to script this scenario.
In AutoIt the code looks like this:
Code: Select all
While JoyMoveUp (1) OR JoyMoveUp (2) OR JoyMoveUp (3) OR JoyMoveUp (4)
sleep (75)
If not ProcessExists("testexe") AND not ProcessExists("test2.exe") Then
send("{UP}")
EndIf
WEnd
Thanks for any suggestions
-level20peon