Correct virtual keyboard events

This commit is contained in:
simon.kagstrom 2010-02-28 17:33:42 +00:00
parent 6a79ffb4f4
commit a8e5921841

View File

@ -376,6 +376,12 @@ void Gui::pushEvent(event_t ev)
void Gui::pushEvent(SDL_Event *ev)
{
if (this->kbd)
{
this->kbd->pushEvent(ev);
return;
}
switch(ev->type)
{
case SDL_KEYDOWN: