105 строки
4.4 KiB
Plaintext
105 строки
4.4 KiB
Plaintext
%C [general_opts] protocol* [protocol_opts]* filter* [filter_opts]*
|
|
|
|
%C : HID input manager
|
|
|
|
This driver doesn't care about physical interfaces of real devices.
|
|
It just relies on io-hid resource manager and supplementary input
|
|
modules service.
|
|
|
|
(!!!) Do not use this source code to modify default devi-hid driver.
|
|
|
|
General opts:
|
|
-b prevent CASB exit (default allow CASB)
|
|
-d photon device (default /dev/photon | PHOTON env var)
|
|
-g input group (default 1)
|
|
-l list List the internal modules. Modules are listed in
|
|
the following format:
|
|
|
|
module name | date last compiled | revision | class
|
|
where: class is comprised of (P)rotocol and/or (F)ilter
|
|
|
|
-P disable photon interface (default start Photon interface)
|
|
-r start resource manager interface (only use if not using Photon)
|
|
-v increment verbosity (default 0)
|
|
|
|
protocol modules and their options:
|
|
|
|
kbd HID compliant keyboard
|
|
-k rate[,delay] Keyboard rate(Hz)/delay(ms) (default 150Hz, 500ms)
|
|
-u device optional: USB device number
|
|
|
|
mouse HID compliant mouse
|
|
|
|
touch HID compliant touch screen
|
|
-K Kiosk Mode (cursor does not drag).
|
|
-m size Touchscreen Matrix size (default 1023). This is used for
|
|
calculated transformation points.
|
|
-u device optional: USB device number
|
|
|
|
|
|
filter modules and their options:
|
|
|
|
keyboard Translate scan codes to UNICODE
|
|
-k kbd_file File to use for keyboard mapping
|
|
-L [N][C][S]
|
|
Set the initial state of the keyboard and its LEDs (default all off):
|
|
- C turn CapsLock on.
|
|
- N turn NumLock on.
|
|
- S turn ScrollLock on.
|
|
|
|
rel Filters and compresses relative coordinate "mouse" events
|
|
-a wheel acceleration parameter (default 10); the more this
|
|
value, the more mouse wheel acceleration effect
|
|
-G gain Motion multiplier (default 1)
|
|
-l Swap right and left buttons around
|
|
-T threshold Speed doubling threshold in mickeys (100)
|
|
-x Reverse X
|
|
-y Reverse Y
|
|
|
|
abs Transform and compresses absolute coordinate "touch" events
|
|
-a {3/4} Transformation algorithm, available algorithms 3 point and
|
|
4 point (default 3 point).
|
|
-b Touching the screen is a right mouse button (default left)
|
|
-c Calibrate mode - don't transform coordinates
|
|
-f filename Calibration file name
|
|
(default /etc/system/config/calib.{hostname}).
|
|
Note: If You want use vmware mouse, your calibration file need
|
|
has size 0
|
|
-o x,y Origin of display region (default, origin of graphics region)
|
|
-s x,y Coordinates of lower right corner of display region
|
|
(default, width and height of graphics region)
|
|
-x Reverse X
|
|
-y Reverse Y
|
|
-D pixels Differential filter that will filter out packets that are
|
|
within a number of pixels of the last touch. This prevents
|
|
sending repeat coordinates.
|
|
-N pixels Noise filter that will filter out packets that are outside
|
|
the max number of pixels. This filters out jittery events
|
|
from some touchscreens.
|
|
-S ms Soft Button release, emulates a release event after X ms of
|
|
inactivity from the touch controller. This is helpful for
|
|
screens that are not very sensitive, so every event received
|
|
before X number of ms expire is treated as a pen down event.
|
|
-O origin Touch screen origin (0,0). This is used for the calibration
|
|
free transformation. If no calibration file is specified
|
|
the driver will attempt to calculate the X,Y position based
|
|
on screen resolution and touch screen matrix size (if known).
|
|
Possible values are:
|
|
Upper Left = 0
|
|
Lower Left = 1
|
|
Lower Right = 2
|
|
Upper Right = 3
|
|
|
|
Example:
|
|
-------
|
|
|
|
%C kbd mouse
|
|
|
|
Start the HID driver with a keyboard and mouse
|
|
|
|
|
|
%C kbd touch abs -a4
|
|
|
|
Start the HID driver keyboard and touchscreen and tell the touchscreen to use the
|
|
older, four point calibration algorithm.
|