aboutsummaryrefslogtreecommitdiff
path: root/spectrogram.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectrogram.c')
-rw-r--r--spectrogram.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/spectrogram.c b/spectrogram.c
index cdd719c..412d95a 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -56,7 +56,7 @@ SDL_Rect wf_left, wf_right;
SDL_Rect sp_left, sp_right;
int die = 0;
-int flip_left = 0;
+int flip_left = 1;
int flip_right = 0;
void
@@ -445,6 +445,12 @@ main(int argc, char **argv)
if (!pressed)
flip_right ^= 1;
break;
+ case SDLK_0:
+ if (!pressed) {
+ flip_left ^= 1;
+ flip_right ^= 1;
+ }
+ break;
default:
break;
}