abstrakraft / cwiid

Linux Nintendo Wiimote interface
cwiid.org
GNU General Public License v2.0
287 stars 100 forks source link

Integrate the nunchuk_mouse plugin. #15

Open diedthreetimes opened 12 years ago

diedthreetimes commented 12 years ago

This is a really old plugin that deserves to be integrated.

A few bugs have been fixed that make it usable.

diedthreetimes commented 11 years ago

Since this doesn't seem to be going anywhere I thought I would add exactly what this fixes. The plugin originally had an issue where it would control the mouse but it was to rigid to actually use. This patch fixes the problem allowing smooth enough mouse control to be usable.

ArchNemSyS commented 10 years ago

A little difficult to use as the REL_Y isn't even as a bit of a hack you can overwrite the calibration function as below to get a more even not perfect result.

nunchuk_mouse/nunchuk_mouse.c /* FIX TODO: with -REL_Y, we go down slower than we go up. */