View Single Post
  #1   Spotlight this post!  
Unread 13-02-2009, 22:15
camper365 camper365 is offline
Registered User
FRC #1599
 
Join Date: Feb 2009
Location: Virginia
Posts: 24
camper365 is an unknown quantity at this point
Axis 3 on joystick

I am trying to use the dial on the bottom of the joystick, and I know that it's Axis 3. The problem is that the bottom of the dial (all the way down) is -1 and the top is 1. I want to make the bottom 0 and the top 1. Is there any way I can do that.
I have tried Absolute Value, but that makes the bottom 1 and the top 1 (the middle 0). Is there a way to recalibrate the axis in the code?