it's been a while since I played with gamepads on Linux, but I seem to
remember that the gamepads show up as HID devices with crazy number
of mouse buttons (MB 1,2,3,4,5,6,7,8,9....). So, just write your app
to react to high-numbered mouse buttons. You can see what your gamepad
is generating by running the xev program from your text terminal;
it'll print event records to your screen.
> --
> For more options, visit
http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
beagleboard...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/9f60cb1f-d920-40f0-8dca-b9e9070b7662%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.