Package org.lwjgl.openvr
Class VREventData
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VREventData>
org.lwjgl.openvr.VREventData
- All Implemented Interfaces:
org.lwjgl.system.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;
VREvent_ProgressUpdate_t progressUpdate;
VREvent_ShowUI_t showUi;
VREvent_ShowDevTools_t showDevTools;
VREvent_HDCPError_t hdcpError;
VREvent_AudioVolumeControl_t audioVolumeControl;
VREvent_AudioMuteControl_t audioMuteControl;
}-
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 member offsets.static final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.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.static final intThe struct member offsets.static final intThe struct member offsets.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
ConstructorsConstructorDescriptionVREventData(ByteBuffer container) Creates aVREventDatainstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VREventDatacreate(long address) Returns a newVREventDatainstance for the specified memory address.static VREventData.Buffercreate(long address, int capacity) Create aVREventData.Bufferinstance at the specified memory.static @Nullable VREventDatacreateSafe(long address) static @Nullable VREventData.BuffercreateSafe(long address, int capacity) ipd()keyboard()mouse()nactionManifest(long struct) Unsafe version ofactionManifest().static VREventApplicationLaunchnapplicationLaunch(long struct) Unsafe version ofapplicationLaunch().static VREventAudioMuteControlnaudioMuteControl(long struct) Unsafe version ofaudioMuteControl().static VREventAudioVolumeControlnaudioVolumeControl(long struct) Unsafe version ofaudioVolumeControl().static VREventEditingCameraSurfacencameraSurface(long struct) Unsafe version ofcameraSurface().static VREventChaperonenchaperone(long struct) Unsafe version ofchaperone().static VREventControllerncontroller(long struct) Unsafe version ofcontroller().static VREventHapticVibrationnhapticVibration(long struct) Unsafe version ofhapticVibration().static VREventHDCPErrornhdcpError(long struct) Unsafe version ofhdcpError().static VREventInputBindingLoadninputBinding(long struct) Unsafe version ofinputBinding().static VREventIpdnipd(long struct) Unsafe version ofipd().static VREventKeyboardnkeyboard(long struct) Unsafe version ofkeyboard().static VREventMessageOverlaynmessageOverlay(long struct) Unsafe version ofmessageOverlay().static VREventMousenmouse(long struct) Unsafe version ofmouse().static VREventNotificationnnotification(long struct) Unsafe version ofnotification().static VREventOverlaynoverlay(long struct) Unsafe version ofoverlay().static VREventPerformanceTestnperformanceTest(long struct) Unsafe version ofperformanceTest().static VREventProcessnprocess(long struct) Unsafe version ofprocess().static VREventProgressUpdatenprogressUpdate(long struct) Unsafe version ofprogressUpdate().static VREventPropertynproperty(long struct) Unsafe version ofproperty().static VREventReservednreserved(long struct) Unsafe version ofreserved().static VREventScreenshotnscreenshot(long struct) Unsafe version ofscreenshot().static VREventScreenshotProgressnscreenshotProgress(long struct) Unsafe version ofscreenshotProgress().static VREventScrollnscroll(long struct) Unsafe version ofscroll().static VREventSeatedZeroPoseResetnseatedZeroPoseReset(long struct) Unsafe version ofseatedZeroPoseReset().static VREventShowDevToolsnshowDevTools(long struct) Unsafe version ofshowDevTools().static VREventShowUInshowUi(long struct) Unsafe version ofshowUi().static VREventSpatialAnchornspatialAnchor(long struct) Unsafe version ofspatialAnchor().static VREventStatusnstatus(long struct) Unsafe version ofstatus().static VREventTouchPadMoventouchPadMove(long struct) Unsafe version oftouchPadMove().static VREventWebConsolenwebConsole(long struct) Unsafe version ofwebConsole().overlay()process()property()reserved()scroll()showUi()intsizeof()status()Methods 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. -
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. -
PROGRESSUPDATE
public static final int PROGRESSUPDATEThe struct member offsets. -
SHOWUI
public static final int SHOWUIThe struct member offsets. -
SHOWDEVTOOLS
public static final int SHOWDEVTOOLSThe struct member offsets. -
HDCPERROR
public static final int HDCPERRORThe struct member offsets. -
AUDIOVOLUMECONTROL
public static final int AUDIOVOLUMECONTROLThe struct member offsets. -
AUDIOMUTECONTROL
public static final int AUDIOMUTECONTROLThe struct member offsets.
-
-
Constructor Details
-
VREventData
Creates aVREventDatainstance 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<VREventData>
-
reserved
- Returns:
- a
VREventReservedview of thereservedfield.
-
controller
- Returns:
- a
VREventControllerview of thecontrollerfield.
-
mouse
- Returns:
- a
VREventMouseview of themousefield.
-
scroll
- Returns:
- a
VREventScrollview of thescrollfield.
-
process
- Returns:
- a
VREventProcessview of theprocessfield.
-
notification
- Returns:
- a
VREventNotificationview of thenotificationfield.
-
overlay
- Returns:
- a
VREventOverlayview of theoverlayfield.
-
status
- Returns:
- a
VREventStatusview of thestatusfield.
-
keyboard
- Returns:
- a
VREventKeyboardview of thekeyboardfield.
-
ipd
- Returns:
- a
VREventIpdview of theipdfield.
-
chaperone
- Returns:
- a
VREventChaperoneview of thechaperonefield.
-
performanceTest
- Returns:
- a
VREventPerformanceTestview of theperformanceTestfield.
-
touchPadMove
- Returns:
- a
VREventTouchPadMoveview of thetouchPadMovefield.
-
seatedZeroPoseReset
- Returns:
- a
VREventSeatedZeroPoseResetview of theseatedZeroPoseResetfield.
-
screenshot
- Returns:
- a
VREventScreenshotview of thescreenshotfield.
-
screenshotProgress
- Returns:
- a
VREventScreenshotProgressview of thescreenshotProgressfield.
-
applicationLaunch
- Returns:
- a
VREventApplicationLaunchview of theapplicationLaunchfield.
-
cameraSurface
- Returns:
- a
VREventEditingCameraSurfaceview of thecameraSurfacefield.
-
messageOverlay
- Returns:
- a
VREventMessageOverlayview of themessageOverlayfield.
-
property
- Returns:
- a
VREventPropertyview of thepropertyfield.
-
hapticVibration
- Returns:
- a
VREventHapticVibrationview of thehapticVibrationfield.
-
webConsole
- Returns:
- a
VREventWebConsoleview of thewebConsolefield.
-
inputBinding
- Returns:
- a
VREventInputBindingLoadview of theinputBindingfield.
-
actionManifest
- Returns:
- a
VREventInputActionManifestLoadview of theactionManifestfield.
-
spatialAnchor
- Returns:
- a
VREventSpatialAnchorview of thespatialAnchorfield.
-
progressUpdate
- Returns:
- a
VREventProgressUpdateview of theprogressUpdatefield.
-
showUi
- Returns:
- a
VREventShowUIview of theshowUifield.
-
showDevTools
- Returns:
- a
VREventShowDevToolsview of theshowDevToolsfield.
-
hdcpError
- Returns:
- a
VREventHDCPErrorview of thehdcpErrorfield.
-
audioVolumeControl
- Returns:
- a
VREventAudioVolumeControlview of theaudioVolumeControlfield.
-
audioMuteControl
- Returns:
- a
VREventAudioMuteControlview of theaudioMuteControlfield.
-
create
Returns a newVREventDatainstance for the specified memory address. -
createSafe
-
create
Create aVREventData.Bufferinstance 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(). -
nprogressUpdate
Unsafe version ofprogressUpdate(). -
nshowUi
Unsafe version ofshowUi(). -
nshowDevTools
Unsafe version ofshowDevTools(). -
nhdcpError
Unsafe version ofhdcpError(). -
naudioVolumeControl
Unsafe version ofaudioVolumeControl(). -
naudioMuteControl
Unsafe version ofaudioMuteControl().
-