use input not keydown