summaryrefslogtreecommitdiffstats
path: root/res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js
diff options
context:
space:
mode:
Diffstat (limited to 'res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js')
-rw-r--r--res/controllers/Traktor-Kontrol-S2-MK2-hid-scripts.js3
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();