summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-05-20 18:15:54 +0300
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-05-26 14:49:06 +0200
commit06885d2dd68323df439228af3e76782a23b1bce3 (patch)
treed0b383e3f2455e094e7ca7556a0ae88dd28db8f1 /tests
parentde078499d2fde493b65ba7cbfc62d4b649df32a6 (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_input.c b/tests/test_input.c
index 09e7eec..180635c 100644
--- a/tests/test_input.c
+++ b/tests/test_input.c
@@ -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 {
/*