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

📄 ir.h

📁 M3355的源代码
💻 H
字号:
/*====================================================================
 *
 *  Copyright (C) 1997 Acer Labs, Inc.  All Rights Reserved.
 *                  
 *  File:   ir.h  
 *                                           
 *  Contents:   IR_IRQ header file
 *           
 *  History:
 *   Date           By			Reason
 *  ===========		=========   ======
 *  05-May-1999		Wang
 *  22-Apr-2001		Dick Ma     Reform
 *  23-Aug-2001		Tom gao		Modify and Add it to M3325
 ********************************************************************/

/* Customer define the special remote controler key_code map to Ali physical_key_code here */
#include <platform.h>

#if (_IR==73)
	#include "./ir/key_TL.h"/* Use old XTL for QA  */
#elif (_IR==74)
	#include "./ir/key_ALISH.h"/* IR for ALi SH R&D */
#elif (_IR==77)
    #include "./ir/key_ali.h"
#elif (_IR==78)
    #include "./ir/ir_hqk2004.h"//20030731 Tom Yang
//    #include "./ir/key_kxd2n.h"//20030731 Tom Yang
    //#include "./ir/longterm_1000.h"//20030731 Tom Yang
#elif (_IR==CYP_IR)/* for besthill */
    #include "./ir/key_emerson.h"
#elif (_IR==ALi_55_LG_IR)/* for lg */
    #include "./ir/key_lg.h"
#elif (_IR==KENWOOD_IR)/* for lg */
    #include "./ir/key_kenwood.h"
#endif


/* Customer define the special remote controler key_code map to Ali physical_key_code here */

#define Start_CNT_Hi_Band (324+40)
#define Start_CNT_Low_Band (324-40)
#define Repeat_CNT_Hi_Band (270+30)
#define Repeat_CNT_Low_Band (270-30)
#define _1_CNT_Hi_Band (54+20)
#define _1_CNT_Low_Band (54-13)
#define _0_CNT_Hi_Band (27+13)
#define _0_CNT_Low_Band (27-20)

#define IR_Shift_Key		0x20/* 0x10*/
#define IR_Shift_Mode		0
#define CPU_TO_SLEEP		80
#define CPU_WAKE_UP			90

⌨️ 快捷键说明

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