I wanted to use my Bluetooth keyboard before the operating system loads, where the computer's Bluetooth stack is unavailable. So I built a small hardware bridge around a Waveshare ESP32-S3 Touch AMOLED 2.16.
The keyboard pairs with the ESP32-S3 over BLE HID. The ESP32 receives the keyboard reports and forwards them through native USB as a standard USB HID keyboard. To the computer it looks like an ordinary wired keyboard, with no Bluetooth driver or companion application required.
What works:
• Touchscreen BLE scanning and keyboard selection
• On-device PIN pairing
• Bond storage and automatic reconnection
• Native USB HID keyboard output
• BLE HID Report Protocol
• 7-, 8-, and 9-byte keyboard reports
• No Wi-Fi, cloud service, or PC-side software
I tested the complete BLE-to-USB typing path with a Logitech POP Icon Keys on Windows.…