From: Alberto Mardegan Date: Fri, 8 Jul 2011 10:14:45 +0000 (+0300) Subject: Implement pausing X-Git-Tag: fremantle/1.5.5-2~7 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=f78dca6bb6e93b7c8939b80da54a056195860035;p=neverball Implement pausing --- diff --git a/ball/st_play.c b/ball/st_play.c index 59077bb..ad09915 100644 --- a/ball/st_play.c +++ b/ball/st_play.c @@ -426,6 +426,8 @@ static void maemo_play_loop_click(int b, int d) } else { + if (button_pressed && !dragging) + goto_state(&st_pause); VIEWR_SET_R(0); VIEWR_SET_L(0); }