code: def change_keyboard_mapping(self, first_keycode, keysyms, onerror = None):
          
          request.ChangeKeyboardMapping(display = self.display,
                                        onerror = onerror,
                                        first_keycode = first_keycode,
                                        keysyms = keysyms)
docs: Modify the keyboard mapping, starting with first_keycode.
          keysyms is a list of tuples of keysyms. keysyms[n][i] will be
          assigned to keycode first_keycode+n at index i.