GitXplorerGitXplorer
f

openxr-layer-scripts

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
04e9c0d3b14a65e4539e31c7d18a55426427ec4e

Move downloading and running to top of README

ffredemmott committed a year ago
Verified
3bdd07ae4528524d8356bed0dc5494e7f7592917

Add docs for edit-openxr-layers

ffredemmott committed a year ago
Verified
b09ac73190563b97f3c9625dc2b40ba6bf0a0e2e

fine, use the repo name

ffredemmott committed 2 years ago
Verified
50e1ebd4ba6d5319a3520eb5dc51fa4934fefea5

another attempt at workflow yaml

ffredemmott committed 2 years ago
Verified
c7fb1e6da59e207bf6ba94c5fc21fb7cbe788a63

another attempt at checking for key

ffredemmott committed 2 years ago
Verified
941e7387d48a220e7043c54abea4e5dee57f8803

check for presence of signing key rather than repo name

ffredemmott committed 2 years ago

README

The README file for this repository.

Downloading and running the scripts

Download the signed scripts from the latest release.

A fresh install of Windows will refuse to run any PowerShell scripts; to run these scripts, open an administrator terminal, then:

powershell -ExecutionPolicy RemoteSigned

... then run the scripts from inside the Powershell.

list-openxr-layers

This is a small PowerShell script for listing OpenXR API layers, in load order, and whether or not they're active.

It is a debugging tool, originally part of Hand Tracked Cockpit Clicking.

screenshot

edit-openxr-layers

This script supports enabling, disabling, and re-ordering OpenXR API layers; it is intended to be used in conjunction with list-openxr-layers.

edit-openxr-layers must be ran as administrator.

Enabling, disabling, and removing layers

edit-openxr-layers -Mode Enable|Disable|Remove -LayerPath "C:\... path to API layer"

-Mode and -LayerPath can be ommitted when there are no other arguments, for example:

edit-openxr-layers Disable "C:\Program Files\Ultraleap\OpenXR\UltraleapHandTracking.json"

Re-ordering layers

If you want a layer to be the first or last layer, use:

edit-openxr-layers -Mode First|Last -LayerPath "C:\... path to API layer"

If you want LayerA to be before LayerB:

edit-openxr-layers -Mode Before "C:\...path to LayerA" -RelativeTo "C:\...path to LayerB"

-Mode After is also supported.

License

These scripts are licensed under the MIT license.