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