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

Simplified set_player_lamp in joycon.py #40

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

Conversation

TiernanDeFranco
Copy link

Instead of requiring the integer represenation of the binary number corresponding to the player lamp (1 is 1, 2 is 3, 3 is 7, 4 is 15 etc...), added a conversion so that you can pass in 1-8 for the player lamp and it will properly convert to 1 3 7 15 9 10 11 6 respectively for players 1-8

Instead of requiring the integer represenation of the binary number corresponding to the player lamp (1 is 1, 2 is 3, 3 is 7, 4 is 15 etc...), added a conversion so that you can pass in 1-8 for the player lamp and it will properly convert to 1 3 7 15 9 10 11 6 respectively for players 1-8
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.

1 participant