Hi new member here! 
I am currently playing with the idea of building a Gameboy like handheld using a BananaPi Zero. I would like to integrate some usb devices into the device and I was thinking of making them availiable to the outside of the handheld during the off state of the pi by connecting them to the pi as well as to a second female usb socket. I would use a switch to connect the 5V pin of the usb device to either the pi or the second socket.
My question is can I connect the data lines directly between all three ends or do you think I would have to switch them as well?
I am not too concerend regarding the grounds i will just connect all grounds to a common line.
Thanks in advance
I am currently playing with the idea of building a Gameboy like handheld using a BananaPi Zero. I would like to integrate some usb devices into the device and I was thinking of making them availiable to the outside of the handheld during the off state of the pi by connecting them to the pi as well as to a second female usb socket. I would use a switch to connect the 5V pin of the usb device to either the pi or the second socket.
My question is can I connect the data lines directly between all three ends or do you think I would have to switch them as well?
I am not too concerend regarding the grounds i will just connect all grounds to a common line.
Thanks in advance