src/core/android/SDL_android.c
changeset 8140 8372466c003c
parent 8093 b43765095a6f
child 8149 681eb46b8ac4
     1.1 --- a/src/core/android/SDL_android.c	Wed Jan 29 00:29:14 2014 +0100
     1.2 +++ b/src/core/android/SDL_android.c	Tue Jan 28 15:28:20 2014 -0800
     1.3 @@ -172,6 +172,14 @@
     1.4      Android_OnJoy(device_id, axis, value);
     1.5  }
     1.6  
     1.7 +/* POV Hat */
     1.8 +void Java_org_libsdl_app_SDLActivity_onNativeHat(
     1.9 +                                    JNIEnv* env, jclass jcls,
    1.10 +                                    jint device_id, jint hat_id, jint x, jint y)
    1.11 +{
    1.12 +    Android_OnHat(device_id, hat_id, x, y);
    1.13 +}
    1.14 +
    1.15  
    1.16  int Java_org_libsdl_app_SDLActivity_nativeAddJoystick(
    1.17      JNIEnv* env, jclass jcls,