Tao.Sdl SDK Documentation |
|
Sdl.SDL_JoystickNumButtons Method
Get the number of joystick buttons.
[Visual Basic]
Public Shared Function SDL_JoystickNumButtons( _
ByVal
joystick As
IntPtr _
) As
Integer
[C#]
public static
int SDL_JoystickNumButtons(
IntPtr joystick);
Parameters
-
joystick
-
Return Value
Number of buttons.
Remarks
Return the number of buttons available from a previously opened SDL_Joystick.
Binds to C-function in SDL_joystick.h
int SDL_JoystickNumButtons(SDL_Joystick *joystick)
See Also
Sdl Class | Tao.Sdl Namespace | SDL_JoystickOpen | SDL_JoystickGetButton