keyboard simulator for 4-direction