#ifndef __IRTPVAOCNEC_MAP_H__ #define __IRTPVAOCNEC_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 IRTPVAOCNEC_POWERON_KEY_NUM 0x02 // must same with power on key number up to 14 keys #define IRTPVAOCNEC_POWERON_KEY \ {IRTPVAOCNEC_POWERON_KEY_NUM, {0x00bd0001,0x00bd0008}}, extern void IRTPVAOCNEC_EventConvert(unsigned int *pbEvent); UINT8 IRTPVAOCNEC_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event); #endif #endif