The HID driver will always have a read pending on an interrupt pipe.
A synchronous function will only return when the device returns
data. An async function will only call the completion when the data
is returned. Of course, both can return if the pipe is aborted or
reset.
The Keyboard on the Macbook is just a standard USB HID device.
David Ferguson
USB Software Team
On Oct 24, 2006, at 11:57 AM, Arvind Dalvi wrote:
hello,
as stated in the USB specification, a device cannot send data unless
the host/driver asks for it.
does that mean, to implement a USB keyboard driver, i have to poll
using some sort of loop, or timer event ?
does Apple uses a special technique on their integrated keyboard
for Macbook ?
thanks,
a.d.
_______________________________________________
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
_______________________________________________
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