Tao.Sdl SDK Documentation

Sdl.SDL_JoystickNumHats Method 

Get the number of joystick hats.

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

Parameters

joystick

Return Value

Number of hats.

Remarks

Binds to C-function in SDL_joystick.h

int SDL_JoystickNumHats(SDL_Joystick *joystick);
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_JoystickOpen | SDL_JoystickGetHat