Disable keypress when stylus hovers over screen for Galaxy Note, also fixed bug in my prev commit
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user