KEYMAPPER: Rename EVENT_CUSTOM_BACKEND to EVENT_CUSTOM_BACKEND_ACTION

This commit is contained in:
Tarek Soliman 2012-02-27 12:35:48 -06:00
parent 6afac4e01e
commit 533f80282b
3 changed files with 3 additions and 3 deletions

View file

@ -201,7 +201,7 @@ MaemoSdlEventObserver::MaemoSdlEventObserver(MaemoSdlEventSource *eventSource) {
bool MaemoSdlEventObserver::notifyEvent(const Common::Event &event) { bool MaemoSdlEventObserver::notifyEvent(const Common::Event &event) {
#ifdef ENABLE_KEYMAPPER #ifdef ENABLE_KEYMAPPER
if (event.type != Common::EVENT_CUSTOM_BACKEND) if (event.type != Common::EVENT_CUSTOM_BACKEND_ACTION)
return false; return false;
if (event.customType == kEventClickMode) { if (event.customType == kEventClickMode) {
assert(_eventSource); assert(_eventSource);

View file

@ -194,7 +194,7 @@ Common::Keymap *OSystem_SDL_Maemo::getGlobalKeymap() {
act = new Action(globalMap, "CLKM", _("Click Mode")); act = new Action(globalMap, "CLKM", _("Click Mode"));
Event evt = Event(); Event evt = Event();
evt.type = EVENT_CUSTOM_BACKEND; evt.type = EVENT_CUSTOM_BACKEND_ACTION;
evt.customType = Maemo::kEventClickMode; evt.customType = Maemo::kEventClickMode;
act->addEvent(evt); act->addEvent(evt);

View file

@ -78,7 +78,7 @@ enum EventType {
, ,
// IMPORTANT NOTE: This is part of the WIP Keymapper. If you plan to use // IMPORTANT NOTE: This is part of the WIP Keymapper. If you plan to use
// this, please talk to tsoliman and/or LordHoto. // this, please talk to tsoliman and/or LordHoto.
EVENT_CUSTOM_BACKEND = 18, EVENT_CUSTOM_BACKEND_ACTION = 18,
EVENT_KEYMAPPER_REMAP = 19 EVENT_KEYMAPPER_REMAP = 19
#endif #endif
#ifdef ENABLE_VKEYBD #ifdef ENABLE_VKEYBD