The input system has two distinct sets of clients: input devices and applications. Input devices are event producers. They package their interactions with the operating system into events that are distributed to applications which consume them.
These events contain information about where and when the user interaction occurred. In addition, they often contain information about the state of the physical input device that generated them.
The input system is the protocol defining this event creation, distribution, and consumption. The base class of the input system (TInputDevice) is deliberately general, enabling a wide variety of physical devices to be supported by a single class.
TIP
Application developers should derive a subclass from TInputDevice to support either specific devices or behaviors specific to a given device.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Generated with WebMaker