src/core/android/SDL_android.c
changeset 7564 d2bc997ef5d6
parent 7552 463f78515a07
child 7567 52da75545aaa
equal deleted inserted replaced
7563:c128ed448c30 7564:d2bc997ef5d6
   159 void Java_org_libsdl_app_SDLActivity_onNativeKeyUp(
   159 void Java_org_libsdl_app_SDLActivity_onNativeKeyUp(
   160                                     JNIEnv* env, jclass jcls, jint keycode)
   160                                     JNIEnv* env, jclass jcls, jint keycode)
   161 {
   161 {
   162     Android_OnKeyUp(keycode);
   162     Android_OnKeyUp(keycode);
   163 }
   163 }
       
   164 
       
   165 // Keyboard Focus Lost
       
   166 void Java_org_libsdl_app_SDLActivity_onNativeKeyboardFocusLost(
       
   167                                     JNIEnv* env, jclass jcls)
       
   168 {
       
   169     /* Calling SDL_StopTextInput will take care of hiding the keyboard and cleaning up the DummyText widget */
       
   170     SDL_StopTextInput();
       
   171 }
       
   172 
   164 
   173 
   165 // Touch
   174 // Touch
   166 void Java_org_libsdl_app_SDLActivity_onNativeTouch(
   175 void Java_org_libsdl_app_SDLActivity_onNativeTouch(
   167                                     JNIEnv* env, jclass jcls,
   176                                     JNIEnv* env, jclass jcls,
   168                                     jint touch_device_id_in, jint pointer_finger_id_in,
   177                                     jint touch_device_id_in, jint pointer_finger_id_in,