direction and keypress

direction and keypress