Jump to content

Recommended Posts

Posted

I'm going to have a go at putting together a switch/button box using the Teensy 2.0 interface to USB into DCS. Thinking of one potential problem which is all joystick buttons are momentary push or toggle switches. How about if I add a few straight & simple on/off switches, how can I tell DCS its not a momentary switch? Esp for turning on power, starting engines, that sort of thing?

Posted

I think you have to add a diode for each switch. It´s not a DCS issue but how teensy/arduino/clones handle that.

i5 8400 | 32 Gb RAM | RTX 2080Ti | Virpil Mongoose T-50 base w/ Warthog & Hornet sticks | Warthog throttle | Cougar throttle USB | Orion 2 throttle base w/ Viper & Hornet grips| VKB T-Rudder Mk IV | Oculus Rift S | Buddy-Fox A-10 UFC | 2x TM MFDs & 1x WW DDI | 2x Bass shakers | SIMple SIMpit chair | WW TakeOff panel | Andre JetSeat | WW Hornet UFC | WW Viper ICP

FC3 - Warthog - F-5E - Harrier - NTTR - Hornet - Tomcat - Huey - Viper - C-101 - PG - Hip - SuperCarrier - Syria - Warthog II - Hind - South Atlantic - Sinai - Strike Eagle - Phantom - Mirage F1 - Afghanistan - Irak

Posted (edited)

The fact that a toggle (ON/OFF, ON-OFF-ON) switches have a permanent contact in ON, and so a button always pressed, don't cause issue for most games, you can test this pressing a key command and holding an then pressing another key command.

 

But remains the fact that OFF position of switch don't send signal/command for the games - due how games are coded.

 

- You can solve this (for DCS modules) editing LUA files and adding command for OFF position. See a pinned topic about, linked above by Sprool.

Downsize, DCS World updates reset the LUA files for old "default", erasing your changes, hence you need keep backups of modified LUA files for reinstall.

 

- Or using a keymapper software with "send key on press", "send key on release" function, e.g. JoyToKey, SVMapper, Joystick Gremlin.

 

- Or use (LYNX) CUB firmware, that send just a briefly momentary command when swtich change state, for ON or for OFF. Don't know if this firmware is compatible with Teensy 2.0

 

Description:https://forums.eagle.ru/showpost.php?p=2984894&postcount=156

Files: http://lynx.dk/cub-firmware/

Edited by Sokol1_br
Posted

My control config files are kept in user>saved games>dcs.openbeta>config>input, not the main DCS directory, does that mean they will remain safe and untouched when the next version emerges? Other settings in there (skins, aircraft mods, helios, srs, etc.) seem to remain intact.

  • Recently Browsing   0 members

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