View Single Post
  #6  
Old 01-19-2012, 05:33 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default

I use Autohotkey for all key-mappings and I solved that for myself in the following way:

In IL-2 I mapped the 'r' to the radiator, so pressing 'r' repeatedly will cycle radiator through 0, 2, 4, 6, 8, 0...

In Autohotkey I defined the following two functions:
Code:
MapCommand_RadiatorOpen:
    Send r
    return
MapCommand_RadiatorClose:
    Send rrrrr
    return
and map two keys or buttons to them respectively:
Code:
Hotkey, %iIdSelfMade1%Joy32, MapCommand_RadiatorOpen, On
Hotkey, %iIdSelfMade1%Joy17, MapCommand_RadiatorClose, On
Now one key/botton will open the radiator by one step and the other will close the radiator by one step.

Not perfect, but useful.

Artist
Reply With Quote