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:
parent
de078499d2
commit
06885d2dd6
@ -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);
|
||||
}
|
||||
|
@ -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 {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user