1config BR2_PACKAGE_LIBINPUT
2	bool "libinput"
3	depends on BR2_PACKAGE_HAS_UDEV
4	select BR2_PACKAGE_LIBEVDEV
5	select BR2_PACKAGE_MTDEV
6	help
7	  libinput is a library to handle input devices in Wayland
8	  compositors and to provide a generic X.Org input driver.
9	  It provides device detection, device handling, input device
10	  event processing and abstraction so minimize the amount of
11	  custom input code compositors need to provide the common
12	  set of functionality that users expect.
13
14	  http://freedesktop.org/wiki/Software/libinput/
15
16if BR2_PACKAGE_LIBINPUT
17
18config BR2_PACKAGE_LIBINPUT_PYTHON_TOOLS
19	bool "install python tools "
20	depends on BR2_PACKAGE_PYTHON3
21	select BR2_PACKAGE_PYTHON_LIBEVDEV # runtime
22	select BR2_PACKAGE_PYTHON_PYUDEV # runtime
23	select BR2_PACKAGE_PYTHON_PYYAML # runtime
24	help
25	  Install python tools:
26	  libinput-analyze-per-slot-delta,
27	  libinput-analyze-recording,
28	  libinput-analyze-touch-down-state,
29	  libinput-measure-fuzz,
30	  libinput-measure-touchpad-pressure,
31	  libinput-measure-touchpad-size,
32	  libinput-measure-touchpad-tap,
33	  libinput-measure-touch-size,
34	  libinput-replay
35
36endif
37
38comment "libinput needs udev /dev management"
39	depends on !BR2_PACKAGE_HAS_UDEV
40