how can i control (disable and enable) keyboard and mouse?