diff --git a/README.md b/README.md index a06f65b..19be49f 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,7 @@ to be started. Notifies you if you're not using [kernel-blu](https://copr.fedorainfracloud.org/coprs/sentry/kernel-blu). Useful if you have multiple kernels installed. + +# lh-pairall + +Uses lighthouse_console to reset all SteamVR dongles, then put them all into pairing mode. diff --git a/scripts/lh-pairall.nu b/scripts/lh-pairall.nu new file mode 100755 index 0000000..02de525 --- /dev/null +++ b/scripts/lh-pairall.nu @@ -0,0 +1,6 @@ +#!/usr/bin/nu + +# TODO: Auto detect executable if not in path +# OPTIMIZE: Send commands on stdin, do not init lh console twice +lighthouse_console dongleresetall +lighthouse_console pairall