diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-19 11:39:35 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-19 11:39:35 +1000 |
commit | d5c0aed8a35008f0307b43576f9739f9ce2886f6 (patch) | |
tree | d03f71fb53efa8c152407f6620149f78d8c119ad /doc | |
parent | c15cbe850a236c5d1ecff237728061f6a877cf9e (diff) |
doc: add a section to the FAQs "is libinput required for Wayland"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/faqs.dox | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/faqs.dox b/doc/faqs.dox index aeed64a2..b9c12df3 100644 --- a/doc/faqs.dox +++ b/doc/faqs.dox @@ -226,4 +226,27 @@ The warning has no immediate effect on libinput's behavior but some of the functionality that relies on the timer may be impeded (e.g. palms are not detected as they should be). +@section faq_wayland Is libinput required for Wayland? + +Technically - no. But for your use-case - probably. + +Wayland is a display server communication protocol. libinput is a low-level +library to simplify handling input devices and their events. They have no +direct connection. As a technical analogy, the question is similar to "is +glibc required for HTTP", or (stretching the analogy a bit further) "Is a +pen required to write English". No, it isn't. + +You can use libinput without a Wayland compositor, you can +write a Wayland compositor without libinput. Until 2018 the most common use +of libinput is with the X.Org X server through the xf86-input-libinput +driver. As Wayland compositors become more commonplace they will eventually +overtake X. + +So why "for your use-case - probably"? All general-purpose Wayland +compositors use libinput for their input stack. Wayland compositors that +are more specialized (e.g. in-vehicle infotainment or IVI) can handle input +devices directly but the compositor you want to use +on your desktop needs an input stack that is more complex. And right now, +libinput is the only input stack that exists for this use-case. + */ |