Questions tagged [input]

I need to retrieved the grab state of an evdev device in a program. More specifically, I need to retrieve the state of the grab pointer in the evdev struct seen here: https://elixir.bootlin.com/linux/...

I have a noname tablet with 12 buttons. I made it work by digimend driver. Pointer works good, but tablet buttons generate mouse_btn events. I'd like these buttons generate custom keyboard events. How ...

I have a laptop with a fingerprint reader that is currently doesn't seem to be supported by linux (integrated in lenovo yoga 920).
But I am quite curious if it is at all possible for me to listen to ...

Some of the multimedia keys on the detachable keyboard of the X1 tablet gen3 (vendorid 17ef product id 60b5) do get mapped to KEY_UNKNOWN. Looking at the usbmon log, the data sent to the controller ...

I'm currently using Fedora 29 KDE Spin, I noticed that CTRL + ALT + A does not work in spacemacs, and the key combination does not seem to work anywhere. Some people advised me that it might be due to ...

I recently set up a Linux Mint 18 machine, which has an electric piano plugged into it via a USB sound card.
Now, the input works: we can record sounds from the piano; and the output works as we can ...

I have a shell script which reads input from Terminal. I would like to run this script as a daemon process. I have read and understood about making a script to a daemon process where we would create a ...

Context:
Due to missing drivers for my 2-in-1 convertible, folding the screen back only triggers a lid switch event. This causes the laptop to suspend or, when "Suspend when laptop lid is closed" is ...

I recently installed Debian 9 on my new Dell Latitude 5590 notebook when I realized the pointing stick as well as the three buttons above the touchpad do not work. They work in Ubuntu out of the box.
...

I'm in the process of mapping IR remote buttons in LIRC. I looked through input-event-codes.h and came across KEY_NEXT and KEY_NEXTSONG, so I did some searching but I couldn't find descriptions for ...

I have a folder with multiple .wav files that I am trying to concatenate in order but I think that I am too inexperienced with bash commands to do this as efficient as possible. You see, I don't know ...

I am working on a Halium port for an Android device that has a Synaptics touchscreen (synaptics_dsx driver). The port is on a mature stage, has a Wayland compositor running, and the apps are provided ...

Wanted to know if it is possible to "pass a variable value as an input to an oracle sql file that is being called from a shell script"
I am trying like this, but its not working:
SQL file:
set head ...

This is a 2 part question.
Scenario: This script is on a cronjob. If a folder does not exist, the system sends us an email that opens a ticket which notifies us that the folder is not available. We ...

I have a USB remote presenter that appears as a keyboard.
Using evtest I can see the input events from the device.
How can I capture those events in a shell script?
I had see some solutions using C ...

I installed Ubuntu 16.04 ,17.10 and I have the problem that the keyboard and mouse work only through the login process. After entering my password, the mouse and keyboard stop working, and the system ...

I have a pointing device without a scroll wheel, but I'd like to be able to scroll with it, perhaps by holding down a key and dragging. I've seen a few threads about similar topics, but none of the ...

Is there a way to validate or confirm that the user wrote what it meant to write in read?
For example, the user meant to write "Hello world!" but mistakenly wrote "Hello world@".
This is very similar ...

I am using an active pen (one that has a battery) on my Touchpad and it has stopped working. I am trying to find out whether the problem is in the hardware or software. The touchscreen is working fine,...

I may be a little off-topic, but I don't know which part of my project is causing the problems (if only one), so I have to check every one.
I'm currently working on a project where I want to control ...

I've been looking for any case similar to mine and still haven't found one.
The story:
I'm using arch linux, updated just last week, and it was working fine. I never configured auto-login, so I have ...

I'm looking for a robust method for identifying a device's type (mouse, keyboard, joystick)
by its input event handler.
There are parameters which cannot be trusted, such as device name/vendor-id etc....

I have an annoying issue, it's as if linux thinks I'm pressing the Fn key every second. doesn't happen in windows though. Its preventing me from logging into arch. I can enter my LUKS password fine, ...

I have a Lenovo Ideapad 320-15ABR, (I found the exact model name with dmidecode). I'm having trouble getting the touchpad to work. It's not showing up in xinput --list or cat /proc/bus/input/devices. ...

There are similar questions on this site, but my scenario is bit different.
I have an additional mouse; lets call it X. I use a python script to read X movement (read /dev/input/mouse1) which I use ...