Tabs to spaces; more consistent formatting.
[AROS.git] / rom / devs / console / rawkeyconvert.c
blob5b3b778f98dd3abbe2e23f7e7bee9378db102c0a
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: console.device function RawKeyConvert()
6 Lang: english
7 */
9 #include <exec/libraries.h>
10 #include <devices/inputevent.h>
11 #include <devices/keymap.h>
12 #include <proto/console.h>
15 /*****************************************************************************
17 NAME */
18 #include <devices/keymap.h>
19 #include <proto/console.h>
20 #include <proto/keymap.h>
21 #include "console_gcc.h"
23 AROS_LH4(LONG, RawKeyConvert,
25 /* SYNOPSIS */
26 AROS_LHA(struct InputEvent *, events, A0),
27 AROS_LHA(STRPTR, buffer, A1),
28 AROS_LHA(LONG, length, D1), AROS_LHA(struct KeyMap *, keyMap, A2),
30 /* LOCATION */
31 struct Library *, ConsoleDevice, 8, Console)
33 /* FUNCTION
35 INPUTS
37 RESULT
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 return MapRawKey(events, buffer, length, keyMap);
55 AROS_LIBFUNC_EXIT
56 } /* RawKeyConvert */