-
Notifications
You must be signed in to change notification settings - Fork 1
/
HID Outgoing Packet.txt
70 lines (56 loc) · 1.53 KB
/
HID Outgoing Packet.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Outgoing data:
Byte 0: Seems to be nothing. Controller crashes when I try setting it to anything other than 0..
Byte 1: Deck A LED's
Byte 2: Deck A LED's
Byte 3: Deck A LED's & toggles for left LCD data display
Byte 4: Deck B LED's
Byte 5: Deck B LED's
Byte 6: Deck B LED's & toggles for right LCD data display
Byte 7: VU meter left, 1 to 8
Byte 8: VU meter right, 1 to 8
Left LCD:
Byte 9: Flags:
(1 << 4) Show P%
(1 << 5) Show BPM
(1 << 6)
(1 << 7) Show track time
Byte 10 to 13: 32 bit signed integer of time where 75 = 1 second (negative glitches the LCD)
Byte 14 to 17: 32 bit signed integer of how much time is left on left deck? Bar starts blinking when low value is given
Byte 18 & 19: 16 bit integer BPM where 100 = 1 BPM
Byte 20 & 21: P% where 1 = -9.99%, 1000 = -0.00%, 20001 = +100% (Need to look at this again)
Right LCD:
Byte 23: Flags
Byte 24 to 27: Time
Byte 28 to 31: Elapsed time
Byte 32 & 33: BPM
Byte 34 & 35: P%
Byte 36: 0x27
Byte 63: Packet type/category: 0 = main, 1 = left LCD text, 2 = right LCD text
LED bitmask:
Byte 1:
(1 << 0) search
(1 << 1) scratch
(1 << 2) beat indicator
(1 << 3) hot cue / auto loop
(1 << 4) loop out
(1 << 5) loop in
(1 << 6) cue
(1 << 7) play
Byte 2:
(1 << 0) hot cue 8
(1 << 1) hot cue 7
(1 << 2) hot cue 6
(1 << 3) hot cue 5
(1 << 4) hot cue 4
(1 << 5) hot cue 3
(1 << 6) hot cue 2
(1 << 7) hot cue 1
Byte 3:
(1 << 0)
(1 << 1)
(1 << 2) LCD "R1"
(1 << 3) LCD progressbar
(1 << 4) LCD autocue
(1 << 5) headphones
(1 << 6) keylock
(1 << 7) reverse