Mouse click interrupt
Mouse click interrupt
- Subject: Mouse click interrupt
- From: "aaa aaaa" <email@hidden>
- Date: 21 Jun 2006 09:49:31 -0000
Just for the understanding purpose, I want to write a mouse driver, where I can receive the mouse click interrupt.
I have looked into the IOHIDFamily and IOUSBFamily code.
What I think is, there should be some IOInterruptEventSource within these family code which is receving the events and then it should give it to mouse driver.
Now if extend my mouse driver from IOUSBHIDDriver, how it will receive those mouse click events for processing.
Also I couldn't understand how the IOHIDFamily and IOUSBFamily is handling the interrupts. There is one event source callback doKickEventConsumer in IOHIDSystem, but the implementation of this callback doesn't tell any thing about how the events are propragated.
Also there are IOInterruptEventSource in classes IOHIKeyBoardMapper and in USB controller class.But again how the events are given to the driver is not clear.
It would be great if there is any detailed documentation for these families.
Regards
Amy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden