Synopsis — Python-evdev
Nov. 29th, 2015 12:29 amevdev
SYNOPSIS
https://python-evdev.readthedocs.org/en/latest/Synopsis
This package provides bindings to the generic input event interface in Linux. The evdev interface serves the purpose of passing events generated in the kernel directly to userspace through character devices that are typically located in
/dev/input/.This package also comes with bindings to uinput, the userspace input subsystem. Uinput allows userspace programs to create and handle input devices that can inject events directly into the input subsystem.
In other words, python-evdev allows you to read and write input events on Linux. An event can be a key or button press, a mouse movement or a tap on a touchscreen.
Quick Start
Installing:
The following GNU/Linux distributions have python-evdev in their repositories:
The latest stable version of python-evdev can be installed from pypi, provided that you have gcc/clang, pip and the Python and Linux development headers installed on your system. Installing them is distribution specific and usually falls in one of these categories:
On a Debian compatible OS:
On a Redhat compatible OS:
On Arch Linux and derivatives:
Listing accessible event devices:
Reading events from a device:
Accessing evdev constants:
Further information:
- Read the full tutorial.
- See the example programs.
- Refer to the API documentation:
News
Jun 16, 2015:Version 0.5.0 released.Oct 07, 2014:Version 0.4.6 released.Jul 06, 2014:Version 0.4.5 released.Jun 04, 2014:Version 0.4.4 released.Dec 19, 2013:Version 0.4.3 released.Dec 13, 2013:Version 0.4.2 released.Oct 17, 2013:Python-evdev is now available in Ubuntu Saucy.Oct 11, 2013:Python-evdev is now available in Arch Linux.Jul 24, 2013:Version 0.4.1 released.Jul 01, 2013:Version 0.4.0 released.May 29, 2013:Version 0.3.3 released.Apr 05, 2013:Version 0.3.2 released.Nov 23, 2012:Version 0.3.1 released.Nov 06, 2012:Version 0.3.0 released.Aug 22, 2012:Version 0.2.0 released.May 18, 2012:Version 0.1.1 released.May 17, 2012:Version 0.1.0 released.


no subject
Date: 2015-11-29 05:35 am (UTC)https://python-evdev.readthedocs.org/en/latest/apidoc.html#evdev.device.KbdInfo