evdev: Use new xkbcommon include path
[profile/ivi/clutter.git] / clutter / evdev / clutter-xkb-utils.h
1 /*
2  * Clutter.
3  *
4  * An OpenGL based 'interactive canvas' library.
5  *
6  * Copyright (C) 2010  Intel Corporation.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20
21  * Authors:
22  *  Damien Lespiau <damien.lespiau@intel.com>
23  */
24
25 #ifndef __CLUTTER_XKB_UTILS_H__
26 #define __CLUTTER_XKB_UTILS_H__
27
28 #include <xkbcommon/xkbcommon.h>
29
30 #include "clutter-stage.h"
31 #include "clutter-event.h"
32 #include "clutter-input-device.h"
33
34 ClutterEvent *    _clutter_key_event_new_from_evdev (ClutterInputDevice *device,
35                                                      ClutterStage       *stage,
36                                                      struct xkb_desc    *xkb,
37                                                      uint32_t            _time,
38                                                      uint32_t            key,
39                                                      uint32_t            state,
40                                                      uint32_t           *modifier_state);
41 struct xkb_desc * _clutter_xkb_desc_new             (const gchar *model,
42                                                      const gchar *layout,
43                                                      const gchar *variant,
44                                                      const gchar *options);
45
46 #endif /* __CLUTTER_XKB_UTILS_H__ */