UNPKG

ns-joycon

Version:

Extract data from connected Jon-Con of Nintendo Switch.

143 lines 2 kB
[ [ { "_raw": { "type": "Buffer", "data": [ 180, 255 ] }, "_hex": [ "b4", "ff" ], "dps": -4.63828, "rps": -0.012874 }, { "_raw": { "type": "Buffer", "data": [ 91, 255 ] }, "_hex": [ "5b", "ff" ], "dps": -10.06995, "rps": -0.027951 }, { "_raw": { "type": "Buffer", "data": [ 144, 255 ] }, "_hex": [ "90", "ff" ], "dps": -6.83536, "rps": -0.018973 } ], [ { "_raw": { "type": "Buffer", "data": [ 175, 255 ] }, "_hex": [ "af", "ff" ], "dps": -4.94343, "rps": -0.013721 }, { "_raw": { "type": "Buffer", "data": [ 94, 255 ] }, "_hex": [ "5e", "ff" ], "dps": -9.88686, "rps": -0.027443 }, { "_raw": { "type": "Buffer", "data": [ 143, 255 ] }, "_hex": [ "8f", "ff" ], "dps": -6.89639, "rps": -0.019142 } ], [ { "_raw": { "type": "Buffer", "data": [ 184, 255 ] }, "_hex": [ "b8", "ff" ], "dps": -4.39416, "rps": -0.012197 }, { "_raw": { "type": "Buffer", "data": [ 101, 255 ] }, "_hex": [ "65", "ff" ], "dps": -9.45965, "rps": -0.026257 }, { "_raw": { "type": "Buffer", "data": [ 137, 255 ] }, "_hex": [ "89", "ff" ], "dps": -7.26257, "rps": -0.020159 } ] ]