Keymapper:
- Introduced new OSystem method getHardwareKeySet() with default implementation - Moved global keymap creation to base/main.cpp - Moved GUI keymap creation to gui/GuiManager.cpp - Added various safeguard checks to various keymapper methods Now it is really possible to add keymapper to all backends. svn-id: r40439
This commit is contained in:
parent
7604301c30
commit
665e472ef0
8 changed files with 109 additions and 53 deletions
|
@ -170,11 +170,6 @@ void OSystem_SDL::initBackend() {
|
|||
setupMixer();
|
||||
}
|
||||
|
||||
// Setup the keymapper with backend's set of keys
|
||||
// NOTE: must be done before creating TimerManager
|
||||
// to avoid race conditions in creating EventManager
|
||||
setupKeymapper();
|
||||
|
||||
// Create and hook up the timer manager, if none exists yet (we check for
|
||||
// this to allow subclasses to provide their own).
|
||||
if (_timer == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue