Enable gamepad input when the startup GUI wakes.

This commit is contained in:
Daniel Buckmaster 2014-10-31 08:07:19 +11:00
parent a17a5ee43a
commit f3b08501c0
2 changed files with 12 additions and 0 deletions

View file

@ -45,6 +45,12 @@ function loadStartup()
//SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
}
function StartupGui::onWake(%this)
{
$enableDirectInput = "1";
activateDirectInput();
}
function StartupGui::click(%this)
{
%this.done = true;

View file

@ -45,6 +45,12 @@ function loadStartup()
//SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
}
function StartupGui::onWake(%this)
{
$enableDirectInput = "1";
activateDirectInput();
}
function StartupGui::click(%this)
{
%this.done = true;