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: mouse driver tutorial



Wiktor,


On Feb 15, 2005, at 13:45, Wiktor Latanowicz wrote:
Hello,
at first I would like to mark that I'm new to mac development...

Welcome to the Mac community!

I'm going to write a program which will use two mice as movement detectors and will leave the third one for normal GUI/system use.

I'm looking for a tutorial about developing usb mouse driver for mac... or any other kind of usefull information.

It isn't clear why you need to write a mouse driver. It sounds like you will be using standard mouse hardware, but just need to have high-level software seize two of the mice for non-cursor activities. If so, you should use the HID family to have your app directly access the two movement-detector mice. If you open them in Seize mode, they will no longer be used to control the cursor. For more information on this, go to developer.apple.com and search for "kIOHIDOptionsTypeSeizeDevice" - that should get you started.
I'm using Mac OS X 10.3.8.

The kIOHIDOptionsTypeSeizeDevice option was added quite a wile ago, so this should work fine on 10.3.8


Thank you,
  Wiktor Latanowicz

If I've misunderstood what you are trying to do, please post more details and perhaps we'll be able to help.


Cheers,
 - Dean


_______________________________________________ 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: 
 >mouse driver tutorial (From: Wiktor Latanowicz <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.