From d7e820bc1f53920b94f6e90203567e06647ecb72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Wed, 6 Sep 2017 21:37:46 +0200 Subject: [PATCH] Add comment regarding the commented out workaround for node-hid issue 187. --- packages/usb/uhk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/usb/uhk.js b/packages/usb/uhk.js index 7ffde8a3..942120f6 100755 --- a/packages/usb/uhk.js +++ b/packages/usb/uhk.js @@ -87,7 +87,7 @@ function getTransferData(buffer) { // if data start with 0 need to add additional leading zero because HID API remove it. // https://github.com/node-hid/node-hid/issues/187 if (data.length > 0 && data[0] === 0) { -// data.unshift(0) +// data.unshift(0) // TODO: This has been commented out because it causes bugs on Linux and Mac. Gotta test it on Windows and fully remove it if possible. } // From HID API documentation: