Name
sdl.GetNumButtons -- get number of joystick buttons
Synopsis
num = sdl.GetNumButtons(port)
Function
Use this function to get the number of buttons on a joystick. This is only possible for joysticks, not for game controllers.

Inputs
port
game port to query
Results
num
number of joystick buttons

Show TOC