This allows one to specify the button mapping order in
/etc/sysconfig/mouse with:

BUTTONORDER="321"

--- gpm.dist    Mon Jan 10 11:45:28 2000
+++ gpm Mon Jan 10 11:52:20 2000
@@ -34,10 +34,14 @@
                MOUSETYPE=ms
        fi
 
+       if [ "$BUTTONORDER" != "" ]; then
+               BUTTONARGS="-B $BUTTONORDER"
+       fi
+
        if [ -n "$MOUSETYPE" ]; then
-               daemon gpm -t $MOUSETYPE
+               daemon gpm -t $MOUSETYPE $BUTTONARGS
        else
-               daemon gpm
+               daemon gpm $BUTTONARGS
        fi
        echo
        touch /var/lock/subsys/gpm

b.


--
Brian J. Murrell                              InterLinx Support Services, Inc.
North Vancouver, B.C.                                             604 983 UNIX
        Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD

Reply via email to