diff options
author | Be <be@mixxx.org> | 2020-07-29 13:17:41 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-07-29 13:37:10 -0500 |
commit | db2ab2b7555dfa4a60028316d5d5aeee9537fd3a (patch) | |
tree | ac8dc7f10f57d31a244c0fe3aa9f99128905dba3 | |
parent | 8696a3483e8627766ac65ae6123121b46851cc67 (diff) |
NI Traktor Kontrol S2 Mk2: add eslint global defines
Finally eslint passes
-rw-r--r-- | res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js b/res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js index 704b4b368c..aa4fc76562 100644 --- a/res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js +++ b/res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js @@ -8,6 +8,7 @@ /* but feel free to tweak this to your heart's content! */ /****************************************************************/ + // ==== Friendly User Configuration ==== // The Cue button, when Shift is also held, can have two possible functions: // 1. "REWIND": seeks to the very start of the track. @@ -21,6 +22,8 @@ var ShiftCueButtonAction = "REWIND"; var ButtonBrightnessOff = 0x01; var ButtonBrightnessOn = 0x7f; +// eslint definitions +/* global controller, HIDController, HIDPacket */ var TraktorS2MK2 = new function() { this.controller = new HIDController(); |