App example making use of ovrt-sys.
To test the latest working master branch, paste into your C:\Program Files (x86)\Steam\steamapps\common\OVR Toolkit\customAppDebug.txt
:
https://swfsql.github.io/ovrt-druid-example/
And then re/start ovrt.
You may also open that link in your browser, but it will fail when trying to call a function that would have been defined by ovrt itself.
You'll need a rust nightly toolchain, wasm-pack (no need to install anything related to npm) and a file server such as http.
git clone https://github.com/swfsql/ovrt-druid-example.git
cd ovrt-druid-example
wasm-pack build --target web
http
And for testing it, point your C:\Program Files (x86)\Steam\steamapps\common\OVR Toolkit\customAppDebug.txt
to:
http://localhost:8000/
And then re/start ovrt.
You may also open that link in your browser, but it will fail when trying to call a function that would have been defined by ovrt itself.