]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4con/include/l4con_ev.h
update
[l4.git] / l4 / pkg / l4con / include / l4con_ev.h
1 /**
2  * \file        l4con/include/l4con_ev.h
3  * \brief       console protocol definitions - input event part
4  *
5  * \date        2001
6  * \author      Christian Helmuth <ch12@os.inf.tu-dresden.de>
7  *
8  * These macros are used as parameters for the IDL functions. */
9 /*
10  * (c) 2009 Author(s)
11  *     economic rights: Technische Universität Dresden (Germany)
12  *
13  * This file is part of TUD:OS and distributed under the terms of the
14  * GNU General Public License 2.
15  * Please see the COPYING-GPL-2 file for details.
16  */
17
18 #ifndef _L4CON_L4CON_EV_H
19 #define _L4CON_L4CON_EV_H
20
21 #include <l4/sys/linkage.h>
22 #include <l4/sys/types.h>
23
24 /* we use the original 'libinput' event definitions */
25 /* except: */
26
27 /** Event type */
28 #define EV_CON          0x10
29
30 /** EV_CON event codes */
31 #define EV_CON_RESERVED    0            /**< invalid request */
32 #define EV_CON_REDRAW      1            /**< requests client redraw */
33 #define EV_CON_BACKGROUND  2            /**< tells client that it looses
34                                              the framebuffer */
35
36 __BEGIN_DECLS
37
38 L4_CV int l4con_map_keyinput_to_ascii(unsigned value, unsigned shift);
39
40 __END_DECLS
41
42 #endif