help] Reading information from an usb device(gamepad)
I connected my Ps3 gamepad to my computer (OS Ubuntu) via USB. I used libjsw to make a small program to read the input buttons from /dev/input/js0, also for reading correctly the values of the accelerometers I had to run a background driver (QtSixA, that also allows to connect via bluetooth). I want to know all the information that is sent by the gamepad:
There is some way to read the packages sent via usb or bluetooth? I want to know the times of refresh and how the gamepad manages button holding and other situations.
It's is possible to send information to the gamepad? to control the led light for example. I've no experience on linux systems so any help or references will be very appreciated.