haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.85k stars 112 forks source link

Device ID must be lowercase hex #15

Closed cocowalla closed 3 years ago

cocowalla commented 3 years ago

I just tried this on Windows and wondered why it wasn't working, even though I could see in the logs it was detecting removal/add of the correct USB device. Then I happened to notice that the device ID was reported in lowercase in the logs - I updated my .ini file, and... great success!

I think Windows Device Manager always reports device IDs in uppercase hex, so it would be great if display-switch wasn't fussy about the case.