Jump to content

Mobiflight -> DCS


Recommended Posts

Hello,

using Mobiflight for MSFS and my homecockpit to quite an extensive degree I wondered why it does not seem to work with DCS. While MF uses FSUIPC and writes deep into the simulation it also is capable of just sending keys to, well, everywhere - they say over at their forum. Outputs don't work, but I don't need outputs for DCS, inputs are important for VR flying.

DCS recognizes all my sticks, even the 3D mouse, but fails to accept key inputs from my mobiflight formatted Arduinos. Ok, I understand / accept that DCS might not recognize the (manipulated) boards, but as every other program (Word, Excel, games, browsers) gets the keys from the MF-Arduinos I wonder why DCS just refuses to do so. I got 2 keyboards attached, one is recognized (shows up in the controls section) and still both work.

 

Anybody there who got Mobiflight working with DCS?

 

Link to comment
Share on other sites

Thanks, after a fast glimpse it looks like a lot of Python, I will dig through it a bit. But perhaps I just define an Arduino as a joystick. A shame all my MSFS gear is useless for DCS.

 

Still I don't understand why MF's keypresses aren't recognized by DCS.

Link to comment
Share on other sites

Mobiflight doesn't send keypresses to the simulator, it sends commands specific to the simulator or module. It's like sending a wind shield wiper command to a bicycle. You understand flicking the stem, but the bicycle just gets a simple command and has no idea what a windshield wiper is.

Link to comment
Share on other sites

I would be interested in this too, because I have some Arduino Megas lying around here that I wanted to use with Mobiflight for special inputs for the big birds like transport helicopter or aircraft in P3D. When I heard in the Mobiflight forum that you can also use simple keyboard emulation for virtually any program without depending on the FSUIPC, I was excited. I also immediately thought of DCS.

My HOTAS are all based on TM elektronics and my cockpit is almost exclusively implemented with Pokey's cards, but some things like my 4 Engine Throttle Quadrant and other future things I wanted to implement with Arduino Mega cards, because I still have a lot of them left and thought this would be usable as a pure keyboard input emulation for DCS also.

Actually, this should be possible if the keypresses are really purely simulated. DCS would definitely have to recognize this as well, since this is nothing different than input via a keyboard or eg. like TM TARGET or Joystick Gremlin also can do. The Pokeys cards also work without any problems in DCS, so the Mobiflight boards, should do the same.


Edited by Viper1970

CockpitPC1: R9 5950X|64GB DDR4|512GB M2SSD|2TB M2SSD|RTX3090|ReverbG2|Win11Pro - PC2: PhnIIX6 1100T|32GB DDR2|2x2TB HDD|2x GTX660 SLI|Win7Pro64
ComUnitPC1: R9 3900XT|32GB DDR4|2x2TB HDD|RTX2070|Win11Pro - PC2: PhnIIX6 1100T|16GB DDR2|2x2TB HDD|GTX660|Win7Pro64
ComUnitPC3: AthlnIIX2 250|2GB DDR2|2TB HDD|5950Ultra|2xVoodooII SLI|WinXPPro32&WinME - PC4: K6-2+|768MB SDR|640GB HDD|Geforce256DDR|VoodooI|Win98SE

DCS - Modules - 1.jpg

DCS - Modules - 2.jpg

Link to comment
Share on other sites

Is there an option in Mobiflight to specify to which program (.exe) it should send the emulated keypresses?

I once had a tool for FSX that also worked with other simulations (LinkToFS Arduino Keys), but only if you explicitly specified in the config to which program the keypresses should be sent. Even if you only wanted to test everything in Notepad, you had to specify the Notepad.exe.

The Pokeys cards I use are different, they send out keypresses in general, just like a keyboard does, no program has to be in focus.

Unfortunately I haven't done anything with Mobiflight for about 3-4 years, so I'm not up to date. But that will change soon, when I make my 4-Engine Throttle.


Edited by Viper1970

CockpitPC1: R9 5950X|64GB DDR4|512GB M2SSD|2TB M2SSD|RTX3090|ReverbG2|Win11Pro - PC2: PhnIIX6 1100T|32GB DDR2|2x2TB HDD|2x GTX660 SLI|Win7Pro64
ComUnitPC1: R9 3900XT|32GB DDR4|2x2TB HDD|RTX2070|Win11Pro - PC2: PhnIIX6 1100T|16GB DDR2|2x2TB HDD|GTX660|Win7Pro64
ComUnitPC3: AthlnIIX2 250|2GB DDR2|2TB HDD|5950Ultra|2xVoodooII SLI|WinXPPro32&WinME - PC4: K6-2+|768MB SDR|640GB HDD|Geforce256DDR|VoodooI|Win98SE

DCS - Modules - 1.jpg

DCS - Modules - 2.jpg

Link to comment
Share on other sites

MF sends everything out... I managed to get keypresses into Word, Notepad etc with ease. No need to define anything.

 

I remember from my old Falcon4 cockpit I used Xkeys back in 200x. Just sent keypresses and it worked.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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