mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Correct virtual keyboard events
This commit is contained in:
parent
6a79ffb4f4
commit
a8e5921841
@ -376,6 +376,12 @@ void Gui::pushEvent(event_t ev)
|
|||||||
|
|
||||||
void Gui::pushEvent(SDL_Event *ev)
|
void Gui::pushEvent(SDL_Event *ev)
|
||||||
{
|
{
|
||||||
|
if (this->kbd)
|
||||||
|
{
|
||||||
|
this->kbd->pushEvent(ev);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch(ev->type)
|
switch(ev->type)
|
||||||
{
|
{
|
||||||
case SDL_KEYDOWN:
|
case SDL_KEYDOWN:
|
||||||
|
Loading…
Reference in New Issue
Block a user