irnec007f_map.h 588 B

123456789101112131415161718192021
  1. #ifndef __IRNEC007F_MAP_H__
  2. #define __IRNEC007F_MAP_H__
  3. #ifndef _DRIVER_INCLUDE
  4. #include "umf_ir.h"
  5. #endif
  6. // ------------------------------------------------------------------------
  7. #ifndef IR_PROTOCOL_NEC
  8. #define IR_PROTOCOL_NEC
  9. #endif
  10. #ifndef _DRIVER_INCLUDE
  11. #define IRNEC007F_POWERON_KEY_NUM 0x01 // must same with power on key number up to 14 keys
  12. #define IRNEC007F_POWERON_KEY \
  13. {IRNEC007F_POWERON_KEY_NUM, {0x007F000A}},
  14. extern void IRNEC007F_EventConvert(unsigned int *pbEvent);
  15. UINT8 IRNEC007F_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event);
  16. #endif
  17. #endif