mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 00:42:19 +00:00
fixed nilrider still referring to CAP_SDL2
This commit is contained in:
parent
eccb323501
commit
0d64d9cca2
@ -727,12 +727,7 @@ bool on;
|
|||||||
local_parameter_set lps_nilrider("nilrider:");
|
local_parameter_set lps_nilrider("nilrider:");
|
||||||
|
|
||||||
void nilrider_keys() {
|
void nilrider_keys() {
|
||||||
#if CAP_SDL2
|
multi::change_default_key(lps_nilrider, SDL12(SDLK_LCTRL, SDL_SCANCODE_LCTRL), 16 + nrFineControl);
|
||||||
multi::change_default_key(lps_nilrider, SDL_SCANCODE_LCTRL, 16 + nrFineControl);
|
|
||||||
#else
|
|
||||||
multi::change_default_key(lps_nilrider, SDLK_LCTRL, 16 + nrFineControl);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
multi::change_default_key(lps_nilrider, SDL12('p', SDL_SCANCODE_P), 16 + nrPause);
|
multi::change_default_key(lps_nilrider, SDL12('p', SDL_SCANCODE_P), 16 + nrPause);
|
||||||
multi::change_default_key(lps_nilrider, SDL12('b', SDL_SCANCODE_B), 16 + nrReverseTime);
|
multi::change_default_key(lps_nilrider, SDL12('b', SDL_SCANCODE_B), 16 + nrReverseTime);
|
||||||
multi::change_default_key(lps_nilrider, SDL12('r', SDL_SCANCODE_R), 16 + nrViewSimulation);
|
multi::change_default_key(lps_nilrider, SDL12('r', SDL_SCANCODE_R), 16 + nrViewSimulation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user