Sun 2020.04.19
HID is out of my league, but has the HID event been checked out?
https://www.espruino.com/Reference#l_NRF_HID Bluetooth LE HID Keyboards
https://www.espruino.com/Reference#l_NRF_HID
Bluetooth LE HID Keyboards
'but hid-keyboard.js gives 9 arguments'
Hmmmm, seems you may have discovered an 'undocumented feature' ;-)
Although it appears the array may contain a variable length:
first hyper link 'ble_hid_keyboard' within the page loaded from first link #2 post https://www.espruino.com/modules/ble_hid_keyboard.js
@Robin started
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.
Sun 2020.04.19
HID is out of my league, but has the HID event been checked out?
Hmmmm, seems you may have discovered an 'undocumented feature' ;-)
Although it appears the array may contain a variable length: