Skip to content

Commit

Permalink
expose trigger axes
Browse files Browse the repository at this point in the history
  • Loading branch information
felixtrz authored and toji committed Dec 14, 2021
1 parent 4b54a5a commit fafd43d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions build/webxr-polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -5091,8 +5091,8 @@ let oculusTouch = {
profiles: ['oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand All @@ -5119,8 +5119,8 @@ let oculusTouchV2 = {
profiles: ['oculus-touch-v2', 'oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand All @@ -5147,8 +5147,8 @@ let oculusTouchV3 = {
profiles: ['oculus-touch-v3', 'oculus-touch-v2', 'oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand Down
2 changes: 1 addition & 1 deletion build/webxr-polyfill.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions build/webxr-polyfill.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -5085,8 +5085,8 @@ let oculusTouch = {
profiles: ['oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand All @@ -5113,8 +5113,8 @@ let oculusTouchV2 = {
profiles: ['oculus-touch-v2', 'oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand All @@ -5141,8 +5141,8 @@ let oculusTouchV3 = {
profiles: ['oculus-touch-v3', 'oculus-touch-v2', 'oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand Down
12 changes: 6 additions & 6 deletions src/devices/GamepadMappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ let oculusTouch = {
profiles: ['oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand Down Expand Up @@ -123,8 +123,8 @@ let oculusTouchV2 = {
profiles: ['oculus-touch-v2', 'oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand Down Expand Up @@ -154,8 +154,8 @@ let oculusTouchV3 = {
profiles: ['oculus-touch-v3', 'oculus-touch-v2', 'oculus-touch', 'generic-trigger-squeeze-thumbstick'],
axes: {
length: 4,
0: null,
1: null,
0: 2,
1: 3,
2: 0,
3: 1
},
Expand Down

0 comments on commit fafd43d

Please sign in to comment.