code: def __emulate_buttons(self, changed_buttons, timeval=None):
          
          events = []
          for button in changed_buttons:
              code, value, ev_type = self.__map_button(button)
              event = self.create_event_object(
                  ev_type,
                  code,
                  value,
                  timeval=timeval)
              events.append(event)
          return events
docs: Make the button events use the Linux style format.