Bug 1589257 - Update Vive Cosmos controller binding file. r=kip
authorDaosheng Mu <daoshengmu@gmail.com>
Thu, 17 Oct 2019 00:24:42 +0000
changeset 497935 3c76c7680baaa5c0927a9e0fcdcf91f2ce614dfa
parent 497934 c29ec6e0195d4af8b30a33e0a72fc70697a018fe
child 497936 cfc5fac4fbb6db8ff17b3d441723515fc4af3fd9
push id36701
push userncsoregi@mozilla.com
push dateThu, 17 Oct 2019 09:35:24 +0000
treeherdermozilla-central@273c3db836e1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskip
bugs1589257
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1589257 - Update Vive Cosmos controller binding file. r=kip Cosmos changes their controller binding of grip/x/y buttons, so we need to give an update. Differential Revision: https://phabricator.services.mozilla.com/D49502
gfx/vr/service/binding/OpenVRCosmosBinding.h
--- a/gfx/vr/service/binding/OpenVRCosmosBinding.h
+++ b/gfx/vr/service/binding/OpenVRCosmosBinding.h
@@ -64,29 +64,29 @@ struct OpenVRCosmosBinding {
     "               \"click\" : { \n"
     "                \"output\" : \"/actions/firefox/in/LHand_grip_pressed\" \n"
     "              }, \n"
     "               \"touch\" : { \n"
     "                \"output\" : \"/actions/firefox/in/LHand_grip_touched\" \n"
     "              } \n"
     "             }, \n"
     "             \"mode\" : \"button\", \n"
-    "             \"path\" : \"/user/hand/left/input/paddle_heavy\" \n"
+    "             \"path\" : \"/user/hand/left/input/grip\" \n"
     "           }, \n"
     "           {\n"
     "             \"inputs\" : { \n"
     "               \"click\" : { \n"
     "                \"output\" : \"/actions/firefox/in/RHand_grip_pressed\" \n"
     "              }, \n"
     "               \"touch\" : { \n"
     "                 \"output\" : \"/actions/firefox/in/RHand_grip_touched\" \n"
     "              } \n"
     "           }, \n"
     "             \"mode\" : \"button\", \n"
-    "             \"path\" : \"/user/hand/right/input/paddle_heavy\" \n"
+    "             \"path\" : \"/user/hand/right/input/grip\" \n"
     "           }, \n"
     "           {\n"
     "             \"inputs\" : { \n"
     "                 \"click\" : { \n"
     "                    \"output\" : \"/actions/firefox/in/LHand_system_pressed\"  \n"
     "                   }, \n"
     "                 \"touch\" : { \n"
     "                    \"output\" : \"/actions/firefox/in/LHand_system_touched\"  \n"
@@ -109,17 +109,17 @@ struct OpenVRCosmosBinding {
     "           }, \n"
     "           {\n"
     "             \"inputs\" : { \n"
     "                 \"click\" : { \n"
     "                    \"output\" : \"/actions/firefox/in/LHand_a_pressed\"  \n"
     "                   } \n"
     "              },\n"
     "             \"mode\" : \"button\", \n"
-    "             \"path\" : \"/user/hand/left/input/a\" \n"
+    "             \"path\" : \"/user/hand/left/input/x\" \n"
     "           }, \n"
     "           {\n"
     "             \"inputs\" : { \n"
     "                 \"click\" : { \n"
     "                    \"output\" : \"/actions/firefox/in/RHand_a_pressed\"  \n"
     "                   } \n"
     "              },\n"
     "             \"mode\" : \"button\", \n"
@@ -127,17 +127,17 @@ struct OpenVRCosmosBinding {
     "           }, \n"
     "           {\n"
     "             \"inputs\" : { \n"
     "                 \"click\" : { \n"
     "                    \"output\" : \"/actions/firefox/in/LHand_b_pressed\"  \n"
     "                   } \n"
     "              },\n"
     "             \"mode\" : \"button\", \n"
-    "             \"path\" : \"/user/hand/left/input/b\" \n"
+    "             \"path\" : \"/user/hand/left/input/y\" \n"
     "           }, \n"
     "           {\n"
     "             \"inputs\" : { \n"
     "                 \"click\" : { \n"
     "                    \"output\" : \"/actions/firefox/in/RHand_b_pressed\"  \n"
     "                   } \n"
     "              },\n"
     "             \"mode\" : \"button\", \n"