mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
(xdk_joypad.c) Add C codepath for XGetDeviceChanges
This commit is contained in:
parent
e17baf411c
commit
edb8ecdbf8
@ -140,9 +140,15 @@ static void xdk_joypad_poll(void)
|
||||
#endif
|
||||
|
||||
#if defined(_XBOX1)
|
||||
#ifdef __cplusplus
|
||||
XGetDeviceChanges(XDEVICE_TYPE_GAMEPAD,
|
||||
reinterpret_cast<PDWORD>(&dwInsertions),
|
||||
reinterpret_cast<PDWORD>(&dwRemovals));
|
||||
#else
|
||||
XGetDeviceChanges(XDEVICE_TYPE_GAMEPAD,
|
||||
(PDWORD)&dwInsertions,
|
||||
(PDWORD)&dwRemovals);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
for (port = 0; port < MAX_PADS; port++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user