How do you connect the keyboard and mouse? Hardwired or bluetooth/wireless? With the movements and actions from these intruding into your sound card, I suspect some kind of radio interference. Finding out where it is coming from might be a big job though. I would try swapping out whatever you can, cables, the amplifier, other peripherals, until you can narrow down where the noise is being generated.