• So...this (despite causing an an error) "works" for my intended purposes. This is the only thing I've been able to do that makes it work "properly".

          NRF.sendHIDReport([kb.MODIFY.GUI,0,kb.KE­Y.F12,0,0,0,0,0], function() {
          });
          NRF.sendHIDReport([kb.MODIFY.GUI,0,kb.KE­Y.F12,0,0,0,0,0], function() {
            NRF.sendHIDReport([0,0,0,0,0,0,0,0], function() {
              console.log("keys sent");
            });
          });
    

    Error:

    
    Uncaught Error: BLE HID already sending
     at line 138 col 8
          });
           ^
    in function "triggerCommand" called from line 96 col 88
    ...eld': held, 'light': light});
                                  ^
    in function called from system
    

    Have any suggestions on how to improve this so it's not technically broken? lol

About

Avatar for tako @tako started