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
|