Skip to content

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!!

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