Keyboard mapping
Hi Steven,
Do you remember issue #10? https://github.com/caron/PyQtForSoftimage/issues/10
Today I have finally given it a try, the keyboard mapping dictionaries are now submodules of the key_mapping package. There are also some functions to list/get/set the language on key_mapping's init file, a new softimage command exposing those functions and a json file where the preferences are stored.
You have to restart Softimage in order to use different keyboard mappings (modules get cached by python), the french mapping is a copy/paste of https://github.com/caron/PyQtForSoftimage/issues/10#issuecomment-16238773.
Do you think it worth the merge? Cheers!
I can package the modified addon (based on beta5) in case you want to test the changes.
thanks a lot for this cesar! i think it is worth a merge, i skimmed over it and it looks good. (thanks for fixing some of lines greater than 79 columns)
just so i am clear, you forked from the beta5 tag? cause it looks like you have the experimental pyside support. i should have done my pyside work in a different branch but i didn't expect to get blocked by the ui loader issues.
Ooops! seems like I forked from the latest one :(
well, its ok... i am thinking of getting the pyside support out there and using another method for the ui loader class. this will also test pyqt4 coexisting. ie. if you don't have pyside, pyqt4 should behave as normal.
i can also add your key mapping work to it. if for some reason people don't want to upgrade, we can make a beta5.1 version with only your key mapping additions.
Sounds good, let me know if you need any help :)