-
Notifications
You must be signed in to change notification settings - Fork 0
/
codes.go
40 lines (39 loc) · 979 Bytes
/
codes.go
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
package main
var code = map[string]int{
"0": 0x00,
"1": 0x01,
"2": 0x02,
"3": 0x03,
"4": 0x04,
"5": 0x05,
"6": 0x06,
"7": 0x07,
"8": 0x08,
"9": 0x09,
"play-pause": 0x0a,
"+10": 0x0d,
"-10": 0x0e,
"dim": 0x11,
"stop": 0x14,
"mode": 0x16,
"shutdown": 0x18,
"folder+": 0x19,
"VOLUME UP": 0x1a,
"shuffle": 0x1b,
"ext. previous": 0x1c,
"folder-": 0x1d,
"VOLUME DOWN": 0x1e,
"repeat": 0x1f,
"forward": 0x40,
"seek+": 0x40,
"ext. port": 0x42,
"backward": 0x44,
"seek-": 0x44,
"info": 0x45,
"previous": 0x46,
"next": 0x47,
"ext. next": 0x54,
"ext. play-pause": 0x57,
"eject": 0x5b,
"time": 0x5f,
}