You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, you can. Although by Bluetooth, not USB (as there's not USB port!).

    For some reason it doesn't seem to be listed (yet) in the Bluetooth HID docs at

    But you can just do:

    var mouse = require("ble_hid_mouse");
    NRF.setServices(undefined, { hid : mouse.report });
    
    setWatch(function(){
      mouse.send(0,0,mouse.BUTTONS.LEFT); // X movement, Y movement, buttons pressed
    }, BTN, {repeat:true});
    
About

Avatar for Gordon @Gordon started