src/core/android/SDL_android.c
changeset 8013 109299fe73ad
parent 7927 4d984f2ea5bb
child 8029 cf81e6709b3d
     1.1 --- a/src/core/android/SDL_android.c	Mon Nov 18 20:22:36 2013 -0800
     1.2 +++ b/src/core/android/SDL_android.c	Tue Nov 19 10:00:05 2013 -0300
     1.3 @@ -148,19 +148,19 @@
     1.4  }
     1.5  
     1.6  // Paddown
     1.7 -void Java_org_libsdl_app_SDLActivity_onNativePadDown(
     1.8 +int Java_org_libsdl_app_SDLActivity_onNativePadDown(
     1.9                                      JNIEnv* env, jclass jcls,
    1.10                                      jint padId, jint keycode)
    1.11  {
    1.12 -    Android_OnPadDown(padId, keycode);
    1.13 +    return Android_OnPadDown(padId, keycode);
    1.14  }
    1.15  
    1.16  // Padup
    1.17 -void Java_org_libsdl_app_SDLActivity_onNativePadUp(
    1.18 +int Java_org_libsdl_app_SDLActivity_onNativePadUp(
    1.19                                     JNIEnv* env, jclass jcls,
    1.20                                     jint padId, jint keycode)
    1.21  {
    1.22 -    Android_OnPadUp(padId, keycode);
    1.23 +    return Android_OnPadUp(padId, keycode);
    1.24  }
    1.25  
    1.26  /* Joy */