irtpvfactorynec_map.h 826 B

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