irnp_map.h 814 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __IRNP_MAP_H__
  2. #define __IRNP_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 IRNP_POWERON_KEY_NUM 0x03 // must same with power on key number up to 14 keys
  18. #define IRNP_POWERON_KEY \
  19. {IRNP_POWERON_KEY_NUM, {0x00FF0051, 0x00FF00BB, 0x00FF00BD}},
  20. extern void IRNP_EventConvert(unsigned int *pbEvent);
  21. UINT8 IRNP_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event);
  22. #endif
  23. #endif