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

First version #3

Merged
merged 26 commits into from
Apr 6, 2024
Merged

First version #3

merged 26 commits into from
Apr 6, 2024

Conversation

S-Dafarra
Copy link
Member

This PR implements the device functionalities

The "none" tag can be used to have a button  that is always zero
This allows having buttons with the same name
Allow to toggle off button when pressing them again
This will allow to have a single thread
@S-Dafarra S-Dafarra self-assigned this Apr 6, 2024
@S-Dafarra
Copy link
Member Author

For example, when using the command

yarpdev --device keyboardJoypad --name /keyboard --buttons "(none, test, c:prova, c:prova, v, b, test, c:prova, 8, g-h:Multi)" --axes "(ws, ad, ad, none, -left_right, up_down)"

This is the output

YARP.Keyboard.as.Joypad.Device.Window.2024-04-06.14-44-39.mp4

@GiulioRomualdi
Copy link
Member

That's wonderful!!! Bravissimo!!

@S-Dafarra S-Dafarra merged commit 52bff58 into main Apr 6, 2024
8 checks passed
@S-Dafarra S-Dafarra deleted the first_version branch April 6, 2024 18:57
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.

3 participants