Jump to content

F16C - Adding buttons for Hotas for "Ejection Safety Lever" and "Altimeter Mode Switch (ELEC)" - Only 10min work ;-)


Recommended Posts

Posted

The F-16 currently lacks HOTAS button assignments for the “Ejection Safety Lever” and “Altimeter Mode Switch (ELEC).” Currently, these functions can only be activated by clicking them in the cockpit but cannot be mapped to HOTAS buttons.
This can be easily addressed by adding the following lines at the appropriate location in the file:

C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\F-16C\Input\F-16C\joystick\default.lua

These additions would provide the missing bindings for the “Ejection Safety Lever” and “Altimeter Mode Switch (ELEC)” functions for the HOTAS:

-- Ejection Safety Lever
{down = cpt_commands.EjectionSafetyLever, value_down = 1.0, cockpit_device_id = devices.CPT_MECH, name = _('Ejection Safety Lever ARMED'), category = {_('Systems')}},
{down = cpt_commands.EjectionSafetyLever, value_down = 0.0, cockpit_device_id = devices.CPT_MECH, name = _('Ejection Safety Lever LOCKED'), category = {_('Systems')}},

-- Altimeter Mode Switch
{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')}},

You can find the file with my changes in the attachment

default.lua

  • Like 4
Posted (edited)

+1

Edited by Rufuz64

AMD Ryzen 7 9800X3D | Nvidia RTX 4090 | 128 GB DDR5 RAM | Virpil HOTAS
Samsung Gear VR | Valve Index | Vive Pro 2 | HP Reverb G2 |
Pimax Crystal OG | Pimax Crystal Super (pending since Sept 2024)
OFS Open Flight School | SR-F Stick & Rudder Friends | VMFA-312 Checkerboards

Posted

+1

SYSTEM: Mainboard MSI MEG X570 | CPU Ryzen 7 5800X @ 4.5 GHz | RAM 64 GB @ 3200 MHz | GPU GIGABYTE RTX 4090 | 1 TB SSD | Win 10 x64

DEVICES: ASUS 27" LCD | TrackIR 5 | LukeClip | Quest 3 | PointCTRL | Virpil HOTAS | MFG Crosswind | TableMount MonsterTech

MODULES: To much to list. But I stopped buying more, because of too much bugs in e.g. A-10C(II). @ED: Fix the bugs and I spend money on modules again. Promised.

PROJECTS: OpenFlightSchool: DE / EN

Posted


These files will be overwritten every update. A simple solution can be you use Quaggles injector. Then it's a simple file one has to copy after every update, and the changed settings are kept in Saved Games. Combined with Munkwolf's repository, which I believe has these keybinds included. One can save oneself a lot of grief.
Cheers!

Sent from my SM-A536B using Tapatalk

  • Like 1
Posted
Am 8.2.2025 um 19:58 schrieb MAXsenna:


These files will be overwritten every update. A simple solution can be you use Quaggles injector. Then it's a simple file one has to copy after every update, and the changed settings are kept in Saved Games. Combined with Munkwolf's repository, which I believe has these keybinds included. One can save oneself a lot of grief.
Cheers!

Sent from my SM-A536B using Tapatalk
 

I know that, but the easiest solution would be for ED to do their homework and add those four lines to the file. It would only take about ten minutes of work for them. It’s not something complicated like Vulkan—it’s just to ensure we can use all the buttons on the HOTAS needed for startup and takeoff. Do they even care?

  • Like 1
  • ED Team
Posted

Folks this has been requested, I can not say when this will be implemented but please in the future stick to the thread topic, if you have complaints and other bugs to report please do it in a different thread. 

thank you 

  • Like 1

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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