-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: ✨ add onLongRelease and onRepeatPress events #20
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic looks good, please run clang-format on this
Co-authored-by: ion098 <[email protected]>
Co-authored-by: ion098 <[email protected]>
Co-authored-by: ion098 <[email protected]>
Co-authored-by: ion098 <[email protected]>
|
||
void aPress1() { | ||
last_repeat_press_time = pros::millis(); | ||
printf("A Pressed!\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not used std::cout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one comment on the example in src/main.cpp but its a tiny nitpick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves Issue #17