My most famous electronics project. A board where if you plug in the usb-c connector one way it connects to one microcontroller and if you flip the plug, it connects to the other.
This works because while the socket has two usb 2.0 data pairs, the plug has only one