hid code correction

pull/324/head
paul 2020-04-18 16:41:43 +02:00
parent 41d206cdbe
commit fc6d6aa4bb
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ report = new Uint8Array([
0xc0 // END_COLLECTION
]);
function p(c,cb) { NRF.sendHIDReport(c, function() { NRF.sendHIDReport(0, cb) }); }
volumeUp = function(cb) { p(0x20,cb) };
volumeUp = function(cb) { p(0x80,cb) };
//end of manual selective import
NRF.setServices(undefined, { hid : report });