View Single Post
  #29   Spotlight this post!  
Unread 03-05-2014, 00:32
mr. giggums mr. giggums is offline
Registered User
AKA: Bennett Bernardoni
FRC #2451 (PWNAGE)
Team Role: Programmer
 
Join Date: Jun 2012
Rookie Year: 2007
Location: Batavia, IL
Posts: 10
mr. giggums is on a distinguished road
Re: Team 2451 - Pwnage - Swerve Simulation Game

Quote:
Originally Posted by dubiousSwain View Post
I have been playing this with my keyboard and an xbox controller, and i noticed when I use the controller, there is a noticeable drift on the rotation, but none on the keyboard. Has anyone else noticed this? Is it the controller?
This would be because the joystick is not centered.

Quote:
Originally Posted by lopsided98 View Post
Could you include the Linux and Mac binaries for Jinput also to make it easier for people?

Also, it seems like you set up the axes to only work with an xbox controller, not the Logitech gamepad. You should use the axis identification features of Jinput to get the correct axes on any controller:
Code:
controller.getComponent(Component.Identifier.Axis.X);
Thank you for this information. The identification feature will be in my next release. I will try to work on the binaries when I have time.