From bd2f31134583c374a8de90e8a7696eae6de6ee72 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Mon, 3 Dec 2018 03:16:55 -0500 Subject: [PATCH] Remap menu actions to better joy keys --- src/m_menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 93412e49f..4514c811b 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -2091,7 +2091,6 @@ boolean M_Responder(event_t *ev) { case KEY_MOUSE1: case KEY_JOY1: - case KEY_JOY1 + 2: ch = KEY_ENTER; break; case KEY_JOY1 + 3: @@ -2099,6 +2098,9 @@ boolean M_Responder(event_t *ev) break; case KEY_MOUSE1 + 1: case KEY_JOY1 + 1: + ch = KEY_ESCAPE; + break; + case KEY_JOY1 + 2: ch = KEY_BACKSPACE; break; case KEY_HAT1: