|
|
|
@ -301,6 +301,11 @@ namespace MWInput
|
|
|
|
|
else
|
|
|
|
|
mPlayer.setUpDown (0);
|
|
|
|
|
|
|
|
|
|
if(actionIsActive(A_Run))
|
|
|
|
|
mPlayer.setRunState(true);
|
|
|
|
|
else
|
|
|
|
|
mPlayer.setRunState(false);
|
|
|
|
|
|
|
|
|
|
if (mControlSwitch["playerviewswitch"]) {
|
|
|
|
|
|
|
|
|
|
// work around preview mode toggle when pressing Alt+Tab
|
|
|
|
@ -690,6 +695,7 @@ namespace MWInput
|
|
|
|
|
defaultKeyBindings[A_ToggleSpell] = OIS::KC_R;
|
|
|
|
|
defaultKeyBindings[A_QuickKeysMenu] = OIS::KC_F1;
|
|
|
|
|
defaultKeyBindings[A_Console] = OIS::KC_F2;
|
|
|
|
|
defaultKeyBindings[A_Run] = OIS::KC_LSHIFT;
|
|
|
|
|
defaultKeyBindings[A_Crouch] = OIS::KC_LCONTROL;
|
|
|
|
|
defaultKeyBindings[A_AutoMove] = OIS::KC_Q;
|
|
|
|
|
defaultKeyBindings[A_Jump] = OIS::KC_E;
|
|
|
|
@ -756,6 +762,7 @@ namespace MWInput
|
|
|
|
|
descriptions[A_ToggleWeapon] = "sReady_Weapon";
|
|
|
|
|
descriptions[A_ToggleSpell] = "sReady_Magic";
|
|
|
|
|
descriptions[A_Console] = "sConsoleTitle";
|
|
|
|
|
descriptions[A_Run] = "sRun";
|
|
|
|
|
descriptions[A_Crouch] = "sCrouch_Sneak";
|
|
|
|
|
descriptions[A_AutoMove] = "sAuto_Run";
|
|
|
|
|
descriptions[A_Jump] = "sJump";
|
|
|
|
@ -804,6 +811,7 @@ namespace MWInput
|
|
|
|
|
ret.push_back(A_MoveLeft);
|
|
|
|
|
ret.push_back(A_MoveRight);
|
|
|
|
|
ret.push_back(A_TogglePOV);
|
|
|
|
|
ret.push_back(A_Run);
|
|
|
|
|
ret.push_back(A_Crouch);
|
|
|
|
|
ret.push_back(A_Activate);
|
|
|
|
|
ret.push_back(A_ToggleWeapon);
|
|
|
|
|