mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
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:
@@ -156,6 +156,6 @@ public abstract class GenericHID {
|
||||
public abstract int getPOV(int pov);
|
||||
|
||||
public int getPOV() {
|
||||
return getPOV(1);
|
||||
return getPOV(0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user