hooking event request/input event