Version

Quick search

Motion Event Factory

Factory of MotionEvent providers.

class kivy.input.factory.MotionEventFactory

Bases: builtins.object

MotionEvent factory is a class that registers all availables input factories. If you create a new input factory, you need to register it here:

MotionEventFactory.register('myproviderid', MyInputProvider)
static get(name)

Get a provider class from the provider id

static list()

Get a list of all available providers

static register(name, classname)

Register a input provider in the database