added more mouse event handlers to playerinput