Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 21:15
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
How to make my Logitech Marble Mouse Scroll?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
linuxhippy

Joined: 18 Oct 2005
Posts: 7
Location: Philadelphia, PA-USA

PostPosted: Tue 10 Jun 2014, 09:39    Post subject:  How to make my Logitech Marble Mouse Scroll?  

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?

_________________
Marty
Back to top
View user's profile Send private message 
linuxhippy

Joined: 18 Oct 2005
Posts: 7
Location: Philadelphia, PA-USA

PostPosted: Fri 13 Jun 2014, 10:21    Post subject: got it!  

got it working. What I did was add the marble xorg.conf to the existing /usr/share/X11/xorg.conf.d/10-evdev.conf so it looks like this now:

# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

# - - - 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
************************************************

Reboot and open firefox to a long page. To scroll hold down the smaller left button and marble up/down at the same time.

EDIT:

I did find that the marble scrolling only seems to work in firefox and I'm not sure why. It may be because I have the firefox addon called All-In-One-Gestures.

_________________
Marty
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0551s ][ Queries: 12 (0.0035s) ][ GZIP on ]