Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Commit

Permalink
change touch up/down to walk and crouch
Browse files Browse the repository at this point in the history
  • Loading branch information
cyxx committed Oct 19, 2017
1 parent 07f4067 commit a7cc495
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions input.cpp
Expand Up @@ -157,10 +157,12 @@ void Game::updateMouseInput() {
_inputDirMouse |= 4;
break;
case kIconActionDirUp:
inp.footStepKey = true;
// shift+up
_inputButtonMouse |= 2;
_inputDirMouse |= 8;
break;
case kIconActionDirDown:
inp.backStepKey = true;
_inputDirMouse |= 4;
break;
case kIconActionDirLeft:
_inputDirMouse |= 2;
Expand Down

0 comments on commit a7cc495

Please sign in to comment.