"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "gpm-1.99.7/doc/drivers/README.evabs" of archive gpm-1.99.7.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 
    2 This file tells how to use gpm with the driver for event-devices
    3 that use absolut coordiantes (evabs) like touchscreens. It was
    4 desigened and tested for eGalax controllers, but should work with
    5 others as well.
    6 
    7 
    8 		CALIBRATION
    9 		-----------
   10 
   11 Calibration is done with a configfile. It consists of a single
   12 line of 8 integers:
   13 
   14 ex_min ex_max ey_min ey_max sx_min sx_max sy_min sy_max
   15 
   16 The first four values (prefixed withe here) show the minimum and
   17 maximum values of coordinates the event-device delivers for
   18 x- and y-axis, respectivly. The last four values show range of 
   19 coordinates to which the input should be scaled, for example your
   20 screen resolution. This works for text-mode, too.
   21 
   22 An example for an 800x600 screen would look like this:
   23 
   24 50 1950 50 1950 0 799 0 599
   25 
   26 
   27 		GPM OPERATION
   28 		-------------
   29 
   30 You need to use the evabs devicetype to use this feature, a
   31 device that delivers the absolute coordinates a config-file
   32 that describes how to scale these coordinates, and a repeater-
   33 device used for output.
   34 The pseudo-file /proc/bus/input/devices should tell you which
   35 event-device to use.
   36 
   37 Usage example:
   38 
   39 gpm -t evabs  -m /dev/input/event2 -c /etc/gpm-calib.conf -R ps2