File: examples.rst

package info (click to toggle)
python-libevdev 0.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 420 kB
  • sloc: python: 2,739; makefile: 14
file content (27 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (4)
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
Examples
========

The examples included here available in the `examples/` directory of the git
source.

.. contents:: :local:

Printing the capabilities of a device and its events
****************************************************

.. literalinclude:: ../../examples/evtest.py

Creating a uinput device and sending events
*******************************************

.. literalinclude:: ../../examples/uinput.py

Filtering and re-routing events from a device
*********************************************

.. literalinclude:: ../../examples/filter-device-events.py

Updating the kernel device's axis ranges
****************************************

.. literalinclude:: ../../examples/kernel-device-update.py