mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Merge branch 'fix-keybinding-layout-issues' into 'next'
Fix issues with custom pause menu binds See merge request STJr/SRB2!2305
This commit is contained in:
commit
d5b205d926
1 changed files with 2 additions and 2 deletions
|
@ -3318,7 +3318,7 @@ boolean M_Responder(event_t *ev)
|
|||
|
||||
if (ch == -1)
|
||||
return false;
|
||||
else if (ch == gamecontrol[GC_SYSTEMMENU][0] || ch == gamecontrol[GC_SYSTEMMENU][1]) // allow remappable ESC key
|
||||
else if (ev->type != ev_text && (ch == gamecontrol[GC_SYSTEMMENU][0] || ch == gamecontrol[GC_SYSTEMMENU][1])) // allow remappable ESC key
|
||||
ch = KEY_ESCAPE;
|
||||
|
||||
// F-Keys
|
||||
|
@ -3436,7 +3436,7 @@ boolean M_Responder(event_t *ev)
|
|||
{
|
||||
// dirty hack: for customising controls, I want only buttons/keys, not moves
|
||||
if (ev->type == ev_mouse || ev->type == ev_mouse2 || ev->type == ev_joystick
|
||||
|| ev->type == ev_joystick2)
|
||||
|| ev->type == ev_joystick2 || ev->type == ev_text)
|
||||
return true;
|
||||
if (routine)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue