search for: kbd_layout_t

Displaying 3 results from an estimated 3 matches for "kbd_layout_t".

Did you mean: kbd_layout
2006 Apr 17
1
[patch] calloc arguments
...ped calloc() arguments. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> diff -r c4eead8a925b tools/ioemu/keyboard_rdesktop.c --- a/tools/ioemu/keyboard_rdesktop.c Sun Apr 16 15:41:31 2006 +0100 +++ b/tools/ioemu/keyboard_rdesktop.c Mon Apr 17 15:47:29 2006 -0500 @@ -75,7 +75,7 @@ static kbd_layout_t* parse_keyboard_layo char* file_name=malloc(strlen(prefix)+strlen(language)+strlen(bios_dir)+1); if(!k) - k=calloc(sizeof(kbd_layout_t),1); + k=calloc(1, sizeof(kbd_layout_t)); strcpy(file_name,bios_dir); strcat(file_name,prefix); strcat(file_name,language); diff -r c4eead8a925b to...
2010 Sep 02
6
[PATCH]ioemu: fix altgr-insert behavior
...diff -r 17723c0b042b keymaps.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, "alt...
2008 Feb 27
0
PATCH: Make QEMU send logs to stderr
.../xend/image.py | 29 ++++++++++++++++++++++++++++- 4 files changed, 32 insertions(+), 7 deletions(-) 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(stder...