User and technical documentation for the RB Switch
The production sketch is:
firmware/RB_SWITCH_firmware/RB_SWITCH_firmware.ino
The sketch is self-contained and does not require a project-specific header file.
For firmware maintenance, install:
No touch-sensor, proximity-sensor, NeoPixel, or separate project-specific HID library is required.
For the production ESP32-S3 module, select:
ESP32 Arduino → ESP32S3 Dev Module
Use the board settings required by the exact production module.
RB_SWITCH_firmware.ino.Open the Serial Monitor at 115200 baud. The firmware reports the three button mappings and logs button activity with its GPIO and HID usage ID.
| Function | HID Usage ID |
|---|---|
| Enter / Return | 0x28 |
| Right Arrow | 0x4F |
| Left Arrow | 0x50 |
The advertised Bluetooth name is RB Switch.
For remapping keys, changing debounce timing, renaming the device, or other customization of RB_SWITCH_firmware.ino, see Firmware Customization.