irnec00bf_map.h 849 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __IRNEC00BF_MAP_H__
  2. #define __IRNEC00BF_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 IRNEC00BF_POWERON_KEY_NUM 0x03 // must same with power on key number up to 14 keys
  18. #define IRNEC00BF_POWERON_KEY \
  19. {IRNEC00BF_POWERON_KEY_NUM, {0x00BF0000, 0x00BF004A, 0x00BF004B}},
  20. extern void IRNEC00BF_EventConvert(unsigned int *pbEvent);
  21. UINT8 IRNEC00BF_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event);
  22. #endif
  23. #endif