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
..
2021-07-22 07:28:01 +03:00
2021-08-11 12:01:40 +02:00
2021-05-04 11:46:30 +03:00
2020-11-04 19:42:34 +00:00
2020-11-04 19:42:34 +00:00
2021-08-07 10:44:37 +02:00
2020-11-04 19:42:34 +00:00
2021-03-03 11:17:28 +00:00
2014-04-05 18:18:42 +02:00
2014-04-05 18:18:42 +02:00
2020-09-23 23:20:23 +02:00
2015-04-19 11:46:01 +02:00
2021-08-07 10:44:37 +02:00
2014-04-05 18:18:42 +02:00
2014-04-05 18:18:42 +02:00
2021-08-13 17:07:27 +02:00
2021-08-18 18:22:55 +03:00
2014-04-05 18:18:42 +02:00
2021-05-04 11:46:30 +03:00
2021-05-04 11:46:30 +03:00