hcwiid: Library to interface with the wiimote

[ gpl, library, system ] [ Propose Tags ] [ Report a vulnerability ]

HCWiid is a working userspace driver along with various applications implementing event drivers, multiple wiimote connectivity, gesture recognition, and other Wiimote-based functionality.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6.1
Change log CHANGELOG
Dependencies base (>=4 && <5), unix [details]
Tested with ghc ==7.0.4
License GPL-2.0-only
Author Ivan Perez <ivan.perez@keera.co.uk>
Maintainer Ivan Perez <ivan.perez@keera.co.uk>
Category System
Home page https://github.com/ivanperez-keera/hcwiid
Source repo head: git clone git@github.com:ivanperez-keera/hcwiid.git
Uploaded by keera_studios_ci at 2017-04-27T09:30:05Z
Distributions Debian:0.0.6.1, NixOS:0.0.6.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 6141 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-04-27 [all 1 reports]

Readme for hcwiid-0.0.6.1

[back to package description]

Flattr this git repo

This is a refurbished version of hcwiid. It will include most of cwiid, and I've already begun to include extra functions that I find useful. If you find something in cwiid which is not included here and you need it, please let me know/send a pull request.

Instructions

The official announcement, which describes the available features, can be found here: http://keera.co.uk/blog/2014/05/27/interacting-haskell-games-using-wiimote/

Installation

You can either run cabal update and install directly from hackage (recommended), or clone this repository and install it with cabal.

Compiling programs that use the wiimote (special flags)!

How the frag do I compile the tests in test/?

You need to do two things:

  1. Compile the program with -rtsopts (enable RTS command line flags)

  2. Run the program with +RTS -V0 This will disable the internal ticks used for profiling, which in turn will make the runtime system not use the SIGALRM signal, which libluetooth uses for its own internal purposes and is necessary to connect to the wiimote.

    (This bit is the work of Paolo Capriotti, whose mastery of GHC baffles me every time.)

Projects using this

TODO

  • Locate more projects using this. (I am personally working on some games that will be published.)
  • Write a decent example that uses more than just testing a button thing.