-
-
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
92690b5
commit 5bb13d1
Showing
17 changed files
with
261 additions
and
84 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<MixxxControllerPreset mixxxVersion="2.4.0" schemaVersion="1"> | ||
<info> | ||
<name>S4 Mk3 screens</name> | ||
<author>A. Colombier</author> | ||
<description>Dummy device screens</description> | ||
<devices> | ||
<product protocol="bulk" vendor_id="0x17cc" product_id="0x1720" out_epaddr="0x03" /> | ||
</devices> | ||
</info> | ||
<controller id="DummyDevice"> | ||
<renderfiles> | ||
<screen filename="Dummy-Device-Default-Screen.qml" identifier="deck" width="320" height="240" screenCount="1" targetFps="40" pixelType="RBG565"> | ||
<library path="Dummy-Device-Default-Screen" /> | ||
<transformfunction type="javascript"> | ||
(function(input, screen_id) { | ||
data = new ArrayBuffer(320*240*2 + 20); | ||
header = new Uint8Array(data, 0, 16); | ||
payload = new Uint8Array(data, 16, 320*240*2); | ||
footer = new Uint8Array(data, 320*240*2 + 16, 4); | ||
header.fill(0) | ||
footer.fill(0) | ||
header[0] = 0x84; | ||
header[3] = 0x21; | ||
header[12] = 0x1; | ||
header[13] = 0x40; | ||
header[15] = 0xf0; | ||
payload.set(new Uint8Array(input, 0, 320*240*2)) | ||
footer[2] = screen_id; | ||
return data; | ||
}) | ||
</transformfunction> | ||
</screen> | ||
</renderfiles> | ||
</controller> | ||
</MixxxControllerPreset> |
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
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
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
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.