Paul Scott wrote: 
> 
> On 6/9/26 4:47 AM, Dan Ritter wrote:
> 
> > (snip)
> > The property you want to set is 336. The value you want is 1.
> > You didn't show me the device, but you probably want to quote
> > the whole label, because the device number can change when you
> > plug and unplug USB devices.
> > 
> > So run
> > 
> > xinput set-prop "WHOLE DEVICE NAME HERE" 336 1
> > 
> > and you get middle button emulation enabled.
> 
> Thank you!
> 
> Works with device no. or name.
> 
> I'm using the copy paste to make a set of notes including your comment about
> using the device name.
> 
> How is 337 related? should it be set?

   libinput Middle Emulation Enabled Default (337):        0

It's *possible* that setting this will store the setting in the
touchpad's firmware, so you don't have to do this on every USB
reset, and it's worth finding out.

But that's not guaranteed. You'll want to put the set-prop in
something which runs right after your X11 or Wayland desktop
starts.

The process as a whole - xinput list, xinput list-props, xinput
set-prop - is widely applicable to changing options for mice,
trackballs, trackpads, touchscreens, and even keyboards.

-dsr-

Reply via email to