mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 23:06:03 +00:00
fixed hat code validation.
This commit is contained in:
@@ -172,6 +172,14 @@ void Java_org_libsdl_app_SDLActivity_onNativeJoy(
|
||||
Android_OnJoy(device_id, axis, value);
|
||||
}
|
||||
|
||||
/* POV Hat */
|
||||
void Java_org_libsdl_app_SDLActivity_onNativeHat(
|
||||
JNIEnv* env, jclass jcls,
|
||||
jint device_id, jint hat_id, jint x, jint y)
|
||||
{
|
||||
Android_OnHat(device_id, hat_id, x, y);
|
||||
}
|
||||
|
||||
|
||||
int Java_org_libsdl_app_SDLActivity_nativeAddJoystick(
|
||||
JNIEnv* env, jclass jcls,
|
||||
|
Reference in New Issue
Block a user