Skip to content

Commit

Permalink
dpad input fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Northfear committed Nov 4, 2020
1 parent d0d76b9 commit d4abf36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/localevent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ bool LocalEvent::HandleEvents( bool delay, bool allowExit )

ResetModes( MOUSE_MOTION );
#ifdef WITH_GAMEPAD
if (!dpadScrollActive)
if (!dpadScrollActive || dpadInputActive)
ResetModes( KEY_PRESSED );
#else
ResetModes( KEY_PRESSED );
Expand Down

0 comments on commit d4abf36

Please sign in to comment.