				===================                 Updated:
				Inputlibs in LibGII                 990514
				===================


=========
linux-kbd
=========

Description
+++++++++++

Puts the Linux console into mediumraw mode and reads keyboard events from
it. Generates evKey* events.

Arguments
+++++++++

Required:
None.

Optional.
<filename>
	* <filename> - which tty to open, the default is /dev/tty.

Environment variables
+++++++++++++++++++++

GII_CTRLALT_VTSWITCH - use Ctrl-Alt-Fn to switch VTs. The default is Alt-Fn.


===========
linux-mouse
===========

Description
+++++++++++

Opens a file (usually a device file or pipe) and reads mouse protocol data
from it. Generates evPtr* events.

Arguments
+++++++++

Required:
None.

Optional:
<mousetype>[,<file>[,<opts>]]
	* <moustype> - What kind of mouse is attached. The following mousetypes
		are supported:
		+ ms		Two button Microsoft compatible mice.
		+ ms3|mman+	Serial Intellimouse or compatible. Supports
				four buttons for mice like the Logitech
				MouseMan+.
		+ msc		MouseSystems compatible (used in most 3-button
				mice)
		+ logi		Used in older Logitech serial mice.
		+ mm		MM series mice.
		+ sun		Sun mice. same as 'msc' protocol, but only 3
				bytes per packet.
		+ mman		MouseMan protocol.
		+ bm		Non-PS/2 busmouse.
		+ ps2		PS/2 mice (most non-serial mice use this
				protocol)
		+ imps2		PS/2 IntelliMouse and compatible.
		+ mmanps2	PS/2 Logitech MouseMan+ and compatible.

		Most of the strings supported by GPM, SVGAlib and XFree can
		be given as mousetypes.
		You may also specify 'auto' as the mousetype. In that case
		we first try to read ~/.ggi/input/linux-mouse and then
		$prefix/etc/ggi/input/linux-mouse. In the first file found
		we look for the following entries:
		mouse <moustype>
		mdev <file>
		If none of the files are found we first try to autodetect
		the mouse, and as a last resort we try parsing
		/etc/vga/libvga.config to find out the necessary info.

	* <file> - The file to read from. Defaults to /dev/mouse

	* <opts> - Override parameters for the mousetype, has the format:
		[b<baud>][r<rts>][d<dtr>]
		b specifies <baud> as the baudrate
		d and r turns off dtr/rts respectively if 0, and turns it on
		if >0.


=====
mouse
=====

Description
+++++++++++

Reads mouse protocol data from the specified file descriptor. This mainly
designed to be opened automaticly by input-linux-mouse, but can also be used
stand alone. Generates evPtr* events.

Arguments
+++++++++

Required:
<fd>,<prot>
	<fd>   - specifies the file descriptor to read from.
	<prot> - specifies the mouse-protocol to use. Supported are the same
		as for linux-mouse, except that 'auto' is not supported.
		Also note that some of the mousetypes in linux-mouse uses the
		same protocol.
