@FunctionalInterface
public interface GLFWKeyCallbackI
extends org.lwjgl.system.CallbackI.V
SetKeyCallback method.
void (*) (
GLFWwindow *window,
int key,
int scancode,
int action,
int mods
)org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIGNATURE |
| Modifier and Type | Method and Description |
|---|---|
default void |
callback(long args) |
default java.lang.String |
getSignature() |
void |
invoke(long window,
int key,
int scancode,
int action,
int mods)
Will be called when a key is pressed, repeated or released.
|
static final java.lang.String SIGNATURE
default java.lang.String getSignature()
getSignature in interface org.lwjgl.system.CallbackIdefault void callback(long args)
callback in interface org.lwjgl.system.CallbackI.Vvoid invoke(long window,
int key,
int scancode,
int action,
int mods)
Copyright LWJGL. All Rights Reserved. License terms.