I took a look into joystick input today and wrote a small program to display those infos. Please don't take a look inside, it's messy in there: No comments and I guess I could have done some things in an easier way but who cares
![Smile :)](./images/smilies/ms-smile.png)
![Wink ;)](./images/smilies/ms-wink.png)
At this moment the program (v1) supports:
- unlimited number of joysticks (see above
![Wink ;)](./images/smilies/ms-wink.png)
- name of the device
- about 20 buttons per joystick
- about 5 axes per joystick
- detection of viewhats & trackballs
Todo (if I ever work on this again):
- Multiple pages (for more then 2 joysticks)
- Info on viewhats & trackballs (if I ever get my hands on something that has a viewhat or a trackball)
Don't know:
- If analogue axes are supported and when, what I'll get back from them
- If analogue triggers are supported and where they are listed
This is how it looks like:
![Image](http://img223.imageshack.us/img223/1640/joystickinfo.th.jpg)