DDSSTT Posted February 21, 2019 Posted February 21, 2019 I have the ThrottleTek F-18 throttle and the two IDLE/OFF buttons are always "On" when the throttle is not in the "Off" position which makes binding them to the "IDLE/OFF" an issue. As the game is looking for the button to be pressed while in the off position, but the opposite is true with this throttle. Looking at windows game controllers, the 2 buttons are always lit up (Pressed) and turn off when I move the throttle to the off position. What I am currently doing is using a separate keys for "Off", but I'd like to know how I can program it in the lua file. Tell the game when the button is depressed go Off, and when the button is pressed go Idle. [sIGPIC][/sIGPIC] http://www.csg-2.net/
Deezle Posted February 21, 2019 Posted February 21, 2019 (edited) Adding these lines to the default.lua found in the FA-18C/input/joystick folder should do the trick. This will create two new keybinds and just reverses the logic of the default bindings. { down = iCommandLeftEngineStart, up = iCommandLeftEngineStop, value_down = 1.0, value_up = 1.0, name = _('ALT Throttle (Left) - OFF/IDLE'), category = {_('Throttle Quadrant')}}, { down = iCommandRightEngineStart, up = iCommandRightEngineStop, value_down = 1.0, value_up = 1.0, name = _('ALT Throttle (Right) - OFF/IDLE'), category = {_('Throttle Quadrant')}}, Do note, DCS will overwrite the file every time it updates, best to create a JSGME type mod to uninstall and reinstall for updates. Edited February 21, 2019 by Deezle Intel 9600K@4.7GHz, Asus Z390, 64GB DDR4, EVGA RTX 3070, Custom Water Cooling, 970 EVO 1TB NVMe 34" UltraWide 3440x1440 Curved Monitor, 21" Touch Screen MFD monitor, TIR5 My Pit Build, Moza AB9 FFB w/WH Grip, TMWH Throttle, MFG Crosswinds W/Combat Pedals/Damper, Custom A-10C panels, Custom Helo Collective, SimShaker with Transducer
DDSSTT Posted February 22, 2019 Author Posted February 22, 2019 Thank you Deezle. It work great! [sIGPIC][/sIGPIC] http://www.csg-2.net/
Recommended Posts