[wpilib] GenericHID.setRumble: Fix Java integer overflow (#6529)

This commit is contained in:
Ryan Blue
2024-05-04 11:36:40 -04:00
committed by GitHub
parent c76b358290
commit 7596aeda10
5 changed files with 112 additions and 8 deletions

View File

@@ -250,7 +250,7 @@ public class DriverStationJNI extends JNIWrapper {
* @see "HAL_SetJoystickOutputs"
*/
public static native int setJoystickOutputs(
byte joystickNum, int outputs, short leftRumble, short rightRumble);
byte joystickNum, int outputs, int leftRumble, int rightRumble);
/**
* Gets whether a specific joystick is considered to be an XBox controller.