Delete unused command
Add mouse event
Update switch-function behave
update mouse behave