mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-29 16:23:08 +00:00
SDL2 bugfix to shmup and game_keys_scroll
This commit is contained in:
1 parent
c55550de57
commit
0ec4e46bf0
2 files changed
+3
-2
No files matched your search
@@ -821,7 +821,8 @@ EX void handleInput(int delta, config &scfg) {
|
||||
get_actions(scfg);
|
||||
|
||||
const Uint8 *keystate = SDL12_GetKeyState(NULL);
|
||||
if(keystate[SDLK_LCTRL] || keystate[SDLK_RCTRL]) d /= 5;
|
||||
|
||||
if(keystate[SDL12(SDLK_LCTRL, SDL_SCANCODE_LCTRL)] || keystate[SDL12(SDLK_RCTRL, SDL_SCANCODE_RCTRL)]) d /= 5;
|
||||
|
||||
double panx =
|
||||
actionspressed[49] - actionspressed[51] + axespressed[2] / 32000.0;
|
||||
|
||||
Reference in new issue
Block a user