Jump to content

Misnamed Bindings for 2 or 3-position switches show as duplicated orange lines in Options/Controls


Recommended Posts

Posted (edited)

The file "Throttle - HOTAS Warthog.lua" has special commands for 2- and 3-position switches on the TM-WH throttle. These are functionally different from the related commands in the "default.lua" files under "\joystick" and "\keyboard", but in 3 cases they have the same "names". In Options/Controls they show as pairs of orange lines, which signals an irregularity; but the user does not know what the issue is, and he/she does not why one of these lines can only be bound to the TM-WH throttle and the other line won't work with that controller.

Attachment 1 shows what it looks like for the "HOTAS Boat Switch".

The lines for the Boat switch in "default.lua" are designed for use with 3 independent pushbuttons:

{down = iCommandPlane_HOTAS_BoatSwitchAft, name = _('HOTAS Boat Switch Aft'), category = _('HOTAS')},
{down = iCommandPlane_HOTAS_BoatSwitchCenter, name = _('HOTAS Boat Switch Center'), category = _('HOTAS')},
{down = iCommandPlane_HOTAS_BoatSwitchForward, name = _('HOTAS Boat Switch Forward'), category = _('HOTAS')},

The lines for Boat switch in "Throttle - HOTAS Warthog.lua" are designed for the 3-position switch on the right throttle lever:

{combos = {{key = 'JOY_BTN10'}}    ,down = iCommandPlane_HOTAS_BoatSwitchAft,up = iCommandPlane_HOTAS_BoatSwitchCenter, name = _('HOTAS Boat Switch Aft'), category = _('HOTAS')},
{combos = {{key = 'JOY_BTN9'}}    ,down = iCommandPlane_HOTAS_BoatSwitchForward,up = iCommandPlane_HOTAS_BoatSwitchCenter, name = _('HOTAS Boat Switch Forward'), category = _('HOTAS')},

Both sets of lines use the binding names "HOTAS Boat Switch Aft" and "HOTAS Boat Switch Forward". This is what causes confusion. The lines in "Throttle - HOTAS Warthog.lua" should be named to something like "HOTAS 3-position Boat Switch AftCenter" resp. "HOTAS 3-Position Boat Switch Forward/Center", or whatever else make sense. But the names must be different for these lines.

Attachment 2 shows what it looks like for the Pinky switch.

It has the same problem as the boat switch, and the bindings for the TM-WH throttle need to be renamed.

Attachment 3 shows what it looks like for the Engine IGN/NORM switches (left and right):

Both "default.lua" (in "\joystick" and "\keyboard") and "Throttle - HOTAS Warthog.lua" have commands named "Left Engine Oper Ign / Norm" and "Right Engine Oper Ign / Norm", but these commands do not have the same function as you can see in the lines of .lua code.

Lines in "default.lua":

{down = iCommandPlane_L_ENG_OPER_Ign         , up = iCommandPlane_L_ENG_OPER_Norm    , name = _('Left Engine Oper Ign / Norm')            , category = _('Engine Control Panel')},
{down = iCommandPlane_R_ENG_OPER_Ign         , up = iCommandPlane_R_ENG_OPER_Norm    , name = _('Right Engine Oper Ign / Norm')            , category = _('Engine Control Panel')},

Lines in "Throttle - HOTAS Warthog.lua":
 

{combos = {{key = 'JOY_BTN31'}}    , down = iCommandPlane_L_ENG_OPER_Ign         , up = iCommandPlane_L_ENG_OPER_Norm_from_Ign    , name = _('Left Engine Oper Ign / Norm')            , category = _('Engine Control Panel')};
{combos = {{key = 'JOY_BTN32'}}	, down = iCommandPlane_R_ENG_OPER_Ign  		, up = iCommandPlane_R_ENG_OPER_Norm_from_Ign	, name = _('Right Engine Oper Ign / Norm')			, category = _('Engine Control Panel')};

The lines in "Throttle - HOTAS Warthog.lua" should be renamed.

Edit: The original A-10C has exactly the same issues.

 

Duplications A-10C2_Boat Swi.JPG

Duplications A-10C2_Pinky Swi.JPG

Duplications A-10C2_Left-Right Eng Oper Swi.JPG

Edited by LeCuvier
typo, mention of A-10C I
  • Like 2
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted
9 hours ago, LeCuvier said:

but the user does not know what the issue is

As a user, I can confirm 😉. I was flying the other day and was wondering what was going on there as I was troubleshooting the pinky switch.

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

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