From 2aee8481639752d334e33cdb5a36eb0a7361b071 Mon Sep 17 00:00:00 2001 From: Bezier89 Date: Sun, 12 Jan 2014 15:14:08 -0800 Subject: [PATCH] Couple more changes --- android/native/jni/input_android.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/native/jni/input_android.c b/android/native/jni/input_android.c index 91a6130883..a7ddcf906c 100644 --- a/android/native/jni/input_android.c +++ b/android/native/jni/input_android.c @@ -546,7 +546,7 @@ static void android_input_set_keybinds(void *data, unsigned device, strlcpy(g_settings.input.device_names[port], "iDroid x360", sizeof(g_settings.input.device_names[port])); - android->dpad_emulation[port] = ANALOG_DPAD_NONE; + android->dpad_emulation[port] = ANALOG_DPAD_DUALANALOG; android->keycode_lut[AKEYCODE_DPAD_UP] |= ((RETRO_DEVICE_ID_JOYPAD_UP+1) << shift); android->keycode_lut[AKEYCODE_DPAD_DOWN] |= ((RETRO_DEVICE_ID_JOYPAD_DOWN+1) << shift); android->keycode_lut[AKEYCODE_DPAD_LEFT] |= ((RETRO_DEVICE_ID_JOYPAD_LEFT+1) << shift); @@ -659,7 +659,7 @@ static void android_input_set_keybinds(void *data, unsigned device, strlcpy(g_settings.input.device_names[port], "MS Sidewinder", sizeof(g_settings.input.device_names[port])); - android->dpad_emulation[port] = ANALOG_DPAD_DUALANALOG; + android->dpad_emulation[port] = ANALOG_DPAD_LSTICK; android->keycode_lut[AKEYCODE_BUTTON_R2] |= ((RETRO_DEVICE_ID_JOYPAD_SELECT+1) << shift); android->keycode_lut[AKEYCODE_BUTTON_L2] |= ((RETRO_DEVICE_ID_JOYPAD_START+1) << shift); android->keycode_lut[AKEYCODE_BUTTON_11] |= ((RETRO_DEVICE_ID_JOYPAD_L3+1) << shift);