Skip to content

Commit

Permalink
Fix #7784: up/down/home/end key behavior in SDL2
Browse files Browse the repository at this point in the history
Closes #7784.
  • Loading branch information
nikolas authored and nielsmh committed Nov 1, 2019
1 parent d5a9bd4 commit 4884dca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/video/sdl2_v.cpp
Expand Up @@ -558,6 +558,10 @@ int VideoDriver_SDL::PollEvent()
keycode == WKC_NUM_ENTER ||
keycode == WKC_LEFT ||
keycode == WKC_RIGHT ||
keycode == WKC_UP ||
keycode == WKC_DOWN ||
keycode == WKC_HOME ||
keycode == WKC_END ||
keycode & WKC_META ||
keycode & WKC_SHIFT ||
keycode & WKC_CTRL ||
Expand Down

0 comments on commit 4884dca

Please sign in to comment.