Commit 552cbaf4 authored by Peter Hutterer's avatar Peter Hutterer

Don't init the AccelSpeed/LeftHanded properties on the base tablet device

This device never sends events, no point in exposing these options
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
parent bc91d337
......@@ -4092,7 +4092,8 @@ LibinputInitAccelProperty(DeviceIntPtr dev,
enum libinput_config_accel_profile profile;
BOOL profiles[2] = {FALSE};
if (!libinput_device_config_accel_is_available(device))
if (!libinput_device_config_accel_is_available(device) ||
driver_data->capabilities & CAP_TABLET)
return;
prop_accel = LibinputMakeProperty(dev,
......@@ -4260,7 +4261,8 @@ LibinputInitLeftHandedProperty(DeviceIntPtr dev,
{
BOOL left_handed = driver_data->options.left_handed;
if (!libinput_device_config_left_handed_is_available(device))
if (!libinput_device_config_left_handed_is_available(device) ||
driver_data->capabilities & CAP_TABLET)
return;
prop_left_handed = LibinputMakeProperty(dev,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment