So you want to interact with your computer through your gaze? The PCEye Mini can help. It is a versatile eye tracker that replaces your keyboard and mouse, allowing you to control your laptop or computer with your eyes. You will be able to use this to play games, turn on/off the lights, and surf the web.
The PCEye Mini handles all the processing, so your computer is not affected by it. You can attach and detach the device using a magnetic mounting bracket. The above video gives you a quick idea how this technology works.