File: scope.rst

package info (click to toggle)
python-evdev 1.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 416 kB
  • sloc: python: 1,388; ansic: 739; makefile: 142; sh: 14
file content (31 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Scope and status
----------------

Python-evdev exposes most of the more common interfaces defined in the evdev
subsystem. Reading and injecting events is well supported and has been tested
with nearly all event types.

The basic functionality for reading and uploading force-feedback events is
there, but it has not been exercised sufficiently. A major shortcoming of the
uinput wrapper is that it does not support force-feedback devices at all (see
issue `#23`_).

Some characters, such as ``:`` (colon), cannot be easily injected (see issue
`#7`_), Translating them into UInput events would require knowing the kernel
keyboard translation table, which is beyond the scope of python-evdev. Please
look into the following projects if you need more complete or convenient input
injection support.

- python-uinput_
- uinput-mapper_
- pynput_
- pygame_ (cross-platform)


.. _python-uinput:     https://github.com/tuomasjjrasanen/python-uinput
.. _uinput-mapper:     https://github.com/MerlijnWajer/uinput-mapper
.. _pynput:            https://github.com/moses-palmer/pynput
.. _pygame:            http://www.pygame.org/

.. _`#7`:  https://github.com/gvalkov/python-evdev/issues/7
.. _`#23`: https://github.com/gvalkov/python-evdev/pull/23