Bindings for OpenVR and the Valve/HTC Vive
These are preliminary but working quite smoothly.
See https://github.com/lukexi/openvr-hs/blob/master/app/Main.hs for basic example usage.
The example has optional hooks for Halive so you can make live edits to your code.
You'll need a few dependencies until I release the bindings on Hackage:
git clone --recursive [email protected]:lukexi/openvr-hs.git
git clone [email protected]:lukexi/glfw-pal.git
git clone [email protected]:lukexi/gl-pal.git
git clone [email protected]:lukexi/linear-extra.git
git clone [email protected]:lukexi/lens-extra.git
git clone [email protected]:lukexi/halive.git
The build system expects a 64bit MSYS2 installation.
Note: you may also need this version of GHC until 7.10.3 comes out to fix a small linker bug. https://github.com/lukexi/ghc/releases/download/ghc-7.10.2-release-plus-rework-windows-pe-linker/ghc-7.10.2-x86_64-unknown-mingw32-windows-linker-fixes.tar.bz2
Feel free to contact me via the issues tab or @lukexi if you need any help getting set up.