Zytronic input manager for Photon
devi-zytronic [general_opts]
protocol* [protocol_opts]*
device* [device_opts]*
filter* [filter_opts]*
Neutrino
|
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 utility:
calib > calib_file.txt
For more information, see the calib utility
in the Utilities Reference, and
Touchscreens
in the Neutrino User's Guide. |
General options:
- -b
- Prevent the use of the
Ctrl-Alt-Shift-Backspace
keychord to exit Photon (permitted by default).
- -d device
- Device (default: /dev/photon or $PHOTON).
- -G
- 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).
- -l
- 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
- -P
- Disable the Photon interface (it's started by default).
- -r
- Start the resource manager interface (only use if you aren't using Photon).
- -v[v]...
- 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).
- -R
- 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).
- -s
- 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
“touch” events.
- -b
- Touching the screen is a right mouse button (default left).
- -c
- 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
graphics region).
- -s x,y
- The coordinates of the lower right corner of the display region
(default: the width and height of the graphics region).
- -x
- Reverse X.
- -y
- Reverse Y.
The devi-zytronic command starts the Zytronic input manager
for Photon.
Connect the Zytronic controller to the first serial port:
devi-zytronic zytronic fd -d/dev/ser1 abs -b
devi-*,
inputtrap