#ifndef __IRTOPFORMAL20DF_MAP_H__ #define __IRTOPFORMAL20DF_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 IRTOPFORMAL20DF_POWERON_KEY_NUM 0x03 // must same with power on key number up to 14 keys #define IRTOPFORMAL20DF_POWERON_KEY \ {IRTOPFORMAL20DF_POWERON_KEY_NUM, {0x20DF000b, 0x20DF0055, 0x20DF005a}}, extern const IRKeymap_t dIRTOPFORMAL20DF_map[]; extern void IRTOPFORMAL20DF_EventConvert(unsigned int *pbEvent); UINT8 IRTOPFORMAL20DF_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event); #endif #endif