Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HID Manager Queue



Hi Lou,

It seems to me that the element in question contains absolute.  In this case, the HID Manager will only post events if the value changes.  

The only way to get around this issue is to either modify the HID report descriptor such that the element is considered relative or instead, register for receiving HID interrupt reports and parse the report data manually.

Considering that this has popped up before, I may consider adding an option for neglecting the the relative/absolute bit when enqueueing events.

- Rob

On Dec 7, 2005, at 2:14 PM, Lou Rich wrote:

Hi,

 

I have set up a queue using IOHIDQueueInterface.  I have added an element using addElement() and started my queue.  I am using getNextEvent() to receive data. 

 

I am getting the correct data except when the data bytes that were sent are the same as the previous data bytes sent.  In other words if the HID device sent 10 interrupt transfers in a row of 0x00000000, only 1 of the 10 transfers would be in the queue.  I believe that the HID Manager is not seeing a difference and rightly so not putting it in the queue.  This would be the case for a mouse axis or buttons.  Unfortunately, this is not my case.  I need the data changed or not.  Is there any way that the IOHIDQueueInterface can be told to collect all data changed or not?  Any suggestions if not?

 

Thanks,

 

Lou

 

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >HID Manager Queue (From: "Lou Rich" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.