mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 05:40:04 +01:00
mtdev is used only for MT Protocol A device of which there are quite few. But that protocol is also a perfect example for event frames in -> different event frame out so let's move this into the plugin pipeline. Because the plugin doesn't really have full access to the device's internals we set up mtdev base on the libevdev information rather than just handing it the fd and letting it extract the right info. A minor functionality change: previously mtdev-backed devices returned zero on libinput_device_touch_get_touch_count(). Now it is hardcoded to 10 - the number of callers that care about this is likely near zero. Because it's now neatly factored out into a plugin we can also make mtdev no longer a strict requirement. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1245>
44 lines
1.6 KiB
Meson
44 lines
1.6 KiB
Meson
option('udev-dir',
|
|
type: 'string',
|
|
value: '',
|
|
description: 'udev base directory [default=$prefix/lib/udev]')
|
|
option('epoll-dir',
|
|
type: 'string',
|
|
value: '',
|
|
description: 'libepoll-shim base directory (for non-Linux OS) [default=$prefix]')
|
|
option('libwacom',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Use libwacom for tablet identification (default=true)')
|
|
option('mtdev',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Use mtdev for multitouch protocol A devices (default=true)')
|
|
option('debug-gui',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Enable the "debug-gui" feature in the libinput tool [default=true]')
|
|
option('tests',
|
|
type: 'boolean',
|
|
value: true,
|
|
description: 'Build the tests [default=true]')
|
|
option('install-tests',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Install the libinput test command [default=false]')
|
|
option('documentation',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Build the documentation [default=false]')
|
|
option('coverity',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Enable coverity build fixes, see meson.build for details [default=false]')
|
|
option('zshcompletiondir',
|
|
type: 'string',
|
|
value: '',
|
|
description: 'Directory for zsh completion scripts ["no" disables]')
|
|
option('internal-event-debugging',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Enable additional internal event debug tracing. This will print key values to the logs and thus must never be enabled in a release build')
|