oculus
Oculus Rift ffi providing head tracking data
Bindings to the oculus rift sdk head tracking. Requires installation of the OculusSdk, currently only supported for linux installs.
You're going to need to either install the sdk under the default include and ld search path, or you can point cabal to your local oculusSdk install
by using the \"--extra-include-dirs\" and \"--extra-lib-dirs\" flags.
For example
\"cabal install --extra-include-dirs \/path\/to\/OculusSDK\/LibOVR\/Include --extra-lib-dirs \/path\/to\/OculusSDK\/LibOVR\/Lib\/Linux\/Release\/x86_64\"
Below is a small program that initializes the rift and prints the orientation every second until ctrl-C
>module Main where
>
>import Control.Concurrent (threadDelay)
>import Control.Monad
>import Control.Monad.Trans.Either
>
>import Rift
>
>main = eitherT print printOrientation initRift
> where printOrientation h = forever $ wait1sec >> orientation h >>= print
> wait1sec = threadDelay 1000000
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.1.0.2 | 2014-01-17 04:00 UTC | cdurham | +1/−2 lines, 2 files | |
| 0.1.0.1 | 2014-01-17 03:56 UTC | cdurham | +2/−1 lines, 1 files | |
| 0.1.0.0 | 2014-01-17 03:36 UTC | cdurham | +462/−0 lines, 5 filesdep +basedep +eitherdep +monads-tfsetup-changed |
Dependencies of oculus-0.1.0.2
base >=4.6 && <4.7 4.6.0.1 → 4.22.1.0 newer than bounds
| 2026-12-01 12:38 UTC | 4.22.1.0 newer than bounds | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 newer than bounds | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 newer than bounds | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 newer than bounds | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 newer than bounds | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
either >=4.1 && <4.2 4.1.2 → 5.0.3 newer than bounds
| 2025-06-17 11:53 UTC | 5.0.3 newer than bounds | +25/−31 lines, 5 filesdep +tastydep +tasty-quickcheckdep −semigroupsdep −test-frameworkdep −test-framework-quickcheck2dep ~QuickCheckdep ~basePVP: major bump suggested |
| 2022-05-08 00:39 UTC | 5.0.2 newer than bounds | +28/−193 lines, 6 filesdep ~QuickCheckdep ~mtldep ~semigroupoidsPVP ok |
| 2019-05-02 16:30 UTC | 5.0.1.1 newer than bounds | +149/−122 lines, 4 filesdep ~QuickCheckPVP: major bump suggested |
| 2018-07-03 12:50 UTC | 5.0.1 newer than bounds | +241/−134 lines, 7 filesdep +QuickCheckdep +test-frameworkdep +test-framework-quickcheck2dep −hedgehognew-uploaderPVP: major bump suggested |
| 2017-11-21 03:04 UTC | 5 newer than bounds | +130/−400 lines, 6 filesdep +eitherdep +hedgehogdep −MonadRandomdep −exceptionsdep −freedep ~basePVP ok |
showing 5 of 44 versions
monads-tf >=0.1 && <0.2 0.1.0.3 → 0.3.0.1 newer than bounds
| 2023-07-10 19:03 UTC | 0.3.0.1 newer than bounds | +32/−11 lines, 4 filesdep ~basePVP ok |
| 2023-07-10 18:43 UTC | 0.3.0.0 newer than bounds | +19/−384 lines, 11 filesdep ~transformersPVP ok |
| 2023-07-10 18:38 UTC | 0.2.1.0 newer than bounds | +36/−1 lines, 7 filesPVP ok |
| 2023-07-10 18:27 UTC | 0.2.0.0 newer than bounds | +394/−47 lines, 14 filesdep ~basedep ~transformerssetup-changednew-uploaderPVP ok |
| 2016-06-08 16:55 UTC | 0.1.0.3 | +14/−12 lines, 7 filesdep ~transformersPVP: major bump suggested |
showing 5 of 10 versions
transformers >=0.3 && <0.4 0.3.0.0 → 0.6.3.0 newer than bounds
| 2026-01-12 12:42 UTC | 0.6.3.0 newer than bounds | +28/−1 lines, 4 filesPVP: major bump suggested |
| 2025-04-06 22:39 UTC | 0.6.2.0 newer than bounds | +41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested |
| 2024-09-25 11:37 UTC | 0.6.1.2 newer than bounds | +70/−21 lines, 19 filesPVP: minor bump suggested |
| 2023-08-01 19:13 UTC | 0.6.1.1 newer than bounds | +281/−42 lines, 11 filesPVP ok |
| 2023-02-04 08:15 UTC | 0.6.1.0 newer than bounds | +64/−4 lines, 8 filesPVP ok |
showing 5 of 42 versions
vect-floating ==0.1.0.3 0.1.0.3 → 0.1.0.4 newer than bounds
| 2014-09-25 08:59 UTC | 0.1.0.4 newer than bounds | +2/−2 lines, 1 filesdep ~base |
| 2014-01-17 03:25 UTC | 0.1.0.3 | +9/−37 lines, 7 files |
| 2014-01-07 20:46 UTC | 0.1.0.1 outside bounds | +2/−2 lines, 1 files |
| 2014-01-07 20:42 UTC | 0.1.0.0 outside bounds | +2000/−0 lines, 12 filesdep +basedep +randomsetup-changed |
Reverse dependencies
1 packages depend on oculus