View Full Version : code for remapping alt key

10 October 2011, 04:23 PM
in this tutorial it showed how you can remap the Alt key to the S key like in Softimage XSI.
now with latest maya 2011 and 2012 this no longer works.

anyone have a fix for this? thanks

Open the Hotkey Editor under "Window > Settings/Preferences > Hotkeys".
Create a new command can call it _SNavigation .
Add the following code:

overrideModifier -press Alt;

Now assign this newly created command and tpye in "s" for the key and make sure the radio button is set to "press".
Now we create a release command. Call the command _SNavigationRelease.

overrideModifier -release Alt;

Now do the same as above again, just this time set the radio button to "release". Now you are done and can use "s" for navigating around in Maya like in XSI.

10 October 2011, 04:28 PM
Ignore this.

CGTalk Moderation
10 October 2011, 04:28 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.