See also HID Keyboard support.
Human Interface Device (HID) is the most widely used protocol for enabling man/machine interaction. All sorts of input devices use HID to communicate with your computer, including:
- Microsoft MCE remote controls
- MCE-compatible IR remote controls
- Other USB IR remote controls
- Gamepads (see also: gamepad usage)
MediaPortal's HID handler is the default and recommended input handler. It should satisfy the vast majority of users.
Simply tick the Enable HID option in the HID configuration panel to enable your input device. To enable support for a full keyboard (including letters. like the illustration at top left) select full instead of classic from the drop-down list Profile and tick the box Use HID keyboard. Choosing full from the drop-down list without enabling HID keyboard (or vice versa) can lead to unpredictable behaviour. For example, if full is selected from the drop-down list (instead of the default classic) without ticking the box Enable HID keyboard, MP may act as if the keyboard suffers from "bounce", i.e. MP responds to each keystroke as if it were doubled. For real key bounce problems, see Technical notes below.
When enabled, the Extended logging option causes each HID input to be recorded in the main MediaPortal log file. It's only necessary to enable this option when you're troubleshooting.
The repeat delay and speed options enable you to customise repeat handling for gamepads and remote controls. Repeat handling for other input devices is controlled by Windows. For more information about Windows' repeat settings please refer to Microsoft online documentation.
Repeat delay defines how long a button must be held down before it starts repeating.
Repeat speed defines how quickly repeat events are generated once a button starts repeating (ie. while it is being held down). This option can influence the speed at which you scroll through a list, how quickly volume increases or decreases etc.
To use Windows repeat settings, set these options to -1 (default). Windows default repeat delay and speed are typically 500 and 33 milliseconds respectively.
Some gamepad and remote control buttons produce keyboard events. Repeat handling for those buttons is governed by Windows rather than MediaPortal. Buttons that produce keyboard events often (but not always!) include:
- In PC Settings - Ease of access - Keyboard or Control Panel - Ease of Access center - Make the keyboard easier to use turn on Filter Keys.
- Start the registry editor (from the search box or by pressing the Windows key together with R and typing in "regedit").
- Navigate to Computer\HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Response.
- Right-click on the above-named key and click Export to make a backup copy of the key, in case of problems
- Set the following values (in ms):
AutoRepeatDelay = 500
AutoRepeatRate = 50
BounceTime = 15
(You may need to experiment with the last value: if it is too low, it won't prevent the "phantom" keystrokes, if it is too high, it will make it difficult to type anything with repeating characters, e.g. "troop".)
Restart the computer to make the new values take effect.