enable dial-events for e.g. the powermate. Fixed typo.
2004-06-16 Simon Budig <simon@gimp.org> * modules/controller_linux_input.c: enable dial-events for e.g. the powermate. Fixed typo.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-06-16 Simon Budig <simon@gimp.org>
|
||||||
|
|
||||||
|
* modules/controller_linux_input.c: enable dial-events for
|
||||||
|
e.g. the powermate. Fixed typo.
|
||||||
|
|
||||||
2004-06-16 Sven Neumann <sven@gimp.org>
|
2004-06-16 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* menus/image-menu.xml.in: added missing menu entries (bug #144449).
|
* menus/image-menu.xml.in: added missing menu entries (bug #144449).
|
||||||
|
@ -133,7 +133,9 @@ static const LinuxInputEvent input_events[] =
|
|||||||
{ EV_KEY, BTN_RIGHT, "button-right", N_("Button Right") },
|
{ EV_KEY, BTN_RIGHT, "button-right", N_("Button Right") },
|
||||||
{ EV_KEY, BTN_MIDDLE, "button-middle", N_("Button Middle") },
|
{ EV_KEY, BTN_MIDDLE, "button-middle", N_("Button Middle") },
|
||||||
{ EV_REL, REL_WHEEL, "wheel-turn-left", N_("Wheel Turn Left") },
|
{ EV_REL, REL_WHEEL, "wheel-turn-left", N_("Wheel Turn Left") },
|
||||||
{ EV_REL, REL_WHEEL, "wheel-rurn-right", N_("Wheel Turn Right") },
|
{ EV_REL, REL_WHEEL, "wheel-turn-right", N_("Wheel Turn Right") },
|
||||||
|
{ EV_REL, REL_DIAL, "dial-turn-left", N_("Dial Turn Left") },
|
||||||
|
{ EV_REL, REL_DIAL, "dial-turn-right", N_("Dial Turn Right") },
|
||||||
};
|
};
|
||||||
|
|
||||||
static GType controller_type = 0;
|
static GType controller_type = 0;
|
||||||
@ -351,7 +353,7 @@ linux_input_read_event (GIOChannel *io,
|
|||||||
cevent.any.event_id = i;
|
cevent.any.event_id = i;
|
||||||
|
|
||||||
/* EEEEEEK */
|
/* EEEEEEK */
|
||||||
if (ev.code == REL_WHEEL)
|
if (ev.code == REL_WHEEL || ev.code == REL_DIAL)
|
||||||
{
|
{
|
||||||
gint count;
|
gint count;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user