Added return and esc key as binding to MENU
This commit is contained in:
@@ -119,6 +119,8 @@ JGEQtRenderer *g_glwidget = NULL;
|
|||||||
static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[] =
|
static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[] =
|
||||||
{
|
{
|
||||||
{ Qt::Key_Enter, JGE_BTN_MENU },
|
{ 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_Backspace, JGE_BTN_CTRL },
|
||||||
{ Qt::Key_Up, JGE_BTN_UP },
|
{ Qt::Key_Up, JGE_BTN_UP },
|
||||||
{ Qt::Key_Down, JGE_BTN_DOWN },
|
{ Qt::Key_Down, JGE_BTN_DOWN },
|
||||||
|
|||||||
Reference in New Issue
Block a user