From 4f54425fb32d3f7a9c887efbf52d45500918e761 Mon Sep 17 00:00:00 2001 From: Xawotihs Date: Sat, 27 Nov 2010 16:08:11 +0000 Subject: [PATCH] Added return and esc key as binding to MENU --- JGE/src/Qtmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/JGE/src/Qtmain.cpp b/JGE/src/Qtmain.cpp index b9b1f2691..6630b729d 100644 --- a/JGE/src/Qtmain.cpp +++ b/JGE/src/Qtmain.cpp @@ -119,6 +119,8 @@ JGEQtRenderer *g_glwidget = NULL; static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[] = { { Qt::Key_Enter, JGE_BTN_MENU }, + { Qt::Key_Return, JGE_BTN_MENU }, + { Qt::Key_Escape, JGE_BTN_MENU }, { Qt::Key_Backspace, JGE_BTN_CTRL }, { Qt::Key_Up, JGE_BTN_UP }, { Qt::Key_Down, JGE_BTN_DOWN },