⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keydef.h

📁 ESS3890+SL原代码(1*16内存)
💻 H
字号:
/* Copyright 1997, ESS Technology, Inc.                                 *//* SCCSID @(#)keydef.h	4.7.1.1 12/01/04 */ /* * $Log$ */#ifndef __KEYDEF_H__#define __KEYDEF_H__/*************************************************************** NOTE :* If KEYS definitions are changed, the KEYS definitions*    in the play.c should also changed.**************************************************************//*- key definations ---------------------------------------------------------*/#define _NO_KEY                  (-1)#define _KEY_0                   0x00#define _KEY_1                   0x01#define _KEY_2                   0x02#define _KEY_3                   0x03#define _KEY_4                   0x04#define _KEY_5                   0x05#define _KEY_6                   0x06#define _KEY_7                   0x07#define _KEY_8                   0x08#define _KEY_9                   0x09#define _KEY_PLUS_10             0x0a #define _KEY_PLUS                0x0b#define _KEY_MINUS               0x0c#define _KEY_RESUME_KEY          0x0d#define _ECHO_PLUS               0x0e#define _ECHO_MINUS              0x0f#define _SURROUND_KEY            0x10#define _VOCAL_ASSIST_KEY        0x11#define _REPEAT_KEY              0x12#define _PBC_KEY                 0x13#define _TIME_KEY                0x14#define _SCREEN_ON_KEY           0x15#define _RESUME_KEY              0x16#define _MUTE_KEY                0x17#define _VOLUME_UP_KEY           0x18#define _VOLUME_DOWN_KEY         0x19#define _CLEAR_KEY               0x1a #define _PROGRAM_KEY             0x1b#define _SHUFFLE_KEY             0x1c#define _INTRO_KEY               0x1d#define _MODE_KEY                0x1e#define _PLAY_KEY                0x1f#define _STOP_KEY                0x20#define _GOTO_KEY                0x21#define _FB_KEY                  0x22#define _FF_KEY                  0x23#define _PAUSE_KEY               0x24#define _SLOW_KEY                0x25#define _STEP_KEY                0x26#define _ADVANCE_KEY             0x27#define _INDEX_MINUS_KEY         0x28#define _INDEX_PLUS_KEY          0x29#define _SET_A_KEY               0x2a#define _SET_B_KEY               0x2b#ifdef SCENE#define _SCENE_KEY		_SET_B_KEY+1#else#define _SCENE_KEY		_SET_B_KEY#endif#ifdef HOST_SLAVE#define _AUDIO_MODE_KEY          _MODE_KEY#endif#ifdef PLUS5_KEY#define _KEY_PLUS_5              0x2c#define _PLAYPAUSE_KEY           0x2d#define _MIC_KEY                 0x2e#endif PLUS5_KEY/* KEYS are not in the switch statements. */#define _DEFAULT_KEY             0x50#define _TRACK_SCAN_KEY          0x51#define _DISC_SCAN_KEY           0x52#define _ROTATE_CLOCK_KEY        0x53#define _ROTATE_ANTI_CLOCK_KEY   0x54#define _FIRST_DISC_KEY          0x55#define _SECOND_DISC_KEY         0x56#define _THIRD_DISC_KEY          0x57#define _BOOK_MARK_KEY           0x58#define _OSD_LANGUAGE_KEY        0x59#define _POWER_KEY               0x5a#define _EJECT_KEY               0x5b#define _PREVIOUS_KEY            0x5c#define _NEXT_KEY                0x5d#define _RETURN_KEY              0x60#define _ZOOM_IN_KEY             0x61#define _ZOOM_OUT_KEY            0x62#define _ZOOM_UP_KEY             0x63#define _ZOOM_LEFT_KEY           0x64#define _ZOOM_RIGHT_KEY          0x65#define _ZOOM_DOWN_KEY           0x66#define _TV_MODE_KEY             0x67#ifdef BAOAN49_REMOTE#define _KEY_PLUS_5              0x2c#define _PLAYPAUSE_KEY           0x2d#define _MIC_KEY                 0x2e#define _ERROR_KEY               0x6c#define _REC_MODE_KEY		 0x6d#define _REC_REP_KEY		 0x6e#define _REC_RECODER_KEY	 0x6f#define _REC_PLAY_KEY		 0x70#define _SCORE_KEY		 0x71	#endif BAOAN49_REMOTE#define _DISPLAY_KEY             _SCREEN_ON_KEY#if defined(NEW_ESS_REMOTE) || defined(ESS_REMOTE) || defined(SAST_REMOTE)#define _DIGEST_KEY              0x0b#define _AUDIOMODE_KEY           0x13#define _OSD_KEY                 0x26#define _SETAB_KEY               0x58#endif#define _RESET_KEY               0x72#ifdef IR_GAMEPAD#define _START_KEY               0x73#define _EXIT_KEY                0x74#define _RIGHT_LOW_KEY           0x75#define _LEFT_LOW_KEY            0x76#define _RIGHT_MID_KEY           0x77#define _LEFT_MID_KEY            0x78#define _RIGHR_TOP_KEY           0x79#define _LEFT_TOP_KEY            0x7a#endif IR_GAMEPAD#ifdef FREEZE_MODE#define _FREEZE_KEY		0x7b#endif/*************************************************************** All "play" keys are started with 0xff00***************************************************************/#define PLAYKEY(x)		(0xff00 | x)/* definitions for keys */#define NO_KEY                  (_NO_KEY)/*************************************************************** NOTE :* If the keys are in the switch statement, the definition*    values be small, so the jump table will be smaller.***************************************************************/#define KEY_PLUS		PLAYKEY(_KEY_PLUS)#define KEY_MINUS               PLAYKEY(_KEY_MINUS)        #define KEY_RESUME_KEY          PLAYKEY(_KEY_RESUME_KEY)   #define ECHO_PLUS               PLAYKEY(_ECHO_PLUS)        #define ECHO_MINUS              PLAYKEY(_ECHO_MINUS)       #define SURROUND_KEY            PLAYKEY(_SURROUND_KEY)     #define VOCAL_ASSIST_KEY        PLAYKEY(_VOCAL_ASSIST_KEY) #define REPEAT_KEY              PLAYKEY(_REPEAT_KEY)       #define PBC_KEY                 PLAYKEY(_PBC_KEY)          #define TIME_KEY                PLAYKEY(_TIME_KEY)         #define SCREEN_ON_KEY           PLAYKEY(_SCREEN_ON_KEY)    #define RESUME_KEY              PLAYKEY(_RESUME_KEY)       #define MUTE_KEY	 	PLAYKEY(_MUTE_KEY)	 #define VOLUME_UP_KEY	 	PLAYKEY(_VOLUME_UP_KEY)	 #define VOLUME_DOWN_KEY	 	PLAYKEY(_VOLUME_DOWN_KEY)	 #define CLEAR_KEY               PLAYKEY(_CLEAR_KEY)        #define PROGRAM_KEY             PLAYKEY(_PROGRAM_KEY)      #define SHUFFLE_KEY             PLAYKEY(_SHUFFLE_KEY)      #define INTRO_KEY	 	PLAYKEY(_INTRO_KEY)	 #define MODE_KEY                PLAYKEY(_MODE_KEY)         #define PLAY_KEY                PLAYKEY(_PLAY_KEY)         #define STOP_KEY                PLAYKEY(_STOP_KEY)         #define GOTO_KEY                PLAYKEY(_GOTO_KEY)         							  #define FB_KEY                  PLAYKEY(_FB_KEY)           #define FF_KEY                  PLAYKEY(_FF_KEY)           #define PAUSE_KEY               PLAYKEY(_PAUSE_KEY)        #define SLOW_KEY                PLAYKEY(_SLOW_KEY)         #define STEP_KEY                PLAYKEY(_STEP_KEY)         #define ADVANCE_KEY             PLAYKEY(_ADVANCE_KEY)      #define INDEX_MINUS_KEY         PLAYKEY(_INDEX_MINUS_KEY)  #define INDEX_PLUS_KEY          PLAYKEY(_INDEX_PLUS_KEY)   #define SET_A_KEY               PLAYKEY(_SET_A_KEY)        #define SET_B_KEY               PLAYKEY(_SET_B_KEY)        #ifdef SCENE#define SCENE_KEY		PLAYKEY(_SCENE_KEY)#endif#ifdef BAOAN49_REMOTE#define REC_MODE_KEY            PLAYKEY(_REC_MODE_KEY)#define REC_REP_KEY		PLAYKEY(_REC_REP_KEY)#define REC_PLAY_KEY		PLAYKEY(_REC_PLAY_KEY)#define REC_RECODER_KEY		PLAYKEY(_REC_RECODER_KEY)#define SCORE_KEY               PLAYKEY(_SCORE_KEY)#define ERROR_KEY		PLAYKEY(_ERROR_KEY)#endif BAOAN49_REMOTE#ifdef HOST_SLAVE#define AUDIO_MODE_KEY		PLAYKEY(_AUDIO_MODE_KEY)#endif/* KEYS are not in the switch statements. */#define DEFAULT_KEY		PLAYKEY(_DEFAULT_KEY)                  #define TRACK_SCAN_KEY		PLAYKEY(_TRACK_SCAN_KEY)	#define DISC_SCAN_KEY		PLAYKEY(_DISC_SCAN_KEY)	#define ROTATE_CLOCK_KEY	PLAYKEY(_ROTATE_CLOCK_KEY)             #define ROTATE_ANTI_CLOCK_KEY   PLAYKEY(_ROTATE_ANTI_CLOCK_KEY)#define FIRST_DISC_KEY		PLAYKEY(_FIRST_DISC_KEY)	     #define SECOND_DISC_KEY		PLAYKEY(_SECOND_DISC_KEY)	     #define THIRD_DISC_KEY		PLAYKEY(_THIRD_DISC_KEY)	     #define BOOK_MARK_KEY		PLAYKEY(_BOOK_MARK_KEY)	     #define OSD_LANGUAGE_KEY	PLAYKEY(_OSD_LANGUAGE_KEY)     #define POWER_KEY               PLAYKEY(_POWER_KEY)            #define EJECT_KEY               PLAYKEY(_EJECT_KEY)            #define PREVIOUS_KEY            PLAYKEY(_PREVIOUS_KEY)         #define NEXT_KEY                PLAYKEY(_NEXT_KEY)#define RETURN_KEY		PLAYKEY(_RETURN_KEY)							#define ZOOM_IN_KEY		PLAYKEY(_ZOOM_IN_KEY)	#define ZOOM_OUT_KEY		PLAYKEY(_ZOOM_OUT_KEY)	#define ZOOM_UP_KEY		PLAYKEY(_ZOOM_UP_KEY)	#define ZOOM_LEFT_KEY		PLAYKEY(_ZOOM_LEFT_KEY)	#define ZOOM_RIGHT_KEY		PLAYKEY(_ZOOM_RIGHT_KEY)	#define ZOOM_DOWN_KEY		PLAYKEY(_ZOOM_DOWN_KEY)	#define TV_MODE_KEY		PLAYKEY(_TV_MODE_KEY)	#define DISPLAY_KEY             SCREEN_ON_KEY#if defined(NEW_ESS_REMOTE) || defined(ESS_REMOTE) || defined(SAST_REMOTE)#define DIGEST_KEY              PLAYKEY(_DIGEST_KEY)#define AUDIOMODE_KEY           PLAYKEY(_AUDIOMODE_KEY)#define OSD_KEY                 PLAYKEY(_OSD_KEY)#define SETAB_KEY               PLAYKEY(_SETAB_KEY)#endif#define RESET_KEY               PLAYKEY(_RESET_KEY)#ifdef IR_GAMEPAD#define START_KEY               PLAYKEY(_START_KEY)    #define EXIT_KEY                PLAYKEY(_EXIT_KEY)#define RIGHT_LOW_KEY           PLAYKEY(_RIGHT_LOW_KEY)#define LEFT_LOW_KEY            PLAYKEY(_LEFT_LOW_KEY) #define RIGHT_MID_KEY           PLAYKEY(_RIGHT_MID_KEY)#define LEFT_MID_KEY            PLAYKEY(_LEFT_MID_KEY) #define RIGHR_TOP_KEY           PLAYKEY(_RIGHR_TOP_KEY)#define LEFT_TOP_KEY            PLAYKEY(_LEFT_TOP_KEY)#endif IR_GAMEPAD#ifdef FREEZE_MODE#define FREEZE_KEY		PLAYKEY(_FREEZE_KEY)#endif#endif __KEYDEF_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -