Dyna input manager for Photon
devi-dyna [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 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
- -t factor
- The throttle factor in ms (default 0).
- -v[v]...
- Verbose output.
More v characters cause more verbosity.
The protocol and protocol_opts are:
dyna [dyna_opts] [fd fd_opts]|[uart uart_opts]
The protocol modules and their options are:
- dyna — Dyna SC3 protocol
- -b baud
- Baud rate (default 2400)
The device modules and their options are:
- fd — open a device via open().
- -d device
- The device to open fd on (default /dev/ser1).
- uart — access the 8250/16450/16550 UART directly.
- -i irq
- The IRQ for the serial device (default 4).
- -p ioport
- The port of the serial device (default 3f8).
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).
The devi-dyna command starts the Dyna input manager for Photon.
Connect the Dyna controller to the first serial port:
devi-dyna dyna fd -d/dev/ser1 abs -b
devi-*,
inputtrap