We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 220999e commit 1f634f9Copy full SHA for 1f634f9
packages/uhk-usb/src/uhk-hid-device.ts
@@ -54,9 +54,9 @@ export class UhkHidDevice {
54
const data = UhkHidDevice.convertBufferToIntArray(buffer);
55
// if data start with 0 need to add additional leading zero because HID API remove it.
56
// https://github.com/node-hid/node-hid/issues/187
57
- if (data.length > 0 && data[0] === 0 && process.platform === 'win32') {
58
- data.unshift(0);
59
- }
+ // if (data.length > 0 && data[0] === 0 && process.platform === 'win32') {
+ // data.unshift(0);
+ // }
60
61
// From HID API documentation:
62
// http://www.signal11.us/oss/hidapi/hidapi/doxygen/html/group__API.html#gad14ea48e440cf5066df87cc6488493af
0 commit comments