This is the mtif Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:07:14 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
mtif
An interface to the MacOS MultiTouch framework
Ric da Silva <ric@rmhsilva.com>
MIT
0.1.0
cffi
(system).
package.lisp
(file).
mtif-ffi.lisp
(file).
mtif.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
mtif/mtif-ffi.lisp
mtif
(system).
c-finger
(class).
mtdevicecreatedefault
(function).
mtdevicestart
(function).
mtdevicestop
(function).
mtpoint-tclass
(class).
mtreadout-tclass
(class).
mtregistercontactframecallback
(function).
mtunregistercontactframecallback
(function).
mtif/mtif.lisp
mtif
(system).
*frame-count*
(special variable).
*mtif-started*
(special variable).
err-already-started
(condition).
err-not-started
(condition).
finger-ellipse-angle
(reader).
(setf finger-ellipse-angle)
(writer).
finger-ellipse-major-axis
(reader).
(setf finger-ellipse-major-axis)
(writer).
finger-ellipse-minor-axis
(reader).
(setf finger-ellipse-minor-axis)
(writer).
finger-id
(reader).
(setf finger-id)
(writer).
finger-pos-x
(reader).
(setf finger-pos-x)
(writer).
finger-pos-y
(reader).
(setf finger-pos-y)
(writer).
finger-size
(reader).
(setf finger-size)
(writer).
finger-state
(reader).
(setf finger-state)
(writer).
finger-vel-x
(reader).
(setf finger-vel-x)
(writer).
finger-vel-y
(reader).
(setf finger-vel-y)
(writer).
print-all-touches
(function).
start
(function).
stop
(function).
translate-from-foreign
(method).
*frame-limit*
(special variable).
*init-complete*
(special variable).
*mtif-callback*
(special variable).
*mtif-handle*
(special variable).
copy-finger
(function).
finger
(structure).
finger-p
(function).
get-readout
(function).
init-device
(function).
make-finger
(function).
reset
(function).
Packages are listed by definition order.
mtif
cffi
.
common-lisp
.
*frame-count*
(special variable).
*mtif-started*
(special variable).
err-already-started
(condition).
err-not-started
(condition).
finger-ellipse-angle
(reader).
(setf finger-ellipse-angle)
(writer).
finger-ellipse-major-axis
(reader).
(setf finger-ellipse-major-axis)
(writer).
finger-ellipse-minor-axis
(reader).
(setf finger-ellipse-minor-axis)
(writer).
finger-id
(reader).
(setf finger-id)
(writer).
finger-pos-x
(reader).
(setf finger-pos-x)
(writer).
finger-pos-y
(reader).
(setf finger-pos-y)
(writer).
finger-size
(reader).
(setf finger-size)
(writer).
finger-state
(reader).
(setf finger-state)
(writer).
finger-vel-x
(reader).
(setf finger-vel-x)
(writer).
finger-vel-y
(reader).
(setf finger-vel-y)
(writer).
print-all-touches
(function).
start
(function).
stop
(function).
*frame-limit*
(special variable).
*init-complete*
(special variable).
*mtif-callback*
(special variable).
*mtif-handle*
(special variable).
c-finger
(class).
copy-finger
(function).
finger
(structure).
finger-p
(function).
get-readout
(function).
init-device
(function).
make-finger
(function).
mtdevicecreatedefault
(function).
mtdevicestart
(function).
mtdevicestop
(function).
mtpoint-tclass
(class).
mtreadout-tclass
(class).
mtregistercontactframecallback
(function).
mtunregistercontactframecallback
(function).
reset
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The number of frames received since last call to ‘start’
Whether we have started using a device or not
mtif
.
mtif
.
mtif
.
Example callback which just prints all touches to *standard-output*
Start the MT interface with ‘callback’ receiving the data
Maximum number of frames to process (ignored if nil)
Signal whether things have been setup
User callback to call with the touchpad data
Handle to the MT device, used for stopping/starting
Initial setup - create device, register callback
Finger data
mtif
.
structure-object
.
"numeric identifier for this finger"
"the finger state"
"measure of the area covered by the finger"
"normalised x position"
"normalised y position"
"normalised x velocity"
"normalised y velocity"
"angle of the finger ellipsoid"
"major axis of the finger ellipsoid"
"minor axis of the finger ellipsoid"
mtif
.
foreign-struct-type
.
translatable-foreign-type
.
mtif
.
foreign-struct-type
.
translatable-foreign-type
.
mtif
.
foreign-struct-type
.
translatable-foreign-type
.
Jump to: | (
C F G I M P R S T |
---|
Jump to: | (
C F G I M P R S T |
---|
Jump to: | *
E I P S V |
---|
Jump to: | *
E I P S V |
---|
Jump to: | C E F M P S |
---|
Jump to: | C E F M P S |
---|