Hi James, IOHIDDeviceCopyValueMultiple will only with with feature/output elements. You’ll need to use IOHIDDeviceGetValue if you're querying input elements.
—scott > On Dec 1, 2017, at 5:43 PM, James Walker <jam...@frameforge3d.com> wrote: > > Another problem I'm having with the HID functions is that > IOHIDDeviceCopyValueMultiple always returns kIOReturnError. I can use > IOHIDDeviceGetValue successfully, but IOHIDDeviceCopyValueMultiple is > supposed to be more efficient if you want to get a bunch of values at once. > > I downloaded some IOKit source code and found that the kIOReturnError error > is being returned by a call to IOHIDTransactionCommit internal to > IOHIDDeviceCopyValueMultiple, but that doesn't clear things up. > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Usb mailing list (Usb@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/usb/sdeandrea%40apple.com > > This email sent to sdeand...@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (Usb@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/usb/archive%40mail-archive.com This email sent to arch...@mail-archive.com