atareao / Touchpad-Indicator

An indicator for the touchpad
http://www.atareao.es
GNU General Public License v3.0
127 stars 22 forks source link

Enable/Disable trackpoint #65

Open ciubex opened 4 years ago

ciubex commented 4 years ago

Questions:

My local workaround. I have a Lenovo T590 laptop which have a trackpoint device on the keyboard, between G, H and B keys. I modified locally the touchpad.py to identify the trackpoint too as a touchpad device to be disabled when a mouse it is plugged. I added a new key (trackpoint) into the TOUCHPADS array.

OS: Ubuntu 16.04 Touchpad Indicator version: 2.2.1-0extras19.04.0

Before (/usr/share/touchpad-indicator/touchpad.py) TOUCHPADS = ['touchpad', 'glidepoint', 'fingersensingpad',...

After (/usr/share/touchpad-indicator/touchpad.py) TOUCHPADS = ['touchpad', 'trackpoint', 'glidepoint', 'fingersensingpad',...

I attached on file xinput_outputs.txt outputs for commands:

I attached an image with the trackpoint for a better understanding the situation. 2020-06-03_12-59