fernandojsg / aframe-input-mapping-component

https://fernandojsg.github.io/aframe-input-mapping-component
MIT License
24 stars 7 forks source link

Add handedness #18

Closed fernandojsg closed 6 years ago

fernandojsg commented 6 years ago

To define actions for each hand:

triggerdown: {left: 'lefthand', right: 'righthand'}

2017-11-20_22-38-50

dmarcos commented 6 years ago

It looks good to me!

fernandojsg commented 6 years ago

Thanks!

netpro2k commented 6 years ago

We would eventually want to support doing other things besides handedness, like multiple players or vive trackers, but having the mapping be an object lets us do this in a non breaking way so this is perfect for now.