Commit bf30f12
committed
HID: usbhid: Insert USB bus/device ID into HID name
libinput/wlroots/Wayfire/labwc match input device by the
device name only. If you add 2 identical USB connected
touch devices, you can't select between them.
Add the usb bus&device name to the start of the name so that
the names end up being unique,
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>1 parent 7a3d1c2 commit bf30f12
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | | - | |
1392 | | - | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
1393 | 1396 | | |
1394 | 1397 | | |
1395 | 1398 | | |
1396 | 1399 | | |
1397 | 1400 | | |
1398 | 1401 | | |
1399 | 1402 | | |
1400 | | - | |
1401 | | - | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1402 | 1406 | | |
1403 | 1407 | | |
1404 | 1408 | | |
| |||
0 commit comments