Systemd/src/udev
Peter Hutterer 9aa5c97158 udev: if a tablet has BTN_0, label it as ID_INPUT_TABLET_PAD
Graphics tablet devices comprise multiple event nodes, usually a Pen, Finger
and Pad node (that's how the kernel postfixes them). Pen and Pad are labeled
as ID_INPUT_TABLET but the pad doesn't actually send stylus events - it
doesn't usually have BTN_TOOL_PEN, merely BTN_STYLUS.

For the last several years, libwacom has set ID_INPUT_TABLET_PAD for all pad
devices known to it based on vid/pid and a "* Pad" name match. That does not
cover devices not in libwacom. libinput relies on ID_INPUT_TABLET_PAD to
initialize the pad backend.

We can't drop ID_INPUT_TABLET without breaking userspace, but we can add
ID_INPUT_TABLET_PAD ourselves - where a device has BTN_0 in addition to
BTN_STYLUS, let's add it as a pad.

There are some devices (notably: bamboos) that use BTN_LEFT instead of BTN_0
but they are relatively rare and there's a risk of mislabeling those devices,
so let's just stick with BTN_0 only.
2020-09-17 10:14:25 +02:00
..
ata_id
cdrom_id
fido_id
mtd_probe
net basic: convert ifname_valid_full() to take flags and allow numeric interfaces 2020-09-10 00:46:44 +02:00
scsi_id
v4l_id
.vimrc
generate-keyboard-keys-gperf.sh
generate-keyboard-keys-list.sh
meson.build udev: single binary replacing udevd and udevadm 2020-06-01 09:41:21 +02:00
udev-builtin-blkid.c
udev-builtin-btrfs.c
udev-builtin-hwdb.c udev: change the modalias string for usb devices to include the device name 2020-07-16 19:00:26 +02:00
udev-builtin-input_id.c udev: if a tablet has BTN_0, label it as ID_INPUT_TABLET_PAD 2020-09-17 10:14:25 +02:00
udev-builtin-keyboard.c udev: do not discard const qualifier 2020-09-09 02:34:38 +09:00
udev-builtin-kmod.c
udev-builtin-net_id.c Replace gendered pronouns with gender neutral ones. (#16844) 2020-08-27 11:52:48 +09:00
udev-builtin-net_setup_link.c
udev-builtin-path_id.c udev: spi: include chip select number in ID_PATH 2020-07-01 13:12:11 +09:00
udev-builtin-uaccess.c sd-device: make log_device_error() or friends return void 2020-09-09 02:34:38 +09:00
udev-builtin-usb_id.c tree-wide: fix spelling of "fallback" 2020-08-20 17:45:32 +02:00
udev-builtin.c udev: fix indentation 2020-09-10 13:11:43 +09:00
udev-builtin.h
udev-ctrl.c tree-wide: make use of new relative time events in sd-event.h 2020-07-28 11:24:55 +02:00
udev-ctrl.h
udev-event.c Merge pull request #16635 from keszybz/do-not-for-each-word 2020-09-09 17:43:38 +02:00
udev-event.h udev: udev_event_apply_format() always make buf NUL terminated 2020-06-18 13:53:08 +09:00
udev-node.c sd-device: make log_device_error() or friends return void 2020-09-09 02:34:38 +09:00
udev-node.h
udev-rules.c sd-device: make log_device_error() or friends return void 2020-09-09 02:34:38 +09:00
udev-rules.h udev: split rules object creation and loading 2020-06-23 18:04:18 +02:00
udev-watch.c sd-device: make log_device_error() or friends return void 2020-09-09 02:34:38 +09:00
udev-watch.h
udev.conf udev: make signal that we use to kill workers on timeout configurable 2020-06-05 11:09:17 +02:00
udev.pc.in
udevadm-control.c
udevadm-hwdb.c
udevadm-info.c udev: fix codesonar warnings 2020-07-30 18:55:50 +02:00
udevadm-monitor.c tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
udevadm-settle.c udevadm: beef up deprecation log warning 2020-07-14 14:57:19 +02:00
udevadm-test-builtin.c
udevadm-test.c tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
udevadm-trigger.c basic/set: let set_put_strdup() create the set with string hash ops 2020-05-06 16:54:06 +02:00
udevadm-util.c
udevadm-util.h
udevadm.c Make failures of mac_selinux_init() fatal 2020-06-23 19:10:07 +02:00
udevadm.h
udevd.c udev: warn if failed to set buffer size for device monitor 2020-09-09 06:46:54 +09:00
udevd.h udev: single binary replacing udevd and udevadm 2020-06-01 09:41:21 +02:00