mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +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:
parent
2dddaa7dc9
commit
576df87240
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue