Emulate three buttons on trackball.