Re: Trackman Marble under wayland in Buster

2019-08-16 Thread Henning Follmann
On Wed, Aug 07, 2019 at 11:29:48AM -0400, Henning Follmann wrote:
> Hello,
> I just updated to buster and with that comes wayland.
> I am using a Trackman marble and I do have a custom
> configuration for it to switch to scoll when I hold
> button 8 (called "EmulateWheel").
> Is there a way to do this under wayland?
> 
> here is my previous marblemouse.conf for X:
> 
> Section "InputClass"
> Identifier  "Marble Mouse"
> MatchProduct "Logitech USB Trackball"
> MatchIsPointer "on"
> MatchDevicePath "/dev/input/event*"
> Driver "evdev"
>   Option "Buttons""9"
>   Option "ButtonMapping"  "1 9 3 4 5 6 7 2 8"
> Option "EmulateWheel" "true"
> Option "EmulateWheelButton" "8"
> Option "Emulate3Buttons" "true"
> EndSection
> #


Replying to myself:

You can get scrolling capabilities through gsettings:

$> gsettings set org.gnome.desktop.peripherals.trackball \
   scroll-wheel-emulation-button 8

You only have to do this once for the current user.

BUT
sometimes it is "off". Sporadically it does not work.
But this might have to do with this laptop. The
power management and the usb somehow interfere with
each other. It is a hardware problem.

-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: Trackman Marble under wayland in Buster

2019-08-13 Thread Zenaan Harkness
On Wed, Aug 07, 2019 at 11:29:48AM -0400, Henning Follmann wrote:
> Hello,
> I just updated to buster and with that comes wayland.
> I am using a Trackman marble and I do have a custom
> configuration for it to switch to scoll when I hold
> button 8 (called "EmulateWheel").
> Is there a way to do this under wayland?
> 
> here is my previous marblemouse.conf for X:
> 
> Section "InputClass"
> Identifier  "Marble Mouse"
> MatchProduct "Logitech USB Trackball"
> MatchIsPointer "on"
> MatchDevicePath "/dev/input/event*"
> Driver "evdev"
>   Option "Buttons""9"
>   Option "ButtonMapping"  "1 9 3 4 5 6 7 2 8"
> Option "EmulateWheel" "true"
> Option "EmulateWheelButton" "8"
> Option "Emulate3Buttons" "true"
> EndSection
> #


Please do post an update if you find out - perhaps someone on a
Wayland mailing list might know.  Still on Debian 9 here, but will
upgrade in a few months I guess…



Re: Trackman Marble under wayland in Buster

2019-08-07 Thread Zenaan Harkness
On Wed, Aug 07, 2019 at 11:29:48AM -0400, Henning Follmann wrote:
> Hello,
> I just updated to buster and with that comes wayland.
> I am using a Trackman marble and I do have a custom
> configuration for it to switch to scoll when I hold
> button 8 (called "EmulateWheel").
> Is there a way to do this under wayland?
> 
> here is my previous marblemouse.conf for X:
> 
> Section "InputClass"
> Identifier  "Marble Mouse"
> MatchProduct "Logitech USB Trackball"
> MatchIsPointer "on"
> MatchDevicePath "/dev/input/event*"
> Driver "evdev"
>   Option "Buttons""9"
>   Option "ButtonMapping"  "1 9 3 4 5 6 7 2 8"
> Option "EmulateWheel" "true"
> Option "EmulateWheelButton" "8"
> Option "Emulate3Buttons" "true"
> EndSection
> #

+1

BTW, why do you have buttons "9"?

My marble conf is:

Section "InputClass"
  Identifier  "Marble Mouse"
  MatchProduct "Logitech USB Trackball"
  MatchIsPointer "on"
  MatchDevicePath "/dev/input/event*"
  Driver "evdev"
  Option "ButtonMapping" "1 8 3 4 5 6 7 2 2"
  Option "EmulateWheel" "true"
  Option "EmulateWheelButton" "8"
  Option "ZAxisMapping" "4 5"
  Option "XAxisMapping" "6 7"
  Option "Emulate3Buttons" "true"
EndSection


Greatest mouse in the world once it's set up right - keep one on each
side of the keyboard too, very handy :)



Trackman Marble under wayland in Buster

2019-08-07 Thread Henning Follmann
Hello,
I just updated to buster and with that comes wayland.
I am using a Trackman marble and I do have a custom
configuration for it to switch to scoll when I hold
button 8 (called "EmulateWheel").
Is there a way to do this under wayland?

here is my previous marblemouse.conf for X:

Section "InputClass"
Identifier  "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Buttons""9"
Option "ButtonMapping"  "1 9 3 4 5 6 7 2 8"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "8"
Option "Emulate3Buttons" "true"
EndSection
#
TIA
-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com