Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: DeviceLink leds output, posible??  (Read 1484 times)

0 Members and 1 Guest are viewing this topic.

inigohe

  • member
  • Offline Offline
  • Posts: 2
DeviceLink leds output, posible??
« on: May 04, 2019, 10:53:04 PM »

Regards!!!
Looking for someone who knows how setup devicelink + MMJoy2 Hid + leds, to have fisical signals in panels.
Perhaps will be imposible, i dont know.
Just I connected with Yadeli via Udp and I know is posible to have avionics in a secondary monitor.
But will be a great success if yes.
Thx alot for your kinddly attention.
inigohe
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24036
  • Taking a timeout
    • STFU
Re: DeviceLink leds output, posible??
« Reply #1 on: May 05, 2019, 01:56:42 AM »

What you need is a 3-stage design.

DeviceLink form IL-2 will be used to send/receive data via UDP.
The available data depends.
Stock IL-2 has a limited set available only, and when playing online, it's even more limited.
So you'd need a customized DeviceLink mod to suit your needs.
That's usually not available off the shelf because it has to match the game version and it has to meet your very personal requirements.
Read: You'll have to do this yourself.

2nd Stage is an app to tranlate the UDP data from DeviceLink to commands for you MMJoy2 device.
You need an app that can send/receive data to/from DeviceLink on one and, and establish a connection to your MMJoy2 device via DirectInput in order to read joytick/button inputs and send back commands to control the LEDs.
This app is highly dependent on the DeviceLink data provided (which comes from your custom DeviceLink mod) and the MMJoy2 setup you choose, i.e. the number and assignment of buttons, axis, LEDs and such.
The LED commands are being sent by using the "LEDControl" tool which ships with MMJoy2, using command line parameters to send the predefined commands available to it.
There is no general setup for this.
You'd need to do this part yourself as well, because it will only suit your very personal needs and no one's else.

3rd Stage is MMJoy2, a suitable board (see https://github.com/MMjoy/mmjoy_en/wiki/Controllers-(compatible-base-boards) ), an LED controller (IMHO WS2811 is what MMJoy2 supports) and the matching MMJoy Setup.
Again, this is a very special thing tied to your needs only.
Nothing "off the shelf" available.
Design, purchase, build, test... it's all your task.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

-=MaD=-

  • member
  • Offline Offline
  • Posts: 91
Re: DeviceLink leds output, posible??
« Reply #2 on: May 06, 2019, 01:00:38 AM »

Its possible! Mikkowl did this 9 years ago, when the Logitech G940 was an actual stick.
On the throttle are buttons with lights and with his software we were able to set the lights for various conditions.
I liked this for flapsposition, gear (in, out, moving) and so on.
One thread I found here: http://www.mission4today.com/index.php?name=ForumsPro&file=viewtopic&p=65586.
Download on his website is active since years, but M4T has another one:http://www.mission4today.com/index.php?name=Downloads&file=details&id=3897
Probably you can see, how he did it?
Here is a video with working lights, but this was before his MultiThrottle software and without devicelink!

Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24036
  • Taking a timeout
    • STFU
Re: DeviceLink leds output, posible??
« Reply #3 on: May 06, 2019, 01:10:36 AM »

Interesting stuff, even though it's not really what the thread starter was asking for.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

-=MaD=-

  • member
  • Offline Offline
  • Posts: 91
Re: DeviceLink leds output, posible??
« Reply #4 on: May 06, 2019, 01:38:04 AM »

I know... but as Mikkowl did his work via devicelink and I can use it also today with 4.09 or HSFX to get working left and right brakes and some other goodies.
I just fool the .ini and set that the G940 is still there ;-)

Probably this could be the start for an idea for @inigohe

Quote
SETTING UP MULTI-THROTTLE 4.0
      -------------------------------------------

1/4 - SETTING UP THE CONTROL LINK
   
   It uses the device link UDP network interface to communicate with IL-2. IL-2 listens on network port 3333 for instructions, and this program I made can send the instructions through a little network utility called "NetCat". Devicelink must be enabled in IL-2 or the link will not work. Your IL-2 program folder (Usually C:\Program Files\UBI\IL2\IL-2 Sturmovik-1946" or if you have the steam version, "C:\Program\Steam\SteamApps\common\IL-2 Sturmovik-1946") contains a file called "conf.ini". You must edit it with a text editor (notepad works) and insert the following section. do not forget to save afterwards:
   
[DeviceLink]
port=3333

Quote
-------------------------------------------
      TOE-BRAKE NOTES
      -------------------------------------------
      
The toe brake feature permits differential braking, and using both toe brakes to brake with. In IL-2, all planes work like a spitfire - that means that a brake is held and then the rudder pedals control how to distribute the brake force between the wheels. This was bad news for toe-brake equipped rudder pedals. I have made it possible to use them through cunning measurement of the toe brakes relative to each other, assigning the correct one as brake force value, and then, manipulating the rudder in the correct way to get differential braking. This can have adverse affects if braking during landing or in flight - but that is now solved in version 4.0 where the toe brakes only provide braking (half the brake force each, so press both for full effect when landing) if the TAIL WHEEL is locked or the LANDING GEAR is retracted.
Logged
Pages: [1]   Go Up
 

Page created in 0.046 seconds with 26 queries.