fixed hat code validation.
This commit is contained in:
parent
4900721db6
commit
e2653cfbe5
4 changed files with 50 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue