-Input system improved to handle key repeat