Skip to content

Add old shuttle pro (aka V1)#1

Merged
hopejr merged 2 commits into
hopejr:masterfrom
checksummaster:checksummaster-patch-1
Nov 15, 2022
Merged

Add old shuttle pro (aka V1)#1
hopejr merged 2 commits into
hopejr:masterfrom
checksummaster:checksummaster-patch-1

Conversation

@checksummaster
Copy link
Copy Markdown
Contributor

Old shuttle pro (aka V1)

@hopejr
Copy link
Copy Markdown
Owner

hopejr commented Nov 13, 2022

Does the Shuttle Pro v1 have 16 buttons too? I thought it was only 15.

@checksummaster
Copy link
Copy Markdown
Contributor Author

checksummaster commented Nov 13, 2022 via email

@hopejr
Copy link
Copy Markdown
Owner

hopejr commented Nov 13, 2022

Sorry, I forgot it was only 15 on v2. It's been a while since I've looked at this. Do you know what the button masks for v1 are? It would be good to remove any of the v2 ones that aren't on v1 from it's list.

@checksummaster
Copy link
Copy Markdown
Contributor Author

checksummaster commented Nov 14, 2022 via email

@hopejr
Copy link
Copy Markdown
Owner

hopejr commented Nov 15, 2022

Ok, then we'll need to change the masks array to:
[0x0001, 0x0002, 0x0004, 0x0008, 0x0010, 0x0020, 0x0040, 0x0080, 0x0100, 0x0200, 0x0400, 0x0800, 0x1000]

(Minus the 0x2000 and 0x4000 at the end).

Updated button masks, readme, tests,  etc for ShuttlePro V1. Also updated dependencies.
@hopejr
Copy link
Copy Markdown
Owner

hopejr commented Nov 15, 2022

I've just updated the button masks, as well as the readme, etc. Will merge this now. Thank you for the PR.

@hopejr hopejr merged commit ce3dfd4 into hopejr:master Nov 15, 2022
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