I\'m writing a tool in PySide2 that runs inside an embedded Python environment (specifically Audodesk Maya) where I want to be able to have the tool respond to certain key e