#ifndef __IR501_MAP_H__ #define __IR501_MAP_H__ #ifndef _DRIVER_INCLUDE #include "umf_ir.h" #endif //#include "types.h" /******************************************************************************* * struct ******************************************************************************/ // ------------------------------------------------------------------------ #ifndef CONFIG_SUPPORT_IR_FAC_REMOTE #ifndef IR_PROTOCOL_NEC #define IR_PROTOCOL_NEC #endif #endif #ifndef _DRIVER_INCLUDE #define IR501_POWERON_KEY_NUM 0x03 // must same with power on key number up to 14 keys #define IR501_POWERON_KEY \ {IR501_POWERON_KEY_NUM, {0x649b0050, 0x649b001c, 0x649b001d}}, extern void IR501_EventConvert(unsigned int *pbEvent); UINT8 IR501_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event); #endif #endif