mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-11 11:20:45 +02:00
Detecting by name such as "Accelerometer and "Motion Sensor" may be too broad. Sensors on Dualshock and Switch gamepad are correctly detected by SDL_EVDEV_GuessDeviceClass(). Use vendor and product ID for Wii extension controls.