File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Game Development and the fly likes Calling all joystick users Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Game Development
Reply Bookmark "Calling all joystick users" Watch "Calling all joystick users" New topic
Author

Calling all joystick users

Ken Stubbings
Greenhorn

Joined: Jan 27, 2006
Posts: 6
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

Joined: Jan 27, 2006
Posts: 6
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

Joined: Jul 25, 2005
Posts: 77
What if you buffered the requests somehow?
What is your application?
roba
 
 
subject: Calling all joystick users
 
Threads others viewed
USB Worm!
Joystick Support in Java - found good driver!
Examples with usb.*;
USB+Windows(needed libruary)
How to create a bootable USB drive?
Two Laptop Bag