This is the application which transform the device running Linux into the Bluetooth Low Energy keyboard.
The application is tested on Debian based Linux distributions and Raspberry Pi OS with BlueZ 5.55 and above.
- Install required packages:
$ sudo apt install libdbus-1-3 libdbus-1-dev libcairo2-dev libxt-dev libgirepository1.0-dev git mc
- Get source code of application to your Linux distribution
$ git clone https://github.com/artyomsoft/ble-hid-keyboard.git
- Switch directory to ble-hid-keyboard
$ cd ble-hid-keyboard
- Install systemd service ble-hid-keyboard.
$ sudo ./install.sh
-
Connect to USB port USB usb keyboard.
-
Device running service must be visible to other devices as BLE Keyboars
-
Connect from the computer or the mobile phone to device named BLE Keyboard