Fix joystick issues [artf3707]

Make axes and POVs 0-based like they are on the DS

Correct default joystick axis numbers to be 0-based

Fix array dimensions for joystick axis values

Increase the number of joystick ports to the maximum 6 that the DS supports

Change-Id: I16d0e6e636188cbdd9cd7bfa0453a62466a55093
This commit is contained in:
Thomas Clark
2014-10-22 11:16:39 -04:00
parent be30d3ab1d
commit a56c0eb4af
7 changed files with 24 additions and 24 deletions

View File

@@ -149,7 +149,7 @@ float Joystick::GetThrottle()
/**
* Get the value of the axis.
*
* @param axis The axis to read [1-6].
* @param axis The axis to read, starting at 0.
* @return The value of the axis.
*/
float Joystick::GetRawAxis(uint32_t axis)