You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented a relay HID USB controller using pyhidapi on macOS. I'm using pywinusb to implement the windows version of the program, but I cannot seem to find out how to send my feature report to the HID.
On pyhidapi I wrote it like this like this:
h=hid.Device(self.vid, self.pid)
message=bytes([0xFF, relay_number]) #where 0xFF means 'turn on'h.send_feature_report(message)
And I just cannot figure out how to do the same thing in pywinusb.
To be clear, I have been able to create the HidDevice object, and opened it using .open()
I have looked through the examples, but cannnot for the life of me figure out how to do it.
I might just be stupid, but I would be really happy if someone could point me in the right direction on this one.
The text was updated successfully, but these errors were encountered:
I have implemented a relay HID USB controller using pyhidapi on macOS. I'm using pywinusb to implement the windows version of the program, but I cannot seem to find out how to send my feature report to the HID.
On pyhidapi I wrote it like this like this:
And I just cannot figure out how to do the same thing in pywinusb.
To be clear, I have been able to create the
HidDevice
object, and opened it using.open()
I have looked through the examples, but cannnot for the life of me figure out how to do it.
I might just be stupid, but I would be really happy if someone could point me in the right direction on this one.
The text was updated successfully, but these errors were encountered: