-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4eba93
commit 2a03ebf
Showing
7 changed files
with
186 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
import QtQuick | ||
import QtQml | ||
|
||
Item { | ||
id: controller | ||
import "Mixxx" | ||
|
||
property string controllerId: "" | ||
property bool debugMode: false | ||
MixxxController { | ||
id: controller | ||
|
||
function init(controllerId, debugMode) { | ||
controller.controllerId = controllerId; | ||
controller.debugMode = debugMode; | ||
console.error(controllerId, debugMode); | ||
function init() { | ||
console.error(controller.controllerId, controller.debugMode); | ||
} | ||
function shutdown() { | ||
console.error(`Shutting down ${controller.controllerId} with debug mode ${controller.controllerId}`); | ||
console.error(`Shutting down ${controller.controllerId} with debug mode ${controller.debugMode}`); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.