Commit 1f5df00
committed
fix: Improve input device Bus interface detection
- Use case-insensitive contains matching instead of exact string
comparison
- Support interface name variations like 'ps/2', 'bluetooth low energy',
etc.
- Refactor hardcoded interface checks to use static list and loop
- Fix device availability detection for input devices with non-standard
interface names
Log: Improve input device Bus interface detection
Bug: https://pms.uniontech.com/bug-view-331181.html
Change-Id: Ifbc7c40f44f45e146f07fe101ed3fc960e9454591 parent f0b48f9 commit 1f5df00
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
392 | 396 | | |
393 | 397 | | |
394 | 398 | | |
| |||
0 commit comments