-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrb3-hid-reports.txt
43 lines (33 loc) · 2 KB
/
rb3-hid-reports.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
btn ??? velocity ???
red pad: 040408 7f7f7f7f00000000 00d20000 000000000200020002000200
circle: 040008 7f7f7f7f00000000 00000000 000000000200020002000200
yellow pad: 080408 7f7f7f7f00000000 d2000000 000000000200020002000200
yellow cymbal: 080800 7f7f7f7f00000000 ff000000 000000000200020002000200
triangle: 080008 7f7f7f7f00000000 00000000 000000000200020002000200
blue pad: 010408 7f7f7f7f00000000 000000d2 000000000200020002000200
blue cymbal: 010804 7f7f7f7f00000000 000000d2 000000000200020002000200
square: 010008 7f7f7f7f00000000 00000000 000000000200020002000200
green pad: 020408 7f7f7f7f00000000 0000ff00 000000000200020002000200
green cymbal: 020808 7f7f7f7f00000000 00002a00 000000000200020002000200
cross: 020008 7f7f7f7f00000000 00000000 000000000200020002000200
bass pedal: 100008 7f7f7f7f00000000 00000000 000000000200020002000200
hihat pedal: 200008 7f7f7f7f00000000 00000000 000000000200020002000200
start: 000208 7f7f7f7f00000000 00000000 000000000200020002000200
select: 000108 7f7f7f7f00000000 00000000 000000000200020002000200
dpad left: 000006 7f7f7f7f00000000 00000000 000000000200020002000200
dpad right: 000002 7f7f7f7f00000000 00000000 000000000200020002000200
dpad up: 000000 7f7f7f7f00000000 00000000 000000000200020002000200
dpad down: 000004 7f7f7f7f00000000 00000000 000000000200020002000200
PS button: 001008 7f7f7f7f00000000 00000000 000000000200020002000200
3 bytes : buttons
8 bytes : ?
4 bytes : velocity
12 bytes: ?
Seems like the velocity column contains the velocity the pad was hit for each
color. It also seems like higher values for velocity indicate a weaker hit
counter-intuitively.
Velocity column breakdown:
Yellow, Red, Green, Blue
Velocity values:
0x2a, 0x54, 0x7e, 0xa8, 0xd2, 0xff
Question mark columns seem irrelevant since they don't change when a pad is hit.