irout.h
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
源码类别:

DVD

开发平台:

C/C++

  1. #ifndef __IROUT_H
  2. #define __IROUT_H
  3. void reset_irout(void);
  4. void send_irout(int data);
  5. #include "ircode.h"
  6. #define IRO_PLAY IRC_PLAY
  7. #define IRO_TRAYINOUT 8
  8. #define IRO_BROWSE 32
  9. #define IRO_PAUSE IRC_PLAY /* 0x28 PLAY/PAUSE */
  10. #define IRO_NEXT IRC_FORWARD /* 0x58 */
  11. #define IRO_PREV IRC_BACKWARD /* 0x70 */
  12. #define IRO_1 IRC_1 /* ...guess... */
  13. #define IRO_2 IRC_2 /* ...guess... */
  14. #define IRO_3 IRC_3 /* ...guess... */
  15. #define IRO_4 IRC_4 /* ...guess... */
  16. #define IRO_5 IRC_5 /* ...guess... */
  17. #define IRO_6 IRC_6 /* ...guess... */
  18. #define IRO_7 IRC_7 /* ...guess... */
  19. #define IRO_8 IRC_8 /* ...guess... */
  20. #define IRO_9 IRC_9 /* ...guess... */
  21. #define IRO_10 IRC_10 /* ...guess... */
  22. #define IRO_P10 IRC_P10 /* 0x68 */
  23. #define irout_trayinout() send_irout(IRO_TRAYINOUT)
  24. #define irout_pause() send_irout(IRO_PAUSE)
  25. #define irout_next() send_irout(IRO_NEXT)
  26. #endif/*__IROUT_H*/