kbd: remove "dev" from kbd_dev_keysym_to_string

Both dumb and xkb don't actually need the kbd_dev for that. The dumb
backend already omits the "dev".

Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
Ran Benita 2012-05-20 18:15:54 +03:00 committed by David Herrmann
parent de078499d2
commit 06885d2dd6
2 changed files with 3 additions and 3 deletions

View File

@ -1015,7 +1015,7 @@ void kbd_desc_unref(struct kbd_desc *desc)
free(desc);
}
void kbd_dev_keysym_to_string(uint32_t keysym, char *str, size_t size)
void kbd_keysym_to_string(uint32_t keysym, char *str, size_t size)
{
xkb_keysym_to_string(keysym, str, size);
}

View File

@ -40,7 +40,7 @@
#include "uterm.h"
#include "test_include.h"
extern void kbd_dev_keysym_to_string(uint32_t keysym, char *str, size_t size);
extern void kbd_keysym_to_string(uint32_t keysym, char *str, size_t size);
static struct ev_eloop *eloop;
static struct uterm_input *input;
@ -90,7 +90,7 @@ static void input_arrived(struct uterm_input *input,
char s[16];
if (ev->unicode == UTERM_INPUT_INVALID) {
kbd_dev_keysym_to_string(ev->keysym, s, sizeof(s));
kbd_keysym_to_string(ev->keysym, s, sizeof(s));
printf("sym %s ", s);
} else {
/*