Jump to content

Recommended Posts

Posted

I have a TM Warthog with it's many physical toggle switches.  Is there a way to map the various IL2 commands to a press-and-hold style toggles, where pressing the key down switches a function on and releasing the key switches it back off?  For example, flipping the toggle switch up to raise landing gear and flipping it back down to lower?  This is something that is available in other flight simulators like DCS, but it does not appear to be available in IL2.

Posted (edited)

Unless for flaps that allow map a key/button for  Down and another for Up all other commands in Bo'X require momentary* command - press a key/button for ON and press de same key again for OFF, e.g. G for Landing Gear Up and Down, then is not possible map this type of switch direct in game controls and get their correct operation, since their OFF position is not registered.

 

This for ON-OFF switch, for ON-OFF-ON you can map in game controls.

 

So for 1st type you need a 3rd part software between the controller and the game for mimic this latch toggle switch operation, but pressing  the same key - in the example G, when switch is moved Up and when moved Down.

 

For Warthog the natural indication is TARGET - but if you are not use do this "elephant", light softwares light Joy2Key, SVMapper do the same thing in more simple and elegant way, with less "collateral effect".

 

* This limitation can result in inverted switch after hit FLY, e.g. switch are Up and Landing Gear are down, requiring a careful "check list" before start the flying.

Edited by Sokol1
Posted

I use TARGET software and I have a switch or two done that way......... push to get the "O" map, I release it and "F1" I'm back in the cockpit.  It tells you how to do that in the users manual for TARGET software.

 

Cheers

 

Hoss

Posted

That's a shame.  I'm aware I can use TARGET, but I prefer direct mappings whenever possible.  I use a VR headset, so it's handy to be able to feel which position a switch is in.  The way DCS handles it is by having additional separate commands for on and off, and allowing you to bind key_down and key_up by editing config files.  So if you start with the switch in the wrong position and flip it to the on position when it's already on, it just resends the turn on command and does nothing.  That way the controller always syncs up with the actual state of the plane which is preferable to the way TARGET does it.  Is there any plans to implement something like that in the future?  I'm okay with editing text files by hand to accomplish this, so the user interface doesn't need to change.

Posted

Yeah I'd rather do it in game too. X Plane, DCS, and CloD all let you do this in game. I have a bunch more switches I'd like to take advantage of.

Posted (edited)

I'm sorry for English through my browser ...
I've done it I bought the boards from Leo Bodnar have 32 inputs and the option to switch the switch in the config program to set to On-OFF function 1: 1 then works as a classic switch, the bottom down ON but off it takes two inputs on the board so you will max 16 switch if you want more switches so you have to buy the boards from LeoBodnar ... Of course, after the flight and before you have to put the switches in the respective position as in real ...

Edited by Helo
  • 7 months later...
Posted

I'm late to this thread.  I retired my CH Products and bought a Warthog HOTAS this spring, and this looked like a reason to try out programming in TARGET.  Plus I really wanted two-way toggle switches to indicate the function's status.  TARGET isn't as user friendly as CH Mgr. but I got it done.  I have the five two-way toggles set-up so that in the down position (towards the rear of the throttle base) they each activate one of the five programmable, indicator LED's.  My particular set-up for five down and green is:  Landing Gear down; Tailwheel locked; Prop in Auto; Supercharger in 1st Stage; and Boost off.  I check this prior to starting a mission primarily to make sure the gear toggle is in the position for mission start (usually a ground start for me).  Then I check it after my pre take-off checklist and then after my GUMP check on downwind leg.  But, I don't think I'll be buying any toggle panels.  Push-button with an illuminated light would work for me (unfortunately not for VR users).  Waiting on the Virpil throttle feeding frenzy to die down.  It has push buttons.

Posted

@czech693 could you please share the LED part of your script? Here or in a PM, I´ve managed to make a script that works with every sim I have but never got to make the LEDs work as indicators. (maybe haven´t tried hard enough!)

Posted

See if this ILBOX.fcf profile works for you.  It's still rough and has some other key combinations I was working on that are unfinished, so ignore those (or finished them, I was going for an instant zoom when held button, and a eject/bailout button that also opens/jettisons canopies).   I just tested it again today and it still works.

IL2 BOX.zip

  • 5 years later...
=TF=bintynz
Posted

Just in case someone comes to this party late (like I did!)... this may help. I appreciate it is possibly slightly different to the OPs issue but this was the only thread I found that was even close to the problem I was having. I was struggling to map 'rocker' switches on the Warthog to allow increase & decrease values i.e. I wanted one of the throttle thumb rocker switches to control RPM but it would recognise the 'increase' button twice (both on and off again) resulting in a bind of "joy2_b10 / joy2_b10"... no use.

 

It took me a lot of time to find the solution(s).

1. You can manually amend both the current and global .actions files for the switches you want to map e.g. manually edit the respective entry to _b10 / _b11 in each of those files (make backups first 🙂).

2. If you key the 'increase' switch faster than about a millionth of a nanosecond it only registers the first click and then you can key the 'decrease' part. I wish I'd figured this out a couple of days and a few handfuls of hair ago.......

 

Hope it helps someone.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...