Can You Tell What Button Is What On A Joystick


zacaj

void main()
Joined
Apr 3, 2007
Messages
362
Age
30
Location
NY
Website
zacaj.com
I was wondering, if using a cradle, and you have a controller plugged in, if its possible to tell whats up, down, a, b, etc, without asking the user to press all the buttons?
 
Dp, down etc are stick directions not buttons so the user won't need to confirm them, but other buttons are just numbered and I don't think it's possible to tell what's mapped to what without asking the user.
 
I remember SDL has some functions returning numbers of buttons/axises. That is brings ease
 
Back
Top