Disable keypress when stylus hovers over screen for Galaxy Note, also fixed bug in my prev commit
This commit is contained in:
@@ -792,7 +792,7 @@ JAVA_EXPORT_NAME(DemoGLSurfaceView_nativeKey) ( JNIEnv* env, jobject thiz, jint
|
||||
return 1;
|
||||
}
|
||||
|
||||
if( TranslateKey(key) == SDLK_NO_REMAP )
|
||||
if( TranslateKey(key) == SDLK_NO_REMAP || TranslateKey(key) == SDLK_UNKNOWN )
|
||||
return 0;
|
||||
|
||||
SDL_ANDROID_MainThreadPushKeyboardKey( action ? SDL_PRESSED : SDL_RELEASED, TranslateKey(key) );
|
||||
|
||||
Reference in New Issue
Block a user