Stub sys_gamepad ycon interface (#2435)

* Attempt to add sys_gamepad...

* Stub ycon methods

Signed-off-by: clienthax <clienthax@gmail.com>
This commit is contained in:
clienthax 2017-02-28 16:15:11 +00:00 committed by Ivan
parent 557e1c3694
commit bd85f23ed9
6 changed files with 137 additions and 1 deletions

View file

@ -40,6 +40,8 @@ void MMJoystickHandler::Init(const u32 max_connect)
js_info.dwSize = sizeof(js_info);
js_info.dwFlags = JOY_RETURNALL;
joyGetDevCaps(JOYSTICKID1, &js_caps, sizeof(js_caps));
bool JoyPresent = (joyGetPosEx(JOYSTICKID1, &js_info) == JOYERR_NOERROR);
if (JoyPresent)
{