Commit 18da0e8
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 <[email protected]>1 parent 407877a commit 18da0e8
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1347 | 1347 | | |
1348 | 1348 | | |
1349 | 1349 | | |
| 1350 | + | |
| 1351 | + | |
1350 | 1352 | | |
1351 | 1353 | | |
1352 | 1354 | | |
| |||
1394 | 1396 | | |
1395 | 1397 | | |
1396 | 1398 | | |
1397 | | - | |
1398 | | - | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
1399 | 1405 | | |
1400 | 1406 | | |
1401 | 1407 | | |
1402 | 1408 | | |
1403 | 1409 | | |
1404 | 1410 | | |
1405 | 1411 | | |
1406 | | - | |
1407 | | - | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
1408 | 1417 | | |
1409 | 1418 | | |
1410 | 1419 | | |
| |||
0 commit comments