Skip to content

Commit 448e05d

Browse files
committed
test windowsHID TODO: add support for Joysticks
1 parent 5b3c92f commit 448e05d

1 file changed

Lines changed: 25 additions & 3 deletions

File tree

config/config.uwe.xml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,42 @@
3333
<UseVertexBufferObjects value="false" />
3434
<Input>
3535
<MouseNav value="true" />
36-
<!--Device>
36+
<Device>
3737

3838

3939
<DTrackCave driver="dtrack" port="5000" serverHost="192.168.1.2">
4040
<Offset x="0" y="-0" z="-1327" />
4141
<Orientation h="0" p="0" r="0" />
4242
</DTrackCave>
4343

44-
<CaveButtons driver="mousebuttons" device="/dev/input/presenter"/>
44+
<CaveButtons driver="windowsHID" device="HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&amp;0002057e_PID&amp;2006#8&amp;3367d7b5&amp;0&amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}"/>
4545
<CyberstickButtons driver="mousebuttons" device="/dev/input/cyberstick"/>
4646

4747
</Device>
48+
49+
<Buttons>
50+
<CaveMouse device="CaveButtons" >
51+
<Map name="0" value="ACTION_BUTTON" />
52+
<Map name="1" value="XFORM_BUTTON" />
53+
<Map name="2" value="MENU_BUTTON" />
54+
<Map name="3" value="DRIVE_BUTTON" />
55+
</CaveMouse>
56+
<CyberstickMouse device="CyberstickButtons" >
57+
<Map name="0" value="ACTION_BUTTON" />
58+
<Map name="1" value="XFORM_BUTTON" />
59+
<Map name="2" value="MENU_BUTTON" />
60+
<Map name="3" value="DRIVE_BUTTON" />
61+
</CyberstickMouse>
62+
</Buttons>
63+
<Persons>
64+
<Person name="Tracked" default="true" head="CaveHead" hand="CaveHand" buttons="CaveMouse" />
65+
<Person name="Tracked2" head="CaveHead2" hand="CaveHand2" buttons="CaveMouse" />
66+
<Person name="Tripod" eyeDistance="0.0" head="TripodHead" hand="CaveHand" buttons="CaveMouse" />
67+
<Person name="Camera" eyeDistance="0.0" head="CaveCamera" hand="CaveHand" buttons="CaveMouse" />
68+
<Person name="Gloves" eyeDistance="0.0" head="CaveGloves" hand="CaveHand" buttons="CaveMouse" />
69+
</Persons>
4870

49-
<Body>
71+
<!-- <Body>
5072
<ConstHead>
5173
<Offset x="0" y="-2000" z="0" />
5274
<Orientation h="0" p="0" r="0" />

0 commit comments

Comments
 (0)