Package org.lwjgl.openvr
Class VREventData
- All Implemented Interfaces:
Pointer
Layout
union VREvent_Data_t {
VREvent_Reserved_t
reserved;
VREvent_Controller_t
controller;
VREvent_Mouse_t
mouse;
VREvent_Scroll_t
scroll;
VREvent_Process_t
process;
VREvent_Notification_t
notification;
VREvent_Overlay_t
overlay;
VREvent_Status_t
status;
VREvent_Keyboard_t
keyboard;
VREvent_Ipd_t
ipd;
VREvent_Chaperone_t
chaperone;
VREvent_PerformanceTest_t
performanceTest;
VREvent_TouchPadMove_t
touchPadMove;
VREvent_SeatedZeroPoseReset_t
seatedZeroPoseReset;
VREvent_Screenshot_t
screenshot;
VREvent_ScreenshotProgress_t
screenshotProgress;
VREvent_ApplicationLaunch_t
applicationLaunch;
VREvent_EditingCameraSurface_t
cameraSurface;
VREvent_MessageOverlay_t
messageOverlay;
VREvent_Property_t
property;
VREvent_HapticVibration_t
hapticVibration;
VREvent_WebConsole_t
webConsole;
VREvent_InputBindingLoad_t
inputBinding;
VREvent_InputActionManifestLoad_t
actionManifest;
VREvent_SpatialAnchor_t
spatialAnchor;
}
-
Nested Class Summary
Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The struct member offsets.static final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionVREventData
(ByteBuffer container) Creates aVREventData
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VREventData
create
(long address) Returns a newVREventData
instance for the specified memory address.static VREventData.Buffer
create
(long address, int capacity) Create aVREventData.Buffer
instance at the specified memory.static VREventData
createSafe
(long address) static VREventData.Buffer
createSafe
(long address, int capacity) ipd()
keyboard()
mouse()
nactionManifest
(long struct) Unsafe version ofactionManifest()
.static VREventApplicationLaunch
napplicationLaunch
(long struct) Unsafe version ofapplicationLaunch()
.static VREventEditingCameraSurface
ncameraSurface
(long struct) Unsafe version ofcameraSurface()
.static VREventChaperone
nchaperone
(long struct) Unsafe version ofchaperone()
.static VREventController
ncontroller
(long struct) Unsafe version ofcontroller()
.static VREventHapticVibration
nhapticVibration
(long struct) Unsafe version ofhapticVibration()
.static VREventInputBindingLoad
ninputBinding
(long struct) Unsafe version ofinputBinding()
.static VREventIpd
nipd
(long struct) Unsafe version ofipd()
.static VREventKeyboard
nkeyboard
(long struct) Unsafe version ofkeyboard()
.static VREventMessageOverlay
nmessageOverlay
(long struct) Unsafe version ofmessageOverlay()
.static VREventMouse
nmouse
(long struct) Unsafe version ofmouse()
.static VREventNotification
nnotification
(long struct) Unsafe version ofnotification()
.static VREventOverlay
noverlay
(long struct) Unsafe version ofoverlay()
.static VREventPerformanceTest
nperformanceTest
(long struct) Unsafe version ofperformanceTest()
.static VREventProcess
nprocess
(long struct) Unsafe version ofprocess()
.static VREventProperty
nproperty
(long struct) Unsafe version ofproperty()
.static VREventReserved
nreserved
(long struct) Unsafe version ofreserved()
.static VREventScreenshot
nscreenshot
(long struct) Unsafe version ofscreenshot()
.static VREventScreenshotProgress
nscreenshotProgress
(long struct) Unsafe version ofscreenshotProgress()
.static VREventScroll
nscroll
(long struct) Unsafe version ofscroll()
.static VREventSeatedZeroPoseReset
nseatedZeroPoseReset
(long struct) Unsafe version ofseatedZeroPoseReset()
.static VREventSpatialAnchor
nspatialAnchor
(long struct) Unsafe version ofspatialAnchor()
.static VREventStatus
nstatus
(long struct) Unsafe version ofstatus()
.static VREventTouchPadMove
ntouchPadMove
(long struct) Unsafe version oftouchPadMove()
.static VREventWebConsole
nwebConsole
(long struct) Unsafe version ofwebConsole()
.overlay()
process()
property()
reserved()
scroll()
int
sizeof()
Returnssizeof(struct)
.status()
Methods 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. -
RESERVED
public static final int RESERVEDThe struct member offsets. -
CONTROLLER
public static final int CONTROLLERThe struct member offsets. -
MOUSE
public static final int MOUSEThe struct member offsets. -
SCROLL
public static final int SCROLLThe struct member offsets. -
PROCESS
public static final int PROCESSThe struct member offsets. -
NOTIFICATION
public static final int NOTIFICATIONThe struct member offsets. -
OVERLAY
public static final int OVERLAYThe struct member offsets. -
STATUS
public static final int STATUSThe struct member offsets. -
KEYBOARD
public static final int KEYBOARDThe struct member offsets. -
IPD
public static final int IPDThe struct member offsets. -
CHAPERONE
public static final int CHAPERONEThe struct member offsets. -
PERFORMANCETEST
public static final int PERFORMANCETESTThe struct member offsets. -
TOUCHPADMOVE
public static final int TOUCHPADMOVEThe struct member offsets. -
SEATEDZEROPOSERESET
public static final int SEATEDZEROPOSERESETThe struct member offsets. -
SCREENSHOT
public static final int SCREENSHOTThe struct member offsets. -
SCREENSHOTPROGRESS
public static final int SCREENSHOTPROGRESSThe struct member offsets. -
APPLICATIONLAUNCH
public static final int APPLICATIONLAUNCHThe struct member offsets. -
CAMERASURFACE
public static final int CAMERASURFACEThe struct member offsets. -
MESSAGEOVERLAY
public static final int MESSAGEOVERLAYThe struct member offsets. -
PROPERTY
public static final int PROPERTYThe struct member offsets. -
HAPTICVIBRATION
public static final int HAPTICVIBRATIONThe struct member offsets. -
WEBCONSOLE
public static final int WEBCONSOLEThe struct member offsets. -
INPUTBINDING
public static final int INPUTBINDINGThe struct member offsets. -
ACTIONMANIFEST
public static final int ACTIONMANIFESTThe struct member offsets. -
SPATIALANCHOR
public static final int SPATIALANCHORThe struct member offsets.
-
-
Constructor Details
-
VREventData
Creates aVREventData
instance at the current position of the specifiedByteBuffer
container. 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()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VREventData>
-
reserved
- Returns:
- a
VREventReserved
view of thereserved
field.
-
controller
- Returns:
- a
VREventController
view of thecontroller
field.
-
mouse
- Returns:
- a
VREventMouse
view of themouse
field.
-
scroll
- Returns:
- a
VREventScroll
view of thescroll
field.
-
process
- Returns:
- a
VREventProcess
view of theprocess
field.
-
notification
- Returns:
- a
VREventNotification
view of thenotification
field.
-
overlay
- Returns:
- a
VREventOverlay
view of theoverlay
field.
-
status
- Returns:
- a
VREventStatus
view of thestatus
field.
-
keyboard
- Returns:
- a
VREventKeyboard
view of thekeyboard
field.
-
ipd
- Returns:
- a
VREventIpd
view of theipd
field.
-
chaperone
- Returns:
- a
VREventChaperone
view of thechaperone
field.
-
performanceTest
- Returns:
- a
VREventPerformanceTest
view of theperformanceTest
field.
-
touchPadMove
- Returns:
- a
VREventTouchPadMove
view of thetouchPadMove
field.
-
seatedZeroPoseReset
- Returns:
- a
VREventSeatedZeroPoseReset
view of theseatedZeroPoseReset
field.
-
screenshot
- Returns:
- a
VREventScreenshot
view of thescreenshot
field.
-
screenshotProgress
- Returns:
- a
VREventScreenshotProgress
view of thescreenshotProgress
field.
-
applicationLaunch
- Returns:
- a
VREventApplicationLaunch
view of theapplicationLaunch
field.
-
cameraSurface
- Returns:
- a
VREventEditingCameraSurface
view of thecameraSurface
field.
-
messageOverlay
- Returns:
- a
VREventMessageOverlay
view of themessageOverlay
field.
-
property
- Returns:
- a
VREventProperty
view of theproperty
field.
-
hapticVibration
- Returns:
- a
VREventHapticVibration
view of thehapticVibration
field.
-
webConsole
- Returns:
- a
VREventWebConsole
view of thewebConsole
field.
-
inputBinding
- Returns:
- a
VREventInputBindingLoad
view of theinputBinding
field.
-
actionManifest
- Returns:
- a
VREventInputActionManifestLoad
view of theactionManifest
field.
-
spatialAnchor
- Returns:
- a
VREventSpatialAnchor
view of thespatialAnchor
field.
-
create
Returns a newVREventData
instance for the specified memory address. -
createSafe
-
create
Create aVREventData.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nreserved
Unsafe version ofreserved()
. -
ncontroller
Unsafe version ofcontroller()
. -
nmouse
Unsafe version ofmouse()
. -
nscroll
Unsafe version ofscroll()
. -
nprocess
Unsafe version ofprocess()
. -
nnotification
Unsafe version ofnotification()
. -
noverlay
Unsafe version ofoverlay()
. -
nstatus
Unsafe version ofstatus()
. -
nkeyboard
Unsafe version ofkeyboard()
. -
nipd
Unsafe version ofipd()
. -
nchaperone
Unsafe version ofchaperone()
. -
nperformanceTest
Unsafe version ofperformanceTest()
. -
ntouchPadMove
Unsafe version oftouchPadMove()
. -
nseatedZeroPoseReset
Unsafe version ofseatedZeroPoseReset()
. -
nscreenshot
Unsafe version ofscreenshot()
. -
nscreenshotProgress
Unsafe version ofscreenshotProgress()
. -
napplicationLaunch
Unsafe version ofapplicationLaunch()
. -
ncameraSurface
Unsafe version ofcameraSurface()
. -
nmessageOverlay
Unsafe version ofmessageOverlay()
. -
nproperty
Unsafe version ofproperty()
. -
nhapticVibration
Unsafe version ofhapticVibration()
. -
nwebConsole
Unsafe version ofwebConsole()
. -
ninputBinding
Unsafe version ofinputBinding()
. -
nactionManifest
Unsafe version ofactionManifest()
. -
nspatialAnchor
Unsafe version ofspatialAnchor()
.
-