(Android) Fix regression in Xperia Play controls

Regression introduced in commit
4fa8d0f3c6

Confirmed working on Xperia Play R800x (US Verizon model), stock
firmware, Gingerbread 2.3.3, no OTA updates, not rooted.
This commit is contained in:
littleguy77 2013-06-25 18:14:36 -04:00
parent 18f9b5734e
commit 4215200b1a
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ void input_autodetect_setup (void *data, char *msg, size_t sizeof_msg, unsigned
snprintf(name_buf, sizeof(name_buf), "ccpcreations WiiUse");
}
if (source == AINPUT_SOURCE_KEYBOARD)
if (source == AINPUT_SOURCE_KEYBOARD && device != DEVICE_XPERIA_PLAY)
device = DEVICE_KEYBOARD_RETROPAD;
if (driver.input->set_keybinds)