source: svn/trunk/zasc/app_c/DST_HostInterface.h @ 37

Last change on this file since 37 was 2, checked in by jglee, 11 years ago

first commit

File size: 3.1 KB
Line 
1#ifndef __DST_HOST_INTERFACE_H__
2#define __DST_HOST_INTERFACE_H__
3#include "DST_Common.h"
4
5#define VK_KEY_PWR              1
6#define VK_KEY_UP               2
7#define VK_KEY_DN               3
8#define VK_PWR 4
9#define VK_MENU 5
10#define VK_LEFT 6
11#define VK_RIGHT 7
12#define VK_UP 8
13#define VK_DN 9
14#define VK_OK 10
15#define VK_PREV 11
16#define VK_CANCEL 12
17#define VK_0 13
18#define VK_1 14
19#define VK_2 15
20#define VK_3 16
21#define VK_4 17
22#define VK_5 18
23#define VK_6 19
24#define VK_7 20
25#define VK_8 21
26#define VK_9 22
27#define VK_MUTE 23
28#define VK_CH_UP 24
29#define VK_CH_DN 25
30#define VK_VOL_UP 26
31#define VK_VOL_DN 27
32#define VK_RED 28
33#define VK_GREEN 29
34#define VK_YELLOW 30
35#define VK_BLUE 31     
36#define VK_CC 32
37#define VK_HYPHEN 33
38
39#define VK_FAC_OK 34
40#define VK_FAC_CANCEL 35
41#define VK_FAC_1 36
42#define VK_FAC_7 37
43#define VK_FAC_PWR 38
44
45#define VK_ZOOM 39
46#define VK_AUDIO 40
47#define VK_EPG 41
48#define VK_SIGNAL_METER 42
49#define VK_PREV_CH 43
50#define VK_PREV_MENU 44
51
52#define VK_DISPLAY_MODE 45
53#define VK_CHANNEL_SEARCH 46
54
55#define KEY_ID_MAX      46 // °¡Àå Å« ۰ª Windows ManagerÀÇ Å°Ã³¸®¿¡¼­ »ç¿ëµÈ´Ù.
56
57// Common Define
58#define DST_OFF 0
59#define DST_ON  1
60#define DST_DISABLE     0
61#define DST_ENABLE      1
62
63// OSD Language
64#define OSD_PORTUGUESE 0
65#define OSD_SPANISH 1
66#define OSD_ENGLISH  2
67
68// Time Zone
69#define TZ_ATLANTIC     0 //ATL
70#define TZ_EASTERN      1 //EST
71#define TZ_CENTRAL      2 //CST
72#define TZ_MOUNTAIN     3 //MST
73#define TZ_PACIFIC      4 //PST
74#define TZ_ALASKA               5 //AKST
75#define TZ_HAWAII               6 //HST
76
77
78//CC Display
79#define CC_OFF  0
80#define CC_ON   1
81
82//CC DisplayPref
83#define CC_AUTO 0
84#define CC_DISPLAY_DIGITAL      1
85#define CC_DISPLAY_ANALOG       2
86// CC
87#define CC_CS1  1
88#define CC_CS2  2
89#define CC_CS3  3
90#define CC_CS4  4
91#define CC_CS5  5
92#define CC_CS6  6
93#define CC_CC1  7
94#define CC_CC2  8
95#define CC_CC3  9
96#define CC_CC4  10
97#define CC_TXT1 11
98#define CC_TXT2 12
99#define CC_TXT3 13
100#define CC_TXT4 14
101#define CC_KCC  15
102
103// CC Size
104#define CC_DEFAULT      0
105#define CC_SMALL        1
106#define CC_STANDARD     2
107#define CC_LARGE        3
108// CC Style
109#define CC_STYLE1       1
110#define CC_STYLE2       2
111#define CC_STYLE3       3
112#define CC_STYLE4       4
113#define CC_STYLE5       5
114#define CC_STYLE6       6
115#define CC_STYLE7       7
116// CC Color
117#define CC_BLACK        1
118#define CC_WHITE        2
119#define CC_RED  3
120#define CC_GREEN        4
121#define CC_BLUE 5
122#define CC_YELLOW       6
123#define CC_MAGENTA      7
124#define CC_CYAN 8
125// CC Opacity
126#define CC_SOLID        1
127#define CC_TRANSPARENT  2
128#define CC_TRANSLUCENT  3
129#define CC_FLASHING     4
130// CC EDGE_STYLE
131#define CC_NONE 1
132#define CC_RAISED       2
133#define CC_DEPRESSED    3
134#define CC_UNIFORM      4
135#define CC_LEFT_DROP_SHADOW     5
136#define CC_RIGHT_DROP_SHADOW    6
137// CC FONT ON/OFF
138#define CC_FONT_ON      1
139#define CC_FONT_OFF     2
140
141//Digital Audio Output
142#define AUDIO_OUT_DOLBY 0
143#define AUDIO_OUT_PCM   1
144
145// Incredible Surround
146#define AUDIO_INCREDIBLE_SURROUND       0
147#define AUDIO_VIRTUAL_DOLBY     1
148
149// DTV Source Format
150#define SF_NO_SIGNAL    0
151#define SF_AUDIO_ONLY   1
152#define SF_SD_NORMAL    2
153#define SF_SD_WIDE              3
154#define SF_HD                                   4
155
156#ifdef DSTAR
157/*extern "C" */void DST_KeyCallBack(int bKeypad, DS_U32 Code, int bPressed); // Ű Äݹé
158#else
159/*extern "C" */void DST_KeyCallBack(bool bRemocon, DS_U8 Code, bool bRepeat);
160#endif
161void DST_KeyTaskStart();
162
163#endif
Note: See TracBrowser for help on using the repository browser.