-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
I have no use for it, and it is not trivial, so I can't justify the time implementing it. My initial try:
def get_feature(self, report_id: int, size: int = 1024) -> List[int]:
'''
Get HID feature
'''
buf = array.array('B', [report_id, 0x00, 0x00, 0x00])
ioctl.IOCTL.IOR(
'H', self.HIDIOCGFEATURE, size
).perform(self._fd, buf=buf)
return buf.tolist()
Anyone feel free to pick this up.