UNPKG

ns-joycon

Version:

Extract data from connected Jon-Con of Nintendo Switch.

134 lines 1.81 kB
[ { "x": { "_raw": { "type": "Buffer", "data": [ 26, 0 ] }, "_hex": [ "1a", "00" ], "acc": 0.006344 }, "y": { "_raw": { "type": "Buffer", "data": [ 241, 9 ] }, "_hex": [ "f1", "09" ], "acc": 0.62098 }, "z": { "_raw": { "type": "Buffer", "data": [ 213, 243 ] }, "_hex": [ "d5", "f3" ], "acc": -0.76006 } }, { "x": { "_raw": { "type": "Buffer", "data": [ 23, 0 ] }, "_hex": [ "17", "00" ], "acc": 0.005612 }, "y": { "_raw": { "type": "Buffer", "data": [ 222, 9 ] }, "_hex": [ "de", "09" ], "acc": 0.616344 }, "z": { "_raw": { "type": "Buffer", "data": [ 199, 243 ] }, "_hex": [ "c7", "f3" ], "acc": -0.763476 } }, { "x": { "_raw": { "type": "Buffer", "data": [ 10, 0 ] }, "_hex": [ "0a", "00" ], "acc": 0.00244 }, "y": { "_raw": { "type": "Buffer", "data": [ 205, 9 ] }, "_hex": [ "cd", "09" ], "acc": 0.612196 }, "z": { "_raw": { "type": "Buffer", "data": [ 199, 243 ] }, "_hex": [ "c7", "f3" ], "acc": -0.763476 } } ]