Redirect opengl input to stdin, enable local echo with bashrc
Determine mouse cursor correctly