diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 10:24:19 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 12:27:47 +0100 |
commit | 1eeeaefecb634ea734059685648c058dd600bcae (patch) | |
tree | c03f7dab7aa64179f295ebb83e0d4bdbdb7b5e67 /fbpdf.c | |
parent | 1e49f9371f39475be7d2a3a9be2994ce5d27870b (diff) | |
download | fbida-1eeeaefecb634ea734059685648c058dd600bcae.tar.gz |
kbd: experimental libinput support
Diffstat (limited to 'fbpdf.c')
-rw-r--r-- | fbpdf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |