Questions tagged [input]
The input tag has no summary.
339 questions
2 votes
2 answers
97 views
Find laptop internal keyboard Controller model/vendor/Product #
Update 2: Found below in dmesg for a single Fn key press/release (even on released this month Ubuntu 25.10): [ +4.340795] atkbd serio0: Unknown key pressed (translated set 2, code 0xf8 on isa0060/...
1 vote
0 answers
58 views
Mouse middle-button doesn't work in libev, but does in GUIs
I want to use my mouse's middle-button in the TTY, so I tried to debug it. When I perform a middle-click, it doesn't show up in evtest /dev/input/eventN. All other actions show up, so I'm in the ...
1 vote
1 answer
101 views
Direct Input USB Driver for Linux?
I am trying to read a DirectInput Device under Linux. lsusb: Bus 003 Device 006: ID 046d:c219 Logitech, Inc. F710 Gamepad [DirectInput Mode] sudo dmesg: [13919.233231] usb 3-2.2: new full-speed USB ...
0 votes
0 answers
58 views
Window manager grabbing control of keyboard
I am using arch with hyprland(omarchy). I am trying to write a program which reads and outputs keys from my keyboard which requires access to /dev/input/event11(my keyboard) and when I run sudo evtest ...
3 votes
3 answers
493 views
Running a script based on raw events from a specific HID?
bit of a strange issue for you. I have an old 2-in-1 laptop tablet thing that works well enough, except the driver for the touchscreen occasionally crashes, leaving it unusable. I have a simple script ...
0 votes
0 answers
74 views
"onboard" keyboard shows the layout of the correct language but uses the wrong one
on antiX I need a on screen keyboard, I went with "onboard" and installed it. I also have multiple input languages set up in the antiX control center (German, Russian). Onboard seems to ...
1 vote
2 answers
132 views
ZSH function output to current prompt input is ignored
I have a registered function in ZSH that searches file contents under the current path for a match and then captures the resulting filename. This is then bound to a key combination. The keybinding, ...
0 votes
1 answer
315 views
Emulate evdev inside a container
If I create a mount namespace with unshare or a more sophisticated tool like Docker, can I emulate an input device using a userspace process on the host? I'm aware of /dev/uinput as a mechanism for ...
1 vote
0 answers
66 views
Send Input to Interactive Process via File Descriptor
How can I find the file descriptor that a process reads input from? Background I run a Vite (pronounced veet) server when developing in an Alpine container. Currently I login to the container and ...
1 vote
0 answers
67 views
Stopping keyboard input from propagating to UI
I'm trying to set up a kiosk machine. This is a PC with a touchscreen and no physical mouse or keyboard attached during normal operation. Currently I'm working with Debian 12, but I plan to look ...
0 votes
3 answers
257 views
How can my terminal accept input when it's processing a previous command?
I use Ubuntu Linux on both my personal laptop and my school's computers. On my personal laptop, I'm looking to replicate the behavior of the school's computers where the terminal accepts user input ...
0 votes
0 answers
21 views
something grabs the keyboard when I press the audio previous key on my keyboard [duplicate]
When I press the audo play and audio next keys on my keyboard the keypress goes through to my application, but when I press the audio previous key something is grabbing the keypress and preventing it ...
1 vote
1 answer
66 views
Make a window handle * input?
Xorg/DE always handles some keyboard/mouse input events rather than the currently focused window, which is useful, but I want to make an exception for a particular app (because reasons). That is, is ...
0 votes
2 answers
140 views
How to catch newlines in user input
I want to do something with user input to use in grep. Like, instead of uin="first\nsecond\n" printf $uin | grep d which outputs second, I want to have the user input it, like read uin ...
0 votes
0 answers
702 views
Read physical state of keyboard modifiers in Linux (preferably in C or C++)
Is there a way to programmatically read, detect or get notified about the actual physical state of a modifier key, without requiring root level access rights? I tried X11, XCB and XKB, but their event ...