dwww Home | Manual pages | Find package

SDL_JoystickNumButtons(3)      SDL API Reference     SDL_JoystickNumButtons(3)

NAME
       SDL_JoystickNumButtons - Get the number of joysitck buttons

SYNOPSIS
       #include "SDL.h"

       int SDL_JoystickNumButtons(SDL_Joystick *joystick);

DESCRIPTION
       Return  the  number  of  buttons  available  from  a  previously opened
       SDL_Joystick.

RETURN VALUE
       Number of buttons.

SEE ALSO
       SDL_JoystickGetButton, SDL_JoystickOpen

SDL                         Tue 11 Sep 2001, 23:00   SDL_JoystickNumButtons(3)

Generated by dwww version 1.15 on Sun Jun 23 04:44:42 CEST 2024.