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

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

first commit

File size: 3.0 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 KEY_ID_MAX      44 // °¡Àå Å« ۰ª Windows ManagerÀÇ Å°Ã³¸®¿¡¼­ »ç¿ëµÈ´Ù.
53
54// Common Define
55#define DST_OFF 0
56#define DST_ON  1
57#define DST_DISABLE     0
58#define DST_ENABLE      1
59
60// OSD Language
61#define OSD_PORTUGUESE 0
62#define OSD_SPANISH 1
63#define OSD_ENGLISH  2
64
65// Time Zone
66#define TZ_ATLANTIC     0 //ATL
67#define TZ_EASTERN      1 //EST
68#define TZ_CENTRAL      2 //CST
69#define TZ_MOUNTAIN     3 //MST
70#define TZ_PACIFIC      4 //PST
71#define TZ_ALASKA               5 //AKST
72#define TZ_HAWAII               6 //HST
73
74
75//CC Display
76#define CC_OFF  0
77#define CC_ON   1
78
79//CC DisplayPref
80#define CC_AUTO 0
81#define CC_DISPLAY_DIGITAL      1
82#define CC_DISPLAY_ANALOG       2
83// CC
84#define CC_CS1  1
85#define CC_CS2  2
86#define CC_CS3  3
87#define CC_CS4  4
88#define CC_CS5  5
89#define CC_CS6  6
90#define CC_CC1  7
91#define CC_CC2  8
92#define CC_CC3  9
93#define CC_CC4  10
94#define CC_TXT1 11
95#define CC_TXT2 12
96#define CC_TXT3 13
97#define CC_TXT4 14
98#define CC_KCC  15
99
100// CC Size
101#define CC_DEFAULT      0
102#define CC_SMALL        1
103#define CC_STANDARD     2
104#define CC_LARGE        3
105// CC Style
106#define CC_STYLE1       1
107#define CC_STYLE2       2
108#define CC_STYLE3       3
109#define CC_STYLE4       4
110#define CC_STYLE5       5
111#define CC_STYLE6       6
112#define CC_STYLE7       7
113// CC Color
114#define CC_BLACK        1
115#define CC_WHITE        2
116#define CC_RED  3
117#define CC_GREEN        4
118#define CC_BLUE 5
119#define CC_YELLOW       6
120#define CC_MAGENTA      7
121#define CC_CYAN 8
122// CC Opacity
123#define CC_SOLID        1
124#define CC_TRANSPARENT  2
125#define CC_TRANSLUCENT  3
126#define CC_FLASHING     4
127// CC EDGE_STYLE
128#define CC_NONE 1
129#define CC_RAISED       2
130#define CC_DEPRESSED    3
131#define CC_UNIFORM      4
132#define CC_LEFT_DROP_SHADOW     5
133#define CC_RIGHT_DROP_SHADOW    6
134// CC FONT ON/OFF
135#define CC_FONT_ON      1
136#define CC_FONT_OFF     2
137
138//Digital Audio Output
139#define AUDIO_OUT_DOLBY 0
140#define AUDIO_OUT_PCM   1
141
142// Incredible Surround
143#define AUDIO_INCREDIBLE_SURROUND       0
144#define AUDIO_VIRTUAL_DOLBY     1
145
146// DTV Source Format
147#define SF_NO_SIGNAL    0
148#define SF_AUDIO_ONLY   1
149#define SF_SD_NORMAL    2
150#define SF_SD_WIDE              3
151#define SF_HD                                   4
152
153#ifdef DSTAR
154/*extern "C" */void DST_KeyCallBack(int bKeypad, DS_U32 Code, int bPressed); // Ű Äݹé
155#else
156/*extern "C" */void DST_KeyCallBack(bool bRemocon, DS_U8 Code, bool bRepeat);
157#endif
158void DST_KeyTaskStart();
159
160#endif
Note: See TracBrowser for help on using the repository browser.