摘要:
Various embodiments enable a host controller, through its Protocol Adaption Layer (PAL) driver, to efficiently manage power consumption by employing “sleep mode” and “active mode” power settings. In some embodiments, the PAL driver may employ sleep mode settings to transition the host controller from an idle state to an energy conserving sleep state. In further embodiments, the PAL driver may use active mode settings to govern communications between the host controller and various devices, such as WUSB devices and others, thereby conserving power.
摘要:
A computer receives data from a keyboard having one or more keys which cause generation of keyboard data that quantitatively describe the relative force applied to those keys. The keyboard data are transmitted in an HID report containing identifiers for one or more keys that have been pressed and force data for each key. The force data may be a multi-bit value quantifying the key force, or a null indicator signaling that the key is not force-sensing. Keyboard data messages are then prepared which identify keys pressed, contain force data, and may indicate whether the force data updates previous force data. Force updates are only provided to application programs registering for key force data. In other aspects of the invention, key repeat messages are automatically generated for a key held pressed by a user. The key repeat messages are generated at a rate controlled by the amount of force applied to the key.
摘要:
A manager component for managing input from legacy and non-legacy devices in a similar manner is disclosed. An inventive manager component receives input from both non-legacy input drivers for non-legacy input devices, and legacy input drivers for legacy input devices. The manager component provides the input to application programs that desirably have previously registered to receive input from one or more types of input devices. The application programs receive this input without directly communicating with the drivers.