Is it possible that what you need is just kb.MODIFY.GUI?
kb.MODIFY.GUI
But if you want to mess with modules yourself, the easiest method is just to add it to your existing code:
Modules.addCached("ble_hid_keyboard",function() { // module contents }); var kb = require("ble_hid_keyboard"); NRF.setServices(undefined, { hid : kb.report }); // ...
@Gordon 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.
Is it possible that what you need is just
kb.MODIFY.GUI
?But if you want to mess with modules yourself, the easiest method is just to add it to your existing code: