#ifndef __IRAOC_MAP_H__ #define __IRAOC_MAP_H__ #ifndef _DRIVER_INCLUDE #include "umf_ir.h" #endif //#include "types.h" /******************************************************************************* * struct ******************************************************************************/ // ------------------------------------------------------------------------ #ifndef IR_PROTOCOL_NEC #define IR_PROTOCOL_NEC #endif #ifndef _DRIVER_INCLUDE #define IRAOC_POWERON_KEY_NUM 0x02 // must same with power on key number up to 14 keys #define IRAOC_POWERON_KEY \ {IRAOC_POWERON_KEY_NUM, {0x00bd0001,0x00bd0008}}, extern void IRAOC_EventConvert(unsigned int *pbEvent); UINT8 IRAOC_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event); #endif #endif