Questions tagged [evdev]

Generic input event interface in Linux

evdev is a generic input event interface in the Linux kernel.

It generalizes raw input events from device drivers and makes them available through character devices in the /dev/input/ directory.

See here for further information.

124 questions
0
votes
0 answers

cygwin /dev/input/eventX functionality

Does anyone know if cygwin has functionality similar to /dev/input/eventX on linux? The only reference to this I could find online was this: http://polarhome.com/service/man/?qf=input-linux-evdev&tf=2&of=Cygwin&sf=7. But I can't for the life of me…
ktb92677
  • 407
  • 4
  • 16
0
votes
1 answer

Open BoxLayout before thread and keep thread listening

I want to have a Box layout where i will put a text which should change when i click on different keyborad's key, Ritgth now i am trying to show BoxLayout at the same time as thread is running but it doesnt show this is my code: def funcion(): …
0
votes
1 answer

Defining a file descriptor in python3 - to work with pyudev/evdev

I'm currently trying to detect the connexion of a bluetooth button on a raspberry pi 3 (that part works) and once connected, detect when the button is pressed (that part doesn't work). I've started with the code provided by evdev and tried to tweak…
Pôm'
  • 1
  • 1
0
votes
1 answer

Scanned Input in python as a single Input

I have written this code where I process scanned input from barcode scanner. But input here are from single line and I can't get difference between the next scanned input and the past one. Here is my code: from evdev import InputDevice, categorize,…
0
votes
1 answer

unswap caps and control

I recently changed my keymapping to neo, however, Capslock is still swapped with the control-key. /etc/default/keyboard contains just XKBOPTIONS="lv3:ralt_alt" .xinitrc only loads my sound drivers and my windowmanager. .xinputrc contains run_im…
NaCl
  • 2,683
  • 2
  • 23
  • 37
0
votes
1 answer

Can't get touch input from eGalax device to QtQuick application

I'm trying to get touch input from a eGalax resistive touch device to a eglfs window running the sample QtQuick2 code. I'm failing for several days. The touchscreen is connected via USB to a Raspberry Pi B and works fine for the raspbian jessie…
0
votes
1 answer

python 3, headless RaspPi, locale de_DE not possible for python-evdev

After the main problem is solved try to read from multiple HID inputs I open here a new question for the following (and different) problem: I installed minibian on a RaspPi. The entire system is running on 'de_DE', in details: root@ddpi:~#…
ddlab
  • 918
  • 13
  • 28
0
votes
2 answers

Should epoll EDGE triggered work when you read partial data?

I want to be notified when an USB mouse is disconnected (not just having the read fail). I use epoll with the flags EPOLLIN | EPOLLERR | EPOLLRDHUP | EPOLLET I used read(fd, struct input_event, sizeof input_event) I wait for events from the…
user6409506
0
votes
1 answer

Identifying a particular function of a multifunction input device using evdev

I have some Python code that interacts with a wireless USB numeric keypad. I'd like to be able to discover the device by name, but shows up as multiple input devices. In /dev/input/by-id: # ls -l /dev/input/by-id total 0 lrwxrwxrwx 1 root root 9…
larsks
  • 277,717
  • 41
  • 399
  • 399
0
votes
0 answers

How to Enable touch for qt app

we running a boot2qt image @ apalis-imx6/Ixora bord from Toradex. => Linux b2qt-apalis-imx6 3.14.52-v2.6b2.1+g9f2723e #1 SMP Wed Mar 29 17:08:54 CEST 2017 armv7l armv7l armv7l GNU/Linux and connect a easyMaxTouch Display/Touch Modul from Data…
larsDD
  • 41
  • 1
  • 2
  • 8
0
votes
1 answer

Linux virtual keyboard and evdev

I write some software for Linux, which uses libevdev for input processing. To my surprise all virtual onscreen keyboards that I found simulate high level X Window Server events. So, they're not recognized by udev, don't appear at /dev/input folder…
Alprog
  • 103
  • 2
  • 10
0
votes
1 answer

Two xscreens uinput multitouch device, wrong coordinates on second x screen

First of all hi, this is my first question in stackoverflow :) The hardware setup is 2 x nvidia gtx980 GPUs each connected to 3 monitors. The videowall is arranged as one row of 6 monitors. We are using the propietary nvidia drivers. The xserver…
lojkoro
  • 11
  • 2
0
votes
1 answer

Using evdev and tkinter in a python program

I've written a python program that uses gphoto2 to control my camera - so I can create a photobooth. Instead of offering the user a keyboard or mouse for input I've bought an xin-mo controller so I can provide a simple arcade style button interface…
Steve
  • 1
  • 1
0
votes
0 answers

Steering wheel recognized on old Raspberry Pi but not new Raspberry Pi

I bought a new Raspberry Pi 2 to take advantage of the faster speed. A program using evdev that I have used on my old Raspberry Pi also runs on my new Raspberry Pi. But a steering wheel that I use evdev to access is recognized on my old Raspberry…
Daanii
  • 259
  • 2
  • 3
  • 12
0
votes
1 answer

Obtaining EVDEV Event Code from raw bytes?

In a previous question , I asked how to interpret the event bytes from /dev/input/mice. Realizing now that /dev/input/mice does NOT give me the information I need, as I am using a touchscreen using the stmpe-ts driver. It is setup under EVDEV node…
1 2 3
8
9