Laptops with built in Wi-Fi have on/off switches, so they are fine during flight.
The mice in question don't use infra-red as there is no direct line-of-sight. Rather, I think it's either bluetooth or something similar. A small USB pod that plugs into the computer and the mouse--nothing else.