Questions tagged [xinput]
The xinput tag has no usage guidance.
202 questions
0
votes
0
answers
22
views
How to intercept force feedback events between an application and a gamepad?
I want to be able to intercept a FF (force feedback) event (vibration/rumble in this case) that would normally go directly to the gamepad device file, to send an event to some other device while ...
0
votes
0
answers
31
views
How to make a custom input device/driver appear as pointer/mouse in X11?
I created a custom input driver, that appears as /dev/input/event13 when I run sudo insmod my_mouse.ko. I gave it EV_REL and REL_X,REL_Y,and REL_Z capabilities, which is all I need for the sake ...
0
votes
2
answers
118
views
Systemd-user-service to enable keyboard gives no error but doesn't work
I have a bad laptop keyboard and a much better Lily58, so I wrote a bash-script to be able to disable my laptop keyboard so I can place the Lily58 on it and re-enable it after. But when I disable the ...
0
votes
0
answers
110
views
troubleshooting touchscreen on Lenovo laptop running ubuntu 22.04.4
We have a Lenovo Yoga 730-13IKB running Ubuntu 22.04.4. The touchscreen was working for a very long time but a few months ago stop working entirely. The stylus works fine.
xinput:
⎡ Virtual core ...
0
votes
1
answer
187
views
How to Invert X-Axis for Touchscreen Calibration on Linux (Ubuntu)
I'm encountering an issue with touchscreen calibration on a kiosk system I'm building. The setup consists of Linux Ubuntu with a JavaFX front end and a Python Flask back end. The problem is that ...
0
votes
0
answers
55
views
Logitech TrackMan Marble Mouse Back Button
Background
A Logitech TrackMan was configured to have its small right button trigger the back functionality in Firefox. Here's an image of the device from the Ubuntu Community wiki:
The keyboard and ...
0
votes
0
answers
76
views
xinput touchscreen transform matrix with cropped resolution
I'm having some trouble understanding how the xinput transformation matrix of a touchscreen (Goodix Capacitive TouchScreen) works.
I'm using a tablet with Linux installed to control a remote PC via ...
0
votes
0
answers
30
views
PyQt5 How to ignoriere /dev/input/eventX events and only use one specific event device?
I have some issues with my PyQt5 GUI running on my Raspberry Pi. I sometimes need to plug in a USB Audio card into my raspberry pi while operating the GUI. When I touch the screen while plugging/...
1
vote
1
answer
29
views
How remove/debug Stylus Asus pen which sends events every time laptop starts since is disabled
Week ago stylus have been added somehow between devices (I do not have own stylus for few months) and spam me with events every time laptop starts:
$ sudo libinput debug-events | grep event5
-event5 ...
0
votes
0
answers
275
views
Linux how to use xinput to change Logitech mouse ERGO M575 speed and axis
####### xinput --list --short ###### ###### ###### ###### ######
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 ...
0
votes
1
answer
107
views
VNC screensaver & locker: missing XInput extensions
I use a vnc (tightvncserver) connection: Devuan/aarch64 and Armbian(Debian)/armfh (hosts) thru Win10/TigerVNC (client).
Since the upgrade of the underlying base to Debian Bookworm, xscreensaver and ...
0
votes
0
answers
922
views
trying to disable touch screen via xinput against an Xwayland server
I'm trying to disable my touch screen via xinput, here's my output for the cmd:
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer ...
0
votes
1
answer
130
views
Thinkpad T480 touchpad: enable vertical scroll (no DE), which config to use?
I don't know if im using libinput or synaptics cause i use both at the same time.
Xorg synaptic config
cat /etc/X11/xorg.conf.d/70-synaptics.conf
# Example xorg.conf.d snippet that assigns the ...
0
votes
0
answers
26
views
How can I throttle my click inputs
My mouse is often registering two click inputs when I press the button. I have confirmed this to be the case with xev. If I could just throttle inputs to even 1 click per .05ms that would probably be ...
0
votes
1
answer
119
views
Help to figure out xinput transform matrix for a tablet?
I have a small wacom pad and a large monitor. And i wanted to reduce the area of the screen where the tablet surface is mapped. Sadly graphical utility does not allow this.
Currently the configuration ...
1
vote
0
answers
245
views
Identify a specific mouse using xinput to process an xinput command
Using Manjaro 23.0, I found a way to decrease the speed of my USB SteelSeries mouse but I struggle to make it persistent. After some time being not in use, or a system reboot, the xinput settings ...
3
votes
0
answers
891
views
udev inside lxc container
I am running a privileged Debian LXC Container on Proxmox, and then running Docker inside that. I am attempting to run an Xserver in a Docker container with Sunshine to stream to a Moonlight client. I ...
0
votes
1
answer
201
views
xinput mouse setting not persistent during session
I use linux Manjaro Gnome X11.
I like to have a special setting of mouse buttons, which I obtain with xinput.
In order to make this setting persistent across sessions, I write the xinput in ~/....
0
votes
1
answer
457
views
How to program a Koolertron macropad?
I bought this macropad awhile ago but I haven't been able to figure out how to program it. Right now it types keys like a normal keyboard but I want to beable to run commands when I press the buttons. ...
2
votes
0
answers
224
views
Xorg.conf options not staying
I am trying to enable tap to click by default on my trackpad. The device name is "bcm5974". xinput --set-prop "bcm5974" "libinput Tapping Enabled" "1" works a ...
0
votes
0
answers
33
views
Independent multipoint support in the same desktop session
I'd like to be able to collaborate with others in the same desktop environment, but not necessarily share the same cursor, keyboard, or other xinput masters. This is because many powerful desktop ...
1
vote
1
answer
2k
views
In a Wayland session, how to automatically disable input devices when the laptop lid is closed?
Running X11 I could install acpid and modify the /etc/acpi/handler.sh script to use xinput to do the deed:
button/lid)
case "$3" in
close)
#set variables so ...
2
votes
1
answer
1k
views
Map touch display of the same type with xinput - which is which
on my Linux box I have 2 DELL touch display of the exact same type. One is connected on HDMI-2, the other on DP-1. To map the touch display I use
sudo xinput --map-to-output _ID1_ HDMI-2
sudo xinput -...
1
vote
0
answers
44
views
Inverting the scrolling of only one mouse
Hi I have two mice connected to my machine. One is a standard mouse, the other is a touchpad which, as a device, is split into the touchpad itself and the mouse part.
I would like to set the inverted ...
0
votes
1
answer
334
views
Arch linux - Wacom display on thinkpad does not read any input
I have an issue with my wacom display on my thinkpad x390. The linux does not react to any movement of stylus or buttons on pen. I have wacom drivers installed.
this is output of libwacom-list-local-...
4
votes
0
answers
393
views
What are 'default' props in xinput/libinput for?
I wanted to adjust vertical (two-finger) scrolling speed via xinput because my DE's settings utility does not expose that setting. So, I ran xinput --list-props to fetch a list of available settings ...
1
vote
1
answer
1k
views
Gtk's XInput2 detection test doesn't work
Trying to compile Gtk, configure stops with the error message:
configure: error: *** XInput2 extension not found. Check 'config.log' for more details.
Unfortunately, config.log does not contain any ...
0
votes
0
answers
84
views
Can I make my system ignore a particular gamepad input?
I'm using a Corsair keyboard/touchpad combo which also functions as a gamepad input (it has a small joystick). It's a bit annoying because it often takes priority, so I have to unplug the keyboard to ...
0
votes
0
answers
182
views
Really slow mouse speed in CentOS9 Stream
I am a new Linux user and I have tried to increase my mouse speed as the sensitivity has changed recently and it is very slow to move.
I have looked online and tried to change the sensitivity using ...
0
votes
1
answer
1k
views
Making Xinput commands permanent "For complete noobs"
As the title suggests, I need to rotate the touch input on a DSI display.
I am successful in rotating the input with this entered into the terminal.
xinput set-prop 'seeed-tp' 'Coordinate ...
1
vote
0
answers
473
views
xserver not using hotplug keyboard and mouse
I'm using a Linux desktop. My own customized distro, using debian packages, but no systemd stuff.
The problem is if I re-plug the USB keyboard or mouse, the X will not respond to them anymore. unless ...
3
votes
2
answers
2k
views
Can't Move Mouse When Key Pressed
I'm running up-to-date arch on an Asus G15 (2021) and I'm using i3 as my WM.
I can't for the life of me, work out why the trackpad doesn't seem to work when I have a key pressed down.
Where would I ...
1
vote
0
answers
309
views
Mouse sending spurious x11 event (scroll right button)
I have an annoying problem where my mouse seems to somewhat randomly emit a 'Scroll right' event (button press 7).
I am running Debian Buster on my main desktop at the moment. I have not made any ...
2
votes
0
answers
103
views
Inputing accented letters in Qt applications on Cygwin
I am a native Portuguese speaker, and I am having problems when typing accented characters in any Qt application running on Cygwin.
Almost always, the result on the screen for any accented letter I ...
1
vote
1
answer
7k
views
X11 - How to invert axis on touchscreen matrix?
I have a tablet that I flashed Fedora Silverblue on, but the touchscreen has the Y-axis inverted when the device is on landscape, and X-Axis inverted portrait mode.
I've disabled wayland to use xinput ...
1
vote
0
answers
810
views
Xinput/libinput button remapping with Trackball scrolling
So I'm using my trackball and I have configured it with trackball scrolling. What I now want to do is to remap the original scroll wheel to be used for some different function. The Problem is that ...
3
votes
0
answers
1k
views
Cannot scroll while moving mouse in Ubuntu VirtualBox guest
Applications in Ubuntu, such as Chromium or the GNOME Terminal, are not responsive to mouse wheel scroll events when moving the mouse cursor at the same time. I am running Ubuntu 18.04.6 LTS as guest ...
1
vote
2
answers
3k
views
xorg keyboard config not working (us altgr-intl no deadkeys)
I'm trying to get my keyboard to use the us layout with variation altr-intl and no deadkeys.
Somehow my xorg-keyboard-config does not take effect. I looked up the config here arch-wiki but there seems ...
1
vote
1
answer
2k
views
Thinkpad T460 - how do I disable the touchpad?
I recently got a Thinkpad T460 and am running Ubuntu 20.04 on it. I don't use a DE, just plain old i3.
I'm like to keep my hands on the keyboard. That's why I like the trackpoint. However, I keep ...
-1
votes
2
answers
2k
views
Unable to change mouse sensitivity
System: Debian 11 Bullseye
DE: XFCE or KDE
There is only an acceleration slider in the mouse settings (acceleration only).
And no acceleration profile or mode flags in xinput. Acceleration flags i ...
0
votes
1
answer
655
views
PXN-0082 controller - xinput does not see but lsusb does - how to connect
I have an arcade controller I bought so my dying dad can play old school games.
but it does not show up under xinput, where it does show up under lsusb
Bus 003 Device 021: ID 0079:187c DragonRise Inc. ...
1
vote
1
answer
617
views
Is it possible to combine two pointer xinput devices into a single device?
I'm using VirtualBox and it comes with a "Mouse Integration" feature, which creates a 2nd pointer input called VirtualBox mouse integration aside from the existing pointer input.
$ xinput
⎡ ...
0
votes
0
answers
649
views
Ubuntu -- Wireless mouse now showing in 'xinput list' but it's present in 'lsusb' and working correctly
I want to enable scrolling with my mouse click and I was following this link but I failed at start because when I'm running xinput list in terminal it's not showing my mouse there. However it is ...
2
votes
0
answers
776
views
How to enable extra buttons on trackball?
On FreeBSD xev only recognizes clicks from the first 9 buttons from the Elecom Huge trackball. On Arch Linux clicks from all the 12 buttons are recognized.
As per recommendation from libinput ...
1
vote
1
answer
820
views
Annoying multitouch behavior Elantech touchpad on Linux Mint 20.2 Cinnamon
Recently I installed Linux Mint 20.2 Cinnamon.
Touchpad multi finger behavior is strange and annoying. When I tap with two fingers exactly at the same time, it performs right click and if one of my ...
3
votes
3
answers
2k
views
Disable button on mouse (Logitech M720 Triathlon)
There's a button on my mouse that I'm unable to disable. It's right next to my thumb and I keep clicking it by accident. It triggers some kind of alt+tab function and it's very annoying!
Here is my ...
2
votes
1
answer
2k
views
Cursor moving erratically on its own (not a duplicated)
I've read this post that is very similar to mine, but the difference is that I have the touchpad disabled and my xinput show as if I have more than one mouse installed when I only have just one ...
0
votes
1
answer
262
views
Trying to disable the touchpad at wakeup
I am using a Thinkpad L13 Yoga and had the problem that the trackpoint stopped working after wakeup. So I followed the following hint (which basically reloads the psmouse module at wakeup): https://...
0
votes
1
answer
511
views
Toggling touchpad with `xinput --disable <device>` kills user session
[Host running Arch linux 5.11.12-arch1-1 with gdm on Xorg.]
For years I've disabled/enabled my touchpad on the fly, directly from keyboard or cli as long as I had an active terminal session. I did ...
0
votes
2
answers
4k
views
Enable ThinkPad Trackpad on Arch Linux
I'm using Arch Linux on a Lenovo ThinkPad P14s. On a fresh install, the trackpad is disabled.
It's cumbersome to carry a mouse wherever I go, and the red knob in the middle of the keyboard is far from ...