X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=1291b8ea9dacc8d010d869ddfba418de7ff98341;hb=d5aae18363bcd9867d27d8db5bdcf1d8579bb42c;hp=ad21972ceafc8d89c377d84bab1276dc86913785;hpb=400c25c653549b236d701d6b0d9b47a9565ec5be;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index ad21972c..1291b8ea 100644 --- a/src/screens.c +++ b/src/screens.c @@ -7558,13 +7558,19 @@ boolean ConfigureVirtualButtonsMain() /* press 'Enter' to keep the existing key binding */ if (key == KSYM_Return || +#if defined(TARGET_SDL2) key == KSYM_Menu || +#endif key == KSYM_space) { step_nr++; } - else if (key == KSYM_BackSpace || - key == KSYM_Back) + else if (key == KSYM_BackSpace +#if defined(TARGET_SDL2) + || + key == KSYM_Back +#endif + ) { if (step_nr == 0) {