I’ve been looking into tool contexts via the api MpxToolCommand as well as draggerContext in maya cmds. It seems at best there are ctrl and shirt MEvents (in the API) as well as mouse button presses.
Is it possible to have a tool that, when active, reassigns the behavior of the q w e r t y keys? Or other keyboard keys?
For example in Maya, when sculpt mode is active, ctrl 1 2 3 - 9 activate brushes. That kind of temporary “hotkey mapping” is what I’m after. Is this possible in the API?