Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible Bug With Quartz Event Services API



Howdy,

I think I found a possible bug with the Quartz Event Services API's event taps. I am using the API to generate Tablet Proximity and Point events. Everything works fine except for pressure. According to the documentation pressure is a double value where 0 is no pressure and 1 is max pressure. If I set the pressure field of my event like so:

		myEvent = CGEventCreate(NULL);
		double p = 0.50;
		CGEventSetType(myEvent, kCGEventTabletPointer);
		CGEventSetDoubleValueField(myEvent, kCGTabletEventPointPressure, p);

It will appear as having a value of zero in all of my apps that receive this posted event. The event is properly seen as a NSTabletPoint event, type 23, in all of my receiving applications. However I am not completely sold on the fact that it is a bug with the pressure field because I seem to have this problem with all of the fields set by CGEventSetDoubleValueField: TiltX, TiltY, TangentialPressure.

I figured that I would throw this out to the list before submitting a bug report to Apple. Is there a specific place the developers should submit bugs or do they just use the standard Apple bug reporting site?

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

This email sent to 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.