def capabilities(self):
		"""A tuple of capabilities this device supports.

		Returns:
			(~libinput.constant.DeviceCapability): Device capabilities.
		"""

		caps = []
		for cap in DeviceCapability:
			if self._libinput.libinput_device_has_capability(self._handle, cap):
				caps.append(cap)
		return tuple(caps)