Hacker News new | ask | show | jobs
by NetMageSCW 256 days ago
You do it like Lightning did with a chip that controls the pinout as well as reporting the use case.
1 comments

That’s basically how USB-C does it too (except that the chip isn’t strictly necessary; an identifying resistor does the job for legacy adapters and cables).

USB-C was heavily inspired by Lightning.