RDK Documentation (Open Sourced RDK Components)
XFCIrKeyCodes.h
1
/*
2
* If not stated otherwise in this file or this component's Licenses.txt file the
3
* following copyright and licenses apply:
4
*
5
* Copyright 2016 RDK Management
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*/
19
20
21
22
/**
23
* @defgroup iarmmgrs
24
* @{
25
* @defgroup hal
26
* @{
27
**/
28
29
30
#ifndef _XFC_IR_KEYCODES_H_
31
#define _XFC_IR_KEYCODES_H_
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
/*-------------------------------------------------------------------
38
Defines/Macros
39
@TODO: We are simply reusing VL's value for now
40
-------------------------------------------------------------------*/
41
#define DELAY_REPEAT_MASK 0x00000001
42
#define LANGUAGE_MASK 0x00000010
43
#define MISSED_KEY_TIMEOUT_MASK 0x00000100
44
#define REPEAT_KEY_ENABLED_MASK 0x00001000
45
#define REPEAT_FREQUENCY_MASK 0x00010000
46
#define REPORT_MODIFIERS_MASK 0x00100000
47
#define NUM_OF_DEVICES_MASK 0x01000000
48
49
50
#define KET_KEYDOWN 0x00008000UL
51
#define KET_KEYUP 0x00008100UL
52
#define KET_KEYREPEAT 0x00008200UL
53
54
//Numeric keys (common in Remote and Key Board)
55
//Combination of Key + device type (HID_DEVICES) is unique.
56
#define KED_DIGIT0 0x00000030UL
57
#define KED_DIGIT1 0x00000031UL
58
#define KED_DIGIT2 0x00000032UL
59
#define KED_DIGIT3 0x00000033UL
60
#define KED_DIGIT4 0x00000034UL
61
#define KED_DIGIT5 0x00000035UL
62
#define KED_DIGIT6 0x00000036UL
63
#define KED_DIGIT7 0x00000037UL
64
#define KED_DIGIT8 0x00000038UL
65
#define KED_DIGIT9 0x00000039UL
66
#define KED_PERIOD 0x00000040UL
67
68
#define KED_DISCRETE_POWER_ON 0x00000050UL
69
#define KED_DISCRETE_POWER_STANDBY 0x00000051UL
70
71
#define KED_SEARCH 0x000000CFUL
72
#define KED_SETUP 0x00000052UL
73
74
#define KED_CLOSED_CAPTIONING 0x00000060UL
75
#define KED_LANGUAGE 0x00000061UL
76
#define KED_VOICE_GUIDANCE 0x00000062UL
77
#define KED_HEARTBEAT 0x00000063UL
78
#define KED_PUSH_TO_TALK 0x00000064UL
79
#define KED_DESCRIPTIVE_AUDIO 0x00000065UL
80
#define KED_VOLUME_OPTIMIZE 0x00000066UL
81
#define KED_XR2V3 0x00000067UL
82
#define KED_XR5V2 0x00000068UL
83
#define KED_XR11V1 0x00000069UL
84
#define KED_XR11V2 0x0000006AUL
85
#define KED_XR13 0x0000006BUL
86
#define KED_XR11_NOTIFY 0x0000006CUL
87
88
#define KED_XR15V1_NOTIFY 0x00000070UL
89
#define KED_XR15V1_SELECT 0x00000071UL
90
#define KED_XR15V1_PUSH_TO_TALK 0x00000072UL
91
92
#define KED_SCREEN_BIND_NOTIFY 0x00000073UL
93
94
#define KED_XR16V1_NOTIFY 0x00000074UL
95
#define KED_XR16V1_SELECT 0x00000075UL
96
#define KED_XR16V1_PUSH_TO_TALK 0x00000076UL
97
98
#define KED_RF_POWER 0x0000007FUL
99
#define KED_POWER 0x00000080UL
100
#define KED_FP_POWER KED_POWER
101
#define KED_ARROWUP 0x00000081UL
102
#define KED_ARROWDOWN 0x00000082UL
103
#define KED_ARROWLEFT 0x00000083UL
104
#define KED_ARROWRIGHT 0x00000084UL
105
#define KED_SELECT 0x00000085UL
106
#define KED_ENTER 0x00000086UL
107
#define KED_EXIT 0x00000087UL
108
#define KED_CHANNELUP 0x00000088UL
109
#define KED_CHANNELDOWN 0x00000089UL
110
#define KED_VOLUMEUP 0x0000008AUL
111
#define KED_VOLUMEDOWN 0x0000008BUL
112
#define KED_MUTE 0x0000008CUL
113
#define KED_GUIDE 0x0000008DUL
114
#define KED_VIEWINGGUIDE KED_GUIDE
115
#define KED_INFO 0x0000008EUL
116
#define KED_SETTINGS 0x0000008FUL
117
#define KED_PAGEUP 0x00000090UL
118
#define KED_PAGEDOWN 0x00000091UL
119
#define KED_KEYA 0x00000092UL
120
#define KED_KEYB 0x00000093UL
121
#define KED_KEYC 0x00000094UL
122
#define KED_KEYD 0x0000009FUL
123
#define KED_KEY_RED_CIRCLE KED_KEYC //Host2.1 Sec 7.2
124
#define KED_KEY_GREEN_DIAMOND KED_KEYD //Host2.1 Sec 7.2
125
#define KED_KEY_BLUE_SQUARE KED_KEYB //Host2.1 Sec 7.2
126
#define KED_KEY_YELLOW_TRIANGLE KED_KEYA //Host2.1 Sec 7.2
127
#define KED_LAST 0x00000095UL
128
#define KED_FAVORITE 0x00000096UL
129
#define KED_REWIND 0x00000097UL
130
#define KED_FASTFORWARD 0x00000098UL
131
#define KED_PLAY 0x00000099UL
132
#define KED_STOP 0x0000009AUL
133
#define KED_PAUSE 0x0000009BUL
134
#define KED_RECORD 0x0000009CUL
135
#define KED_BYPASS 0x0000009DUL
136
#define KED_TVVCR 0x0000009EUL
137
138
#define KED_REPLAY 0x000000A0UL
139
#define KED_HELP 0x000000A1UL
140
#define KED_RECALL_FAVORITE_0 0x000000A2UL
141
#define KED_CLEAR 0x000000A3UL
142
#define KED_DELETE 0x000000A4UL
143
#define KED_START 0x000000A5UL
144
#define KED_POUND 0x000000A6UL
145
#define KED_FRONTPANEL1 0x000000A7UL
146
#define KED_FRONTPANEL2 0x000000A8UL
147
#define KED_OK 0x000000A9UL
148
#define KED_STAR 0x000000AAUL
149
#define KED_PROGRAM 0x000000ABUL
150
151
#define KED_TVPOWER 0x000000C1UL // Alt remote
152
#define KED_PREVIOUS 0x000000C3UL // Alt remote
153
#define KED_NEXT 0x000000C4UL // Alt remote
154
#define KED_MENU 0x000000C0UL // Alt remote
155
#define KED_INPUTKEY 0x000000D0UL //
156
#define KED_LIVE 0x000000D1UL //
157
#define KED_MYDVR 0x000000D2UL //
158
#define KED_ONDEMAND 0x000000D3UL //
159
#define KED_STB_MENU 0x000000D4UL //
160
#define KED_AUDIO 0x000000D5UL //
161
#define KED_FACTORY 0x000000D6UL //
162
#define KED_RFENABLE 0x000000D7UL //
163
#define KED_LIST 0x000000D8UL
164
#define KED_RF_PAIR_GHOST 0x000000EFUL // Ghost code to implement auto pairing in RF remotes
165
#define KED_WPS 0x000000F0UL // Key to initiate WiFi WPS pairing
166
#define KED_DEEPSLEEP_WAKEUP 0x000000F1UL // Key to initiate deepsleep wakeup
167
#define KED_NEW_BATTERIES_INSERTED 0x000000F2UL // Signals a battery set was replaced
168
#define KED_GRACEFUL_SHUTDOWN 0x000000F3UL // Signals an external power supply device is shutting down
169
#define KED_UNDEFINEDKEY 0x000000FEUL // Use for keys not defined here. Pass raw code as well.
170
171
172
#define KED_BACK 0x100000FEUL
173
#define KED_DISPLAY_SWAP 0x300000FEUL
174
#define KED_PINP_MOVE 0x400000FEUL
175
#define KED_PINP_TOGGLE 0x500000FEUL
176
#define KED_PINP_CHDOWN 0x600000FEUL
177
#define KED_PINP_CHUP 0x700000FEUL
178
#define KED_DMC_ACTIVATE 0x800000FEUL
179
#define KED_DMC_DEACTIVATE 0x900000FEUL
180
#define KED_DMC_QUERY 0xA00000FEUL
181
#define KED_OTR_START 0xB00000FEUL
182
#define KED_OTR_STOP 0xC00000FEUL
183
184
#ifdef __cplusplus
185
}
186
#endif
187
188
#endif
/* _XFC_IR_KEYCODES_H_ */
189
190
191
/** @} */
192
/** @} */
components
generic
aamp
test
XFCIrKeyCodes.h
Generated on Thu Feb 9 2023 06:32:28 for RDK Documentation (Open Sourced RDK Components) by
1.8.17