scummvm/backends/events
sluicebox 386c5659ec BASE: Purge keyboard/mouse events before running Engine
Fixes GUI events leaking into engines at startup. This caused
Phantasmagoria 1 to skip its introduction if the game was started from
the ScummVM GUI with a keyboard (Enter) but not with a mouse because
the key-down event started the engine and the key-up event remained
in the queue.

This also purges and mouse events since we happen to already have a
purgeMouseEvents() method. We may want to also clear joystick inputs,
or possibly the entire event queue, but that can be done after the
upcoming release. For now, the known bug is fixed.
2021-08-23 15:46:33 -05:00
..
androidsdl SDL: Simplify mouse button handling on AndroidSDL, GPH and OpenPandora 2020-02-26 21:34:24 +01:00
default BASE: Purge keyboard/mouse events before running Engine 2021-08-23 15:46:33 -05:00
dinguxsdl SDL: Move the keyboard mouse to a subclass of SdlEventSource 2020-03-09 20:00:31 +01:00
ds DS: Update the MaxMod callback manually 2021-06-19 14:32:10 +02:00
gph GPH/OPENPANDORA: Minor cleanup 2020-09-13 14:58:45 +01:00
maemosdl MAEMO: Add override and final keywords 2020-11-01 20:04:57 +00:00
openpandora OPENPANDORA: Fix copy/paste error 2020-09-13 22:20:31 +01:00
ps3sdl BACKENDS: Remove not used code 2020-10-02 20:01:17 +02:00
psp2sdl JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
riscossdl JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
samsungtvsdl SDL: Move the keyboard mouse to a subclass of SdlEventSource 2020-03-09 20:00:31 +01:00
sdl SDL: Refactor OpenGLSdlGraphics3dManager to inherit from SdlGraphicsManager 2021-04-17 20:32:27 +02:00
switchsdl JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00