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: trackpad as a 2D controller ?



see:
Hid Utilities/Hid Explorer example (this is a better, updated version the example project on Apple's website):
http://lists.apple.com/archives/carbon-dev/2007/Feb/msg00295.html


ManyMouse (open-source cross-platform multiple mouse input library):
http://icculus.org/manymouse/

How to use HID class interface devices on OS X:
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/HID/ index.html


Using these three sources I was able to figure out what parts I needed to accomplish something similar to what you are doing.

spencer

On Jun 10, 2007, at 6:16 PM, Luigi Castelli wrote:

Hi there,

I am on a Mac PowerBook 2.16 GHz Intel Core Duo. I am writing an
application where I would like to have the trackpad perform as a 2
dimensional XY controller. The idea is to detach the trackpad from the
task that is usually supposed to perform - moving and clicking the
cursor - and making it into an independant USB controller.

I have found some potentially useful functions in IOHIDLib.h and in
IOHIDParameter.h, but I was wondering if anybody can point me to some
code examples or has some suggestions or tips regarding this.

Thank you.

- Luigi


------------------------------------------------------------
THIS E-MAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE INTENDED RECIPIENT, CONTACT THE SENDER BY E-MAIL AT email@hidden AND DESTROY ALL COPIES OF THE ORIGINAL MESSAGE. WITHOUT PREJUDICE UCC1-207.
------------------------------------------------------------




______________________________________________________________________ ______________
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/ yahoo_panel_invite.asp?a=7


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/ssalazar% 40cs.princeton.edu


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >trackpad as a 2D controller ? (From: Luigi Castelli <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.