mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-06 13:27:48 +00:00
Android: Fix missing type in SDLControllerManager
The missing type in question is causing compilation failures. The error was introduced indca3fd8307, which was a backport of commitde3909a190from SDL3 to SDL2. Because `int nballs` was removed as a parameter from the controller API in SDL3 in revisionfcafe40948, this change is only applicable to the SDL2 branch.
This commit is contained in:
committed by
Sam Lantinga
parent
2dddaa7dc9
commit
576df87240
@@ -24,7 +24,7 @@ public class SDLControllerManager
|
||||
public static native int nativeAddJoystick(int device_id, String name, String desc,
|
||||
int vendor_id, int product_id,
|
||||
boolean is_accelerometer, int button_mask,
|
||||
int naxes, int axis_mask, int nhats, nballs);
|
||||
int naxes, int axis_mask, int nhats, int nballs);
|
||||
public static native int nativeRemoveJoystick(int device_id);
|
||||
public static native int nativeAddHaptic(int device_id, String name);
|
||||
public static native int nativeRemoveHaptic(int device_id);
|
||||
|
||||
Reference in New Issue
Block a user