1fef2d2b8d
Move keymap handler logic for keymap and gizmo handlers into their own functions. This makes it possible to refactor keymap handling without large changes or duplicating code.