From f7db043fbc4f31f65f34601b39ba05a9e5e53a39 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 16 Aug 2006 14:14:16 +0000 Subject: * fix pitchscreen * stop yes/no screen eating the first press sometimes * add enter id3 button from wps in irivier * update keymap-h10 from Barry Wardell git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10614 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'apps/screens.c') diff --git a/apps/screens.c b/apps/screens.c index 42faac4cfa..2a19b23c9f 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -7,7 +7,7 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2002 Björn Stenberg + * Copyright (C) 2002 Bj�n Stenberg * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. @@ -423,13 +423,13 @@ bool pitch_screen(void) button = get_action(CONTEXT_PITCHSCREEN,TIMEOUT_BLOCK); switch (button) { - case ACTION_PS_DEC_SMALL: + case ACTION_PS_INC_SMALL: if ( pitch < 2000 ) pitch++; sound_set_pitch(pitch); break; - case ACTION_PS_DEC_BIG: + case ACTION_PS_INC_BIG: if ( pitch < 1990 ) pitch += 10; else @@ -437,13 +437,13 @@ bool pitch_screen(void) sound_set_pitch(pitch); break; - case ACTION_PS_INC_SMALL: + case ACTION_PS_DEC_SMALL: if ( pitch > 500 ) pitch--; sound_set_pitch(pitch); break; - case ACTION_PS_INC_BIG: + case ACTION_PS_DEC_BIG: if ( pitch > 510 ) pitch -= 10; else @@ -471,6 +471,7 @@ bool pitch_screen(void) sound_set_pitch(pitch); pitch_screen_draw(pitch); } + break; case ACTION_PS_NUDGE_LEFTOFF: pitch += 20; sound_set_pitch(pitch); @@ -481,7 +482,7 @@ bool pitch_screen(void) sound_set_pitch( pitch ); break; - case ACTION_STD_CANCEL: + case ACTION_PS_EXIT: exit = true; break; -- cgit v1.2.3