hleap: Web Socket interface to Leap Motion controller

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

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

Versions0.1.2.4, 0.1.2.5, 0.1.2.6, 0.1.2.7, 0.2.0.0, 0.2.0.0
Change logNone available
Dependenciesaeson (>=1.3.1), base (>=4.8 && <5), containers (>=0.5.10), data-default (>=0.7.1), mtl (>=2.2.2), text (>=1.2.3), unordered-containers (>=0.2.9), websockets (>=0.12.5) [details]
LicenseMIT
Copyright(c) 2016-19 Brian W Bush
AuthorBrian W Bush <code@functionally.io>
MaintainerBrian W Bush <code@functionally.io>
CategoryHardware
Home pagehttps://bitbucket.org/functionally/hleap
Bug trackerhttps://bwbush.atlassian.net/projects/HLEAP/issues/
Source repositoryhead: git clone https://bitbucket.org/functionally/hleap.git
Executablesleap-tracker
UploadedWed Feb 20 14:22:04 UTC 2019 by BrianBush

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for hleap-0.2.0.0

[back to package description]

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)