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) {
#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);

View file

@ -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);

View file

@ -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