macOS: send report id conditionally for hid_get_feature_report #70
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi!70
Loading…
Reference in a new issue
No description provided.
Delete branch "macos-feature-report"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
same as in hid_send_feature_report, and Windows/Linux
@ -763,38 +763,64 @@ return_error:Probably it has to be
dev->disconnectedThis will likely reference https://github.com/libusb/hidapi/issues/60.
@DanielVanNoord, @micolous, please try if this works with your device(s).
It does with mine.
@ -763,38 +763,64 @@ return_error:thanks)
@DanielVanNoord, @micolous ping
hidapi team, your opinion/feedback is needed
with all my local tests, this implementation looks best and consistent with other systems
@z3ntu, you have originally propagated #3, so you feedback is appreciated too
Apparently the devices I use hidapi with, don't use numbered reports. I'll test this PR tomorrow if it works with my application!
Thanks.
The device I use, does use numbered reports, and #3 did broke my app (as I mentioned earlier, I didn't notice that, since I have my own fork with my own patches).
If this works for you, I think we will accept it this was.
Works fine for my use case 👍
@Qbicz, if you don't have comments regarding the implementation, I'd like to merge this ASAP
@Youw I'll grab a Mac and test it with my devices that use report ids today. Will let you know the results as soon as I can.
@youw it looks good to me. I don't have a Mac setup so I didn't notice the problem before.
Let's wait for @DanielVanNoord test result.
meanwhile found bug in my own implementation
nothing conceptually changes though
Ran some quick tests on a Mac with a device that uses feature report ids and everything seems to be working.
great, we have a winner here