Closed Francommit closed 5 months ago
You may choose a "main" device (either A or B) and put both - mouse and keyboard - on a hub and connect it on the side of this "main" device. Then you can use mouse and keyboard without the other port used.
See also #9
Sorry what do you mean by 'connect it on the side' ?
Should I put the USB hub into the keyboard or mouse slot?
Just read this - https://github.com/hrvach/deskhop/issues/9#issuecomment-1895703975
Trying...
Actually not sure I do understand. What's putting a USB Hub going to do at all?
The thing is that normally the mouse is powered by device B and the keyboard by device A. So when one of the devices is powered off, the corresponding hid device is powered down, too. Therefore, the deskhop was re-configured so that one pico can power and control both when they are attached with a usb hub. So if you connect the deskhop to device A and connect both - the mouse and the keyboard - to a usb hub and the usb hub to the "keyboard" port, then both are always powered when device A is connected.
I hope this explanation was of help.
Sorry for being late to the party, @techge summarized it very well. I didn't really expect this scenario to be a thing, and I wanted to keep it as simple as possible. Will try to provide an alternative in future board revision.
Using two devices, the device works perfectly. As soon as I turn off one of the devices, I've found that I either only get the mouse OR the keyboard functionality.
As soon as I turn on the other device, the device that was previously not working, begins to work.