You are not logged in.

#1 2023-08-16 20:12:22

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Trackpoint keyboard mouse buttons are not mapped correctly

I installed Arch on a cheapo tiwanese lapop I bought offline which is so compact there's only a trackpoint and left and right mouse buttons.
When I click the left mouse button, I get a "KB_Begin" input event.
When I click the right mouse button, I get a "Menu" input event and the right-click menu actually opens in the top left.
This behaves the same in both X11 and Wayland.

Is there anything I can do to fix this aside from xbindkeys and losing the actual menu key?

This is the output from "xinput list" (the logitech device is the bluetooth mouse I'm using to post this.)

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ HTIX5288:00 0911:5288 Mouse             	id=11	[slave  pointer  (2)]
⎜   ↳ Logitech Wireless Mouse                 	id=9	[slave  pointer  (2)]
⎜   ↳ Logitech K520                           	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ sof-essx8336 Headset                    	id=8	[slave  keyboard (3)]
    ↳ Intel HID 5 button array                	id=12	[slave  keyboard (3)]
    ↳ Intel HID events                        	id=13	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ Logitech K520  

Offline

#2 2023-08-20 01:34:21

walkingstickfan
Member
From: USA
Registered: 2021-05-10
Posts: 116

Re: Trackpoint keyboard mouse buttons are not mapped correctly

I use a Synaptics driver and create a configuration file to set the functionality of the tap buttons for touchpads. Might be worth investigating the configuration template file to see if there's something similar that can be done for a trackpoint.

Packages you may need to install:  xf86-input-evdev, xf86-input-libinput, and xf86-input-synaptics. Once you have the required packages installed, the configuration template file will be located under /usr/share/X11/xorg.conf..d/70-synaptics.conf. You'll need to copy the configuration template file to /etc/X11/xorg.conf.d/70-synaptics.conf and then configure for your environment.

I use the Openbox window manager, so I add a few lines to the autostart file under ~/.config/openbox folder to start synclient.

### TOUCHPAD: comment out the next two entries if you don't have one

## Configure touchpad. See 'man synaptics' for more info.
## Now might be using libinput
synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 TapButton2=3 &

## Disable touchpad while typing
syndaemon -i .5 -K -t -R -d &

### TOUCHPAD END

Hope that helps resolve your issue or maybe gives you other ideas.

Last edited by walkingstickfan (2023-08-20 01:47:23)


Arch Linux with Openbox & Tint2

Offline

Board footer

Powered by FluxBB