Jump to content

Recommended Posts

Posted

You are referring to the Altimeter Mode Switch. Yes, that's missing. I have fixed it for myself by adding two lines of code to "default.lua". That creates bindings for a 3-position switch.
ED obviously missed this one. In my opinion it's a legitimate bug.

  • Like 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

  • 3 weeks later...
  • 1 month later...
Posted
On 7/22/2022 at 1:43 AM, LeCuvier said:

You are referring to the Altimeter Mode Switch. Yes, that's missing. I have fixed it for myself by adding two lines of code to "default.lua". That creates bindings for a 3-position switch.
ED obviously missed this one. In my opinion it's a legitimate bug.

Can you post up the lines you added? I have a full cockpit built, and really hate touching my mouse for anything.

Posted
1 hour ago, ry-ballz said:

Can you post up the lines you added? I have a full cockpit built, and really hate touching my mouse for anything.

These 2 lines work with a maintained 3-position switch ON1-OFF-ON2 (like the FLAPS switch on the Warthog throttle):

{down = alt_commands.ELEC, up = alt_commands.ELEC, value_down = -1.0, value_up = 0.0, cockpit_device_id = devices.AAU34, name = _('Altimeter Mode Switch ELEC/OFF'), category = {_('Instrument Panel')}},
{down = alt_commands.PNEU, up = alt_commands.PNEU, value_down = 1.0, value_up = 0.0, cockpit_device_id = devices.AAU34, name = _('Altimeter Mode Switch PNEU/OFF'), category = {_('Instrument Panel')}},

If you are not familiar with editing the "default.lua" I recommend you look into the tutorial under this post: https://forum.dcs.world/topic/270080-lua-editing-for-additional-key-binds-tutorial-no-discussion-here-please/#elControls_4646929_menu

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...