def get_keys_to_action(self):
<EOL>old_keys_to_action = self.env.unwrapped.get_keys_to_action()<EOL>action_to_keys = {v: k for k, v in old_keys_to_action.items()}<EOL>keys_to_action = {}<EOL>for action, byte in self._action_map.items():<EOL><INDENT>keys = action_to_keys[byte]<EOL>keys_to_action[keys] = action<EOL><DEDENT>return keys_to_action<EOL>
Return the dictionary of keyboard keys to actions.