Skip to content

XRandR: Add detection of tablet mode

Ilya Pominov requested to merge ipominov/libkscreen:tablet_mode into master

Track list of input devices via XInput. If there is a touchscreen, consider that the tablet mode is available. If there are no other pointing devices, consider tablet mode is engaged.

Use the "kscreen-ignore-tablet-mode" property to ignore an input device: xinput set-prop --type=int --format=8 kscreen-ignore-tablet-mode 1

Merge request reports