diff options
author | Max Horn | 2003-09-27 21:41:10 +0000 |
---|---|---|
committer | Max Horn | 2003-09-27 21:41:10 +0000 |
commit | 24d74274cf7a161e75adc452fb31e83b023b2e26 (patch) | |
tree | cc68bc39ecce6df5a68ca2bbd6934167dff43811 | |
parent | e306de219267da2ac8c429e9bb57f14456816e35 (diff) | |
download | scummvm-rg350-24d74274cf7a161e75adc452fb31e83b023b2e26.tar.gz scummvm-rg350-24d74274cf7a161e75adc452fb31e83b023b2e26.tar.bz2 scummvm-rg350-24d74274cf7a161e75adc452fb31e83b023b2e26.zip |
proposal for revised scaler keyboard shortcuts
svn-id: r10442
-rw-r--r-- | TODO | 18 | ||||
-rw-r--r-- | backends/sdl/sdl-common.cpp | 2 |
2 files changed, 19 insertions, 1 deletions
@@ -98,3 +98,21 @@ Descumm * Rewrite code to use 2 passes; first pass builds an intermediate graph, the second pass then tries to detect loops, break/continue statements etc. +SDL backend +=========== +* Maybe change the shortcuts? One idea (add ctrl-alt in all cases): + 1-3: select scale factor + 2-4: normal, advmame, hq filters (all available as 2x and 3x) + 5-9,0: the other scalers + Justification: We have so many scalers now, we are running out of keys + for them - and this way, we need a few less. Of course, the question remains + what happens if you press ctrl-alt-3 while 2xSai is scaler, what happens? + So maybe (again add ctrl-alt): + '+' / '-': + increase/decrease scale factor, cycling over the possible range. + So for a 2x-only scaler, it does nothing; for a scaler supporting + all scales from 1x to 4x, it works as usual (and pressing '+' in + 4x mode goes to 1x) + 1-9: switch between the "base" scalers: normal (point) scaler, advmame, + hq (high quality), 2xsai, super2xsai, supereagle, tv2x, dotmatrix, ... +
\ No newline at end of file diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index ecfc114844..6f4aee9506 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -615,7 +615,7 @@ bool OSystem_SDL_Common::poll_event(Event *event) { // Ctr-Alt-<key> will change the GFX mode if (b == (KBD_CTRL|KBD_ALT)) { - char keys[] = "123456789cd"; + const char keys[] = "123456789cd"; char *ptr; ptr = strchr(keys, ev.key.keysym.sym); |