added input event queue
added input event queue