Am Dienstag, 7. Mai 2013, 08:28:44 schrieben Sie:
> On Mon, May 06, 2013 at 07:28:41PM +0200, Alexander Maret-Huskinson wrote:
> > It seems, on Ubuntu, there is no reliable way to convert keys to a symbol
> > which will be accepted by xsetwacom. How did you solve this problem with
> > the Gnome configuration module? I would really like to find a solution so
> > our KDE KCM can set all keys without manual intervention.
>
> have a look at
> https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/wacom/gsd-wa
> com-manager.c
>
> g-s-d doesn't use the driver property (it only resets it to default), it
> grabs the button instead. filter_button_events() is called for those events
> and in turns calls generate_key().
>
> the main translation work here is in gdk_keymap_get_entries_for_keyval().
>
Thanks a lot. I'll have a look at that code.
Greetings,
Alex
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel