Library to interface with the wiimote https://github.com/ivanperez-keera/hcwiid

Latest on Hackage:0.0.5

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL-2 licensed by Kiwamu Okabe, Ivan Perez
Maintained by Ivan Perez
This is a refurbished version of hcwiid. It will include most of cwiid,
and I've already began 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.

First things first: 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.)

* Locate 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.


2014-05-20 Ivan Perez <ivan.perez@keera.co.uk>

* API: adds infrared tracking support
* Tests: adapts test to report IR data

2014-05-17 Ivan Perez <ivan.perez@keera.co.uk>

* API: adds accelerometer sensing.
* API: uses newtype for leds instead of the low-level CUChar
* Tests: adapts tests to use new rpt_mode and
set_led interface.
* Documentation: adds (some) haddock documentation.

2014-05-05 Ivan Perez <ivan.perez@keera.co.uk>

* API: removes hard-coded params to SetLed and SetRptMode

2014-05-01 Ivan Perez <ivan.perez@keera.co.uk>

* hcwiid.cabal: Version bump (0.0.3)
* API: adds test function to determine if a button is pushed (down).

2014-05-01 Ivan Perez <ivan.perez@keera.co.uk>

* hcwiid.cabal: Version bump. Adds new maitainer, repo, extra files.
* API: adds set_rumble.
Depends on:
Used by 2 packages:
comments powered byDisqus