diff --git a/res/controllers/Denon-DN-S3700.midi.xml b/res/controllers/Denon-DN-S3700.midi.xml new file mode 100644 index 000000000000..2949e1bc9a67 --- /dev/null +++ b/res/controllers/Denon-DN-S3700.midi.xml @@ -0,0 +1,15 @@ + + + + Denon DN-S3700 (QML) + christophehenry + Controller preset for Denon DN-S3700 turntable + + + + + + + + + diff --git a/res/controllers/Denon-DN-S3700.qml b/res/controllers/Denon-DN-S3700.qml new file mode 100644 index 000000000000..73600b35ef13 --- /dev/null +++ b/res/controllers/Denon-DN-S3700.qml @@ -0,0 +1,17 @@ +import QtQuick + +QtObject { + id: controller + property string controllerId: "" + property bool debugMode: false + + function init(controllerId, debugMode) { + controller.controllerId = controllerId + controller.debugMode = debugMode + console.log(controllerId, debugMode) + } + + function shutdown() { + console.log(`Shutting down ${controller.controllerId} with debug mode ${controller.controllerId}`) + } +}