System.PenType Method
Returns an Integer that describes the type of pen being used (meaningful only if a graphics tablet is connected). Mac OS X only.
Syntax
You can use the following class constants to determine the pen type:
PenTypeNone: Mouse (no graphics tablet connected)
PenTypeTip: Tip end of pen device
PenTypeEraser: Eraser end of pen device