rkremote.h
4.79 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/*
* rkremote.h
*
* Copyright 1994, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
* the contents of this file may not be disclosed to third parties, copied or
* duplicated in any form, in whole or in part, without the prior written
* permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to restrictions
* as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
* and Computer Software clause at DFARS 252.227-7013, and/or in similar or
* successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
* rights reserved under the Copyright Laws of the United States.
*/
#ifndef __rkremote_h_
#define __rkremote_h_
#ifdef __cplusplus
extern "C" {
#endif
/* the keys on the remote control */
#define TV_RC_CHANNEL_UP 0xfe01
#define TV_RC_CHANNEL_DOWN 0xfe02
#define TV_RC_FAVORITE 0xfe03
#define TV_RC_VOLUME_UP 0xfe04
#define TV_RC_VOLUME_DOWN 0xfe05
#define TV_RC_VOLUME_MUTE 0xfe06
#define TV_RC_POWER_ON 0xfe07
#define TV_RC_POWER_OFF 0xfe08
#define TV_RC_BYPASS 0xfe09
#define TV_RC_LAST 0xfe10
#define TV_RC_RETURN 0xfe11
#define TV_RC_INFO 0xfe12
#define TV_RC_HOME 0xfe13
#define TV_RC_REWIND 0xfe15
#define TV_RC_PLAY_PAUSE 0xfe17
#define TV_RC_FASTFORWARD 0xfe18
#define TV_RC_SKIP_BACKWARD 0xfe19
#define TV_RC_SKIP_FORWARD 0xfe1a
#define TV_RC_NORTH 0xfe20
#define TV_RC_NORTHEAST 0xfe21
#define TV_RC_EAST 0xfe22
#define TV_RC_SOUTHEAST 0xfe23
#define TV_RC_SOUTH 0xfe24
#define TV_RC_SOUTHWEST 0xfe25
#define TV_RC_WEST 0xfe26
#define TV_RC_NORTHWEST 0xfe27
#define TV_RC_0 0xfe30
#define TV_RC_1 0xfe31
#define TV_RC_2 0xfe32
#define TV_RC_3 0xfe33
#define TV_RC_4 0xfe34
#define TV_RC_5 0xfe35
#define TV_RC_6 0xfe36
#define TV_RC_7 0xfe37
#define TV_RC_8 0xfe38
#define TV_RC_9 0xfe39
#define TV_RC_SELECT 0xfe40
#define TV_RC_A 0xfe41
#define TV_RC_B 0xfe42
#define TV_RC_C 0xfe43
#define TV_RC_TV 0xfe50
#define TV_RC_SHOW_ME 0xfe51
#define TV_RC_LINK 0xfe52
#define TV_RC_OMNIO_INFO 0xfe53
#define TV_RC_CHANNEL_SHIFT 0xff01
/*
* obsolete values, left in until 20 June to allow compilations
* to proceed until folks have time to update their code
*/
#define TV_RC_PAUSE 0xb0b0
#define TV_RC_PLAY TV_RC_PLAY_PAUSE
/* masks for auto-repeat events */
#define TV_RC_NULL_MASK 0x000000000000ull
#define TV_RC_CHANNEL_UP_MASK 0x000000000001ull
#define TV_RC_CHANNEL_DOWN_MASK 0x000000000002ull
#define TV_RC_FAVORITE_MASK 0x000000000004ull
#define TV_RC_VOLUME_UP_MASK 0x000000000008ull
#define TV_RC_VOLUME_DOWN_MASK 0x000000000010ull
#define TV_RC_VOLUME_MUTE_MASK 0x000000000020ull
#define TV_RC_POWER_ON_MASK 0x000000000040ull
#define TV_RC_POWER_OFF_MASK 0x000000000080ull
#define TV_RC_BYPASS_MASK 0x000000000100ull
#define TV_RC_LAST_MASK 0x000000000400ull
#define TV_RC_RETURN_MASK 0x000000000800ull
#define TV_RC_INFO_MASK 0x000000001000ull
#define TV_RC_HOME_MASK 0x000000002000ull
#define TV_RC_REWIND_MASK 0x000000008000ull
#define TV_RC_STOP_MASK 0x000000010000ull
#define TV_RC_PLAY_PAUSE_MASK 0x000000020000ull
#define TV_RC_FASTFORWARD_MASK 0x000000040000ull
#define TV_RC_SKIP_BACKWARD_MASK 0x00080000ull
#define TV_RC_SKIP_FORWARD_MASK 0x000000100000ull
#define TV_RC_NORTH_MASK 0x000000200000ull
#define TV_RC_NORTHEAST_MASK 0x000000400000ull
#define TV_RC_EAST_MASK 0x000000800000ull
#define TV_RC_SOUTHEAST_MASK 0x000001000000ull
#define TV_RC_SOUTH_MASK 0x000002000000ull
#define TV_RC_SOUTHWEST_MASK 0x000004000000ull
#define TV_RC_WEST_MASK 0x000008000000ull
#define TV_RC_NORTHWEST_MASK 0x000010000000ull
#define TV_RC_0_MASK 0x000020000000ull
#define TV_RC_1_MASK 0x000040000000ull
#define TV_RC_2_MASK 0x000080000000ull
#define TV_RC_3_MASK 0x000100000000ull
#define TV_RC_4_MASK 0x000200000000ull
#define TV_RC_5_MASK 0x000400000000ull
#define TV_RC_6_MASK 0x000800000000ull
#define TV_RC_7_MASK 0x001000000000ull
#define TV_RC_8_MASK 0x002000000000ull
#define TV_RC_9_MASK 0x004000000000ull
#define TV_RC_SELECT_MASK 0x010000000000ull
#define TV_RC_A_MASK 0x020000000000ull
#define TV_RC_B_MASK 0x040000000000ull
#define TV_RC_C_MASK 0x080000000000ull
#define TV_RC_TV_MASK 0x100000000000ull
#define TV_RC_SHOW_ME_MASK 0x200000000000ull
#define TV_RC_LINK_MASK 0x400000000000ull
#define TV_RC_OMNIO_INFO_MASK 0x800000000000ull
#ifdef __cplusplus
}
#endif
#endif /* __rkremote_h_ */