From 1eeeaefecb634ea734059685648c058dd600bcae Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 18 Jan 2019 10:24:19 +0100 Subject: kbd: experimental libinput support --- fbpdf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fbpdf.c') diff --git a/fbpdf.c b/fbpdf.c index 2c2b10f..91ccecd 100644 --- a/fbpdf.c +++ b/fbpdf.c @@ -237,6 +237,7 @@ int main(int argc, char *argv[]) { GError *err = NULL; bool framebuffer = false; + bool use_libinput; bool quit, newpage, pageflip; char cwd[1024]; char uri[1024]; @@ -294,6 +295,7 @@ int main(int argc, char *argv[]) mode = cfg_get_str(O_VIDEO_MODE); fitwidth = GET_FIT_WIDTH(); pageflip = GET_PAGEFLIP(); + use_libinput = GET_LIBINPUT(); if (device) { /* device specified */ @@ -340,7 +342,7 @@ int main(int argc, char *argv[]) gfx->stride); } - kbd_init(); + kbd_init(use_libinput, gfx->devnum); index = 0; newpage = true; -- cgit