|
Post by cleric on Apr 16, 2018 14:24:22 GMT
Hello everyone, I just want to announce another member in the vJoy family: vJoySerialFeeder. github.com/Cleric-K/vJoySerialFeederIt is intended to feed the virtual joystick with data taken from serial port. The two main use cases are: * Arduino-like projects, where data from the board has to reach the virtual joystick * RC controllers to be used wirelessly for simulators. Check out the docs for more use cases. It can even be used as general feeder (not taking data from serial port at all) by using Microsoft COM or WebSocket API. It supports these virtual joysticks: * vJoy * vXbox * uinput (Linux) I hope it can be of use. Best~
|
|
|
Post by Shaul (Admin) on Apr 16, 2018 17:33:28 GMT
Thank you for sharing!
|
|
evilc
New Member
Posts: 32
|
Post by evilc on Aug 16, 2018 22:40:04 GMT
Cool! I am currently trying to write a generic remapping application in C# called UCR - we already have plugins for most of the normal types of input and output, but I am always interested in ways to support new forms of input, so this provides a solution by using vJoy as a conduit. I would be interested in maybe exploring the possibility of integrating some of what you have into UCR without using vJoy as a conduit - us having to poll the vJoy stick via DirectInput adds extra latency - we already support outputting to vJoy and other forms of virtual devices (Xbox, playstation, keyboard, mouse etc) so I wonder if we could somehow feed UCR directly? Looking at the screenshot on your GitHub page, this seems to fit very closely with how UCR works - if we could somehow hit an API and be told that there is Profile "Test" with a 4 axis, 4 button device, and be able to subscribe to or poll it's inputs, then that would be awesome. Thoughts?
|
|
evilc
New Member
Posts: 32
|
Post by evilc on Aug 17, 2018 13:18:12 GMT
Oh and by the way, I just got into FPV drone flying and am wondering if I can use a DirectInput stick to fly a drone. Apparently I would need to send PPM data to a transmitter using serial or something via the "Trainer" port Do you have any code that could help me there?
|
|
|
Post by Shaul (Admin) on Aug 17, 2018 15:02:44 GMT
PPM is quite simple. I can sum it up in a few sentences: - Very long (need to check, around 100mS) is a sync signal
- Most PPM receivers don't care if positive or negative sync signal as long as consistent, let's assume positive.
- Separator pulse- short negative signal (AFAIR: about 0.4mS)
- Channel 1 positive pulse - 0.5mS to 1.5 corresponding to 0%-100% where 1mS is equivalent to 50% or stick at neutral position
- Separator pulse
- Channel 2
- Separator pulse
and so on up to usually 9 channels. If you need the exact numbers I will check for you.
|
|
|
Post by kelvind on Jul 19, 2020 10:50:55 GMT
hello, i need your help please:(
how can i have the input data from a sensor (rotary encoder) which i can show up on the arduino ide serial monitor and have it to the vjoy serial feeder? is there a way? thankyou
|
|
|
Post by Servy on Apr 12, 2023 23:19:22 GMT
|
|
servandowerito@gmail.com
Guest
|
Post by servandowerito@gmail.com on Apr 12, 2023 23:21:38 GMT
|
|