Browse files

using ESC for exit performance mode

  • Loading branch information...
1 parent 0f98e53 commit 4843f250045e84068cde08dcc27d75361faca8fd Xiangfu Liu committed Jul 11, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/guirender.c
View
3 src/guirender.c
@@ -112,8 +112,7 @@ static void input_cb(mtk_event *e, int count)
for(i=0;i<count;i++) {
if((e[i].type == EVENT_TYPE_PRESS) &&
- ((e[i].press.code == MTK_KEY_ENTER)
- || (e[i].press.code == MTK_KEY_F2)
+ ((e[i].press.code == MTK_KEY_ESC)
|| (e[i].press.code == MTK_BTN_LEFT)
|| (e[i].press.code == MTK_BTN_RIGHT))) {
guirender_stop();

0 comments on commit 4843f25

Please sign in to comment.