(self)
return tuple(version[::-1])
The firmware version of the device as a tuple (e.g.``(1, 33)``,
        ``(0,)`` if not available).
The firmware version of the device as a tuple (e.g.``(1, 33)``,
        ``(0,)`` if not available).
The firmware version of the device as a tuple ( e . g . ( 1 33 ) ( 0 ) if not available ) .
def firmware_version_tuple(self):
        """The firmware version of the device as a tuple (e.g.``(1, 33)``,
        ``(0,)`` if not available).
        """
        if "firmware_version" not in self.mouse_profile:
            return (0,)
        self._hid_write(
            self.mouse_profile["firmware_version"]["report_type"],
            data=self.mouse_profile["firmware_version"]["command"],
        )
        version = self._hid_device.read(
            self.mouse_profile["firmware_version"]["response_length"],
            timeout_ms=200,
        )
        return tuple(version[::-1])
def firmware_version_tuple ( self ) : if "firmware_version" not in self . mouse_profile : return ( 0 , ) self . _hid_write ( self . mouse_profile [ "firmware_version" ] [ "report_type" ] , data = self . mouse_profile [ "firmware_version" ] [ "command" ] , ) version = self . _hid_device . read ( self . mouse_profile [ "firmware_version" ] [ "response_length" ] , timeout_ms = 200 , ) return tuple ( version [ : : - 1 ] )