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) {
|
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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue