Added enter key to key code resolving.