irm4db2_map.h 811 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __IRM4DB2_MAP_H__
  2. #define __IRM4DB2_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 IRM4DB2_POWERON_KEY_NUM 0x01 // must same with power on key number up to 14 keys
  18. #define IRM4DB2_POWERON_KEY \
  19. {IRM4DB2_POWERON_KEY_NUM, {0xB24D00DC}},
  20. extern void IRM4DB2_EventConvert(unsigned int *pbEvent);
  21. UINT8 IRM4DB2_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event);
  22. #endif
  23. #endif