libinput/tools
Peter Hutterer a6c4115692 Add middle mouse button emulation config options
Adds the following quartett of functions to enable/disable middle mouse button
emulation on a device:
	libinput_device_config_middle_emulation_is_available()
	libinput_device_config_middle_emulation_set_enabled()
	libinput_device_config_middle_emulation_get_enabled()
	libinput_device_config_middle_emulation_get_default_enabled()

This patch only adds the config framework, it is not hooked up to anything
yet.

Note: like other features this is merely the config option, some devices will
provide middle button emulation without exposing it as configuration. i.e. the
return value of libinput_device_config_middle_emulation_is_available() only
tells you whether you can _configure_ middle button emulation.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-04-17 12:49:43 +10:00
..
.gitignore tools: add a tool to list local devices and the default configurations 2015-04-16 07:38:40 +10:00
event-debug.c tools: print available click methods on device notify 2015-03-18 12:51:28 +10:00
event-gui.c tools: apply the config options for the event-gui helper too 2015-04-10 15:53:13 +10:00
libinput-list-devices.c tools: add a tool to list local devices and the default configurations 2015-04-16 07:38:40 +10:00
libinput-list-devices.man tools: add a tool to list local devices and the default configurations 2015-04-16 07:38:40 +10:00
Makefile.am tools: add a tool to list local devices and the default configurations 2015-04-16 07:38:40 +10:00
ptraccel-debug.c tools: add a tool for printing pointer acceleration parameters 2015-04-11 10:44:13 +10:00
publish-doc tools: fix the publish-doc script 2014-06-16 16:44:34 +10:00
shared.c Add middle mouse button emulation config options 2015-04-17 12:49:43 +10:00
shared.h Add middle mouse button emulation config options 2015-04-17 12:49:43 +10:00