Why won't SDL detect my iBuffalo game controller on Linux? |
andrewhavens
|
I recently obtained an ARM-based Linux computer called a PocketCHIP. It's a great little computer! I'm working on writing a program which uses SDL 2.0.4 and my iBuffalo USB gamepad. However, SDL does not seem to recognize the controller on the PocketCHIP. I think this is a popular controller, so it would surprise me if SDL did not already support it, which makes me think that there's something wrong with my setup/installation. The controller does work in other programs though (mednafen).
On my Mac, when I run the testgamecontroller.c, testjoystick.c, and controllermap.c scripts that are included in the SDL test directory, they all recognize the controller correctly:
However, when I run the same scripts on the PocketCHIP, it does not detect the controller. Linux does seem to recognize the device as connected though:
What do I need to do to get SDL to recognize my controller on the PocketCHIP? |
|||||||||||||||
|
Found the solution! |