Package org.lwjgl.glfw
Class GLFWJoystickCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.glfw.GLFWJoystickCallback
- All Implemented Interfaces:
AutoCloseable
,GLFWJoystickCallbackI
,org.lwjgl.system.CallbackI
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public abstract class GLFWJoystickCallback
extends org.lwjgl.system.Callback
implements GLFWJoystickCallbackI
Instances of this class may be passed to the
SetJoystickCallback
method.
Type
void (*GLFWJoystickCallbackI.invoke(int, int)
) (
int jid,
int event
)
- Since:
- version 3.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.glfw.GLFWJoystickCallbackI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic GLFWJoystickCallback
create
(long functionPointer) Creates aGLFWJoystickCallback
instance from the specified function pointer.static GLFWJoystickCallback
create
(GLFWJoystickCallbackI instance) Creates aGLFWJoystickCallback
instance that delegates to the specifiedGLFWJoystickCallbackI
instance.static GLFWJoystickCallback
createSafe
(long functionPointer) set()
SeeSetJoystickCallback
.Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.system.CallbackI
address
Methods inherited from interface org.lwjgl.glfw.GLFWJoystickCallbackI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aGLFWJoystickCallback
instance from the specified function pointer.- Returns:
- the new
GLFWJoystickCallback
-
createSafe
-
create
Creates aGLFWJoystickCallback
instance that delegates to the specifiedGLFWJoystickCallbackI
instance. -
set
SeeSetJoystickCallback
.
-