Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

input-linux-mouse(7) [debian man page]

input-linux-mouse(7)							GGI						      input-linux-mouse(7)

NAME
input-linux-mouse - Direct mouse input SYNOPSIS
input-linux-mouse: [<mousetype>] [,<file>] [,[b<bauds>][r<rts>][d<dtr>]] DESCRIPTION
This input opens a file (usually a device file or pipe) and reads mouse protocol data from it. OPTIONS
mousetype Indicates what type of mouse is attached. The following types are supported: o ms, Microsoft : Two button Microsoft compatible mice. o ms3, IntelliMouse, mman+ : Serial Intellimouse or compatible. Supports four buttons for mice like the Logitech MouseMan+. o MouseSystems, msc : MouseSystems compatible (used in most 3-button mice). o Logitech, logi : Used in older Logitech serial mice. o mm, MMSeries : MM series mice. o Sun : Sun mice. The protocol is the same as 'msc' protocol except it used only 3 bytes per packet. o MouseMan, mman : MouseMan protocol. o BusMouse, bm : Non-PS/2 busmice. o LinuxUSB, lnxusb : IMPS2 that doesn't choke on USB (no init attempted). o ps2, PS/2 : PS/2 mice (most non-serial mice use this protocol) o imps2, IMPS/2 : PS/2 IntelliMouse and compatible (not USB, see lnxusb for that.) o mmanps2, MouseManPlusPS/2 : PS/2 Logitech MouseMan+ and compatible. Most of the strings supported by GPM, SVGAlib and XFree can be specified. If you find one that isn't, please report. The special value auto tells input-linux-mouse to read ~/.ggi/input/linux-mouse, and if that fails, $sysconfdir/ggi/input/linux- mouse. If none of the two files are found, input-linux-mouse tries to auto-detect the mouse, and as a last resort uses the mouse information specified in /etc/vga/libvga.config. file The file to read mouse protocol data from; defaults to /dev/mouse. baud Baud rate of mouse device. rts Turns off RTS if set to 0; turns RTS on if set to a number greater than 0. dtr Turns off DTR if set to 0; turns DTR on if set to a number greater than 0. FEATURES
o Generates evPtr* events. FILES
~/.ggi/input/linux-mouse and $sysconfdir/ggi/input/linux-mouse consists of the following entries: mouse mousetype mdev file where mousetype and file has the same semantics as the invocation options of the same names. libgii-1.0.x 2003-08-11 input-linux-mouse(7)

Check Out this Related Man Page

vga_getmousetype(3)						Svgalib User Manual					       vga_getmousetype(3)

NAME
vga_getmousetype - returns the mouse type configured SYNOPSIS
#include <vga.h> int vga_getmousetype(void); DESCRIPTION
This returns the mouse type configered in /etc/vga/libvga.config. The return value logically anded with MOUSE_TYPE_MASK is one of (defined in (#include <vgamouse.h>): MOUSE_NONE There is no mouse installed. It is good style to check if there is no mouse available first and then enable mouse support to avoid an svgalib error message if you try to initialize a non existing mouse. MOUSE_MICROSOFT A Microsoft compatible mouse (2 buttons) (default). MOUSE_MOUSESYSTEMS A MouseSystems compatible mouse (3 buttons). MOUSE_MMSERIES A MMSeries compatible mouse. MOUSE_LOGITECH An ordinary LogiTech compatible mouse. MOUSE_BUSMOUSE A busmouse. MOUSE_PS2 A PS/2 busmouse. MOUSE_LOGIMAN An ordinary LogiTech LogiMan compatible mouse. MOUSE_GPM The GPM daemon is used. MOUSE_SPACEBALL A 3d SpaceTec Spaceball pointer device. MOUSE_INTELLIMOUSE A Microsoft IntelliMouse or Logitech MouseMan+ on serial port. MOUSE_IMPS2 A Microsoft IntelliMouse or Logitech MouseMan+ on PS/2 port. The return value may be ored with one or more of the following flags MOUSE_CHG_DTR change the setting of DTR to force the mouse to a given mode. MOUSE_DTR_HIGH set DTR to high instead of setting it to low (default). MOUSE_CHG_RTS change the setting of RTS to force the mouse to a given mode. MOUSE_RTS_HIGH set RTS to high instead of setting it to low (default). Your application may use this info to perform specific actions (go into a 3d pointer device mode for example). SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), mousetest(6), spin(6), mouse_close(3), mouse_getposition_6d(3), mouse_getx(3), mouse_init(3), mouse_setposition(3), mouse_setscale(3), mouse_setwrap(3), mouse_setxrange(3), mouse_update(3), mouse_waitforupdate(3), vga_init(3), vga_setmousesupport(3), vga_waitevent(3) AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the original documentation is unknown. It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>. Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual. Svgalib (>;= 1.2.11) 27 July 1997 vga_getmousetype(3)
Man Page