Fix Down on Xperia Play

This commit is contained in:
Henrik Rydgard 2013-01-04 00:24:21 +01:00
parent 618680d379
commit dbda5f8037

View File

@ -326,7 +326,7 @@ extern "C" void Java_com_henrikrydgard_libnative_NativeApp_keyDown(JNIEnv *, jcl
case KEYCODE_DPAD_LEFT: AsyncDown(PAD_BUTTON_LEFT); break;
case KEYCODE_DPAD_UP: AsyncDown(PAD_BUTTON_UP); break;
case KEYCODE_DPAD_RIGHT: AsyncDown(PAD_BUTTON_RIGHT); break;
case KEYCODE_DPAD_DOWN: AsyncDown(PAD_BUTTON_LEFT); break;
case KEYCODE_DPAD_DOWN: AsyncDown(PAD_BUTTON_DOWN); break;
case KEYCODE_BUTTON_L1: AsyncDown(PAD_BUTTON_LBUMPER); break;
case KEYCODE_BUTTON_R1: AsyncDown(PAD_BUTTON_RBUMPER); break;
case KEYCODE_BUTTON_START: AsyncDown(PAD_BUTTON_START); break;
@ -348,7 +348,7 @@ extern "C" void Java_com_henrikrydgard_libnative_NativeApp_keyUp(JNIEnv *, jclas
case KEYCODE_DPAD_LEFT: AsyncUp(PAD_BUTTON_LEFT); break;
case KEYCODE_DPAD_UP: AsyncUp(PAD_BUTTON_UP); break;
case KEYCODE_DPAD_RIGHT: AsyncUp(PAD_BUTTON_RIGHT); break;
case KEYCODE_DPAD_DOWN: AsyncUp(PAD_BUTTON_LEFT); break;
case KEYCODE_DPAD_DOWN: AsyncUp(PAD_BUTTON_DOWN); break;
case KEYCODE_BUTTON_L1: AsyncUp(PAD_BUTTON_LBUMPER); break;
case KEYCODE_BUTTON_R1: AsyncUp(PAD_BUTTON_RBUMPER); break;
case KEYCODE_BUTTON_START: AsyncUp(PAD_BUTTON_START); break;