Disable keypress when stylus hovers over screen for Galaxy Note, also fixed bug in my prev commit

This commit is contained in:
pelya
2012-06-08 18:53:20 +03:00
parent 4175915a1c
commit 4e69f9645f
4 changed files with 25 additions and 3 deletions

View File

@@ -635,7 +635,6 @@ class DemoGLSurfaceView extends GLSurfaceView_SDL {
@Override
public boolean onKeyDown(int keyCode, final KeyEvent event) {
//System.out.println("Got key down event, id " + keyCode);
if( nativeKey( keyCode, 1 ) == 0 )
return super.onKeyDown(keyCode, event);
return true;