diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-07-31 10:01:32 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-07-31 10:01:32 +0200 |
commit | 20e0e69253db56c6eb8eec2911fb187bb50d3934 (patch) | |
tree | 8f6d2793ff6ee958d5d93f252545da8130fab8fa /tests | |
parent | dd3d67a6f468adfdb937adfa2abd990e2a335c72 (diff) |
test_input: fix compilation for kbd_keysym_to_string()
Since we moved to a runtime backend system for the input subsystem, we
cannot access the internal keysym_to_string() helpers anymore. Hence, use
the recently introduced uterm-input forwarding helper.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_input.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_input.c b/tests/test_input.c index 84083bb..1db58a5 100644 --- a/tests/test_input.c +++ b/tests/test_input.c @@ -40,8 +40,6 @@ #include "uterm.h" #include "test_include.h" -extern void kbd_keysym_to_string(uint32_t keysym, char *str, size_t size); - static struct ev_eloop *eloop; static struct uterm_input *input; @@ -89,7 +87,7 @@ static void input_arrived(struct uterm_input *input, { char s[32]; - kbd_keysym_to_string(ev->keysym, s, sizeof(s)); + uterm_input_keysym_to_string(input, ev->keysym, s, sizeof(s)); printf("sym %s ", s); if (ev->unicode != UTERM_INPUT_INVALID) { /* |