Don't double count USB attached Xbox One controllers

This commit is contained in:
Cameron Gutman committed 2019-10-16 19:26:24 -07:00
1 parent db5b7ab867
commit 7e21638811
2 files changed
+4 -3

No files matched your search

@@ -166,7 +166,7 @@ public class UsbDriverService extends Service implements UsbDriverListener {
}
}
private static boolean isRecognizedInputDevice(UsbDevice device) {
public static boolean isRecognizedInputDevice(UsbDevice device) {
// On KitKat and later, we can determine if this VID and PID combo
// matches an existing input device and defer to the built-in controller
// support in that case. Prior to KitKat, we'll always return true to be safe.