Talk:Logitech Marble Mouse

From ArchWiki

This page helped me configure my marble mouse on X on linux. However I think there are some errors.

Here is the original text,

Right-hand Usage Setup

If you are right-handed you may prefer these assignments:

  • left click: right big button
  • middle click: right little button
  • right click: left big button
  • scrolling: left little button + ball movement



I am a right handed person and this is not correct buttons for a right handed person.

For a right handed person, I think, following is the correct usage

  • left click: left big button
  • middle click: left+right big buttons
  • right click: right big button
  • scrolling: left little button + ball movement


Here is what I put in my xorg.conf

Section "InputDevice"
   Identifier "Mouse0"
   Driver     "mouse"
   Option     "CorePointer"
   Option     "Device"             "/dev/input/mice"
   Option     "Protocol"           "ExplorerPS/2"
   Option     "Buttons"            "9"
   Option     "ZAxisMapping"       "4 5"
   Option     "XAxisMapping"       "6 7"
   Option     "EmulateWheel"       "true"
   Option     "EmulateWheelButton" "8"
EndSection

The mouse works perfectly without the mod maps.

Following also works without tweaking firefox The left little button one click browser back The right little button one click browser forward.

Thanks for the info. I hope my comments help someone who is puzzled as me

Cont'd

I also didn't like the changes, but my alterations were very minor, and I was able to achieve the same effect:

   Section "InputClass"
       Identifier   "Logitech Trackball"
       MatchProduct "Trackball"
       Option       "EmulateWheel"       "True"
       Option       "EmulateWheelButton" "8"
       Option       "XAxisMapping"       "6 7"
       Option       "Emulate3Buttons"    "True"
   EndSection

Cont'd 2023

To achieve the same effect with libinput, you can use

   Section "InputClass"
       Identifier "Trackball scroll"
       MatchIsPointer "on"
       Driver "libinput"
       Option "ScrollMethod" "button"
       Option "ScrollButton" "2" # or whatever button you want - 8 still works
       Option "MiddleEmulation" "on"
   EndSection