Create 4 or 8 boolean instance variables on your player (depending on directions wanted).
Create these events for each direction:
On left key pressed - set player_varleft to true
(can add set others to false if you only want one direction at a time)
player_varleft = true - (8-dir)simulate control left
(repeat for all directions)
Player on collision with wall - set all direction variables to false