Only block keydown
This commit is contained in:
parent
8182c02947
commit
1bbd6c136f
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ bool M_Responder (event_t *ev)
|
|||
else if (menuactive != MENU_WaitKey && (ev->type == EV_KeyDown || ev->type == EV_KeyUp))
|
||||
{
|
||||
// eat blocked controller events without dispatching them.
|
||||
if (ev->data1 >= KEY_FIRSTJOYBUTTON && m_blockcontrollers) return true;
|
||||
if (ev->data1 >= KEY_FIRSTJOYBUTTON && m_blockcontrollers && ev->type == EV_KeyDown) return true;
|
||||
|
||||
keyup = ev->type == EV_KeyUp;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue