c6493885c3
This backend is a event backend that can be enabled for EGL (for now). It uses udev (gudev) to query input devices on a linux system, listens to keyboard events from input devices and xkbcommon to translate raw key codes into key keysyms. This commit only supports key events, more to follow.
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/*
|
|
* Clutter.
|
|
*
|
|
* An OpenGL based 'interactive canvas' library.
|
|
*
|
|
* Copyright (C) 2010 Intel Corp.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* Author: Damien Lespiau <damien.lespiau@intel.com>
|
|
*/
|
|
|
|
#ifndef __CLUTTER_EVENT_EVDEV_H__
|
|
#define __CLUTTER_EVENT_EVDEV_H__
|
|
|
|
#include <glib.h>
|
|
|
|
#include <clutter/clutter-backend.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void _clutter_events_evdev_init (ClutterBackend *backend);
|
|
void _clutter_events_evdev_uninit (ClutterBackend *backend);
|
|
|
|
#endif /* __CLUTTER_EVENT_EVDEV_H__ */
|