fix action events for gamepad;
Merge pull request #3939 from Atlante45/mouse_pick_in_oculus

fix action events for gamepad;