From 8f14f38772683f97297fee299e0c40a25dd7ed56 Mon Sep 17 00:00:00 2001 From: Timo Witte Date: Sat, 1 Mar 2025 03:06:23 +0100 Subject: [PATCH 1/2] Add some button descriptions --- headers/openvr_api.cs | 4 ++-- headers/openvr_capi.h | 4 ++-- headers/openvr_driver.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/headers/openvr_api.cs b/headers/openvr_api.cs index 9b459972..39af324c 100644 --- a/headers/openvr_api.cs +++ b/headers/openvr_api.cs @@ -5155,8 +5155,8 @@ public enum EVRButtonId k_EButton_IndexController_A = 2, k_EButton_IndexController_B = 1, k_EButton_IndexController_JoyStick = 35, - k_EButton_Reserved0 = 50, - k_EButton_Reserved1 = 51, + k_EButton_Steam = 50, + k_EButton_QAM = 51, k_EButton_Max = 64, } public enum EVRMouseButton diff --git a/headers/openvr_capi.h b/headers/openvr_capi.h index 4a0de42a..034a45f1 100644 --- a/headers/openvr_capi.h +++ b/headers/openvr_capi.h @@ -1022,8 +1022,8 @@ typedef enum EVRButtonId EVRButtonId_k_EButton_IndexController_A = 2, EVRButtonId_k_EButton_IndexController_B = 1, EVRButtonId_k_EButton_IndexController_JoyStick = 35, - EVRButtonId_k_EButton_Reserved0 = 50, - EVRButtonId_k_EButton_Reserved1 = 51, + EVRButtonId_k_EButton_Steam = 50, + EVRButtonId_k_EButton_QAM = 51, EVRButtonId_k_EButton_Max = 64, } EVRButtonId; diff --git a/headers/openvr_driver.h b/headers/openvr_driver.h index 257ac6cc..d5f6dfaf 100644 --- a/headers/openvr_driver.h +++ b/headers/openvr_driver.h @@ -1067,8 +1067,8 @@ enum EVRButtonId k_EButton_IndexController_B = k_EButton_ApplicationMenu, k_EButton_IndexController_JoyStick = k_EButton_Axis3, - k_EButton_Reserved0 = 50, - k_EButton_Reserved1 = 51, + k_EButton_Steam = 50, + k_EButton_QAM = 51, k_EButton_Max = 64 }; From 8a925d5e22040242a6a629ceb142080a5d134b89 Mon Sep 17 00:00:00 2001 From: Timo Witte Date: Sat, 1 Mar 2025 03:09:32 +0100 Subject: [PATCH 2/2] add some more strange things --- headers/openvr.h | 6 +++--- headers/openvr_api.json | 6 +++--- headers/openvr_capi.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/headers/openvr.h b/headers/openvr.h index 336094b0..012437e3 100644 --- a/headers/openvr.h +++ b/headers/openvr.h @@ -1067,8 +1067,8 @@ enum EVRButtonId k_EButton_IndexController_B = k_EButton_ApplicationMenu, k_EButton_IndexController_JoyStick = k_EButton_Axis3, - k_EButton_Reserved0 = 50, - k_EButton_Reserved1 = 51, + k_EButton_Steam = 50, + k_EButton_QAM = 51, k_EButton_Max = 64 }; @@ -3952,7 +3952,7 @@ namespace vr VROverlayFlags_EnableControlBarClose = 1 << 25, // Do not use - VROverlayFlags_Reserved = 1 << 26, + VROverlayFlags_EnableControlBarSteamUI = 1 << 26, // If this is set, click stabilization will be applied to the laser interaction so that clicks more reliably // trigger on the user's intended target diff --git a/headers/openvr_api.json b/headers/openvr_api.json index e2f089f3..e371fe76 100644 --- a/headers/openvr_api.json +++ b/headers/openvr_api.json @@ -596,8 +596,8 @@ ,{"name": "k_EButton_IndexController_A","value": "2"} ,{"name": "k_EButton_IndexController_B","value": "1"} ,{"name": "k_EButton_IndexController_JoyStick","value": "35"} - ,{"name": "k_EButton_Reserved0","value": "50"} - ,{"name": "k_EButton_Reserved1","value": "51"} + ,{"name": "k_EButton_Steam","value": "50"} + ,{"name": "k_EButton_QAM","value": "51"} ,{"name": "k_EButton_Max","value": "64"} ]} , {"enumname": "vr::EVRMouseButton","values": [ @@ -1173,7 +1173,7 @@ ,{"name": "VROverlayFlags_EnableControlBar","value": "8388608"} ,{"name": "VROverlayFlags_EnableControlBarKeyboard","value": "16777216"} ,{"name": "VROverlayFlags_EnableControlBarClose","value": "33554432"} - ,{"name": "VROverlayFlags_Reserved","value": "67108864"} + ,{"name": "VROverlayFlags_EnableControlBarSteamUI","value": "67108864"} ,{"name": "VROverlayFlags_EnableClickStabilization","value": "134217728"} ,{"name": "VROverlayFlags_MultiCursor","value": "268435456"} ]} diff --git a/headers/openvr_capi.h b/headers/openvr_capi.h index 034a45f1..b18d2e93 100644 --- a/headers/openvr_capi.h +++ b/headers/openvr_capi.h @@ -1673,7 +1673,7 @@ typedef enum VROverlayFlags VROverlayFlags_EnableControlBar = 8388608, VROverlayFlags_EnableControlBarKeyboard = 16777216, VROverlayFlags_EnableControlBarClose = 33554432, - VROverlayFlags_Reserved = 67108864, + VROverlayFlags_EnableControlBarSteamUI = 67108864, VROverlayFlags_EnableClickStabilization = 134217728, VROverlayFlags_MultiCursor = 268435456, } VROverlayFlags;