Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate the nunchuk_mouse plugin. #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

diedthreetimes
Copy link

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

A few bugs have been fixed that make it usable.

@diedthreetimes
Copy link
Author

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
Copy link

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants