• Hmm - when pressing keys normally on the keyboard, you send one HID report for keydown, and another to show the key has been lifted. It didn't seem to be the case on the BLE version but maybe you need to do that here?

    function p(c, cb) {
      E.sendUSBHID([c]);
      setTimeout(function() {
        E.sendUSBHID([0]);
        cb();
      },100);
    }
    

    Thanks for posting up your code though - that's great! Maybe I should turn this into a module?

  • Hmm - when pressing keys normally on the keyboard, you send one HID report for keydown, and another to show the key has been lifted. It didn't seem to be the case on the BLE version but maybe you need to do that here?

    Yep that was exactly it!

    Thanks for the snippet Gordon, simply dropped it in and now it's working brilliantly.

    I think a module for this would have definitely helped me in the first instance.

About

Avatar for Gordon @Gordon started