Tao.Sdl SDK Documentation

Sdl.SDL_JoystickNumBalls Method 

Get the number of joystick trackballs

[Visual Basic]
Public Shared Function SDL_JoystickNumBalls( _
   ByVal joystick As IntPtr _
) As Integer
[C#]
public static int SDL_JoystickNumBalls(
   IntPtr joystick
);

Parameters

joystick

Return Value

Number of trackballs.

Remarks

Return the number of trackballs available from a previously opened SDL_Joystick.

Binds to C-function in SDL_joystick.h

int SDL_JoystickNumBalls(SDL_Joystick *joystick)
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_JoystickOpen | SDL_JoystickGetBall