mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 19:50:24 +00:00
0ae7ffe0d3
== DETAILS - the free() method of the hid_driver_t interface needs its parameter defined as const in order for the compiler to stop complaining about losing const-ness. - if a joypad list is created with <MAX_USERS slots in it, the destroy() function will crash because it assumes there are MAX_USERS entries. To do this, the allocate function creates n+1 slots, and gives the last slot a canary value that the destroy() method can then watch for when iterating through the list. |
||
---|---|---|
.. | ||
btstack_hid.c | ||
iohidmanager_hid.c | ||
libusb_hid.c | ||
null_hid.c | ||
wiiu_hid.c | ||
wiiu_hid.h | ||
wiiusb_hid.c |