search for: add_to_key_range

Displaying 2 results from an estimated 2 matches for "add_to_key_range".

2010 Sep 02
6
[PATCH]ioemu: fix altgr-insert behavior
...ps.c --- a/keymaps.c Thu Sep 02 16:40:39 2010 +0800 +++ b/keymaps.c Thu Sep 02 17:26:53 2010 +0800 @@ -51,6 +51,7 @@ struct key_range *numlock_range; struct key_range *shift_range; struct key_range *localstate_range; + struct key_range *altgr_range; } kbd_layout_t; static void add_to_key_range(struct key_range **krp, int code) { @@ -133,7 +134,11 @@ add_to_key_range(&k->localstate_range, keycode); //fprintf(stderr, "localstate keysym %04x keycode %d\n", keysym, keycode); } - + if (rest && strstr(rest, "altgr")) { + add_to_key_range...
2008 Feb 27
0
PATCH: Make QEMU send logs to stderr
...Dan. diff -r 2a8eaba24bf0 tools/ioemu/keymaps.c --- a/tools/ioemu/keymaps.c Tue Feb 26 15:11:51 2008 +0000 +++ b/tools/ioemu/keymaps.c Wed Feb 27 15:26:53 2008 -0500 @@ -126,11 +126,11 @@ static kbd_layout_t *parse_keyboard_layo if (rest && strstr(rest, "numlock")) { add_to_key_range(&k->keypad_range, keycode); add_to_key_range(&k->numlock_range, keysym); - fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode); + //fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode); } if (rest && strs...