• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mouse click interrupt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Is there any dummy provider
  • Next by Date: Re: Is there any dummy provider
  • Previous by thread: Re: hardware/ software problem on boot
  • Next by thread: Socket Filter NKE for both TCP and UDP
  • Index(es):
    • Date
    • Thread