Tao.Sdl SDK Documentation |
|
Sdl.SDL_JoystickIndex Method
Get the index of an SDL_Joystick.
[Visual Basic]
Public Shared Function SDL_JoystickIndex( _
ByVal
joystick As
IntPtr _
) As
Integer
[C#]
public static
int SDL_JoystickIndex(
IntPtr joystick);
Parameters
-
joystick
-
Return Value
Index number of the joystick.
Remarks
Returns the index of a given SDL_Joystick structure.
Binds to C-function in SDL_joystick.h
int SDL_JoystickIndex(SDL_Joystick *joystick)
See Also
Sdl Class | Tao.Sdl Namespace | SDL_JoystickOpen