Skip to content

Commit c9c20e7

Browse files
committed
0.2.0
1 parent 9a174f9 commit c9c20e7

File tree

5 files changed

+15
-16
lines changed

5 files changed

+15
-16
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lighthouse"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Shayne Hartford <[email protected]>"]
55
edition = "2018"
66
description = "VR Lighthouse power state management in Rust"

Makefile

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
all: windows linux
2-
3-
windows:
4-
cargo build --release --target=i686-pc-windows-gnu
5-
61
linux:
72
cargo build --release --target=x86_64-unknown-linux-gnu
83
strip target/x86_64-unknown-linux-gnu/release/lighthouse
4+
5+
windows:
6+
cargo build --release --target=i686-pc-windows-gnu

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Lighthouse
22
VR Lighthouse power state management in Rust
33

4-
This has been tested on SteamVR V2 lighthouses (Valve Index)
5-
There is no support for SteamVR V1 lighthouses (Vive)
6-
Pull requests welcome, I don't have any V1 lighthouses to test
7-
84
Windows and Linux binaries available [here](https://github.com/ShayBox/Lighthouse/releases/latest)
95

106
## Usage
117

12-
`lighthouse off`
13-
`lighthouse on`
14-
`lighthouse standby`
8+
SteamVR v1:
9+
`lighthouse [on|off] [BSID]`
10+
`lighthouse on XXXXXXXX`
11+
BSID is found on the lighthouse and is 8 characters long
12+
13+
SteamVR v2:
14+
`lighthouse [on|off|standby]`
15+
`lighthouse on`

src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ pub fn main() {
2424
} else {
2525
println!("Lighthouse - VR Lighthouse power state management in Rust");
2626
println!("");
27-
println!("lighthouse [on | off] [v1 ID]");
28-
println!("lighthouse [on | off | standby]");
27+
println!("V1: lighthouse [on|off] [BSID]");
28+
println!("V2: lighthouse [on|off|standby]");
2929
exit(128);
3030
}
3131

0 commit comments

Comments
 (0)