SdlJoystickEx extension

on

Static Methods

attachVirtual(SdlxVirtualJoystickDesc desc) int joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Attach a new virtual joystick.
detachVirtual(int instanceId) bool joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Detach a virtual joystick.
eventsEnabled() bool joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Query the state of joystick event processing.
getFromId(int instanceId) Pointer<SdlJoystick> joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the SDL_Joystick associated with an instance ID, if it has been opened.
getFromPlayerIndex(int playerIndex) Pointer<SdlJoystick> joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the SDL_Joystick associated with a player index.
getGuidForId(int instanceId) SdlGuid joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the implementation-dependent GUID of a joystick.
getGuidInfo(SdlGuid guid, SdlxJoystickGuidInfo info) → void joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the device information encoded in a SDL_GUID structure.
getNameForId(int instanceId) String? joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the implementation dependent name of a joystick.
getPathForId(int instanceId) String? joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the implementation dependent path of a joystick.
getPlayerIndexForId(int instanceId) int joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the player index of a joystick.
getPorductForId(int instanceId) int joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the USB product ID of a joystick, if available.
getProductVersionForId(int instanceId) int joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the product version of a joystick, if available.
gets() List<int> joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get a list of currently connected joysticks.
getTypeForId(int instanceId) int joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the type of a joystick, if available.
getVendorForId(int instanceId) int joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Get the USB vendor ID of a joystick, if available.
has() bool joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Return whether a joystick is currently connected.
isVirtual(int instanceId) bool joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Query whether or not a joystick is virtual.
locks() → void joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Locking for atomic access to the joystick API.
open(int instanceId) Pointer<SdlJoystick> joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Open a joystick for use.
setEventsEnabled(bool enabled) → void joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Set the state of joystick event processing.
tryLocks() bool joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Locking for atomic access to the joystick API.
unlocks() → void joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Unlocking for atomic access to the joystick API.
updates() → void joystick

Available on SdlJoystick, provided by the SdlJoystickEx extension

Update the current state of the open joysticks.