Version

Quick search

Motion Event Provider

Abstract class for the implementation of a MotionEvent provider. The implementation must support the start(), stop() and update() methods.

class kivy.input.provider.MotionEventProvider(device, args)[source]

Bases: builtins.object

Base class for a provider.

start()[source]

Start the provider. This method is automatically called when the application is started and if the configuration uses the current provider.

stop()[source]

Stop the provider.

update(dispatch_fn)[source]

Update the provider and dispatch all the new touch events though the dispatch_fn argument.