Go to the source code of this file.
Data Structures | |
struct | varjo_EventHeader |
struct | varjo_EventVisibility |
struct | varjo_EventButton |
struct | varjo_EventTrackingStatus |
struct | varjo_EventHeadsetStatus |
struct | varjo_EventForeground |
struct | varjo_EventHeadsetStandbyStatus |
struct | varjo_EventDisplayStatus |
struct | varjo_EventMRDeviceStatus |
struct | varjo_EventMRCameraPropertyChange |
struct | varjo_EventDataStreamStart |
struct | varjo_EventDataStreamStop |
struct | varjo_EventTextureSizeChange |
union | varjo_EventData |
struct | varjo_Event |
Event struct used for all the events by the event system. More... | |
Macros | |
#define | VARJO_LAST_EVENT varjo_EventType_TextureSizeChange |
Typedefs | |
typedef int64_t | varjo_EventType |
typedef int8_t | varjo_ButtonId |
typedef int64_t | varjo_TrackingStatus |
typedef int64_t | varjo_HeadsetStatus |
typedef int64_t | varjo_DisplayStatus |
typedef int64_t | varjo_MRDeviceStatus |
Variables | |
static const varjo_EventType | varjo_EventType_Visibility = 0x1 |
Visibility event received when application being shown / hidden. More... | |
static const varjo_EventType | varjo_EventType_Button = 0x2 |
Button event that is received when a button is pressed or released. More... | |
static const varjo_EventType | varjo_EventType_TrackingStatus = 0x3 |
Event that is received when there's a change in positional tracking state. More... | |
static const varjo_EventType | varjo_EventType_HeadsetStatus = 0x4 |
Event for headset connection and disconnection. More... | |
static const varjo_EventType | varjo_EventType_DisplayStatus = 0x5 |
Event for changes in headset display connections. Eg. if cables are unplugged. More... | |
static const varjo_EventType | varjo_EventType_HeadsetStandbyStatus = 0x6 |
Event for changes in headset standby status. More... | |
static const varjo_EventType | varjo_EventType_Foreground = 0x7 |
Event for when application goes to background or foreground. More... | |
static const varjo_EventType | varjo_EventType_MRDeviceStatus = 0x8 |
Event for determining whether mixed reality capable device is connected. More... | |
static const varjo_EventType | varjo_EventType_MRCameraPropertyChange = 0x9 |
Event sent right after a camera property (e.g. exposure mode) change. More... | |
static const varjo_EventType | varjo_EventType_DataStreamStart = 0xA |
Event emitted when a data stream has started. More... | |
static const varjo_EventType | varjo_EventType_DataStreamStop = 0xB |
Event emitted when a data stream has stopped. More... | |
static const varjo_EventType | varjo_EventType_TextureSizeChange = 0xC |
Event emitted when a texture size has changed. More... | |
static const varjo_ButtonId | varjo_ButtonId_Application = 0 |
Button ID for application button on the headset. More... | |
static const varjo_TrackingStatus | varjo_TrackingStatus_Ok = 0x0 |
Tracking is ok. More... | |
static const varjo_TrackingStatus | varjo_TrackingStatus_Lost = 0x1 |
No tracking data available. More... | |
static const varjo_TrackingStatus | varjo_TrackingStatus_Disconnected = 0x2 |
Tracking disconnected. More... | |
static const varjo_HeadsetStatus | varjo_HeadsetStatus_Connected = 0x1 |
Headset is connected. More... | |
static const varjo_HeadsetStatus | varjo_HeadsetStatus_Disconnected = 0x2 |
Headset is disconnected. More... | |
static const varjo_DisplayStatus | varjo_DisplayStatus_ContextNotFound = 0x1 |
Context display is not found. More... | |
static const varjo_DisplayStatus | varjo_DisplayStatus_FocusNotFound = 0x2 |
Focus display is not found. More... | |
static const varjo_DisplayStatus | varjo_DisplayStatus_AllDisplaysFound = 0x4 |
All displays found. More... | |
static const varjo_MRDeviceStatus | varjo_MRDeviceStatus_Connected = 0x1 |
Mixed reality capable device is connected. More... | |
static const varjo_MRDeviceStatus | varjo_MRDeviceStatus_Disconnected = 0x2 |
Mixed reality capable device is disconnected. More... | |
struct varjo_EventHeader |
Data Fields | ||
---|---|---|
int64_t | timestamp | Timestamp of the time when the event was issued. |
varjo_EventType | type | Type of the event. |
struct varjo_EventVisibility |
Data Fields | ||
---|---|---|
varjo_Bool | visible | Current visibility. |
struct varjo_EventButton |
Data Fields | ||
---|---|---|
varjo_ButtonId | buttonId | Id of the button. |
varjo_Bool | pressed | Is the button pressed down. |
struct varjo_EventTrackingStatus |
Data Fields | ||
---|---|---|
varjo_TrackingStatus | status | Current tracking status. |
struct varjo_EventHeadsetStatus |
Data Fields | ||
---|---|---|
varjo_HeadsetStatus | status | Current headset status. |
struct varjo_EventForeground |
Data Fields | ||
---|---|---|
varjo_Bool | isForeground | Is the session on foreground. |
struct varjo_EventHeadsetStandbyStatus |
Data Fields | ||
---|---|---|
varjo_Bool | onStandby | Is the headset on standby. |
struct varjo_EventDisplayStatus |
Data Fields | ||
---|---|---|
varjo_DisplayStatus | status | Current display status. |
struct varjo_EventMRDeviceStatus |
Data Fields | ||
---|---|---|
varjo_MRDeviceStatus | status | Is there a mixed reality capable device connected. |
struct varjo_EventMRCameraPropertyChange |
Data Fields | ||
---|---|---|
varjo_CameraPropertyType | type | Changed property. Value can be queried with varjo_MRGetCameraPropertyMode and varjo_MRGetCameraPropertyValue. |
struct varjo_EventDataStreamStart |
Data Fields | ||
---|---|---|
varjo_StreamId | streamId | Stream id. |
struct varjo_EventDataStreamStop |
Data Fields | ||
---|---|---|
varjo_StreamId | streamId | Stream id. |
struct varjo_EventTextureSizeChange |
Data Fields | ||
---|---|---|
varjo_TextureSize_Type_Mask | typeMask | Bitmask of changed texture size types. |
union varjo_EventData |
Data Fields | ||
---|---|---|
struct varjo_EventButton | button | Button event data. |
struct varjo_EventDataStreamStart | dataStreamStart | Data stream start event data. |
struct varjo_EventDataStreamStop | dataStreamStop | Data stream stop event data. |
struct varjo_EventDisplayStatus | displayStatus | Display status event data. |
struct varjo_EventForeground | foreground | Foreground status event data. |
struct varjo_EventHeadsetStandbyStatus | headsetStandbyStatus | Headset standby status event data. |
struct varjo_EventHeadsetStatus | headsetStatus | Headset status event data. |
struct varjo_EventMRCameraPropertyChange | mrCameraPropertyChange | Camera property change event data. |
struct varjo_EventMRDeviceStatus | mrDeviceStatus | Mixed reality device status event data. |
struct varjo_EventTextureSizeChange | textureSizeChange | Texture size change data. |
struct varjo_EventTrackingStatus | trackingStatus | Tracking status event data. |
struct varjo_EventVisibility | visibility | Visibility event data. |
struct varjo_Event |
Event struct used for all the events by the event system.
Data Fields | ||
---|---|---|
union varjo_EventData | data | Event data. |
struct varjo_EventHeader | header | Event header. |
#define VARJO_LAST_EVENT varjo_EventType_TextureSizeChange |
typedef int8_t varjo_ButtonId |
typedef int64_t varjo_DisplayStatus |
typedef int64_t varjo_EventType |
typedef int64_t varjo_HeadsetStatus |
typedef int64_t varjo_MRDeviceStatus |
typedef int64_t varjo_TrackingStatus |
|
static |
Button ID for application button on the headset.
|
static |
All displays found.
|
static |
Context display is not found.
|
static |
Focus display is not found.
|
static |
Button event that is received when a button is pressed or released.
|
static |
Event emitted when a data stream has started.
|
static |
Event emitted when a data stream has stopped.
|
static |
Event for changes in headset display connections. Eg. if cables are unplugged.
|
static |
Event for when application goes to background or foreground.
|
static |
Event for changes in headset standby status.
|
static |
Event for headset connection and disconnection.
|
static |
Event sent right after a camera property (e.g. exposure mode) change.
|
static |
Event for determining whether mixed reality capable device is connected.
|
static |
Event emitted when a texture size has changed.
|
static |
Event that is received when there's a change in positional tracking state.
|
static |
Visibility event received when application being shown / hidden.
|
static |
Headset is connected.
|
static |
Headset is disconnected.
|
static |
Mixed reality capable device is connected.
|
static |
Mixed reality capable device is disconnected.
|
static |
Tracking disconnected.
|
static |
No tracking data available.
|
static |
Tracking is ok.