From a7af47aea868e0812923a3b942a480c24f1d3dfc Mon Sep 17 00:00:00 2001 From: mdovgialo Date: Mon, 3 Jul 2017 22:17:43 +0200 Subject: [PATCH] Added oculus buttons support --- steam_vr_wheel/_virtualpad.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steam_vr_wheel/_virtualpad.py b/steam_vr_wheel/_virtualpad.py index 3d0aa06..d67f0cc 100644 --- a/steam_vr_wheel/_virtualpad.py +++ b/steam_vr_wheel/_virtualpad.py @@ -11,10 +11,10 @@ BUTTONS = {} BUTTONS['left'] = {openvr.k_EButton_ApplicationMenu: 3, openvr.k_EButton_Grip: 2, openvr.k_EButton_SteamVR_Touchpad: -1, # 4 5 6 7 8 - openvr.k_EButton_SteamVR_Trigger: 1, + openvr.k_EButton_SteamVR_Trigger: 1, openvr.k_EButton_A: 17, } BUTTONS['right'] = {openvr.k_EButton_ApplicationMenu: 11, openvr.k_EButton_Grip: 10, openvr.k_EButton_SteamVR_Touchpad: -2, # 12 13 14 15 16 - openvr.k_EButton_SteamVR_Trigger: 9, + openvr.k_EButton_SteamVR_Trigger: 9, openvr.k_EButton_A: 18 } class LeftTrackpadAxisDisablerMixin: