According to the Quartz Event Services Reference document, this code should
return the number of user input events of all types (keyboard, mouse, or
tablet) since the window server started:
CGEventSourceCounterForEventType(CGEventSourceGetSourceStateID(eventSourceR
ef), kCGAnyInputEventType)
But it always returns 0.
If I specify a specific event, such as kCGKeyDown, I get a reasonable
result.
Is this a known bug? Or is the documentation wrong?
--
Bill Cheeseman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden