摘要 |
A media player includes an input manager and an input driver. The input manager operates between a device driver and a player application program. The input manager provides a uniform interface for input drivers and, upon receiving a command from an input driver passes the command along to an application program. The input manager ranks input devices according to a user's preferences and, should the input manager receive commands from more than one device driver at one time, the input manager passes along the commands in accordance with the user's input device preferences. Each input device driver provides the input manager with an indication of the driver's capabilities so that the input manager passes the appropriate information, such as location information in the case of a location sensitive input device's driver, to the driver. Each input device driver also performs the translation of input signals into a format that is acceptable by the input manager.
|