Zytronic input manager for Photon
||When you use a devi-* driver for a touchscreen device,
you need a calibration file.
The calibration file is generated from the output produced by the
calib > calib_file.txt
For more information, see the calib utility
in the Utilities Reference, and
in the Neutrino User's Guide.
- Prevent the use of the
keychord to exit Photon (permitted by default).
- -d device
- Device (default: /dev/photon or $PHOTON).
- Don't require the presence of a graphics driver when starting up a
touchscreen driver; useful in debug mode.
- -g input_group
- Input group (default: 1).
- List the internal modules. Modules are listed in the following format,
where class is one of: D — Device,
P — Protocol, or F — Filter:
module name | date compiled | revision | class
- Disable the Photon interface (it's started by default).
- Start the resource manager interface (only use if you aren't using Photon).
- Verbose output.
More v characters cause more verbosity.
The protocol and protocol_opts are:
zytronic [zytronic_opts] [fd fd_opts]
The protocol modules and their options are:
- zytronic — Zytronic protocol
- -a averaging
- The number of frames for x-y averaging, in the range from 0 through 9.
The default is 9.
This effects the accuracy of each touch (0 is less accurate, and
9 is more accurate).
- -b baud
- Baud rate (default 9600).
- -g thickness
- The glass thickness (0 = thin, 1 = medium, 2 = thick).
- Don't reset the device (the default is to reset it).
- -t threshold
- The touch threshold (sensitivity); the range is from 0 through 44,
where 0 is very sensitive, and 44 is not sensitive.
The default is 19.
The device modules and their options are:
- fd — open a device via open().
- -d device
- The device to open fd on (default /dev/ser1).
- The input interface is serial (being
aware that the module is able to use some devctl()
commands specific to serial ports).
The filter modules and their options are:
- abs — transform and compress absolute coordinate
- Touching the screen is a right mouse button (default left).
- Calibrate mode; don't transform coordinates.
- -f filename
- The calibration filename.
- -o x,y
- The origin of the display region (default: the origin of the
- -s x,y
- The coordinates of the lower right corner of the display region
(default: the width and height of the graphics region).
- Reverse X.
- Reverse Y.
The devi-zytronic command starts the Zytronic input manager
Connect the Zytronic controller to the first serial port:
devi-zytronic zytronic fd -d/dev/ser1 abs -b