From: matthew Date: Tue, 6 Nov 2018 18:48:27 +0000 (+0000) Subject: key rebinding X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=6e7a5f9c889ef6a5cacc04842a6203458a19212b;p=csrpg.git key rebinding --- diff --git a/gl/input.c b/gl/input.c index 88a2e74..23c1eea 100644 --- a/gl/input.c +++ b/gl/input.c @@ -37,8 +37,8 @@ void loadKeybinds() } //TODO: change from static keybinds to keybinds loaded from a file - kb.binds[INPUT_CAMERA_PAN_UP] = SDL_SCANCODE_Q; - kb.binds[INPUT_CAMERA_PAN_DOWN] = SDL_SCANCODE_E; + kb.binds[INPUT_CAMERA_PAN_UP] = SDL_SCANCODE_SPACE; + kb.binds[INPUT_CAMERA_PAN_DOWN] = SDL_SCANCODE_LSHIFT; kb.binds[INPUT_CAMERA_PAN_LEFT] = SDL_SCANCODE_A; kb.binds[INPUT_CAMERA_PAN_RIGHT] = SDL_SCANCODE_D; kb.binds[INPUT_CAMERA_PAN_IN] = SDL_SCANCODE_W;