LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (http://www.linuxquestions.org/questions/puppy-71/)
-   -   Marble Mouse Scrolling in Puppy (http://www.linuxquestions.org/questions/puppy-71/marble-mouse-scrolling-in-puppy-4175507606/)

linuxhippy 06-10-2014 10:08 AM

Marble Mouse Scrolling in Puppy
 
I did a full install of Puppy Precise 5.7.1 to my hard drive. I also have a Logitech Marble Mouse that I've been using for years in Ubuntu by adding this /etc/X11/xorg.conf file:

****************************************************
# - - - Logitech Marble Mouse Settings - - -
#
# For the sake of comments below, a Logitech Marble Mouse has buttons
# labeled from left to right: A (large), B, C, D (large).

# Preferred options for right-handed usage are:
# Left to right: A=1,normal click B=2,middle-click C=2,middle-click D=3,right-click
# Press button B (hold button while rolling trackball) to emulate wheel-scrolling.

# Preferred options for left-handed usage (saying 'alternate-click' instead of 'right click'):
# Left to right: A=3,alternate-click B=2,middle-click C=2,middle-click D=1,normal click
# Press button C (hold button while rolling trackball) to emulate wheel-scrolling.

# The trackball can scroll in two-axes, unlike a typical wheel mouse. Adjust the
# settings to constrain the scroll action to vertical-axis-only if you prefer.

# Pressing both large buttons simultaneously (b) produces a "back" action (=Cool. Finally,
# pressing and holding button B while rolling the trackball emulates wheel-rolling action.

Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
# Physical button #s: A b D - - - - B C b = A & D simultaneously; - = no button
Option "ButtonMapping" "1 8 3 4 5 6 7 2 2"
# Option "ButtonMapping" "1 8 3 4 5 6 7 2 2" # For right-hand placement
# Option "ButtonMapping" "3 8 1 4 5 6 7 2 2" # For left-hand placement
#
# EmulateWheel refers to emulating a mouse wheel using Marble Mouse trackball.
Option "EmulateWheel" "true"
# Option "EmulateWheelButton" "8" # Factory default; use "9" for left-side placement.
Option "EmulateWheelButton" "8"
# Option "ZAxisMapping" "4 5"
Option "ZAxisMapping" "4 5"
# Option "XAxisMapping" "6 7" # Disable this for vertical-only scrolling.
# Option "XAxisMapping" "6 7"
# Emulate3Buttons refers to the act of pressing buttons A and D
# simultaneously to emulate a middle-click or wheel click.
Option "Emulate3Buttons" "true"
# Option "Emulate3Buttons" "true" # Factory default.
EndSection

***********************************************************

When I try adding this file to the existing xorg.conf in Puppy (no * marks) and reboot it won't start and another OS needs to edit the xorg.conf file to make Puppy boot again.

So, how can I properly add this to Puppy's xorg.conf to make the marble mouse scroll or is there another way to get the mouse scrolling?

jamison20000e 06-10-2014 10:43 AM

Does the mouse work at first (without scroll,) all you should really need to add in there is the
Code:

Option "ZAxisMapping" "4 5"
part
http://unix.stackexchange.com/questi...n-ubuntu-13-10
https://wiki.archlinux.org/index.php...uttons_Working
http://ftp.x.org/pub/X11R7.0/doc/html/mouse.4.html
or GUI? Sorry I don't know an easy way like with my touch pad
Code:

synclient VertEdgeScroll=1
:(

linuxhippy 06-10-2014 10:49 AM

It does work as a regular mouse with no scroll. Since it doesn´t have a wheel, it simulates scrolling by pressing the smaller left button and moving the marble up/down. In addition to the zaxis mapping I probably also need to define the buttons as there are 4 and not just 2.


All times are GMT -5. The time now is 11:40 PM.