mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
nilrider:: compile in SDL2
This commit is contained in:
parent
82e2e853bf
commit
ffcf7853cb
@ -534,7 +534,11 @@ void nilrider_keys() {
|
||||
change_default_key('a', 16 + 1);
|
||||
change_default_key('w', 16 + 2);
|
||||
change_default_key('d', 16 + 3);
|
||||
#if CAP_SDL2
|
||||
change_default_key(SDL_SCANCODE_LCTRL, 16 + 4);
|
||||
#else
|
||||
change_default_key(SDLK_LCTRL, 16 + 4);
|
||||
#endif
|
||||
change_default_key('p', 16 + 5);
|
||||
change_default_key('b', 16 + 6);
|
||||
change_default_key('r', 16 + 7);
|
||||
|
Loading…
Reference in New Issue
Block a user