#[repr(u32)]pub enum EVREventType {
Show 168 variants
VREvent_None = 0,
VREvent_TrackedDeviceActivated = 100,
VREvent_TrackedDeviceDeactivated = 101,
VREvent_TrackedDeviceUpdated = 102,
VREvent_TrackedDeviceUserInteractionStarted = 103,
VREvent_TrackedDeviceUserInteractionEnded = 104,
VREvent_IpdChanged = 105,
VREvent_EnterStandbyMode = 106,
VREvent_LeaveStandbyMode = 107,
VREvent_TrackedDeviceRoleChanged = 108,
VREvent_WatchdogWakeUpRequested = 109,
VREvent_LensDistortionChanged = 110,
VREvent_PropertyChanged = 111,
VREvent_WirelessDisconnect = 112,
VREvent_WirelessReconnect = 113,
VREvent_ButtonPress = 200,
VREvent_ButtonUnpress = 201,
VREvent_ButtonTouch = 202,
VREvent_ButtonUntouch = 203,
VREvent_Modal_Cancel = 257,
VREvent_MouseMove = 300,
VREvent_MouseButtonDown = 301,
VREvent_MouseButtonUp = 302,
VREvent_FocusEnter = 303,
VREvent_FocusLeave = 304,
VREvent_ScrollDiscrete = 305,
VREvent_TouchPadMove = 306,
VREvent_OverlayFocusChanged = 307,
VREvent_ReloadOverlays = 308,
VREvent_ScrollSmooth = 309,
VREvent_LockMousePosition = 310,
VREvent_UnlockMousePosition = 311,
VREvent_InputFocusCaptured = 400,
VREvent_InputFocusReleased = 401,
VREvent_SceneApplicationChanged = 404,
VREvent_SceneFocusChanged = 405,
VREvent_InputFocusChanged = 406,
VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408,
VREvent_ActionBindingReloaded = 409,
VREvent_HideRenderModels = 410,
VREvent_ShowRenderModels = 411,
VREvent_SceneApplicationStateChanged = 412,
VREvent_ConsoleOpened = 420,
VREvent_ConsoleClosed = 421,
VREvent_OverlayShown = 500,
VREvent_OverlayHidden = 501,
VREvent_DashboardActivated = 502,
VREvent_DashboardDeactivated = 503,
VREvent_DashboardRequested = 505,
VREvent_ResetDashboard = 506,
VREvent_ImageLoaded = 508,
VREvent_ShowKeyboard = 509,
VREvent_HideKeyboard = 510,
VREvent_OverlayGamepadFocusGained = 511,
VREvent_OverlayGamepadFocusLost = 512,
VREvent_OverlaySharedTextureChanged = 513,
VREvent_ScreenshotTriggered = 516,
VREvent_ImageFailed = 517,
VREvent_DashboardOverlayCreated = 518,
VREvent_SwitchGamepadFocus = 519,
VREvent_RequestScreenshot = 520,
VREvent_ScreenshotTaken = 521,
VREvent_ScreenshotFailed = 522,
VREvent_SubmitScreenshotToDashboard = 523,
VREvent_ScreenshotProgressToDashboard = 524,
VREvent_PrimaryDashboardDeviceChanged = 525,
VREvent_RoomViewShown = 526,
VREvent_RoomViewHidden = 527,
VREvent_ShowUI = 528,
VREvent_ShowDevTools = 529,
VREvent_DesktopViewUpdating = 530,
VREvent_DesktopViewReady = 531,
VREvent_StartDashboard = 532,
VREvent_ElevatePrism = 533,
VREvent_OverlayClosed = 534,
VREvent_Notification_Shown = 600,
VREvent_Notification_Hidden = 601,
VREvent_Notification_BeginInteraction = 602,
VREvent_Notification_Destroyed = 603,
VREvent_Quit = 700,
VREvent_ProcessQuit = 701,
VREvent_QuitAcknowledged = 703,
VREvent_DriverRequestedQuit = 704,
VREvent_RestartRequested = 705,
VREvent_InvalidateSwapTextureSets = 706,
VREvent_ChaperoneDataHasChanged = 800,
VREvent_ChaperoneUniverseHasChanged = 801,
VREvent_ChaperoneTempDataHasChanged = 802,
VREvent_ChaperoneSettingsHaveChanged = 803,
VREvent_SeatedZeroPoseReset = 804,
VREvent_ChaperoneFlushCache = 805,
VREvent_ChaperoneRoomSetupStarting = 806,
VREvent_ChaperoneRoomSetupFinished = 807,
VREvent_StandingZeroPoseReset = 808,
VREvent_AudioSettingsHaveChanged = 820,
VREvent_BackgroundSettingHasChanged = 850,
VREvent_CameraSettingsHaveChanged = 851,
VREvent_ReprojectionSettingHasChanged = 852,
VREvent_ModelSkinSettingsHaveChanged = 853,
VREvent_EnvironmentSettingsHaveChanged = 854,
VREvent_PowerSettingsHaveChanged = 855,
VREvent_EnableHomeAppSettingsHaveChanged = 856,
VREvent_SteamVRSectionSettingChanged = 857,
VREvent_LighthouseSectionSettingChanged = 858,
VREvent_NullSectionSettingChanged = 859,
VREvent_UserInterfaceSectionSettingChanged = 860,
VREvent_NotificationsSectionSettingChanged = 861,
VREvent_KeyboardSectionSettingChanged = 862,
VREvent_PerfSectionSettingChanged = 863,
VREvent_DashboardSectionSettingChanged = 864,
VREvent_WebInterfaceSectionSettingChanged = 865,
VREvent_TrackersSectionSettingChanged = 866,
VREvent_LastKnownSectionSettingChanged = 867,
VREvent_DismissedWarningsSectionSettingChanged = 868,
VREvent_GpuSpeedSectionSettingChanged = 869,
VREvent_WindowsMRSectionSettingChanged = 870,
VREvent_OtherSectionSettingChanged = 871,
VREvent_StatusUpdate = 900,
VREvent_WebInterface_InstallDriverCompleted = 950,
VREvent_MCImageUpdated = 1_000,
VREvent_FirmwareUpdateStarted = 1_100,
VREvent_FirmwareUpdateFinished = 1_101,
VREvent_KeyboardClosed = 1_200,
VREvent_KeyboardCharInput = 1_201,
VREvent_KeyboardDone = 1_202,
VREvent_ApplicationListUpdated = 1_303,
VREvent_ApplicationMimeTypeLoad = 1_304,
VREvent_ProcessConnected = 1_306,
VREvent_ProcessDisconnected = 1_307,
VREvent_Compositor_ChaperoneBoundsShown = 1_410,
VREvent_Compositor_ChaperoneBoundsHidden = 1_411,
VREvent_Compositor_DisplayDisconnected = 1_412,
VREvent_Compositor_DisplayReconnected = 1_413,
VREvent_Compositor_HDCPError = 1_414,
VREvent_Compositor_ApplicationNotResponding = 1_415,
VREvent_Compositor_ApplicationResumed = 1_416,
VREvent_Compositor_OutOfVideoMemory = 1_417,
VREvent_Compositor_DisplayModeNotSupported = 1_418,
VREvent_Compositor_StageOverrideReady = 1_419,
VREvent_Compositor_RequestDisconnectReconnect = 1_420,
VREvent_TrackedCamera_StartVideoStream = 1_500,
VREvent_TrackedCamera_StopVideoStream = 1_501,
VREvent_TrackedCamera_PauseVideoStream = 1_502,
VREvent_TrackedCamera_ResumeVideoStream = 1_503,
VREvent_TrackedCamera_EditingSurface = 1_550,
VREvent_PerformanceTest_EnableCapture = 1_600,
VREvent_PerformanceTest_DisableCapture = 1_601,
VREvent_PerformanceTest_FidelityLevel = 1_602,
VREvent_MessageOverlay_Closed = 1_650,
VREvent_MessageOverlayCloseRequested = 1_651,
VREvent_Input_HapticVibration = 1_700,
VREvent_Input_BindingLoadFailed = 1_701,
VREvent_Input_BindingLoadSuccessful = 1_702,
VREvent_Input_ActionManifestReloaded = 1_703,
VREvent_Input_ActionManifestLoadFailed = 1_704,
VREvent_Input_ProgressUpdate = 1_705,
VREvent_Input_TrackerActivated = 1_706,
VREvent_Input_BindingsUpdated = 1_707,
VREvent_Input_BindingSubscriptionChanged = 1_708,
VREvent_SpatialAnchors_PoseUpdated = 1_800,
VREvent_SpatialAnchors_DescriptorUpdated = 1_801,
VREvent_SpatialAnchors_RequestPoseUpdate = 1_802,
VREvent_SpatialAnchors_RequestDescriptorUpdate = 1_803,
VREvent_SystemReport_Started = 1_900,
VREvent_Monitor_ShowHeadsetView = 2_000,
VREvent_Monitor_HideHeadsetView = 2_001,
VREvent_VendorSpecific_Reserved_Start = 10_000,
VREvent_VendorSpecific_Reserved_End = 19_999,
}Expand description
The types of events that could be posted (and what the parameters mean for each event type)
Variants§
VREvent_None = 0
VREvent_TrackedDeviceActivated = 100
VREvent_TrackedDeviceDeactivated = 101
VREvent_TrackedDeviceUpdated = 102
VREvent_TrackedDeviceUserInteractionStarted = 103
VREvent_TrackedDeviceUserInteractionEnded = 104
VREvent_IpdChanged = 105
VREvent_EnterStandbyMode = 106
VREvent_LeaveStandbyMode = 107
VREvent_TrackedDeviceRoleChanged = 108
VREvent_WatchdogWakeUpRequested = 109
VREvent_LensDistortionChanged = 110
VREvent_PropertyChanged = 111
VREvent_WirelessDisconnect = 112
VREvent_WirelessReconnect = 113
VREvent_ButtonPress = 200
VREvent_ButtonUnpress = 201
VREvent_ButtonTouch = 202
VREvent_ButtonUntouch = 203
VREvent_Modal_Cancel = 257
VREvent_MouseMove = 300
VREvent_MouseButtonDown = 301
VREvent_MouseButtonUp = 302
VREvent_FocusEnter = 303
VREvent_FocusLeave = 304
VREvent_ScrollDiscrete = 305
VREvent_TouchPadMove = 306
VREvent_OverlayFocusChanged = 307
VREvent_ReloadOverlays = 308
VREvent_ScrollSmooth = 309
VREvent_LockMousePosition = 310
VREvent_UnlockMousePosition = 311
VREvent_InputFocusCaptured = 400
VREvent_InputFocusReleased = 401
VREvent_SceneApplicationChanged = 404
VREvent_SceneFocusChanged = 405
VREvent_InputFocusChanged = 406
VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408
VREvent_ActionBindingReloaded = 409
VREvent_HideRenderModels = 410
VREvent_ShowRenderModels = 411
VREvent_SceneApplicationStateChanged = 412
VREvent_ConsoleOpened = 420
VREvent_ConsoleClosed = 421
VREvent_OverlayShown = 500
VREvent_OverlayHidden = 501
VREvent_DashboardActivated = 502
VREvent_DashboardDeactivated = 503
VREvent_DashboardRequested = 505
VREvent_ResetDashboard = 506
VREvent_ImageLoaded = 508
VREvent_ShowKeyboard = 509
VREvent_HideKeyboard = 510
VREvent_OverlayGamepadFocusGained = 511
VREvent_OverlayGamepadFocusLost = 512
VREvent_ScreenshotTriggered = 516
VREvent_ImageFailed = 517
VREvent_DashboardOverlayCreated = 518
VREvent_SwitchGamepadFocus = 519
VREvent_RequestScreenshot = 520
VREvent_ScreenshotTaken = 521
VREvent_ScreenshotFailed = 522
VREvent_SubmitScreenshotToDashboard = 523
VREvent_ScreenshotProgressToDashboard = 524
VREvent_PrimaryDashboardDeviceChanged = 525
VREvent_RoomViewShown = 526
VREvent_RoomViewHidden = 527
VREvent_ShowUI = 528
VREvent_ShowDevTools = 529
VREvent_DesktopViewUpdating = 530
VREvent_DesktopViewReady = 531
VREvent_StartDashboard = 532
VREvent_ElevatePrism = 533
VREvent_OverlayClosed = 534
VREvent_Notification_Shown = 600
VREvent_Notification_Hidden = 601
VREvent_Notification_BeginInteraction = 602
VREvent_Notification_Destroyed = 603
VREvent_Quit = 700
VREvent_ProcessQuit = 701
VREvent_QuitAcknowledged = 703
VREvent_DriverRequestedQuit = 704
VREvent_RestartRequested = 705
VREvent_InvalidateSwapTextureSets = 706
VREvent_ChaperoneDataHasChanged = 800
VREvent_ChaperoneUniverseHasChanged = 801
VREvent_ChaperoneTempDataHasChanged = 802
VREvent_ChaperoneSettingsHaveChanged = 803
VREvent_SeatedZeroPoseReset = 804
VREvent_ChaperoneFlushCache = 805
VREvent_ChaperoneRoomSetupStarting = 806
VREvent_ChaperoneRoomSetupFinished = 807
VREvent_StandingZeroPoseReset = 808
VREvent_AudioSettingsHaveChanged = 820
VREvent_BackgroundSettingHasChanged = 850
VREvent_CameraSettingsHaveChanged = 851
VREvent_ReprojectionSettingHasChanged = 852
VREvent_ModelSkinSettingsHaveChanged = 853
VREvent_EnvironmentSettingsHaveChanged = 854
VREvent_PowerSettingsHaveChanged = 855
VREvent_EnableHomeAppSettingsHaveChanged = 856
VREvent_SteamVRSectionSettingChanged = 857
VREvent_LighthouseSectionSettingChanged = 858
VREvent_NullSectionSettingChanged = 859
VREvent_UserInterfaceSectionSettingChanged = 860
VREvent_NotificationsSectionSettingChanged = 861
VREvent_KeyboardSectionSettingChanged = 862
VREvent_PerfSectionSettingChanged = 863
VREvent_DashboardSectionSettingChanged = 864
VREvent_WebInterfaceSectionSettingChanged = 865
VREvent_TrackersSectionSettingChanged = 866
VREvent_LastKnownSectionSettingChanged = 867
VREvent_DismissedWarningsSectionSettingChanged = 868
VREvent_GpuSpeedSectionSettingChanged = 869
VREvent_WindowsMRSectionSettingChanged = 870
VREvent_OtherSectionSettingChanged = 871
VREvent_StatusUpdate = 900
VREvent_WebInterface_InstallDriverCompleted = 950
VREvent_MCImageUpdated = 1_000
VREvent_FirmwareUpdateStarted = 1_100
VREvent_FirmwareUpdateFinished = 1_101
VREvent_KeyboardClosed = 1_200
VREvent_KeyboardCharInput = 1_201
VREvent_KeyboardDone = 1_202
VREvent_ApplicationListUpdated = 1_303
VREvent_ApplicationMimeTypeLoad = 1_304
VREvent_ProcessConnected = 1_306
VREvent_ProcessDisconnected = 1_307
VREvent_Compositor_ChaperoneBoundsShown = 1_410
VREvent_Compositor_ChaperoneBoundsHidden = 1_411
VREvent_Compositor_DisplayDisconnected = 1_412
VREvent_Compositor_DisplayReconnected = 1_413
VREvent_Compositor_HDCPError = 1_414
VREvent_Compositor_ApplicationNotResponding = 1_415
VREvent_Compositor_ApplicationResumed = 1_416
VREvent_Compositor_OutOfVideoMemory = 1_417
VREvent_Compositor_DisplayModeNotSupported = 1_418
VREvent_Compositor_StageOverrideReady = 1_419
VREvent_Compositor_RequestDisconnectReconnect = 1_420
VREvent_TrackedCamera_StartVideoStream = 1_500
VREvent_TrackedCamera_StopVideoStream = 1_501
VREvent_TrackedCamera_PauseVideoStream = 1_502
VREvent_TrackedCamera_ResumeVideoStream = 1_503
VREvent_TrackedCamera_EditingSurface = 1_550
VREvent_PerformanceTest_EnableCapture = 1_600
VREvent_PerformanceTest_DisableCapture = 1_601
VREvent_PerformanceTest_FidelityLevel = 1_602
VREvent_MessageOverlay_Closed = 1_650
VREvent_MessageOverlayCloseRequested = 1_651
VREvent_Input_HapticVibration = 1_700
VREvent_Input_BindingLoadFailed = 1_701
VREvent_Input_BindingLoadSuccessful = 1_702
VREvent_Input_ActionManifestReloaded = 1_703
VREvent_Input_ActionManifestLoadFailed = 1_704
VREvent_Input_ProgressUpdate = 1_705
VREvent_Input_TrackerActivated = 1_706
VREvent_Input_BindingsUpdated = 1_707
VREvent_Input_BindingSubscriptionChanged = 1_708
VREvent_SpatialAnchors_PoseUpdated = 1_800
VREvent_SpatialAnchors_DescriptorUpdated = 1_801
VREvent_SpatialAnchors_RequestPoseUpdate = 1_802
VREvent_SpatialAnchors_RequestDescriptorUpdate = 1_803
VREvent_SystemReport_Started = 1_900
VREvent_Monitor_ShowHeadsetView = 2_000
VREvent_Monitor_HideHeadsetView = 2_001
VREvent_VendorSpecific_Reserved_Start = 10_000
VREvent_VendorSpecific_Reserved_End = 19_999
Trait Implementations§
Source§impl Clone for EVREventType
impl Clone for EVREventType
Source§fn clone(&self) -> EVREventType
fn clone(&self) -> EVREventType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ExternType for EVREventType
impl ExternType for EVREventType
Source§impl Hash for EVREventType
impl Hash for EVREventType
Source§impl PartialEq for EVREventType
impl PartialEq for EVREventType
Source§impl TryFrom<u32> for EVREventType
impl TryFrom<u32> for EVREventType
impl Eq for EVREventType
impl StructuralPartialEq for EVREventType
impl UniquePtrTarget for EVREventType
impl VectorElement for EVREventType
impl WeakPtrTarget for EVREventType
Auto Trait Implementations§
impl Freeze for EVREventType
impl RefUnwindSafe for EVREventType
impl Send for EVREventType
impl Sync for EVREventType
impl Unpin for EVREventType
impl UnwindSafe for EVREventType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.