Added directional keys.
Added some error code defines.