Finish basic function, such as left button click and right button click.