irtsb1818_map.h 813 B

123456789101112131415161718192021222324252627
  1. #ifndef __IRTSB1818_MAP_H__
  2. #define __IRTSB1818_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_TOSHIBA
  12. #define IR_PROTOCOL_TOSHIBA
  13. #endif
  14. #ifndef _DRIVER_INCLUDE
  15. #define IRTSB1818_POWERON_KEY_NUM 0x03 // must same with power on key number up to 14 keys
  16. #define IRTSB1818_POWERON_KEY \
  17. {IRTSB1818_POWERON_KEY_NUM, {0x1818000b, 0x18180019, 0x18180018}},
  18. extern void IRTSB1818_EventConvert(unsigned int *pbEvent);
  19. UINT8 IRTSB1818_GetKeyCodeEvent(UINT32 cid, UINT8 u8Keycode, UINT32 * u32Event);
  20. #endif
  21. #endif