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
default BASE: Purge keyboard/mouse events before running Engine 2021-08-23 15:46:33 -05:00
dinguxsdl
ds DS: Update the MaxMod callback manually 2021-06-19 14:32:10 +02:00
gph
maemosdl
openpandora
ps3sdl
psp2sdl JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
riscossdl
samsungtvsdl
sdl
switchsdl JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00