+ if (m_content && !(flags & 1)) // only make/repeat, no break
+ return m_content->haveKey(key, m_mode);
+ break;
+ }
+ case evtFocusGot:
+ {
+ eDebug("focus got in %p", this);
+ ePtr<eActionMap> ptr;
+ eActionMap::getInstance(ptr);
+ ptr->bindAction("InputActions", 0, 0, this);
+ // bind all keys
+ ptr->bindAction("", 0, 1, this);
+ break;
+ }
+ case evtFocusLost:
+ {
+ eDebug("focus lostin %p", this);
+ ePtr<eActionMap> ptr;
+ eActionMap::getInstance(ptr);
+ ptr->unbindAction(this, 0);
+ ptr->unbindAction(this, 1);