aboutsummaryrefslogtreecommitdiffstats
path: root/fbpdf.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-01-18 10:24:19 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-01-18 12:27:47 +0100
commit1eeeaefecb634ea734059685648c058dd600bcae (patch)
treec03f7dab7aa64179f295ebb83e0d4bdbdb7b5e67 /fbpdf.c
parent1e49f9371f39475be7d2a3a9be2994ce5d27870b (diff)
downloadfbida-1eeeaefecb634ea734059685648c058dd600bcae.tar.gz
kbd: experimental libinput support
Diffstat (limited to 'fbpdf.c')
-rw-r--r--fbpdf.c4
1 files changed, 3 insertions, 1 deletions
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;