Thread
:
Xbox Axis Help
View Single Post
#
8
31-01-2015, 21:18
RufflesRidge
Registered User
no team
Join Date: Jan 2012
Location: USA
Posts: 989
Re: Xbox Axis Help
You will need to explain more about what you want the code to do. A joystick axis in WPILib returns a floating point value (double datatype) from -1.0 to 1.0. An if statement requires a boolean, true or false.
RufflesRidge
View Public Profile
Find all posts by RufflesRidge
Find CD-Media Photos by RufflesRidge
Find CD-Media Papers by RufflesRidge