Skip to content

feat: ✨ add onLongRelease and onRepeatPress events#20

Merged
ion098 merged 8 commits intoLemLib:mainfrom
PA055:more-button-events
Oct 25, 2024
Merged

feat: ✨ add onLongRelease and onRepeatPress events#20
ion098 merged 8 commits intoLemLib:mainfrom
PA055:more-button-events

Conversation

@PA055
Copy link
Contributor

@PA055 PA055 commented Oct 4, 2024

Resolves Issue #17

Copy link
Collaborator

@ion098 ion098 left a 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

PA055 and others added 6 commits October 5, 2024 13:56
Co-authored-by: ion098 <146852218+ion098@users.noreply.github.com>
Co-authored-by: ion098 <146852218+ion098@users.noreply.github.com>
Co-authored-by: ion098 <146852218+ion098@users.noreply.github.com>
Co-authored-by: ion098 <146852218+ion098@users.noreply.github.com>
@PA055 PA055 requested a review from ion098 October 9, 2024 01:02

void aPress1() {
last_repeat_press_time = pros::millis();
printf("A Pressed!\n");
Copy link
Member

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?

Copy link
Member

@SizzinSeal SizzinSeal left a 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

Copy link
Collaborator

@ion098 ion098 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ion098 ion098 changed the title feat: ✨ add onLongRelease and onRepeatPressEvents feat: ✨ add onLongRelease and onRepeatPress events Oct 25, 2024
@ion098 ion098 merged commit 6bb7edf into LemLib:main Oct 25, 2024
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.

More button events [REQUEST]

3 participants