From 9fc9c0bb5e32ee78aa6448f6d24d0294123236d9 Mon Sep 17 00:00:00 2001 From: Bogdan Ivanus Date: Thu, 30 Oct 2025 17:40:46 +0200 Subject: [PATCH 1/4] Removed useless include and a confusing comment paragraph. --- examples/KeyboardAndMouse/KeyboardAndMouse.ino | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/KeyboardAndMouse/KeyboardAndMouse.ino b/examples/KeyboardAndMouse/KeyboardAndMouse.ino index f406cad..29f015c 100755 --- a/examples/KeyboardAndMouse/KeyboardAndMouse.ino +++ b/examples/KeyboardAndMouse/KeyboardAndMouse.ino @@ -1,13 +1,11 @@ /* * This simple example demonstrates how to read mouse and keyboard data, by connecting these devices at the same time to the Portenta, via a USB hub - * - * In order to use two (or more) HID devices connected via a USB hub to your Portenta C33 board, please open "tusb_config.h" below (right click -> Go To Definition) - * and make sure that "CFG_TUH_HUB" is set to value 1, and that "CFG_TUH_HID" is set to the number of HID devices you intend to connect to your Arduino (2 in this example). - * Please also keep in mind that some keyboards and mice which include advanced illumination features might draw more power than the Arduino is able to provide on its + * + * Please keep in mind that some keyboards and mice which include advanced illumination features might draw more power than the Arduino is able to provide on its * USB-A port and might therefore lead to a reset or failure to be enumerated by the board. Ideally, use basic USB keyboards and mice, these should work best. * * Instructions: - * 1. Connect your Arduino Portenta C33 to a mid-carrier board; + * 1. Connect your Arduino Portenta C33 to a mid-carrier board, then attach to the USB port a USB hub, through which you can then conncet both a keyboard and a mouse simultaneously; * 2. Upload this sketch to the Portenta; * 3. Open the Serial Monitor and chose the same baud rate as used in the sketch; * 4. Connect a USB hub to the USB-A connector on the mid-carrier board; @@ -16,7 +14,6 @@ #include #include -#include // Global device instances USBHIDKeyboard kb; From 6ac31593ec983a6ec6c5fb54d2b6593939e71631 Mon Sep 17 00:00:00 2001 From: Bogdan Ivanus Date: Thu, 30 Oct 2025 18:17:12 +0200 Subject: [PATCH 2/4] Introduced inital "CHANGELOG.md" file. --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..13bf9b0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Changes 📝 + +## 🆕 New Features +- Introduces support for reading common Human Interface Devices (HIDs) like USB mice and keyboards +- Implements a number of example sketches to illustrate how to successfully interface with USB HIDs + +## ⚠️ Known Issues +- Compatibility with advanced mice and keyboards (offering multimedia buttons and visual effects) is limited or unkown +- Reading the scroll wheel input from mice is not supported with this initial release +- Only allows for connecting one keyboard and mouse + +Please refer to the [Arduino Docs Website](https://docs.arduino.cc) for detailed information on these changes and how to use the new features. From 8c627481ad57bf886f6cebfcd93e433685c73919 Mon Sep 17 00:00:00 2001 From: Bogdan Ivanus Date: Thu, 30 Oct 2025 18:29:12 +0200 Subject: [PATCH 3/4] Fixed spelling errors. --- CHANGELOG.md | 2 +- examples/KeyboardAndMouse/KeyboardAndMouse.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13bf9b0..eade6bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ - Implements a number of example sketches to illustrate how to successfully interface with USB HIDs ## ⚠️ Known Issues -- Compatibility with advanced mice and keyboards (offering multimedia buttons and visual effects) is limited or unkown +- Compatibility with advanced mice and keyboards (offering multimedia buttons and visual effects) is limited or unknown - Reading the scroll wheel input from mice is not supported with this initial release - Only allows for connecting one keyboard and mouse diff --git a/examples/KeyboardAndMouse/KeyboardAndMouse.ino b/examples/KeyboardAndMouse/KeyboardAndMouse.ino index 29f015c..54ab82d 100755 --- a/examples/KeyboardAndMouse/KeyboardAndMouse.ino +++ b/examples/KeyboardAndMouse/KeyboardAndMouse.ino @@ -5,7 +5,7 @@ * USB-A port and might therefore lead to a reset or failure to be enumerated by the board. Ideally, use basic USB keyboards and mice, these should work best. * * Instructions: - * 1. Connect your Arduino Portenta C33 to a mid-carrier board, then attach to the USB port a USB hub, through which you can then conncet both a keyboard and a mouse simultaneously; + * 1. Connect your Arduino Portenta C33 to a mid-carrier board, then attach to the USB port a USB hub, through which you can then connect both a keyboard and a mouse simultaneously; * 2. Upload this sketch to the Portenta; * 3. Open the Serial Monitor and chose the same baud rate as used in the sketch; * 4. Connect a USB hub to the USB-A connector on the mid-carrier board; From fd55804f131f3d12ca325469e8c0d4ab305316f3 Mon Sep 17 00:00:00 2001 From: Bogdan Ivanus Date: Fri, 31 Oct 2025 12:56:25 +0200 Subject: [PATCH 4/4] Removed CHANGELOG.md. --- CHANGELOG.md | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index eade6bf..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -# Changes 📝 - -## 🆕 New Features -- Introduces support for reading common Human Interface Devices (HIDs) like USB mice and keyboards -- Implements a number of example sketches to illustrate how to successfully interface with USB HIDs - -## ⚠️ Known Issues -- Compatibility with advanced mice and keyboards (offering multimedia buttons and visual effects) is limited or unknown -- Reading the scroll wheel input from mice is not supported with this initial release -- Only allows for connecting one keyboard and mouse - -Please refer to the [Arduino Docs Website](https://docs.arduino.cc) for detailed information on these changes and how to use the new features.