KEYMAPPER: Change custom backend action events not to be instant
Allows action consumers to choose if they want to react on the start or on the end of an user interaction.
This commit is contained in:
parent
2d7588d9c3
commit
cc336635a1
6 changed files with 23 additions and 14 deletions
|
@ -204,7 +204,7 @@ Common::Keymap *OSystem_SDL_Maemo::getGlobalKeymap() {
|
|||
|
||||
act = new Action("CLKM", _("Click Mode"));
|
||||
Event evt = Event();
|
||||
evt.type = EVENT_CUSTOM_BACKEND_ACTION;
|
||||
evt.type = EVENT_CUSTOM_BACKEND_ACTION_START;
|
||||
evt.customType = Maemo::kEventClickMode;
|
||||
act->setEvent(evt);
|
||||
globalMap->addAction(act);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue