-Plug it directly into the USB port and use cable+adapter to connect to HDMI.
-Plug it directly into the HDMI port and use cable+adapter to connect to USB.
Actually, a third way would be to use cables on both ends, but that just seems kind of silly.