Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling all joystick users

 
Ken Stubbings
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement to get a responce time from a usb joystick down to about 5 ms. The lowest I can get with jinput and joystick for java is 8 ms. (this is with a usb joystick) can anyone offer me some tips? where might the bottleneck be?

Thanks in advance for your help.
 
Ken Stubbings
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For anyone who might be intrested: The source of the delay was usb. Because joysticks send little data over the interface they are classed as slow usb devices and have a responce time of 8ms, more than enough to meet everyones requirements... except mine. Oh well, you can't win them all.
 
rob armstrong
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What if you buffered the requests somehow?
What is your application?
roba
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!