• 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:

    Modules.addCached("ble_hid_keyboard",fun­ction() {
    // module contents
    });
    
    var kb = require("ble_hid_keyboard");
    NRF.setServices(undefined, { hid : kb.report });
    // ...
    
About

Avatar for Gordon @Gordon started