(tablet mode [row1 row2 row3 vecNormal])


Sets the tablet calibration or returns the actual calibration.


The mode argument can be 0 or 1:

  • 0 to return the actual calibration (the remaining arguments must be omitted).
  • 1 to calibrate the tablet (row1, row2, row3, and vecNormal should be provided).

The row1, row2, and row3 arguments are 3D point lists and represent three rows of the transformation matrix.

The vecNormal argument is a 3D point list and defines the plane of the tablet.

The function returns T or a calibration list if the operation was successful, nil otherwise.

Example

The following example returns the calibration settings:

(tablet 0)

> ((1 0 0) (0 1 0) (0 0 1) (0 0 1))

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language