mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
iohidmanager.c - Attempt to silence some warnings
This commit is contained in:
parent
82b41265e2
commit
1b3225089e
@ -236,10 +236,10 @@ static void iohidmanager_hid_device_input_callback(void *data, IOReturn result,
|
||||
struct iohidmanager_hid_adapter *adapter =
|
||||
(struct iohidmanager_hid_adapter*)data;
|
||||
IOHIDElementRef element = IOHIDValueGetElement(value);
|
||||
uint32_t type = IOHIDElementGetType(element);
|
||||
uint32_t page = IOHIDElementGetUsagePage(element);
|
||||
uint32_t use = IOHIDElementGetUsage(element);
|
||||
uint32_t cookie = IOHIDElementGetCookie(element);
|
||||
uint32_t type = (uint32_t)IOHIDElementGetType(element);
|
||||
uint32_t page = (uint32_t)IOHIDElementGetUsagePage(element);
|
||||
uint32_t use = (uint32_t)IOHIDElementGetUsage(element);
|
||||
uint32_t cookie = (uint32_t)IOHIDElementGetCookie(element);
|
||||
apple_input_rec_t *tmp = NULL;
|
||||
|
||||
if (type != kIOHIDElementTypeInput_Misc)
|
||||
|
Loading…
Reference in New Issue
Block a user