diff --git a/configure b/configure index 6d14b34..3dcffa0 100755 --- a/configure +++ b/configure @@ -173,6 +173,7 @@ modules = [Bin("oculus-info", ["oculus-vr"]), Lib("oculus-vr", ["cgmath", "libovr_wrapper.a"]), LibMakefile("libovr_wrapper.a", "src/oculus-vr/", "src/oculus-vr/libovr_wrapper.a", ["libovr.a"]), LibMakefile("libovr.a", "thirdparty/OculusSDK/", "thirdparty/OculusSDK/LibOVR/Lib/Linux/Release/x86_64/libovr.a"), + Bin("steamworks-info", ["steamworks-vr"], other_flags="-L thirdparty/Steamworks/redistributable_bin/linux64/"), Lib("steamworks-vr", ["cgmath", "libsteamvr_wrapper.a"]), LibMakefile("libsteamvr_wrapper.a", "src/steamworks-vr/", "src/steamworks-vr/libsteamvr_wrapper.a"), Lib("cgmath")] diff --git a/src/steamworks-vr/test.rs b/src/steamworks-info/main.rs similarity index 87% rename from src/steamworks-vr/test.rs rename to src/steamworks-info/main.rs index 19d05e6..7dd5ca0 100644 --- a/src/steamworks-vr/test.rs +++ b/src/steamworks-info/main.rs @@ -1,5 +1,6 @@ +#[crate_id = "steamworks-info#0.1"]; -extern crate vr = "steam-vr-rs"; +extern crate vr = "steamworks-vr"; fn main() { @@ -19,5 +20,4 @@ fn main() println!("{:?}", device.get_eye_output_viewport(vr::EyeRight)); println!("{:?}", device.will_drift_in_yaw()); println!("{:?}", device.get_driver_id()); - println!("{:?}", device.get_display_id()); } \ No newline at end of file diff --git a/src/steamworks-vr/lib.rs b/src/steamworks-vr/lib.rs index dbe8a83..bc56961 100644 --- a/src/steamworks-vr/lib.rs +++ b/src/steamworks-vr/lib.rs @@ -500,7 +500,6 @@ impl Hmd } } - pub fn get_display_id(&self) -> ~str { let mut buf = std::vec::from_elem(128, 0i8);