You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi,

    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:

    http://www.espruino.com/modules/ble_hid_keyboard.js

    0x25, 0x73,       // Logical Maximum (115 - include F13, etc)
    ...
    0x29, 0x73,       // Usage Maximum (115 - include F13, etc)
    

    You could try using your own HID report based on that one, but with just those numbers made bigger?

About

Avatar for Gordon @Gordon started