projectM-visualizer / frontend-sdl-cpp

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

escape key to exit full screen #41

Closed Be-ing closed 2 years ago

Be-ing commented 2 years 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 2 years 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 2 years 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.