Class GLFWInput
Inheritance
java.lang.Object
GLFWInput
Fields
Standard cursor shapes. See standard cursor creation for how these are used.
Declaration
public static final int GLFW_ARROW_CURSOR= 0x36001
Field Value
Type |
Description |
final int |
|
Declaration
public static final int GLFW_CURSOR= 0x33001
Field Value
Type |
Description |
final int |
|
Declaration
public static final int GLFW_CURSOR_NORMAL= 0x34001
Field Value
Type |
Description |
final int |
|
Gamepad axes. See gamepad for how these are used.
Declaration
public static final int GLFW_GAMEPAD_AXIS_LEFT_X= 0
Field Value
Type |
Description |
final int |
|
Gamepad buttons. See gamepad for how these are used.
Declaration
public static final int GLFW_GAMEPAD_BUTTON_A= 0
Field Value
Type |
Description |
final int |
|
Declaration
protected long glfw_Handle
Field Value
Joysticks. See joystick input for how these are used.
Declaration
public static final int GLFW_JOYSTICK_1= 0
Field Value
Type |
Description |
final int |
|
Declaration
public static final int GLFW_KEY_ESCAPE= 256
Field Value
Type |
Description |
final int |
|
Declaration
public static final int GLFW_KEY_SPACE= 32
Field Value
Type |
Description |
final int |
|
If this bit is set one or more Alt keys were held down.
Declaration
public static final int GLFW_MOD_ALT= 0x4
Field Value
Type |
Description |
final int |
|
If this bit is set the Caps Lock key is enabled and the LOCK_KEY_MODS input mode is set.
Declaration
public static final int GLFW_MOD_CAPS_LOCK= 0x10
Field Value
Type |
Description |
final int |
|
If this bit is set one or more Control keys were held down.
Declaration
public static final int GLFW_MOD_CONTROL= 0x2
Field Value
Type |
Description |
final int |
|
If this bit is set the Num Lock key is enabled and the LOCK_KEY_MODS input mode is set.
Declaration
public static final int GLFW_MOD_NUM_LOCK= 0x20
Field Value
Type |
Description |
final int |
|
If this bit is set one or more Shift keys were held down.
Declaration
public static final int GLFW_MOD_SHIFT= 0x1
Field Value
Type |
Description |
final int |
|
If this bit is set one or more Super keys were held down.
Declaration
public static final int GLFW_MOD_SUPER= 0x8
Field Value
Type |
Description |
final int |
|
Mouse buttons. See mouse button input for how these are used.
Declaration
public static final int GLFW_MOUSE_BUTTON_1= 0
Field Value
Type |
Description |
final int |
|
The key or button was pressed.
Declaration
public static final int GLFW_PRESS= 1
Field Value
Type |
Description |
final int |
|
The key or button was released.
Declaration
public static final int GLFW_RELEASE= 0
Field Value
Type |
Description |
final int |
|
The key was held down until it repeated.
Declaration
public static final int GLFW_REPEAT= 2
Field Value
Type |
Description |
final int |
|
Declaration
public static final int GLFW_TRUE= 1
Field Value
Type |
Description |
final int |
|
Methods
Safely destroys the callbacks created. This function is safe to use before calling glfwDestroyCallbacks.
Declaration
public abstract void destroySafe()
Returns
Type |
Description |
abstract void |
|
Declaration
public abstract void initInput(long hndl)
Parameters
Type |
Name |
Description |
long |
hndl |
|
Returns
Type |
Description |
abstract void |
|
Declaration