Skip to content

Conversation

@bogdanarduino
Copy link
Contributor

@bogdanarduino bogdanarduino commented Jul 8, 2025

Added basic comments to the sketches to better explain their intended purpose.
Borrowed the solution to print mouse data to console, from the "Mouse" sketch, to the "KeyboardAndMouse" example, since using multiple "Serial.print()" calls in the callback event handler crashed the application after a couple of seconds.
Ideally, a solution based on queueing the events would be preferred (using the ArduinoQueue.h maybe).

…ended purpose; Implemented in "KeyboardAndMouse" sketch the same solution to print mouse data to console, as used in the "Mouse" example.
Copy link
Contributor

@sebromero sebromero left a comment

Choose a reason for hiding this comment

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

Thank you for the PR! Please take a look at my comments

bogdanf132 and others added 5 commits July 9, 2025 15:38
Co-authored-by: Sebastian Romero <s.romero@arduino.cc>
Co-authored-by: Sebastian Romero <s.romero@arduino.cc>
Co-authored-by: Sebastian Romero <s.romero@arduino.cc>
Co-authored-by: Sebastian Romero <s.romero@arduino.cc>
@sebromero
Copy link
Contributor

@cristidragomir97 @bogdanarduino Can you please take a look at the remaining comments? Thank you

@sebromero sebromero merged commit 37ccfe5 into main Oct 30, 2025
7 checks passed
@sebromero sebromero deleted the AE-577_Test_and_review_latest_version_of_Arduino_USBHIDHost branch October 30, 2025 14:56
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.

5 participants