My Keyboard Broke, so i used the keys of the broken mechanical keyboard, wired the switches with an ESP-32 and wrote the firmware for hardware using the Bluetooth Library in c++. I also had to hand soldered 100 zener diode 3 whole times (Check their Polarity twice🥲).
- Emulates generic USB HID keyboard using ESP32
- Send characters or commands over Wi‑Fi/Bluetooth/Serial
- Configurable key mappings and sequences
- Open-source, easy to extend
ESP32Keyboard/
├── ESP32Keyboard.ino ← Main sketch
├── README.md ← This file
├── LICENSE ← MIT license (if included)
└── examples/ ← Optional example sketches
- Modify key sequences in the global variables or functions (e.g., typing a password).
- Define your preferred input interface: serial, Wi‑Fi, Bluetooth.
- Customize USB HID descriptor if needed (advanced).
- Send “hello world” over Serial → ESP32 types it to the host.
- Use Bluetooth input app on phone to type on your computer.
- Automate login typing or repetitive commands.
- Add support for gamepad or media keys.
- Create REST/WebSocket interface for remote typing.
- Combine with sensors to trigger auto-typing.