I think HC-05 module is classic bluetooth and can do only SPP (=serial port profile)? You'd need some similar BLE module like HM-10 or many others (JDY-08, JDY-10, ...) best would be some that can do also BLE HID via AT commands instead acting just like BLE serial.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think HC-05 module is classic bluetooth and can do only SPP (=serial port profile)? You'd need some similar BLE module like HM-10 or many others (JDY-08, JDY-10, ...) best would be some that can do also BLE HID via AT commands instead acting just like BLE serial.
Or check this https://www.instructables.com/Upgrade-Your-3-Bluetooth-Module-to-Have-HID-Firmwa/ looks even HC-05 can do classic bluetooth HID when its FW is upgraded.