Method SDL.Joystick()->get_button()
- Method get_button
 intget_button(intbutton)- Description
 Returns the current state of the given button.
This is
1if the button is pressed, otherwise0.- Parameter 
button The button index.
- Returns
 The current state of the given button.
- See also