JaydenMaalouf / JoystickPlugin

Native Input Joystick Plugin for Unreal Engine 4/5
MIT License
30 stars 6 forks source link

Is it possible to work with multiple devices at the same time? #63

Open KeinEngelZlat1992 opened 6 months ago

KeinEngelZlat1992 commented 6 months ago

Good day! I am developing a racing game and looking for a plug-in to implement car driving. Please tell me, your plugin makes it possible to connect several devices to the game at the same time (steering wheel, pedals, gearbox, button box, handbrake, each device is connected to a PC simultaneously via USB). Is it possible to read the readings of axes and buttons at the same time, for example, steering wheel axis 1 (device 1) - steering wheel rotation axis, pedal axis 1 (device 2) - throttle axis, pedal axis 2 (device 2) - brake axis, button 10 of the button box (device 3) - view change, etc.? I am also interested in the question: will your plugin be able to support DIY gaming devices (for example, arduino button box, stm32 steering wheel, etc.)? And also (if possible) tell me if it is possible to communicate with you by email, and not here? If possible, please let us know your email.

JaydenMaalouf commented 6 months ago

This plugin makes use of SDL2 to read the controller inputs and forward them to the Unreal Engine Input loop

In terms of maximum input devices, that is untested but it should theoretically support 256 devices

The plugin supports all of the devices that SDL2 does. There isn't support for custom devices at this stage but I don't see why you couldn't

Due to the open source nature of this plugin, I'd prefer to keep conversations in open forums. If there is enough demand for a Discord server, I may consider creating one

gotleg commented 5 months ago

I can confirm I'm able to use my fanatec pedals in the same time as my Thrustmaster wheel. No FFB for now but axes are working (that was impossible with rawInput).