Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Ultimate Joystick Interface

#6
(February 12th, 2020 at 2:57 PM)SpookyZalost Wrote: side note: my desktop has both RS232 serial and a LPT parallel port which run off the PCI-E bus via an add on card.

Thinkpad or something? Extremely based, I'm jealous.

Yeah you can get a lot more transfer if there was a better kind of port to actually connect the device to handle multiple pins.
Since your laptop has an RS232 port, maybe you can try to use the standard library RS232 arduino headers or something. Either that or just use raw UART or something along with a converter because either way, if you do most of the work on the device itself instead of having to wrap everything in IBUS over serial and wait for vJoy to parse and use data (and entirely eliminating the middleman of SerialFeeder) then your polling rate will probably be exponentially higher than 40Hz.

Looks like DirectX also includes Joystick drivers with some relatively open source documentation on how to use it. Seems it uses COM objects on the HID stack, so it'll probably also be a lot faster than vJoy, but IDK if it supports other ports than USB. In any case, would probably be much faster than the UJI 'stack' since it'll operate natively on Windows without the need for third-party tools.

But even I don't have any experience with DirectX since my graphics programming knowledge is next to zero from some guides I followed for OpenGL. And DirectX looks a lot more complicated. This is if you're hardcore, not really a weekend project xd
Reply


Messages In This Thread
Ultimate Joystick Interface - by SpookyZalost - February 1st, 2020 at 6:25 AM
RE: Ultimate Joystick Interface - by Lain - February 12th, 2020 at 4:28 AM
RE: Ultimate Joystick Interface - by SpookyZalost - February 12th, 2020 at 4:33 AM
RE: Ultimate Joystick Interface - by Lain - February 12th, 2020 at 6:04 AM
RE: Ultimate Joystick Interface - by SpookyZalost - February 12th, 2020 at 2:57 PM
RE: Ultimate Joystick Interface - by Lain - February 12th, 2020 at 6:48 PM
RE: Ultimate Joystick Interface - by SpookyZalost - February 13th, 2020 at 2:28 AM
RE: Ultimate Joystick Interface - by Lain - February 13th, 2020 at 3:11 AM



Users browsing this thread: 2 Guest(s)

Dark/Light Theme Selector

Contact Us | Makestation | Return to Top | Lite (Archive) Mode | RSS Syndication 
Proudly powered by MyBB 1.8, © 2002-2024
Forum design by Makestation Team © 2013-2024