|
JoyStatus | ||
Status = JoyStatus(DeviceIndex) | ||
Parameters: DeviceIndex = The Index of the joystick you wish to query (1 to 4) |
||
Returns: Status = The status of this device (0= not connected, 1 Connected) |
||
JoyStatus checks if a joystick is plugged in or not. JoyStatus returns a false (0) if no device exists and a true(1) is a joystick is present. FACTS: * Supports up to four joysticks * Joysticks can not be detected while the program is running, they must be connected before. Mini Tutorial: The following example show a basic joystick implementation.
This example would output.
|
Related Info: | : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |