<HTML ><HEAD ><TITLE >XFree 3.x</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.63 "><LINK REL="HOME" TITLE="Second Mouse in X mini-HOWTO" HREF="index.html"><LINK REL="PREVIOUS" TITLE="Mouse Protocols" HREF="protocol.html"><LINK REL="NEXT" TITLE="XFree 4.x" HREF="xfree4.html"></HEAD ><BODY CLASS="SECTION" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Second Mouse in X mini-HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="protocol.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="xfree4.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECTION" ><H1 CLASS="SECTION" ><A NAME="XFREE3" >4. XFree 3.x</A ></H1 ><P >In XFree 3.x, additional pointing devices, like mice or tablets, are defined through the use of an <EM >Xinput</EM > section. The primary mouse is defined as usual: <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="PROGRAMLISTING" >Section "Pointer" Protocol "PS/2" Device "/dev/mouse" EndSection</PRE ></FONT ></TD ></TR ></TABLE > In the case above, it's a regular three-button PS/2 mouse, which works for the trackpoint as well. Now, for the USB mouse: <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="PROGRAMLISTING" > Section "Xinput" SubSection "Mouse" DeviceName "USB Mice" Protocol "IMPS/2" ZAxisMapping 4 5 Port "/dev/input/mice" Alwayscore EndSubSection EndSection</PRE ></FONT ></TD ></TR ></TABLE > My mouse is a wheel mouse, thus the protocol is <EM >IMPS/2</EM >. ZAxisMapping line is also needed for the wheel to work. I also want the mouse to always work alongside the other one, and this is achieved through the <EM >AlwaysCore</EM > option. If. for example, this was a serial mouse, the <EM >Port</EM > would read <B CLASS="COMMAND" >"/dev/ttyS0"</B > for <B CLASS="COMMAND" >COM1</B >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="protocol.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="xfree4.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Mouse Protocols</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >XFree 4.x</TD ></TR ></TABLE ></DIV ></BODY ></HTML >