1234567891011121314151617181920212223242526272829 |
- #ifndef __IRK2_MAP_H__
- #define __IRK2_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 IRK2_POWERON_KEY_NUM 0x03 // must same with power on key number up to 14 keys
- #define IRK2_POWERON_KEY \
- {IRK2_POWERON_KEY_NUM, {0x20df0052, 0x20df0002, 0x20df0009}},
- extern void IRK2_EventConvert(unsigned int *pbEvent);
- UINT8 IRK2_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event);
- #endif
- #endif
|