cwiid icon indicating copy to clipboard operation
cwiid copied to clipboard

Integrate the nunchuk_mouse plugin.

Open diedthreetimes opened this issue 14 years ago • 2 comments

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

A few bugs have been fixed that make it usable.

diedthreetimes avatar Mar 30 '12 08:03 diedthreetimes

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.

diedthreetimes avatar Nov 07 '12 22:11 diedthreetimes

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

  • y_pos_range = buf[OFF_Y + OFF_MAX] - (center_y + DEADZONE);
  • y_neg_range = 0 - y_pos_range;

ArchNemSyS avatar Jun 21 '14 18:06 ArchNemSyS