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
