Jump to content

Recommended Posts

Posted

Taxi lights switch bound to hotas button does not work.

 

When the switch is bound to keyboard key, the lights can be turned on/off, but the switch moves only up, not down.

Posted

Taxilights switch bug

 

There is almost certainly a bug in this function.

In the default.lua the taxi lights command refers to command code 3004. In the clickabledata.lua however the cockpit switch is associated with command code 3009. So I added a new line to my additions in default.lua, using command code 3009. Below is my current collection of additions to default.lua:

-- Additions HWF 28JAN-2017
{down = 3002, up = 3002, cockpit_device_id = devices.RADARALT, value_down = 1.0, value_up = 1.0, name = "Radar altimeter toggle switch", category = "Flight Data"},
{down = 3510, cockpit_device_id = devices.FLIGHTDATAUNIT, value_down = 1.0, name = "TILS rotary clockwise", category = "Navigation"},
{down = 3510, cockpit_device_id = devices.FLIGHTDATAUNIT, value_down = -1.0, name = "TILS rotary counterclockwise", category = "Navigation"},
{pressed = 3404, up = 3404, cockpit_device_id = devices.FLIGHTDATAUNIT, value_pressed = 1.0, value_up = 0, name = 'Seat adjustment up', category = 'Navigation'},
{pressed = 3404, up = 3404, cockpit_device_id = devices.FLIGHTDATAUNIT, value_pressed = -1.0, value_up = 0, name = 'Seat adjustment down', category = 'Navigation'},
{down = 3001, up = 3001, cockpit_device_id = 7, value_down =1.0, value_up = 0.0, name = 'Reversal 2-Pos ON/OFF', category = 'Flight Control'},
{down = 3302, up = 3302, cockpit_device_id = devices.FLIGHTDATAUNIT, value_down = 1.0, value_up = 1.0, name = 'Autopilot mode ATT (Attitude hold) ON/OFF', category = 'Autopilot'}, 
{down = 3303, up = 3303, cockpit_device_id = devices.FLIGHTDATAUNIT, value_down = 1.0, value_up = 1.0, name = 'Autopilot mode HÖJD (Altitude Hold) ON/OFF', category = 'Autopilot'}, 
{down = 3001, cockpit_device_id = devices.ERRORPANEL, value_down = 1.0,  name = 'Master caution reset', category = 'Caution panel'},
{down = 3009, up = 3009, cockpit_device_id = devices.LIGHTS, value_down = 1.0, value_up = 0, name = 'Taxi/landing lights switch ON/OFF', category = 'Lights panel'},

})
-- joystick axes 

Note: all additions must be above the lines near the end of file showing

"})

-- joystick axes"

 

With this addition and the option "synchronize cockpit controls with HOTAS controls at mission start" activated, I bound the left switch "ENG FUEL FLOW" on my TM WH throttle to the new option "Taxi/landing lights switch ON/OFF". This works. I can switch the light ON and OFF.

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

  • Recently Browsing   0 members

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