Comment

Comment by tyingq

>if a "keyboard" suddenly is presenting itself as storage, that causes a prompt

I'm not clear on how you would know it was the keyboard changing identities and not just a new device. Does the USB protocol provide anything where you would know, assuming devices can change Base Class, VID, PID, and so on?

For that matter, I don't think it needs to change. It can just emulate a hub and present both.

parent tyingq 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton