<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_keymap(self):
 """Returns X11 Keymap as a list of integers"""

        self._x11.XQueryKeymap(self._display, self._raw_keymap)

        try:
            keyboard = [ord(byte) for byte in self._raw_keymap]
        except TypeError:
            return None

        return keyboard