Added input keyevent