What are the z-coordinates in Cocoa mouse events for?

Interestingly, I haven't found an answer to this seemingly trivial question - Cocoas z-coordinate mouse events - what are they for?

+2


a source to share


3 answers


The function is described absoluteZ

:



For the coordinate to be valid, the receiver must represent an event generated by the tablet pointing device (0 is returned otherwise). The z coordinate does not represent pressure. It records the depth coordinate returned by some wheeled tablet devices; 0 is returned if the device is anything other than this. This method is valid only for mouse events with subtype NSTabletPointEventSubtype and for events of type NSTabletPoint.

+4


a source


Tablet compatible.



Google is your friend. http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html

+1


a source


I suppose this is for (potential) 3D input devices that have a third axis. This third axis can be anything from depth information to pressure (from the stylus), etc. It depends on the device

0


a source







All Articles