X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=linux%2Fin_evdev.c;h=fed27f778902649b0edf7170b1ae0e4e9d31e42b;hb=ec90b021373a7f9dd02c593f656eddc2b36b5252;hp=b447da16f08fb8154ae6315d39e76af8b7cfdcd6;hpb=dd1e7172862c6e1f7f1c84c37c7800a783fbb73c;p=libpicofe.git diff --git a/linux/in_evdev.c b/linux/in_evdev.c index b447da1..fed27f7 100644 --- a/linux/in_evdev.c +++ b/linux/in_evdev.c @@ -1,10 +1,11 @@ /* - * (C) Gražvydas "notaz" Ignotas, 2008-2010 + * (C) Gražvydas "notaz" Ignotas, 2008-2012 * * 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. */ @@ -19,7 +20,7 @@ #include #include -#include "../common/input.h" +#include "../input.h" #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] = { - [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",