From 1209fb5d652cdf8da8de0948ed6cd5057972b039 Mon Sep 17 00:00:00 2001 From: Simon Budig Date: Wed, 16 Jun 2004 19:59:34 +0000 Subject: [PATCH] removed BTN_MISC, since it is the same as BTN_0 in the input.h header 2004-06-16 Simon Budig * modules/controller_linux_input.c: removed BTN_MISC, since it is the same as BTN_0 in the input.h header file. --- ChangeLog | 5 +++++ modules/controller_linux_input.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a247aaf56e..f4ca64cd1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-16 Simon Budig + + * modules/controller_linux_input.c: removed BTN_MISC, + since it is the same as BTN_0 in the input.h header file. + 2004-06-16 Michael Natterer * libgimpwidgets/gimpcontroller.c (gimp_controller_get_event_name) diff --git a/modules/controller_linux_input.c b/modules/controller_linux_input.c index a7e867fd5a..b37838546a 100644 --- a/modules/controller_linux_input.c +++ b/modules/controller_linux_input.c @@ -49,7 +49,6 @@ typedef struct static const LinuxInputEvent key_events[] = { - { BTN_MISC, "button-misc", N_("Button Misc") }, { BTN_0, "button-0", N_("Button 0") }, { BTN_1, "button-1", N_("Button 1") }, { BTN_2, "button-2", N_("Button 2") }, @@ -277,7 +276,7 @@ linux_input_get_n_events (GimpController *controller) static const gchar * linux_input_get_event_name (GimpController *controller, - gint event_id) + gint event_id) { if (event_id < 0) {