KEYMAPPER: Rename EVENT_CUSTOM_BACKEND to EVENT_CUSTOM_BACKEND_ACTION
This commit is contained in:
parent
6afac4e01e
commit
533f80282b
3 changed files with 3 additions and 3 deletions
|
@ -201,7 +201,7 @@ MaemoSdlEventObserver::MaemoSdlEventObserver(MaemoSdlEventSource *eventSource) {
|
|||
|
||||
bool MaemoSdlEventObserver::notifyEvent(const Common::Event &event) {
|
||||
#ifdef ENABLE_KEYMAPPER
|
||||
if (event.type != Common::EVENT_CUSTOM_BACKEND)
|
||||
if (event.type != Common::EVENT_CUSTOM_BACKEND_ACTION)
|
||||
return false;
|
||||
if (event.customType == kEventClickMode) {
|
||||
assert(_eventSource);
|
||||
|
|
|
@ -194,7 +194,7 @@ Common::Keymap *OSystem_SDL_Maemo::getGlobalKeymap() {
|
|||
|
||||
act = new Action(globalMap, "CLKM", _("Click Mode"));
|
||||
Event evt = Event();
|
||||
evt.type = EVENT_CUSTOM_BACKEND;
|
||||
evt.type = EVENT_CUSTOM_BACKEND_ACTION;
|
||||
evt.customType = Maemo::kEventClickMode;
|
||||
act->addEvent(evt);
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ enum EventType {
|
|||
,
|
||||
// IMPORTANT NOTE: This is part of the WIP Keymapper. If you plan to use
|
||||
// this, please talk to tsoliman and/or LordHoto.
|
||||
EVENT_CUSTOM_BACKEND = 18,
|
||||
EVENT_CUSTOM_BACKEND_ACTION = 18,
|
||||
EVENT_KEYMAPPER_REMAP = 19
|
||||
#endif
|
||||
#ifdef ENABLE_VKEYBD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue