Hi. as there are a few things that bothers me with Maya's hotkeys system.

I'm curious if I can code up a class in PySide2 to create my own hotkeys 
system.
I've read a few threads on here and I've experimented with the eventFilter 
before.

However if I understand it correctly, using eventFilter installed on the 
Maya main window is bad as all events will go from C++ to python to C++, 
making Maya slower?

I'm not sure that I should use an eventFilter, but I want to be able to map 
both key press and key release that works wherever I have my focus in Maya.
To have it context sensitive could also be nice so I can set up that the 
same key sequence calls a function when in the UV-editor and then another 
if I have focus in the viewport.

What do you suggest here?

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/b3f25ba2-8233-4dc2-9847-d429336f77d0n%40googlegroups.com.

Reply via email to