notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix deadlock on list seek
[libpicofe.git]
/
linux
/
in_evdev.c
diff --git
a/linux/in_evdev.c
b/linux/in_evdev.c
index
b447da1
..
fed27f7
100644
(file)
--- a/
linux/in_evdev.c
+++ b/
linux/in_evdev.c
@@
-1,10
+1,11
@@
/*
/*
- * (C) Gražvydas "notaz" Ignotas, 2008-201
0
+ * (C) Gražvydas "notaz" Ignotas, 2008-201
2
*
* This work is licensed under the terms of any of these licenses
* (at your option):
* - GNU GPL, version 2 or later.
* - GNU LGPL, version 2.1 or later.
*
* This work is licensed under the terms of any of these licenses
* (at your option):
* - GNU GPL, version 2 or later.
* - GNU LGPL, version 2.1 or later.
+ * - MAME license.
* See the COPYING file in the top-level directory.
*/
* See the COPYING file in the top-level directory.
*/
@@
-19,7
+20,7
@@
#include <linux/input.h>
#include <errno.h>
#include <linux/input.h>
#include <errno.h>
-#include "../
common/
input.h"
+#include "../input.h"
#include "in_evdev.h"
#define MAX_ABS_DEVS 8
#include "in_evdev.h"
#define MAX_ABS_DEVS 8
@@
-60,7
+61,7
@@
int in_evdev_allow_abs_only;
#define IN_EVDEV_PREFIX "evdev:"
static const char * const in_evdev_keys[KEY_CNT] = {
#define IN_EVDEV_PREFIX "evdev:"
static const char * const in_evdev_keys[KEY_CNT] = {
- [0 ... KEY_MAX] = NULL,
+ // [0 ... KEY_MAX] = NULL, // not necessary
[KEY_RESERVED] = "Reserved", [KEY_ESC] = "Esc",
[KEY_1] = "1", [KEY_2] = "2",
[KEY_3] = "3", [KEY_4] = "4",
[KEY_RESERVED] = "Reserved", [KEY_ESC] = "Esc",
[KEY_1] = "1", [KEY_2] = "2",
[KEY_3] = "3", [KEY_4] = "4",