Skip to content

Commit 19689a8

Browse files
committed
Remove placeholders
1 parent 0d1bb52 commit 19689a8

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/components/hp-mixed-reality-controls.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ var onButtonEvent = trackedControlsUtils.onButtonEvent;
1010
// See Profiles Registry:
1111
// https://github.com/immersive-web/webxr-input-profiles/tree/master/packages/registry
1212
// TODO: Add a more robust system for deriving gamepad name.
13-
var GAMEPAD_ID_PREFIX = 'hp';
14-
var GAMEPAD_ID_SUFFIX = '-mixed-reality';
15-
var GAMEPAD_ID_COMPOSITE = GAMEPAD_ID_PREFIX + GAMEPAD_ID_SUFFIX;
13+
var GAMEPAD_ID_COMPOSITE = 'hp-mixed-reality';
1614

1715
var HP_MIXEDL_REALITY_MODEL_GLB_BASE_URL = 'https://cdn.aframe.io/controllers/hp/mixed-reality/';
1816

@@ -182,10 +180,5 @@ module.exports.Component = registerComponent('hp-mixed-reality-controls', {
182180

183181
onAxisMoved: function (evt) {
184182
emitIfAxesChanged(this, this.mapping.axes, evt);
185-
},
186-
187-
updateModel: function (buttonName, evtName) {},
188-
189-
setButtonColor: function (buttonName, color) {}
190-
183+
}
191184
});

0 commit comments

Comments
 (0)