scummvm/scummvm — pull request #186 by tsoliman (2012-02-19 05:17:23+00:00)
Title: KEYMAPPER: Mandatory EventMapper

This is part of an ongoing effort to transition to an Event model where there's a clear separation between hardware and action events in order to pave the way for mapping gestures and other nice things.

This series of commits establishes a non-optional EventMapper that all backed-generated events must go through.

Without --enable-keymapper the DefaultEventMapper is in charge and attempts to maintain the existing behavior of not-much-mapping (except for some pre-existing hardcoded key events)

With --enable-keymapper the KeyMapper is in charge and works as it does today.

No behavior changes should be noticeable with these changes.