Is there a way to use a mouse and keyboard and switch safely between Xbox and Laptop?

Basically, I have a set up for my xbox in my basement. I'm planning on turning it into a work station also. I only have 1 large monitor which I would like to share with my laptop and xbox. I can do that with HDMI switches.

My concern is the keyboard and mouse I use. I can buy a 2nd set for my laptop but my table isn't that large enough. Is it possible to have some sort of switch that is safe for use? I saw the ones in amazon/google but they have people saying that it can destroy the devices eventually.

Anyone that knows something safe, it would be much appreciated.
 
Back