I think you'd definitely need to use ble_hid_keyboard and not ble_hid_controls, but otherwise what you're doing seems ok (although .tap should still work for you).
I think the problem you might be hitting is the HID report specifies a maximum value of 115:
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.
Hi,
I think you'd definitely need to use
ble_hid_keyboard
and notble_hid_controls
, but otherwise what you're doing seems ok (although.tap
should still work for you).I think the problem you might be hitting is the HID report specifies a maximum value of 115:
http://www.espruino.com/modules/ble_hid_keyboard.js
You could try using your own HID report based on that one, but with just those numbers made bigger?