More fixes to Joypad renaming.

Windows did not compile anymore because DI8DEVTYPE_JOYPAD obviously isn't defined in the directx headers ^^
I also did the same renaming as in #7473 for the windows platform and reverted the changes in the gamepad
mappings.
This commit is contained in:
Andreas Haas 2017-01-08 23:52:38 +01:00
parent 719b2e6eaa
commit d963fa9a01
No known key found for this signature in database
GPG key ID: B5FFAE1B65FBD2E1
5 changed files with 36 additions and 38 deletions

View file

@ -1120,7 +1120,7 @@ void OS_Windows::initialize(const VideoMode& p_desired,int p_video_driver,int p_
visual_server->init();
input = memnew( InputDefault );
joypad = memnew (joypad_windows(input, &hWnd));
joypad = memnew (JoypadWindows(input, &hWnd));
AudioDriverManagerSW::get_driver(p_audio_driver)->set_singleton();