1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-13 13:47:37 +00:00

added some missing CAP_ guards

This commit is contained in:
Zeno Rogue
2018-12-15 15:17:06 +01:00
parent cd001102f8
commit 4e4fce922e
9 changed files with 37 additions and 8 deletions

View File

@@ -242,7 +242,8 @@ struct key_configurer {
popScreen();
}
};
#if CAP_SDLJOY
joyhandler = [this] (SDL_Event& ev) {
if(ev.type == SDL_JOYBUTTONDOWN && setwhat) {
int joyid = ev.jbutton.which;
@@ -270,6 +271,7 @@ struct key_configurer {
}
return false;
};
#endif
}
};