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

Add InputAction support to Companion Protocol for Hid Commands #2516

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

Conversation

dmrgn1991
Copy link

@postlund I was able to get set up with gitpod, so everything here has been run through chickn. Thanks for your help with that.

I added handling of double tap and also changed the delay for Hold to a parameter with a default of one second.

I added tests that touch each of the hid commands with each InputAction. I tried to implement similar checks to the ones used in MRP to verify the actions themselves, but I couldn't get the timing check to work for Hold, so it would always clock them as single taps. If you have any advice on how to better handle the tests, or other improvements, let me know.

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