On Wed, Jun 29, 2022 at 11:31 PM Matt Reynolds <mattreyno...@chromium.org> wrote:
> Compatibility depends on Android's support which isn't documented. The > Android implementation relies on a compatible Linux driver exposing the > FF_RUMBLE feature. I've tested a Sony DualShock 4 and a Microsoft Xbox 360 > wired controller, both worked. I would expect all of these to work based on > the current state of Linux gamepad drivers: > > Microsoft Xbox 360 compatible gamepads > Microsoft Xbox One compatible gamepads when connected over USB (but not > over Bluetooth) > Official Sony PlayStation 3, 4, 5 gamepads over USB or Bluetooth (but not > third party PlayStation compatible gamepads) > Official Nintendo Switch gamepads over USB or Bluetooth (but not third > party Switch compatible gamepads) > > These devices are handled by the xpad, hid-playstation, hid-sony, and > hid-nintendo drivers. > > https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c > https://github.com/torvalds/linux/blob/master/drivers/hid/hid-playstation.c > https://github.com/torvalds/linux/blob/master/drivers/hid/hid-sony.c > https://github.com/torvalds/linux/blob/master/drivers/hid/hid-nintendo.c > Brilliant, thanks for the detailed info. Will give it a try on my Joy-Cons and my old Xbox 360 controllers! -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CALgRrLmu34YLRJN5z8ux4yCgO4UYQd%3DAT-ak%2BCB4DSEHRCVqUg%40mail.gmail.com.