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

WIP: rumble - feedback please #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pvanderlinden
Copy link

Feedback would be good, WIP for #50
In the current WIP implementation:

  • prints a summarized version of the rumble data to the console
  • provides a 'signal' functionality where a method will be called when:
    • raw_rumble: rumble data arrives, calls the callback with 2 tuples: left rumble data, right rumble data (not sure how this works for joycons)
      tuple contains of 4 numbers: high frequency, high amplitude, low frequency, low amplitude
      what that means, see https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/rumble_data_table.md
      I do calculate the 0-~200 values into a 0-1 roughly, this is not implemented as in the link
    • rumble: just calls a function with 2 parameters after a rumble occurs: duration, max amplitude

@mart1nro
Copy link
Owner

Nice, I'll take a look as soon as I have the time.

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.

2 participants