...Actually fix controller support
This commit is contained in:
parent
5d2bcb856b
commit
4c7726221e
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ void ReleaseDirectInput(void)
|
||||||
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
|
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// It looks like Pixel declared his functions early, so he could forward-reference
|
||||||
|
BOOL HookDirectInputDevice(void);
|
||||||
|
|
||||||
BOOL InitDirectInput(void)
|
BOOL InitDirectInput(void)
|
||||||
{
|
{
|
||||||
SDL_InitSubSystem(SDL_INIT_JOYSTICK);
|
SDL_InitSubSystem(SDL_INIT_JOYSTICK);
|
||||||
|
|
Loading…
Add table
Reference in a new issue