add some touch and keyboard events