Abstract base class for input devices that are used by both SUE and
the OS. Provides an interface for registering modifier actions that can
be used to indicate the start of commands intended for SUE. Also provides
an interface for registering filtered GestureLists that indicate which combination of Gestures should not be passed to other applications. The
definition of what constitues a valid Gesture and GestureList is left to a subclass. The decision as to
when registered Gestures are filtered or not is determined by a mode
managed in this class via getFilterMode and setFilterMode.
This class is abstract as some of the methods inherited from
|
|
__init__(self)
Initializes the filters to an empty list, the modifiers to an
empty dictionary, and the filtering mode to none. |
source code
|
|
|
list of string
|
|
|
integer
|
|
|
|
|
|
|
addModifier(self,
code)
Adds an action code to the modifiers dictionary to identify it as
a modifier for other actions. |
source code
|
|
|
|
|
|
|
clearModifiers(self)
Removes all modifiers by destroying the modifiers dictionary and
recreating it. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from Base.AEInput:
addInputListener,
addKeyCmd,
asString,
close,
getMaxActions,
init,
inputListenersExist,
removeInputListener,
removeKeyCmd,
sortGesture
Inherited from AEUserInterface.AEUserInterface:
getClassName,
getDescription,
getName,
getPath
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|