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: eating input events?



Hi Rob,

The item in the descriptor is absolute. However, the device itself does transmit
an input report (via an interrupt transfer) every time it wants to send a byte to
the host, regardless of what the previous value was. Yes I do know this approach
is silly. However, this is a legacy device which we must support.


Are you saying that there is specific code in Darwin which will cache the item
value, and at input processing time, will compare against the old value and only
put the event onto the queue if the new value is different? If so, what I am
interested in is whether there is any way around this in a userspace program?
Some special setup of the device interface, or something like that...


Boris


Hi Boris,

Just curious about the descriptor. Are the items in question relative or absolute? If absolute, only a value change will cause the element to be added to the queue.

- Rob

_______________________________________________ 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: eating input events? (From: Boris Shingarov <email@hidden>)
 >Re: HID: eating input events? (From: Rob Yepez <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.