Version

Quick search

Python mtdev

The mtdev module provides Python bindings to the Kernel multi-touch transformation library, also known as mtdev (MIT license).

The mtdev library transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See the kernel documentation for further details.

Warning

This is an external library and Kivy does not provide any support for it. It might change in the future and we advise you don’t rely on it in your code.

class kivy.lib.mtdev.input_absinfo[source]

Bases: _ctypes.Structure

class kivy.lib.mtdev.input_event[source]

Bases: _ctypes.Structure

class kivy.lib.mtdev.mtdev[source]

Bases: _ctypes.Structure

class kivy.lib.mtdev.mtdev_caps[source]

Bases: _ctypes.Structure

class kivy.lib.mtdev.timeval[source]

Bases: _ctypes.Structure