Jump to content

Help with a small AHK script


spotUP

Recommended Posts

Posted

Hi!

 

Is it possible to switch keymapping via a hotkey?

 

I want to press button X to switch from normal keymappings to

 

Up::Numpad8
Down::Numpad5
Left::Numpad4
Right::Numpad6
Ctrl::Numpad1
Alt::Numpad2
 
and it would be nice if i could press button x again to get back to the original keymapping.
Is this possible?
Posted

Neuromancer helped me out on irc:

 

usethesehotkeys := false 
 
#if (usethesehotkeys = true) 
Up::Numpad8
Down::Numpad5
Left::Numpad4
Right::Numpad6
Ctrl::Numpad1
Alt::Numpad2
 
#if 
s:: usethesehotkeys := !usethesehotkeys 
 
This makes it possible to switch between joystick and mouse input using mousemu.exe =)
Very handy for switching input method in uae and control the mouse with the joystick.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...