From c6a3dec08ec401fe4a4e487eefbd93d0e4877934 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 23 Apr 2021 17:36:07 -0500 Subject: [PATCH] doc: Rename sample NorthStar config for file extension reasons, and add schema --- ...orthstar_lonestar => config_v0.northstar_lonestar.json} | 7 ++++--- ...r.license => config_v0.northstar_lonestar.json.license} | 0 src/xrt/drivers/ultraleap_v2/readme.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) rename doc/example_configs/{config_v0.json.northstar_lonestar => config_v0.northstar_lonestar.json} (79%) rename doc/example_configs/{config_v0.json.northstar_lonestar.license => config_v0.northstar_lonestar.json.license} (100%) diff --git a/doc/example_configs/config_v0.json.northstar_lonestar b/doc/example_configs/config_v0.northstar_lonestar.json similarity index 79% rename from doc/example_configs/config_v0.json.northstar_lonestar rename to doc/example_configs/config_v0.northstar_lonestar.json index 85c1df6fa..664cd3b36 100644 --- a/doc/example_configs/config_v0.json.northstar_lonestar +++ b/doc/example_configs/config_v0.northstar_lonestar.json @@ -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,9 +39,9 @@ "z": 0 } }, - "xrt_input_name": "XRT_INPUT_GENERIC_TRACKER_POSE" + "xrt_input_name": "XRT_INPUT_GENERIC_TRACKER_POSE" } ], "version": 0 } -} \ No newline at end of file +} diff --git a/doc/example_configs/config_v0.json.northstar_lonestar.license b/doc/example_configs/config_v0.northstar_lonestar.json.license similarity index 100% rename from doc/example_configs/config_v0.json.northstar_lonestar.license rename to doc/example_configs/config_v0.northstar_lonestar.json.license diff --git a/src/xrt/drivers/ultraleap_v2/readme.md b/src/xrt/drivers/ultraleap_v2/readme.md index 7cb0d0b79..7a7a87a2c 100644 --- a/src/xrt/drivers/ultraleap_v2/readme.md +++ b/src/xrt/drivers/ultraleap_v2/readme.md @@ -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,