Re: [Freeciv-Dev] GTK client on laptop: no keyboard movm't (PR#53)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
>The GTK client, on my laptop (Tosh. Tecra 730CDT) does not recognize my
>directional keys (arrows, Home, End, PgUp, PgDn). However, if I switch the
>laptop
>to use the regular keypad as for the directional keys (which means I can't use
>quite a few keys), it does work. The xaw client works fine (as it always has).
I am not familiar with the guts of GTK, but I have been basing the mac GUI
code on the GTK GUI code. The problem may be in the subroutine
static gint keyboard_handler(GtkWidget *widget, GdkEventKey *event)
in clinet/gui-gtk/
prehaps, the lines like
case GDK_KP_Up
should be
case GDK_Up
Also, the number keys on the top of the keyboard are paired 1:1 with the
number keys on the key pad, sou you don't need to change modes on the
keyboard.
Andy Black
|
|