Enum EVREventType

Source
#[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_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

Trait Implementations§

Source§

impl Clone for EVREventType

Source§

fn clone(&self) -> EVREventType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ExternType for EVREventType

Source§

type Id = (v, r, (), E, V, R, E, v, e, n, t, T, y, p, e)

A type-level representation of the type’s C++ namespace and type name. Read more
Source§

type Kind = Trivial

Source§

impl Hash for EVREventType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for EVREventType

Source§

fn eq(&self, other: &EVREventType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u32> for EVREventType

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Eq for EVREventType

Source§

impl SharedPtrTarget for EVREventType

Source§

impl StructuralPartialEq for EVREventType

Source§

impl UniquePtrTarget for EVREventType

Source§

impl VectorElement for EVREventType

Source§

impl WeakPtrTarget for EVREventType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

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

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithinBoxTrivial for T
where T: ExternType<Kind = Trivial> + Unpin,

Source§

fn within_box(self) -> Pin<Box<T>>

Source§

impl<T> WithinUniquePtrTrivial for T
where T: UniquePtrTarget + ExternType<Kind = Trivial> + Unpin,