MapKeyToDir
This converts a keyboard event to a movement event. For example, if they press the UP key, it will convert that to an UP movement event. It returns a ponter to the event object.
Event