Key-Events from XInput-Devices



Hi all.

I am currently building support for the Menu-bar of Intuos Tablets.
However, there is a small problem (Gtk-1.2.10):

You can configure the Key-Events from XInput-devices to keypresses
via the Gtk-Inputdevices-Dialog. This is convenient, but has a small
(intentional? necessary? unwanted?) inconveniency:

The Key only gets detected when the corepointer is in a widget
that gets the extended events. This has the effect, that for example
in Gimp the shortcuts of the menubar only work, when the pointer is
in the image itself. If it is outside the image-window or over the
ruler-widgets the Keypress will not reach the application.

Keeping the pointer in the image is hard, since you have to lift the
pen highly up in the air (so that the tablet does not detect the motion
toward the menubar) and then move the pen as exactly as possible to
the desired menubutton.

Is there an easy way to handle these Key-Events exactly as regular
keyboard-events?

Thanks,
        Simon
-- 
      Simon Budig unix-ag org       http://www.home.unix-ag.org/simon/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]