(Android) Fix regression in Xperia Play controls

Regression introduced in commit
4fa8d0f3c6f9c37c30a4628da81023606c91f9e2

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

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"); 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; device = DEVICE_KEYBOARD_RETROPAD;
if (driver.input->set_keybinds) if (driver.input->set_keybinds)