A configuration of custom key bindings. A KeyConfig
stores everything needed to resolve a key event into one or
more key bindings. Make a KeyConfig with newKeyConfig,
then use it to dispatch to KeyEventHandlers with
Brick.Keybindings.KeyHandlerMap.keyDispatcher.
Make a new KeyConfig with newKeyConfig.
A KeyConfig stores:
A collection of named key events, mapping the event type
ktoTextlabels.For each event
k, optionally store a list of default key bindings for that event.An optional customized binding list for each event, setting the event to either Unbound or providing explicit overridden bindings with BindingList.