visualboyadvance-m/src
Edênis Freindorfer Azevedo b0ec84693e fix stuck keys on ubuntu and on focus loss #142
In the `OnKeyDown` event handler, check if the key is actually pressed
using `wxGetKeyState()`, because for some reason on Ubuntu 18
spurious events are generated when the key is not actually pressed.

Also, if a game is paused by the frontend while a key is being pressed,
the key will remain active for the game when unpaused. This is an
issue because the key will likely be released outside of the game zone;
therefore, we would not process the key release for the game itself.

The same bug happens if clicking outside of the game zone while
holding a key.

For the case of a directional key, this means a continuous movement
in the direction of the key pressed before the pause until the key
is pressed and released.
2019-05-29 12:08:18 -07:00
..
apu Silence some warnings 2018-06-14 11:48:35 -04:00
art merged sergio's icon patch for additional sizes. 2015-05-18 03:44:19 +00:00
common support FreeBSD 2019-04-25 16:22:07 +00:00
debian Some debian stuff, I honestly don't like debian packaging... but it's important for some people 2017-03-09 04:06:25 -05:00
filters Fix compilation warnings for MacOS build. 2019-04-04 18:01:05 -01:00
gb Fix compilation warnings for MacOS build. 2019-04-04 18:01:05 -01:00
gba Sound.cpp: Update 2019-04-28 04:02:45 -07:00
libretro Merge remote-tracking branch 'vbam-libretro/master' 2019-04-20 08:39:54 +00:00
sdl add unistd.h compat header for visual studio 2019-04-13 22:50:05 +00:00
snap I guess I'll try the gtk2 build of wxwidgets instead 2019-02-02 18:32:38 -05:00
vita Working on getting libretro updated 2017-03-24 07:59:10 -04:00
wx fix stuck keys on ubuntu and on focus loss #142 2019-05-29 12:08:18 -07:00
AutoBuild.h updated standards to webkit standard 2016-07-08 19:59:29 -04:00
NLS.h updated standards to webkit standard 2016-07-08 19:59:29 -04:00
System.h Re-add Types.h, remove some more #ifdef 2018-06-08 20:14:45 +08:00
Util.cpp fix some compilation warnings 2019-04-03 17:32:25 +00:00
Util.h fix some compilation warnings 2019-04-03 17:32:25 +00:00
vba-over.ini how did the spanish version of fire red get its save type set to eeprom (savetype=1) 2012-05-23 06:40:11 +00:00
version.h.in read version and subversion info from Git 2017-10-07 14:00:47 -07:00