Java for SDL2 Updates

This commit is contained in:
Gerhard Stein
2013-10-11 11:54:37 +02:00
parent e7fa0c35d5
commit 69976da427
6 changed files with 13 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ class Settings
return;
}
Log.i("SDL", "libSDL: Settings.Load(): enter");
nativeInitKeymap();
// nativeInitKeymap();
if( p.isRunningOnOUYA() )
nativeSetKeymapKey(KeyEvent.KEYCODE_MENU, nativeGetKeymapKey(KeyEvent.KEYCODE_BACK)); // Ouya does not have Back key, only Menu, so remap Back keycode to Menu
for( int i = 0; i < SDL_Keys.JAVA_KEYCODE_LAST; i++ )