home *** CD-ROM | disk | FTP | other *** search
/ MACD 4 / MACD4.iso / Emulatory / AROS / devs / rawkeyconvert.c < prev    next >
Encoding:
C/C++ Source or Header  |  1978-03-06  |  1.6 KB  |  74 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: rawkeyconvert.c,v 1.3 1996/11/08 11:27:54 aros Exp $
  4.     $Log: rawkeyconvert.c,v $
  5.     Revision 1.3  1996/11/08 11:27:54  aros
  6.     All OS function use now Amiga types
  7.  
  8.     Moved intuition-driver protos to intuition_intern.h
  9.  
  10.     Revision 1.2  1996/10/24 15:50:22  aros
  11.     Use the official AROS macros over the __AROS versions.
  12.  
  13.     Revision 1.1  1996/08/23 17:32:24  digulla
  14.     Implementation of the console.device
  15.  
  16.  
  17.     Desc:
  18.     Lang: english
  19. */
  20. #include <exec/libraries.h>
  21. #include <devices/inputevent.h>
  22. #include <devices/keymap.h>
  23.  
  24. extern LONG intui_RawKeyConvert (struct InputEvent *, STRPTR, LONG,
  25.                 struct KeyMap *);
  26.  
  27. /*****************************************************************************
  28.  
  29.     NAME */
  30.     #include <devices/inputevent.h>
  31.     #include <devices/keymap.h>
  32.     #include <clib/console_protos.h>
  33.  
  34.     AROS_LH4(LONG, RawKeyConvert,
  35.  
  36. /*  SYNOPSIS */
  37.     AROS_LHA(struct InputEvent *, events, A0),
  38.     AROS_LHA(STRPTR             , buffer, A1),
  39.     AROS_LHA(LONG               , length, D1),
  40.     AROS_LHA(struct KeyMap     *, keyMap, A2),
  41.  
  42. /*  LOCATION */
  43.     struct Library *, ConsoleDevice, 8, Console)
  44.  
  45. /*  FUNCTION
  46.  
  47.     INPUTS
  48.  
  49.     RESULT
  50.  
  51.     NOTES
  52.  
  53.     EXAMPLE
  54.  
  55.     BUGS
  56.  
  57.     SEE ALSO
  58.  
  59.     INTERNALS
  60.  
  61.     HISTORY
  62.     29-10-95    digulla automatically created from
  63.  
  64.  
  65. *****************************************************************************/
  66. {
  67.     AROS_LIBFUNC_INIT
  68.     AROS_LIBBASE_EXT_DECL(struct Library *,ConsoleDevice)
  69.  
  70.     return intui_RawKeyConvert (events, buffer, length, keyMap);
  71.  
  72.     AROS_LIBFUNC_EXIT
  73. } /* RawKeyConvert */
  74.