Merge pull request #874 from eightyeight/enable-gamepad-earlier

Enable gamepad input when the startup GUI wakes
This commit is contained in:
Daniel Buckmaster 2014-10-31 08:25:37 +11:00
commit 644225db92
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;