The hleap package

[Tags:library, mit, program]

This Haskell package contains functions for interfacing with Leap Motion controllers, <https://www.leapmotion.com/product/desktop>. It is based on the WebSocket API <https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html> and inspired by <https://bitbucket.org/turion/jedinight/>.


[Skip to Readme]

Properties

Versions 0.1.2.4, 0.1.2.5, 0.1.2.6, 0.1.2.7
Dependencies aeson (>=0.10.0.0), base (==4.8.*), containers (>=0.5.6.2), data-default (>=0.5.3), mtl (>=2.2.1), text (>=1.2.1.3), unordered-containers (>=0.2.5.1), websockets (>=0.9.6.1) [details]
License MIT
Copyright (c) 2016 Brian W Bush
Author Brian W Bush <consult@brianwbush.info>
Maintainer Brian W Bush <consult@brianwbush.info>
Category Hardware
Home page https://bitbucket.org/functionally/hleap
Bug tracker https://bwbush.atlassian.net/projects/HLEAP/issues/
Source repository head: git clone https://bitbucket.org/functionally/hleap.git
Uploaded Sat Apr 16 18:31:10 UTC 2016 by BrianBush
Distributions NixOS:0.1.2.7
Downloads 198 total (14 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-04-16 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hleap

Readme for hleap-0.1.2.7

Web Socket interface for Leap Motion controllers

This Haskell package contains functions for interfacing with Leap Motion controllers, <https://www.leapmotion.com/product/desktop>. It is based on the WebSocket API <https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html> and inspired by <https://bitbucket.org/turion/jedinight/>.

It has been tested with Service Version 2.3.1+31549 of the Web Sockets server from Leap Motion.

Skeletal example

This simple example program prints all Leap Motion events:

main :: IO ()
main =
  runWithHandler def [setFocused True, setGestures True] $ \event ->
    print (event :: Event Float)