SDL and GTk: keycodes differents



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 skynet be>
Jabber <cassidy playgroup ath cx>
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?=



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