Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

using ESC for exit performance mode

  • Loading branch information...
commit 4843f250045e84068cde08dcc27d75361faca8fd 1 parent 0f98e53
Xiangfu Liu authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.