[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] ffi-wiiuse 0.1.0

Andrea Fazzi

2/16/2009 8:15:00 PM

ffi-wiiuse version 0.1.0
by Andrea Fazzi
http://github.com/remogatto/ffi-wiiuse/t...

== DESCRIPTION

ffi-wiiuse is a ruby wrapper around wiiuse, a C library that handles
the connection with Nintendo Wiimote devices. The binding is based on
ruby FFI so it doesn't need any compilation step. Please, note that
ffi-wiiuse API is a mere translation of wiiuse C API: no idiomatic
ruby inside!

== CHANGES

* 1 major enhancement
* Birthday!

== FEATURES

* full wrap around wiiuse C API
* support for:
* buttons
* motion sensing
* IR tracking
* expansion devices: nunchuk, classic controller, Guitar Hero 3
controller
* based on FFI so it doesn't need compilation
* Ruby 1.9.1 compatible

== SYNOPSIS

See examples/example.rb.

== REQUIREMENTS

* ffi >= 0.3.0 (development version)
* wiiuse C library

== INSTALL

git clone git://github.com/remogatto/ffi-wiiuse.git
cd ffi-wiiuse
sudo rake gem:install
--
Posted via http://www.ruby-....

2 Answers

Aaron Patterson

2/17/2009 2:43:00 AM

0

On Tue, Feb 17, 2009 at 05:15:20AM +0900, Andrea Fazzi wrote:
> ffi-wiiuse version 0.1.0
> by Andrea Fazzi
> http://github.com/remogatto/ffi-wiiuse/t...
>
> == DESCRIPTION
>
> ffi-wiiuse is a ruby wrapper around wiiuse, a C library that handles
> the connection with Nintendo Wiimote devices. The binding is based on
> ruby FFI so it doesn't need any compilation step. Please, note that
> ffi-wiiuse API is a mere translation of wiiuse C API: no idiomatic
> ruby inside!
>
> == CHANGES
>
> * 1 major enhancement
> * Birthday!
>
> == FEATURES
>
> * full wrap around wiiuse C API
> * support for:
> * buttons
> * motion sensing
> * IR tracking
> * expansion devices: nunchuk, classic controller, Guitar Hero 3
> controller

Will I finally be able to write a Ruby library that beats Guitar Hero
for me?

--
Aaron Patterson
http://tenderlovem...

James Britt

2/17/2009 6:48:00 AM

0

Andrea Fazzi wrote:
> ffi-wiiuse version 0.1.0
> by Andrea Fazzi
> http://github.com/remogatto/ffi-wiiuse/t...
>
> == DESCRIPTION
>
> ffi-wiiuse is a ruby wrapper around wiiuse, a C library that handles
> the connection with Nintendo Wiimote devices. The binding is based on
> ruby FFI so it doesn't need any compilation step. Please, note that
> ffi-wiiuse API is a mere translation of wiiuse C API: no idiomatic
> ruby inside!

Very cool. I've been using wiiusej with JRuby and liking it.


http://code.google.com/...


Big upside to wiiusej for me is monster ease of making Wii GUI apps
using JRuby + Monkeybars. :)

But I will definitely look at this.


Thanks,

James Britt

--
www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff