Package io.github.libsdl4j.api.joystick
Class SDL_JoystickID
- java.lang.Object
-
- java.lang.Number
-
- com.sun.jna.IntegerType
-
- io.github.libsdl4j.api.joystick.SDL_JoystickID
-
- All Implemented Interfaces:
com.sun.jna.NativeMapped
,Serializable
public final class SDL_JoystickID extends com.sun.jna.IntegerType
This is a unique ID for a joystick for the time it is connected to the system, and is never reused for the lifetime of the application. If the joystick is disconnected and reconnected, it will get a new ID.The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SDL_JoystickID()
Create a zero-valued signed IntegerType.SDL_JoystickID(long value)
Create a signed IntegerType with the given value.
-
Method Summary
-
Methods inherited from class com.sun.jna.IntegerType
compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative, toString
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-