Unverified Commit da928a9b authored by twinaphex's avatar twinaphex Committed by GitHub
Browse files

Merge pull request #7630 from Royerson/patch-1

add more model names for Xperia Play hack
parents b3d38c46 ba435ce2
......@@ -1057,8 +1057,17 @@ static void handle_hotplug(android_input_t *android,
* This device is composed of two hid devices
* We make it look like one device
*/
else if((strstr(device_model, "R800") || strstr(device_model, "Xperia Play")) &&
else if(
(
strstr(device_model, "R800x") ||
strstr(device_model, "R800at") ||
strstr(device_model, "R800i") ||
strstr(device_model, "R800a") ||
strstr(device_model, "R800") ||
strstr(device_model, "Xperia Play") ||
strstr(device_model, "Play") ||
strstr(device_model, "SO-01D")
) && (
strstr(device_name, "keypad-game-zeus") ||
strstr(device_name, "keypad-zeus") ||
strstr(device_name, "Android Gamepad")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment