运动事件工厂

: MotionEvent 提供者的工厂。

class kivy.input.factory.MotionEventFactory[源代码]

基类:object

MotionEvent 工厂是一个注册所有可用输入工厂的类。如果你创建了一个新的输入工厂,你需要在此处注册它:

MotionEventFactory.register('myproviderid', MyInputProvider)
static get(name)[源代码]

从提供者ID获取提供者类。

static list()[源代码]

获取所有可用提供者的列表

static register(name, classname)[源代码]

在数据库中注册一个输入提供器。