We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf97005 commit bf2c59aCopy full SHA for bf2c59a
1 file changed
src/components/meta-touch-controls.js
@@ -423,13 +423,6 @@ var componentConfig = {
423
this.updateThumbstickTouchV3orPROorPlus(evt);
424
return;
425
}
426
- for (var axis in evt.detail) {
427
- this.buttonObjects.thumbstick.rotation[this.axisMap[axis]] =
428
- this.buttonRanges.thumbstick.originalRotation[this.axisMap[axis]] -
429
- (Math.PI / 8) *
430
- evt.detail[axis] *
431
- (axis === 'y' || this.data.hand === 'right' ? -1 : 1);
432
- }
433
},
434
axisMap: {
435
y: 'x',
0 commit comments