home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / fd2inline-1.0-bin.lha / include / inline / console.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-12  |  623 b   |  21 lines

  1. #ifndef _INLINE_CONSOLE_H
  2. #define _INLINE_CONSOLE_H
  3.  
  4. #ifndef __INLINE_MACROS_H
  5. #include <inline/macros.h>
  6. #endif
  7.  
  8. #ifndef CONSOLE_BASE_NAME
  9. #define CONSOLE_BASE_NAME ConsoleDevice
  10. #endif
  11.  
  12. #define CDInputHandler(events, consoleDevice) \
  13.     LP2(0x2a, struct InputEvent *, CDInputHandler, struct InputEvent *, events, a0, struct Library *, consoleDevice, a1, \
  14.     , CONSOLE_BASE_NAME)
  15.  
  16. #define RawKeyConvert(events, buffer, length, keyMap) \
  17.     LP4(0x30, LONG, RawKeyConvert, struct InputEvent *, events, a0, STRPTR, buffer, a1, long, length, d1, struct KeyMap *, keyMap, a2, \
  18.     , CONSOLE_BASE_NAME)
  19.  
  20. #endif /* _INLINE_CONSOLE_H */
  21.