source: svn/trunk/zasc/app/DST_HostInterface.h @ 22

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

1.phkim

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