Building a Scratch Pad with Cocoa
Subject:   RE: tabled pressure
Date:   2003-12-13 17:05:16
From:   anonymous2
Response to: so did anyone create a workable drawing app

NSEvent got a float named pressure:


- (float)pressure

Returns a value between 0.0 and 1.0 indicating the pressure applied to the input device (used for appropriate devices). For devices that aren't pressure-sensitive, the value is either 0.0 or 1.0. Raises anNSInternalInconsistencyException if sent to a non-mouse event.