Jump to content

Recommended Posts

Posted

I want to map the "Autopilot BARO/RALT altitude hold mode" to a 3-way switch, more specifically to the autopilot switch on the warthog throttle.

 

For 2-way switches like the laser standby the following works fine

 

{combos = {{key = "JOY_BTN25"}, }, down = iCommandPlaneLaserRangerOnOff, up = iCommandPlaneLaserRangerOnOff, name = "Laser standby On/Off switch", category = "Ins Targeting Mode Controls Panel PVR"},

 

 

One problem with the baro/ralt switch is, that the function "CommandHelicopter_PPR_BAR_RV" moves the switch from the down position directly to up and not back to center.

 

Any ideas?

 

I guess someone already solved this problem, but I just could not guess the right search string for it.

--

"Reality is that which, when you stop believing in it, doesn't go away".

-- Philip K. Dick

Posted (edited)

I'm sorry. I wasn't able to map this switch to a 3 way switch. I didn't map this one before either in BS1. In order to do that we need an icommand************ for Baro and an icommand for ralt. Then a command for both off. (middle position).

 

This is how I mapped my suncom throttles Pinky switch in DCS A10.

 

 

 

{combos = {{key = "JOY_BTN22"}, }, down = iCommandPlane_HOTAS_BoatSwitchAft, up = iCommandPlane_HOTAS_BoatSwitchCenter, name = "HOTAS Boat Switch Aft", category = "HOTAS"},

{down = iCommandPlane_HOTAS_BoatSwitchCenter, name = "HOTAS Boat Switch Center", category = "HOTAS"},

{combos = {{key = "JOY_BTN21"}, }, down = iCommandPlane_HOTAS_BoatSwitchForward, up = iCommandPlane_HOTAS_BoatSwitchCenter, name = "HOTAS Boat Switch Forward", category = "HOTAS"},

 

Edited by Krebs20

[sIGPIC][/sIGPIC]

Posted

Hey.

It can be done.

Need a switch, ON-ON-ON, but can also be done with an ON-OFF-ON.

You also need the controller to send a key command in the connection and another disconnection.

We assign a key to the command, such as "Z".

 

For an ON-ON-ON:

 

-In the up position of the switch:

Connect >>> "Z"

Disconnect >> nothing

 

-In the middle position:

Connect >> "Z"

Disconnect >> "Z"

 

-In the position down:

Connect >> nothing

Disconnect >> "Z"

 

Moving down the switch, the controller sends: Z> Z

In the simulator: up> middle.

In the simulator: middle> down.

 

Moving it up, the controller sends: ZZ> ZZ.

In the simulator: down> (up)> middle.

In the simulator: middle> (down)> up

 

And the switch in the simulator is working properly. Even doing "double movement"

 

It's sloppy, but fully functional.

 

The controller I used is this:

http://www.u-hid.com/home/overview_board.php

 

Greetings.

"If adventure is dangerous, try the routine. It is deadly."

Paulo Coelho.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...