Tao.Sdl SDK Documentation |
|
Sdl.SDL_JoystickOpened Method
Determine if a joystick has been opened.
[Visual Basic]
Public Shared Function SDL_JoystickOpened( _
ByVal
device_index As
Integer _
) As
Integer
[C#]
public static
int SDL_JoystickOpened(
int device_index);
Parameters
-
device_index
-
Return Value
Returns 1 if the joystick has been opened, or 0 if it has not.
Remarks
Determines whether a joystick has already been opened within the application. index refers to the N'th joystick on the system.
Binds to C-function in SDL_joystick.h
int SDL_JoystickOpened(int index)
See Also
Sdl Class | Tao.Sdl Namespace | SDL_JoystickOpen | SDL_JoystickClose