GNOME Bugzilla – Bug 734618
Allow drawing keys with invalid keycodes
Last modified: 2016-01-21 20:37:17 UTC
Created attachment 283105 [details] [review] libgnomekbd/gkbd-keyboard-drawing.c: draw keys with invalid keycodes Some keys like the function key "FN" are described in geometry files but they have no keycode associated to them. You can find such keys in the thinkpad and in the hhk geometry files. Right now these keys are not drawn which at first made me think to an error in the geometry file I was hacking on, instead it was just gkbd-keyboard-drawing.c skipping keys with invalid keycodes. Let's still draw the shapes of these keys with invalid keycodes anyway, and just skip looking for the labels as the label is derived from the keycode.
ping
Looks sane, thank you!