KannedFarU
Joined: 06 Jan 2008 Posts: 4
Digg It |
Posted: Tue Jan 08, 2008 2:19 am Post subject: Nunchuk Mouse |
|
|
Hey guys,
Here's a code I wrote for replacing the pc mouse with the nunchuk. I wrote it because my carpal tunnel was killing me everytime I touched my mouse, maybe you guys can make use of it too. Also, keep an eye out for some cool features I put into it too. Just so everyone is clear on this, I programmed the buttons on the wii remote to work with Half Life 2, but the code is pretty easy to change if you want to use it for other things.
Features:
*3D Mouse effect for Nunchuk
*Set Down Detection for when you set down your nunchuk to reach for your mouse
*Deadzone with calibration feature to compliment your style of holding the nunchuk (does not mean calibrate to twist upside down or crazi things).
*Deadzone can be modified on the fly so you don't have to stop what you're doing and go fix the code.
*Of course the infamous battery indicator (autmatically comes on when wii remote is low on juice).
Let me know what you guys think.
~Kanned
.PIE file on FileFronthttp://hosted.filefront.com/kannedfaru/2148225 |
|