mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
xperia play hack
This commit is contained in:
parent
7d35bd1649
commit
390c9a4dde
@ -1057,11 +1057,12 @@ static void handle_hotplug(android_input_t *android,
|
|||||||
* This device is composed of two hid devices
|
* This device is composed of two hid devices
|
||||||
* We make it look like one device
|
* We make it look like one device
|
||||||
*/
|
*/
|
||||||
else if(strstr(device_model, "R800") &&
|
else if((strstr(device_model, "R800") || strstr(device_model, "Xperia Play")) &&
|
||||||
(
|
(
|
||||||
strstr(device_name, "keypad-game-zeus") ||
|
strstr(device_name, "keypad-game-zeus") ||
|
||||||
strstr(device_name, "keypad-zeus")
|
strstr(device_name, "keypad-zeus") ||
|
||||||
)
|
strstr(device_name, "Android Gamepad")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
/* only use the hack if the device is one of the built-in devices */
|
/* only use the hack if the device is one of the built-in devices */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user