Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mark2288

macrumors regular
Original poster
Jan 11, 2006
239
4
Hiyo,
Forgive me if this is not the exactly right place to ask about WiiMote programming, but I've been doing some searching and haven't had much luck finding something great yet so I'd figure I ask around here.

I want to write some code that reads input from a WiiMote and based on gestures/buttons pressed certain actions are taken. Basically, programming the buttons/gestures to commands/shortcuts in a particular program (i.e. use the arrows on the D-pad on the WiiMote to function like arrows on a keyboard in Word or something).

Does anyone know how I would go about doing this? I know there are some open-source libs for the WiiMote in C, but don't know where to go with regards to programming how the signals from the WiiMote are interpreted.

Thanks in advance for any advice!
 
http://www.iospirit.com/

It's been done, and fairly well. You can make custom actions for any application.

you can assign all keys but the power key, and each one gets different actions for long and short presses.
you can also use it as a mouse if you have a sensor bar. I made my own out of 2 LEDs that are plugged into a USB port.

currently no motion/acceleration sensing though.

and it has an onscreen menu for navigating files, and your iTunes library and such. and a web page that is designed for the iPhone & iTouch.

it also works with the standard apple remote.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.