ircn31661_map.h 824 B

12345678910111213141516171819202122232425262728
  1. #ifndef __IRCN31661_MAP_H__
  2. #define __IRCN31661_MAP_H__
  3. #ifndef _DRIVER_INCLUDE
  4. #include "umf_ir.h"
  5. #endif
  6. //#include "types.h"
  7. /*******************************************************************************
  8. * struct
  9. ******************************************************************************/
  10. // ------------------------------------------------------------------------
  11. #ifndef CONFIG_SUPPORT_IR_FAC_REMOTE
  12. #ifndef IR_PROTOCOL_NEC
  13. #define IR_PROTOCOL_NEC
  14. #endif
  15. #endif
  16. #ifndef _DRIVER_INCLUDE
  17. #define IRCN31661_POWERON_KEY_NUM 0x01 // must same with power on key number up to 14 keys
  18. #define IRCN31661_POWERON_KEY \
  19. {IRCN31661_POWERON_KEY_NUM, {0x00bf000d}},
  20. extern void IRCN31661_EventConvert(unsigned int *pbEvent);
  21. UINT8 IRCN31661_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event);
  22. #endif
  23. #endif