GUI: better inertial scroll inhibit logic

also better pattern editor mute in mobile
This commit is contained in:
tildearrow 2022-12-02 22:59:52 -05:00
parent e7cfde9a2b
commit f84469e4fd
5 changed files with 51 additions and 12 deletions

View file

@ -61,6 +61,8 @@
if (SDL_HapticRumblePlay(vibrator,0.5f,20)!=0) { \
logV("could not vibrate: %s!",SDL_GetError()); \
} \
} else { \
fputc(7,stderr); /* bell */ \
}
#define BIND_FOR(x) getKeyName(actionKeys[x],true).c_str()