Hold space to temporary switch to pan tool
This commit is contained in:
parent
658799610b
commit
d52fe2ded2
5 changed files with 24 additions and 6 deletions
|
|
@ -45,6 +45,7 @@ InputManager::InputManager() {
|
|||
defaultKeyAssignments[{0, SDLK_F1}] = KEY_OPEN_CHAT;
|
||||
defaultKeyAssignments[{0, SDLK_F3}] = KEY_SHOW_METRICS;
|
||||
defaultKeyAssignments[{0, SDLK_F2}] = KEY_SHOW_PLAYER_LIST;
|
||||
defaultKeyAssignments[{0, SDLK_SPACE}] = KEY_HOLD_TO_PAN;
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
// Without this, SDL eats the CTRL-V event that initiates the paste event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue