This Arduino project utilizes the M5Stack Dial as a HID (Human Interface Device) Keyboard. It is designed for the specific use case of tabbing navigation, offering an exclusive hardware solution for this purpose.
- Right Rotation of Encoder: Sends a
Tab
keystroke. - Left Rotation of Encoder: Sends
Shift + Tab
. - Touching the Display: Sends a
Space
.
To use BLE (Bluetooth Low Energy) instead of USB, uncomment the following line in the first line of the code, install ESP32 BLE Keyboard, and activate NimBLE.
// #define USE_BLE_INSTEAD_OF_USB 1
This project relies on the following libraries:
- BLE Keyboard: ESP32 BLE Keyboard
- (faster) BLE Framework: NimBLE-Arduino