Package org.lwjgl.openvr
Class VREventKeyboard
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VREventKeyboard>
org.lwjgl.openvr.VREventKeyboard
- All Implemented Interfaces:
org.lwjgl.system.Pointer
Used for keyboard events.
Layout
struct VREvent_Keyboard_t {
char cNewInput()[8];
uint64_t uUserValue();
uint64_t overlayHandle();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVREventKeyboard(ByteBuffer container) Creates aVREventKeyboardinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescription7 bytes of utf8 + null7 bytes of utf8 + nullstatic VREventKeyboardcreate(long address) Returns a newVREventKeyboardinstance for the specified memory address.static VREventKeyboard.Buffercreate(long address, int capacity) Create aVREventKeyboard.Bufferinstance at the specified memory.static @Nullable VREventKeyboardcreateSafe(long address) static @Nullable VREventKeyboard.BuffercreateSafe(long address, int capacity) static ByteBufferncNewInput(long struct) Unsafe version ofcNewInput().static StringncNewInputString(long struct) Unsafe version ofcNewInputString().static longnoverlayHandle(long struct) Unsafe version ofoverlayHandle().static longnuUserValue(long struct) Unsafe version ofuUserValue().longVROverlayHandle_tintsizeof()longcaller specified opaque tokenMethods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
CNEWINPUT
public static final int CNEWINPUTThe struct member offsets. -
UUSERVALUE
public static final int UUSERVALUEThe struct member offsets. -
OVERLAYHANDLE
public static final int OVERLAYHANDLEThe struct member offsets.
-
-
Constructor Details
-
VREventKeyboard
Creates aVREventKeyboardinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VREventKeyboard>
-
cNewInput
7 bytes of utf8 + null -
cNewInputString
7 bytes of utf8 + null -
uUserValue
public long uUserValue()caller specified opaque token -
overlayHandle
public long overlayHandle()VROverlayHandle_t -
create
Returns a newVREventKeyboardinstance for the specified memory address. -
createSafe
-
create
Create aVREventKeyboard.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ncNewInput
Unsafe version ofcNewInput(). -
ncNewInputString
Unsafe version ofcNewInputString(). -
nuUserValue
public static long nuUserValue(long struct) Unsafe version ofuUserValue(). -
noverlayHandle
public static long noverlayHandle(long struct) Unsafe version ofoverlayHandle().
-