common: Migrate input settings to gsettings-desktop-schemas keys
The deprecated keys are kept in isolated ".deprecated" suffixed schemas.
On plugin startup, the settings-daemon paths are opened with these legacy
schemas, and all user-modified keys are dumped to the new location and
reset.
This ensures the transition just happens once per-key, and ensures the
dconf database is left clean.
mouse: Use gsettings-desktop-schemas mouse/touchpad settings
Most settings have been moved there, so make this plugin use the new
schemas for the handled settings, and remain using the settings-daemon
schema for settings that can just be honored on X11.
In order to simplify the situation for the future, the management of
"middle-button-enabled", "horiz-scroll-enabled" and "disable-while-typing"
settings have been removed, and the sane default is applied on non-libinput
devices on X11.
For all other settings, the mouse plugin has been made to ignore devices
created through the libinput driver, as mutter handles these.
Additionally, the entire plugin is disabled on Wayland, the settings
remaining in g-s-d schemas are not a thing there.
common: Make GsdDeviceMapper use devices from GsdDeviceManager
This has brought some changes in the xrandr and wacom modules, which now
use GsdDevice for device mapping.
The use of GdkDevices and XInput properties remain for these settings not
yet in the gsettings-desktop-schemas peripherals settings in the wacom case,
and those bits have been made to run only on X11 as expected.
power: Restrict disabling of touchscreens/tablets to X11
This should be eventually done by the compositor. In the mean time, restrict
it to X11, and remove the GsdDeviceMapper usage, as it's not strictly
necessary.