| Trees | Indices | Help |
|---|
|
|
object --+
|
UIElement.UIE --+
|
Base.AEInput --+
|
SystemInput
Abstract base class for input devices that are used by both LSR and the OS. Provides an interface for registering modifier actions that can be used to indicate the start of commands intended for LSR. 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 Base.AEInput are not overridden and raise NotImplementedError.
|
|||
|
|||
| list of string |
|
||
| integer |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
| integer |
filter_mode Mode that determines which Gestures are filtered |
||
| dictionary |
modifiers Dictionary of action codes that are considered modifiers |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initializes the filters to an empty list, the modifiers to an empty dictionary, and the filtering mode to none.
|
Gets a list of strings representing the capabilities of this device. Typical output capabilities include "system input," "braille," "switch," etc. though others are certainly possible. The DeviceManager will only load a device if another device doesn't already provide all of its capabilities.
|
Gets the current filter mode.
|
Stores the current filter mode.
|
Adds an action code to the modifiers dictionary to identify it as a modifier for other actions.
|
Removes an action code from the modifiers dictionary if it is no longer in use. Otherwise, it decrements the reference count.
|
Abstact method. Adds a GestureList as a filter to this device. A filter typically indicates input that should be consumed and prevented from reaching other applications. Exactly how the filter is stored and used is determined by a subclass.
|
Abstract method. Removes a GestureList as a filter from this device. A filter typically indicates input that should be consumed and prevented from reaching other applications. How the filter is removed is determined by a subclass.
|
Abstract method. Removes all GestureList filters from the device. How the filters are removed is determined by a subclass. A filter typically indicates input that should be consumed and prevented from reaching other applications. Exactly How the filter is removed is determined by a subclass.
|
Abstract method. Resets the state of the input device.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:16 2007 | http://epydoc.sourceforge.net |