The magicleap-controls component interfaces with the Magic Leap controller.
It wraps the tracked-controls component while adding button
mappings, events, and Magic Leap controller model/
Example
<!-- Match Magic Leap controller if present, regardless of hand. --> <a-entitymagicleap-controls></a-entity>
<!-- Match Magic Leap controller if present and for specified hand. --> <a-entitymagicleap-controls="hand: left"></a-entity> <a-entitymagicleap-controls="hand: right"></a-entity>
Value
Property
Description
Default
hand
The hand that will be tracked (e.g., right, left).
model
Whether the Magic Leap controller model is loaded.