SDL and GTk: keycodes differents


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

Thanks a lot


Guillaume Desmottes <@Guillaume_Desmottes>
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169 E28A AC55 8671 711E 31B1

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.