SDL and GTk: keycodes differents

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

 



Hi!

I'm making a GTK interface for a SDL program (GnomeBoyAdvance [1]).
I get keycodes with GTK to configure the keys binding.
The problem is that the GTK and SDL keycodes seem to be differents for a
lot of keys. For exemple the directional arrows, numpad, ...
I'm searching a way (a rules?) to convert GTK keycodes to SDL ones.

I'm using pygame and pygtk but I don't think that that made a
difference.

Thanks a lot

	Guillaume

[1] http://developer.berlios.de/projects/gnomeboyadvance/

-- 
Guillaume Desmottes <cass@xxxxxxxxx>
Jabber <cassidy@xxxxxxxxxxxxxxxx>
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux