Merge pull request #3264 from thedax/master

Allow Default All to generate a keymap for Directinput, too.
This commit is contained in:
Henrik Rydgård 2013-08-20 00:37:40 -07:00
commit f2f3f00e16

View file

@ -625,6 +625,7 @@ void RestoreDefault() {
#if defined(_WIN32)
SetDefaultKeyMap(DEFAULT_MAPPING_KEYBOARD, true);
SetDefaultKeyMap(DEFAULT_MAPPING_X360, false);
SetDefaultKeyMap(DEFAULT_MAPPING_PAD, false);
#elif defined(ANDROID)
// Autodetect a few common devices
std::string name = System_GetName();