doc: Rename sample NorthStar config for file extension reasons, and add schema

This commit is contained in:
Ryan Pavlik 2021-04-23 17:36:07 -05:00 committed by Christoph Haag
parent 23c73e145b
commit c6a3dec08e
3 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,5 @@
{
"$schema": "https://monado.pages.freedesktop.org/monado/config_v0.schema.json",
"active": "tracking",
"tracking": {
"tracking_overrides": [
@ -19,7 +20,7 @@
"z": -0.0744
}
},
"xrt_input_name": "XRT_INPUT_GENERIC_TRACKER_POSE"
"xrt_input_name": "XRT_INPUT_GENERIC_TRACKER_POSE"
},
{
"target_device_serial": "Leap Motion v2 driver",
@ -38,7 +39,7 @@
"z": 0
}
},
"xrt_input_name": "XRT_INPUT_GENERIC_TRACKER_POSE"
"xrt_input_name": "XRT_INPUT_GENERIC_TRACKER_POSE"
}
],
"version": 0

View file

@ -29,7 +29,7 @@ you want.
Instead you probably want to configure Monado to make your Leap Motion
Controller-tracked hands follow around your HMD. There's an example of how to do
this with North Star in `doc/example_configs/config_v0.json.northstar_lonestar`.
this with North Star in `doc/example_configs/config_v0.northstar_lonestar.json`.
If you're using a North Star headset, that should work but unless you're using
the Lone Star NS variant you'll need to edit the offsets. If you're using some
other HMD you'll have to edit the `tracker_device_serial` to be your HMD serial,