Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (17 sloc) 711 Bytes

Examples

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

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