projectM-visualizer / frontend-sdl2

Standalone application based on SDL2 that turns your desktop audio into awesome visuals. Available on most platforms supported by both libprojectM and libSDL2.
GNU General Public License v3.0
57 stars 32 forks source link

escape key to exit full screen #41

Closed Be-ing closed 1 year ago

Be-ing commented 1 year ago

Right click enters fulls screen mode. I expected pressing the escape key to exit full screen mode, but it does nothing. I figured out that right click also exits full screen mode, which is nice to have in addition, but escape is a more conventional way to do that.

kblaschke commented 1 year ago

ESC isn't bound to anything right now. Since the whole key handling code will require an overhaul, I'll consider adding this shortcut in the process, because you're totally right: it makes sense. Alt-Enter is already there to toggle fullscreen, which is a standard shortcut on Windows for most games.

kblaschke commented 1 year ago

On a second thought, while still considering to add this as a default, I'll close this issue here in favor of #8 to keep the issue tracker clean, as adding customizable key bindings would serve everyone's personal needs way better than "good" defaults.