2.1.4. Keys

Components that converts a keyboard input into the defined keyboard input.

Urwid only supports condition branch to handle keyboard input, as a result, all the components and json_libs used by Pyfx have a set of predefined hard-coded keyboard input, see JSONBrowserKeys.

This module is created to allow the keyboard input configurable.

The base keymapper AbstractComponentKeyMapper should be called before the keyboard handling logic to convert the actual keyboard input into a fake keyboard signal.

Classes

InputFilter(global_command_key)

KeyMapper([global_command_key, ...])