Date: Wed, 6 Dec 2000 13:42:38 +0100 (CET) From: marc.vanwoerkom@science-factory.com To: FreeBSD-gnats-submit@freebsd.org Cc: 3d@freebsd.org Subject: docs/23324: add information to FAQ on how to use wheeled mouse under XFree86 4.x Message-ID: <200012061242.eB6Cgc589618@nil.science-factory.com> Resent-Message-ID: <200012061250.eB6Co2030604@freefall.freebsd.org>
index | next in thread | raw e-mail
Note: There was a bad value `update' for the field `>Class:'.
It was set to the default value of `sw-bug'.
>Number: 23324
>Category: docs
>Synopsis: add information to FAQ on how to use wheeled mouse under XFree86 4.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 06 04:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Marc van Woerkom
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD nil.science-factory.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 7 15:12:53 CET 2000 mvw@nil.science-factory.com:/usr/obj/usr/src/sys/NIL i386
>Description:
XFree86 config format changed between 3.3.x and 4.x,
this is true for configuring wheeled mice as well
>How-To-Repeat:
read FAQ :-)
>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
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>
Regards,
Marc
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012061242.eB6Cgc589618>
