Skip to content

Instantly share code, notes, and snippets.

@danjenkins
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save danjenkins/3ec65c5c9e06deba19a2 to your computer and use it in GitHub Desktop.

Select an option

Save danjenkins/3ec65c5c9e06deba19a2 to your computer and use it in GitHub Desktop.
results of node index.js hid-mapper
11:21:37 ✔ dan:(master $)~/git/hid-mapper$ node index --vendor 1356 --product 1476 --raw 5 --dump

------------------------------
   Calibrating device...
------------------------------

FIRST_FRAMES: [[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,127,128,129,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,127,129,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,127,128,129,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,127,128,129,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0]]
IGNORE_PIN: 3
Change {"pin":1,"value":128}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment