Commit 32c3cca6 authored by Jan Holthuis's avatar Jan Holthuis
Browse files

linux-dist: Fix evdev mapping detection for xboxdrv

parent a408e27c
......@@ -34,8 +34,8 @@
*controller.mapping = &controller_mapping_gcwz;
#else
if (strcmp(name, "Microsoft X-Box 360 pad") == 0 ||
strcmp(name, "Xbox Gamepad (userspace driver)") == 0 ||
strcmp(name, "Xbox 360 Wireless Receiver (XBOX)") == 0)
strcmp(name, "Xbox 360 Wireless Receiver (XBOX)") == 0 ||
strstr(name, "Xbox Gamepad (userspace driver)") != NULL)
{
controller->mapping = &controller_mapping_xbox360;
}
......
Markdown is supported
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