XFree86 config format changed between 3.3.x and 4.x, this is true for configuring wheeled mice as well Fix: Suggested updated to FAQ. (Please compile the doc before submitting, I was not able to check syntax) =================================================================== RCS file: /home/ncvs/doc/en_US.ISO_8859-1/books/faq/book.sgml,v retrieving revision 1.129 Regards, Marc--B7Ro5thONMys1VBjnDvVsiOh9PKy37mascJK0fsQGFsnIyLQ Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -u -r1.129 book.sgml --- book.sgml 2000/12/05 13:18:16 1.129 +++ book.sgml 2000/12/06 12:36:47 @@ -6697,7 +6697,8 @@ <example> <title><quote>Pointer</quote> Section for Wheeled - Mouse in XF86Config with moused Translation</title> + Mouse in XFree86 3.3.x series XF86Config with moused + Translation</title> <programlisting>Section "Pointer" Protocol "SysMouse" @@ -6706,6 +6707,33 @@ EndSection </programlisting> </example> + + <example> + <title><quote>InputDevice</quote> Section for Wheeled + Mouse in XFree86 4.x series XF86Config with + automatic protocol recognition and button mapping + Translation</title> + + <programlisting>Section "InputDevice" + Identifier "Mouse1" + Driver "mouse" + Option "Protocol" "auto" + Option "Device" "/dev/psm0" + Option "Buttons" "5" + Option "ZAxisMapping" "4 5" +EndSection + </programlisting> + </example> + + <example> + <title><quote>.emacs</quote> example for naive + page scrolling with Wheeled Mouse</title> + <programlisting>;; wheel mouse +(global-set-key [mouse-4] 'scroll-down) +(global-set-key [mouse-5] 'scroll-up) + </programlisting> + </example> + </listitem> <listitem> How-To-Repeat: read FAQ :-)
State Changed From-To: open->closed Committed, thanks!
Hi, thanks for submitting that change to question 8.4 of the FAQ. Unfortunately it ended up slightly wrong: 1. The XF4 example (now example 8-2) is no moused feature, but works with the X server, so it should slip a bit below (making it the example after present example 8-4) 2. It should be stated explicitly in this section that XFree86 3.3.x series X11 servers and XFree86 4.x series servers use different configuration file formats and that the location of each of these is different! XF 3.3.x: /etc/XF86Config XF 4.x: /etc/X11/XF86Config 3. Thus most of the time when there is XF86Config mentioned, or a config example given - this is just valid for old XFree86 3.3.x! Again, please state at the beginning that the format and location has changed from 3.3.x to 4.x Give two versions of each example, one in 3.3.x format, one in 4.x format. Regards, Marc