Skip to content

Conversation

@Hannes7eicher
Copy link

A super small suggestion. I noticed that the knob example only prints when the knob is pressed but not when released. Maybe this adds too much noice to the cmmand line, but I thought I'd mention it :))

@sebromero
Copy link
Contributor

Thank you @Hannes7eicher for the suggestion. I think it's a good idea to show how to use the release callback. However the lambda-tuple hack is probably not what we want to teach the users to use :-) I added a proper callback using a function to the example as you suggested. Please take a look.

@sebromero sebromero closed this Oct 30, 2024
@sebromero
Copy link
Contributor

See here: 0b6bc36

@Hannes7eicher
Copy link
Author

Hannes7eicher commented Oct 30, 2024

Much more elegant, thanks @sebromero!

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