Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Middle mouse button drag problem w. PLC editor

Middle mouse button drag problem w. PLC editor 5 years 4 months ago #10037

  • mhe
  • mhe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
for system-wide persistant setting I changed
/usr/share/X11/xorg.conf.d/11-evdev-trackpoint.conf
# trackpoint users want wheel emulation

Section "InputClass"
        Identifier      "trackpoint catchall"
        MatchIsPointer  "true"
        MatchProduct    "TrackPoint|DualPoint Stick"
        MatchDevicePath "/dev/input/event*"
        Option  "Emulate3Buttons"       "false"
        Option  "EmulateWheel"  "false"
        Option  "EmulateWheelButton"    "2"
        Option  "XAxisMapping"  "6 7"
        Option  "YAxisMapping"  "4 5"
EndSection
The administrator has disabled public write access.

Middle mouse button drag problem w. PLC editor 2 years 11 months ago #11025

  • mhe
  • mhe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
new Thinkpad T490 (if required replace the device-name and numbers)
Ubuntu 20.04.2

This property hides the "MB2-press event" for scrolling the screen with the "special Thinkpad red-Pointing-button hardware"
libinput Button Scrolling Button (343):	2
The "MB2-press event" is not fired at "MB2 press" ... it fires at "MB2 release". So in proviewR no "MB2-hold and move" is possible.
We need to "disable this red-button-scrolling" (not needed, use 2-finger-pad-scrolling) by setting
libinput Button Scrolling Button (343):	0

### what I did ...

review the hardware-events with the tool "xev"
xyz@t490:~$ xev
xyz@t490:~$ xinput list-props "TPPS/2 Elan TrackPoint"
Device 'TPPS/2 Elan TrackPoint':
	Device Enabled (179):	1
	Coordinate Transformation Matrix (181):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (325):	0
	libinput Natural Scrolling Enabled Default (326):	0
	libinput Scroll Methods Available (329):	0, 0, 1
	libinput Scroll Method Enabled (330):	0, 0, 1
	libinput Scroll Method Enabled Default (331):	0, 0, 1
	libinput Button Scrolling Button (343):	2
	libinput Button Scrolling Button Default (344):	2
	libinput Middle Emulation Enabled (335):	0
	libinput Middle Emulation Enabled Default (336):	0
	libinput Accel Speed (337):	-0.220588
	libinput Accel Speed Default (338):	0.000000
	libinput Accel Profiles Available (345):	1, 1
	libinput Accel Profile Enabled (346):	1, 0
	libinput Accel Profile Enabled Default (347):	1, 0
	libinput Left Handed Enabled (339):	0
	libinput Left Handed Enabled Default (340):	0
	libinput Send Events Modes Available (302):	1, 0
	libinput Send Events Mode Enabled (303):	0, 0
	libinput Send Events Mode Enabled Default (304):	0, 0
	Device Node (305):	"/dev/input/event14"
	Device Product ID (306):	2, 10
	libinput Drag Lock Buttons (341):	<no items>
	libinput Horizontal Scroll Enabled (342):	1
xyz@t490:~$ xinput set-prop "TPPS/2 Elan TrackPoint" "libinput Button Scrolling Button" 0


todo: decide about persistent setting
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 8.660 seconds