removed BTN_MISC, since it is the same as BTN_0 in the input.h header

2004-06-16  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: removed BTN_MISC,
	since it is the same as BTN_0 in the input.h header file.
This commit is contained in:
Simon Budig 2004-06-16 19:59:34 +00:00 committed by Simon Budig
parent 004a9572cf
commit 1209fb5d65
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-06-16 Simon Budig <simon@gimp.org>
* 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 <mitch@gimp.org>
* libgimpwidgets/gimpcontroller.c (gimp_controller_get_event_name)

View File

@ -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)
{