superi0r Posted December 19, 2021 Share Posted December 19, 2021 Hello, I've created a small button box with a few toggle switches for DCS and have had some trouble mapping a few functions. Master arm and ALT HOLD inputs work fine, I push the switch up, the switch ingame goes up, I pull it down, it goes down ingame, but things like Laser ARM don't work and I have to switch it twice for it to go up/down. Anyone know how to fix this? Thanks. Link to comment Share on other sites More sharing options...
LeCuvier Posted December 19, 2021 Share Posted December 19, 2021 The Laser Arm switch can be controlled by a ON/OFF switch if you add this line to the file "default.lua": {down = sms_commands.LaserSw, up = sms_commands.LaserSw, cockpit_device_id = devices.SMS, value_down = 1.0, value_up = 0.0, name = _('LASER ARM Switch 2-Pos ARM/SAFE'), category = {_('Instrument Panel')}}, 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 Link to comment Share on other sites More sharing options...
Recommended Posts