Skip to content

Commit 9f22df2

Browse files
IamTonioAnton
andauthored
Fix for pico4 + wolvic controllers (#5435)
Co-authored-by: Anton <anton@thinglink.com>
1 parent fda8c6c commit 9f22df2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/laser-controls.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ registerComponent('laser-controls', {
9898
raycaster: {origin: {x: 0, y: 0, z: 0}}
9999
},
100100

101+
'pico-controls': {
102+
cursor: {downEvents: ['triggerdown'], upEvents: ['triggerup']}
103+
},
104+
101105
'valve-index-controls': {
102106
cursor: {downEvents: ['triggerdown'], upEvents: ['triggerup']}
103107
},

0 commit comments

Comments
 (0)