This project allows you to use Bluetooth LE mice and keyboards as input devices for PS2 host.
Work in progress.
- BLE keyboard to PS/2 keyboard.
- BLE mouse to PS/2 mouse (works but unstable).
- Multiple BLE devices.
- Web interface to manage paired devices.
You can manage paired devices from the web interface. Wi-Fi settings can only be set at compile time for now.
$ cd frontend
$ npm install
$ npm run build
$ cd ..
$ platformio run -e esp32-release erase
$ platformio run -e esp32-release upload
$ platformio run -e esp32-release uploadfs
- NimBLE-Arduino - of course, the official documentation is the best place to know how it can be used.
- BLE_HID_Client - greatly helped me understand how to connect the BLE HID peripheral to the ESP32 central.
- サルでもわかるBLE入門 - Japanese articles about BLE for beginners.
- レポートディスクリプタ - おなかすいたWiki! - Japanese article about HID report descriptor. This article was helpful in learning about the structure of report descriptors and how to parse them. You will find a lot of other useful information about HIDs on this wiki.
- USB HID to PS/2 Scan Code Translation Table - Microsoft's official document on correspondence between HID usage and PS/2 scancode.