This patch makes the status bar show the keymap for events that would run when pressing left/middle/right mouse buttons, responding to context changes.
Currently we don't have icons for LMB/MMB/RMB & dragging - needed before committing.
Supports:
- Keymaps for the space type and tool.
- Updates on changes to modifier keys, pointer location.
- While this runs after handling notifiers, it does it's best to avoid expensive updates.
Limitations:
- Does not respond to modal keymaps (we might do this in the future so we don't have knife, fly mode etc... using a different kind of display).
- Does not yet support manipulator keymaps (not sure how useful this is, there is probably nothing stopping us from supporting them).