-
Notifications
You must be signed in to change notification settings - Fork 0
/
rc6.h
59 lines (55 loc) · 1.58 KB
/
rc6.h
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
void send_rc6_philips(u8 devId, u8 code);
//////////////////////////////////////////////////////////////////////
// Philips codes
// only specify command
#define IR_BUTTON0 0x00
#define IR_BUTTON1 0x01
#define IR_BUTTON2 0x02
#define IR_BUTTON3 0x03
#define IR_BUTTON4 0x04
#define IR_BUTTON5 0x05
#define IR_BUTTON6 0x06
#define IR_BUTTON7 0x07
#define IR_BUTTON8 0x08
#define IR_BUTTON9 0x09
#define IR_BUTTON_WHAT 0x00
#define IR_BUTTON_OK 0x5C
#define IR_BUTTON_LEFT 0x5A
#define IR_BUTTON_RIGHT 0x5B
#define IR_BUTTON_DOWN 0x59
#define IR_BUTTON_UP 0x58
#define IR_BUTTON_PLAY 0x2C
#define IR_BUTTON_POWER 0x0C
#define IR_BUTTON_STOP 0x31
#define IR_BUTTON_REC 0x17
#define IR_BUTTON_REW 0x21
#define IR_BUTTON_FWD 0x20
#define IR_BUTTON_PAUSE 0x30
#define IR_BUTTON_NEXT 0x1A
#define IR_BUTTON_PREV 0x1B
#define IR_BUTTON_EHOME 0x0D
#define IR_BUTTON_BACK 0x23
#define IR_BUTTON_GUIDE 0x26
#define IR_BUTTON_INFO 0x0F
#define IR_BUTTON_LIVETV 0x25
#define IR_BUTTON_VIDEO 0x4A
#define IR_BUTTON_MUSIC 0x47
#define IR_BUTTON_TV 0x46
#define IR_BUTTON_PICTURES 0x49
#define IR_BUTTON_VOL_UP 0x10
#define IR_BUTTON_VOL_DOWN 0x11
#define IR_BUTTON_MUTE 0x0D
#define IR_BUTTON_CH_UP 0x20
#define IR_BUTTON_CH_DOWN 0x21
#define IR_BUTTON_ENTER 0x0B
#define IR_BUTTON_CLEAR 0x0A
#define IR_BUTTON_DVDMENU 0x54
#define IR_BUTTON_SYSMENU 0x82
#define IR_BUTTON_RECTV 0x48
#define IR_BUTTON_SUBTITLE 0x4B
#define IR_BUTTON_TEXT 0x3C
#define IR_BUTTON_RED 0x6D
#define IR_BUTTON_GREEN 0x6E
#define IR_BUTTON_YELLOW 0x6F
#define IR_BUTTON_BLUE 0x70
//////////////////////////////////////////////////////////////////////