Hi Colseg,
I just fiddled around with your settings. Maybe it's a better way to simply add two lua files instead of overwriting the default.lua
\DCS World\Mods\aircraft\MiG-21BIS\Input\MiG-21\joystick\Throttle - HOTAS Warthog.lua
[font=Courier New]
return {
keyCommands = {
-- Flaps
{down=device_commands.Flaps0,cockpit_device_id=devices.FLAPS,up=device_commands.Flaps25,value_down=1.0,value_up=1.0,name='Alternate Flaps Up',category='Flight Controls'},
{down=device_commands.Flaps45,cockpit_device_id=devices.FLAPS,up=device_commands.Flaps25,value_down=1.0,value_up=1.0,name='Alternate Flaps Down',category='Flight Controls'},
}
}
[/font]
\DCS World\Mods\aircraft\MiG-21BIS\Input\MiG-21\joystick\Joystick - HOTAS Warthog.lua
[font=Courier New]return {
keyCommands = {
-- Insert your favourite stick command here...
}
}[/font]
So there should be no trouble when the update the default.lua file...
UPDATE: I spoke too soon... It seems you can't just add a Throttle - HOTAS Warthog.lua file with a few commands. Commands that are not in this file can't be assigned to the Throttle afterwards... :doh:
Unless you can somehow read from the default.lua and add to the keyCommands...