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>
This commit is contained in:
parent
dd3d67a6f4
commit
20e0e69253
@ -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) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user