Re: Re: Middle button emulation...

2017-07-03 Thread Peter Hutterer
u can also do this wit= > > > > h xinput: > > > > > > > > # Find your pointing device > > > > xinput list > > > > > > > > # find all configurable options of that device > > > > xinput list-props > > > >

Re: Re: Middle button emulation...

2017-07-03 Thread Robert Heller
rg.conf.d/my-mouse.conf > > > > > > If you don't want to wite a configutation file you can also do this wit= > > > h xinput: > > > > > > # Find your pointing device > > > xinput list > > > > > > # find all confi

Re: Re: Middle button emulation...

2017-07-02 Thread Peter Hutterer
: > > > > # Find your pointing device > > xinput list > > > > # find all configurable options of that device > > xinput list-props > > > > # switch in middle button emulation > > xinput set-prop "Evdev Middle Button Emulation&q

Re: Re: Middle button emulation...

2017-07-01 Thread Robert Heller
:-) > > into /usr/share/X11/xorg.conf.d/my-mouse.conf > > If you don't want to wite a configutation file you can also do this wit= > h xinput: > > # Find your pointing device > xinput list > > # find all configurable options of that device > xinput list-

Re: Middle button emulation...

2017-07-01 Thread Ralf Mattes
le you can also do this with xinput: # Find your pointing device xinput list # find all configurable options of that device xinput list-props # switch in middle button emulation xinput set-prop "Evdev Middle Button Emulation" 1 HTH, Ralf Mattes __

Re: Middle button emulation...

2017-07-01 Thread Ralf Mattes
Am Samstag, 01. Juli 2017 14:27 CEST, Robert Heller schrieb: > I can't seem to find the option/setting magic to get middle button emulation > enabled and working. This is on a Raspberry Pi (Raspbian with > xserver-xorg-input-all 1:7.7+16 and xserver-xorg-input-libinput 0.20.0-

Middle button emulation...

2017-07-01 Thread Robert Heller
I can't seem to find the option/setting magic to get middle button emulation enabled and working. This is on a Raspberry Pi (Raspbian with xserver-xorg-input-all 1:7.7+16 and xserver-xorg-input-libinput 0.20.0-1). I have a keyboard/trackball combo device and it only has two buttons. I have

Re: Xinput button mapping and middle button emulation

2016-10-27 Thread Peter Hutterer
--- xserver-xorg-input-evdev-2.10.1/include/evdev-properties.h > 2015-08-11 07:19:19.0 +0200 > +++ xserver-xorg-input-evdev-2.10.1_tobia/include/evdev-properties.h > 2016-10-24 13:20:20.162688937 +0200 > @@ -33,6 +33,8 @@ > #define EVDEV_PROP_MIDBUTTON "Evdev Middle But

Re: Xinput button mapping and middle button emulation

2016-10-24 Thread Tobia Conforto
.10.1/aclocal.m4 --- xserver-xorg-input-evdev-2.10.1/include/evdev-properties.h 2015-08-11 07:19:19.0 +0200 +++ xserver-xorg-input-evdev-2.10.1_tobia/include/evdev-properties.h 2016-10-24 13:20:20.162688937 +0200 @@ -33,6 +33,8 @@ #define EVDEV_PROP_MIDBUTTON "Evdev Middle Button

Re: Xinput button mapping and middle button emulation

2016-10-17 Thread Peter Hutterer
On Mon, Oct 17, 2016 at 07:57:14PM +0200, Tobia Conforto wrote: > > I think what you could do is map MB emulation to button 10 (that is > > driver-internal) and then init the button mapping so that button 10 is > > logical button 2 and button 2 is logical button 8. > > Yes, but how do I map the MB

Re: Xinput button mapping and middle button emulation

2016-10-17 Thread Tobia Conforto
> I think what you could do is map MB emulation to button 10 (that is > driver-internal) and then init the button mapping so that button 10 is > logical button 2 and button 2 is logical button 8. Yes, but how do I map the MB emulation to button 10, short of patching the driver? It doesn't look lik

Re: Xinput button mapping and middle button emulation

2016-10-16 Thread Peter Hutterer
On Thu, Oct 13, 2016 at 01:31:06PM +0200, Tobia Conforto wrote: > Yes, I probably misused a couple of terms. > > As you say, the middle button emulation happens in the evdev Xorg > driver, in fact it's controlled by the "Emulate3Buttons" option. The > kernel simply g

Re: Xinput button mapping and middle button emulation

2016-10-13 Thread Tobia Conforto
Yes, I probably misused a couple of terms. As you say, the middle button emulation happens in the evdev Xorg driver, in fact it's controlled by the "Emulate3Buttons" option. The kernel simply generates the MSC_SCAN and BTN_* codes that I pasted. So, as far as I can tell, there

Re: Xinput button mapping and middle button emulation

2016-10-13 Thread Peter Hutterer
> 4.4.0-38-generic. > > Buttons A and B work out of the box as primary (button 1) and right > click (button 3). Pressing A + B together triggers the middle button > emulation (button 2) which is also great. > > Now I'd like to map buttons C and D for my own purposes, but I cannot >

Xinput button mapping and middle button emulation

2016-10-10 Thread Tobia Conforto
ck (button 3). Pressing A + B together triggers the middle button emulation (button 2) which is also great. Now I'd like to map buttons C and D for my own purposes, but I cannot find how to map button C separately from the A+B emulation. With the default xinput button-map, I get this mapping: