Added comments in virtual-keyboard-parser.h describing the file format. Added a delay functionality to the delivery of artificial events in DefaultEventManager, to get round events being ignored when delivered consecutively.

svn-id: r33012
This commit is contained in:
Stephen Kennedy 2008-07-12 12:40:57 +00:00
parent 8aa09cbb99
commit 28cb417fb1
4 changed files with 148 additions and 4 deletions

View file

@ -260,6 +260,9 @@ bool VirtualKeyboardParser::parserCallback_Event() {
evt.type = VirtualKeyboard::kEventSwitchMode;
evt.data = new Common::String(evtNode->values["mode"]);
} else if (type == "close") {
evt.type = VirtualKeyboard::kEventClose;
evt.data = 0;
} else
return parserError("Event type '%s' not known", type.c_str());