It will add my keymap to the ‘3D View’ {Global} section in the keymaps, but I have no idea how to access the ‘Mesh’ subsection to add my keymap there. Any ideas?
Ok, Zeffii gave me a half solution: Basically I do the checks for the EditMode/Object Mode in a different part of the script. Now my problem is with this line:
It won’t work. If I fill the TAB in with SPACE or J or another letter it works fine, but I’m attempting to override the ctrl-tab functionality only in edit mode and that one keybinding does not seem to work for me. Ideas?
Without any script to test with, there’s not too much to go with here. You added some constraints to your original question, by forcing a certain key combo, which is already defined in input->3dview->mesh-> Call Menu ( where ctrl+tab displays the mesh selection type menu (vertex/edge/face)) . I’m thinking you need to remove that entry entirely, then your ctrl+tab assignment in the script will probably be ok.