diff --git a/input/drivers_hid/apple_hid.c b/input/drivers_hid/apple_hid.c index 0d5952d3d4..6817fb80ff 100644 --- a/input/drivers_hid/apple_hid.c +++ b/input/drivers_hid/apple_hid.c @@ -331,7 +331,7 @@ static void apple_hid_device_add(void* context, IOReturn result, connection->device_name, sizeof(settings->input.device_names)); apple_hid_device_add_autodetect(connection->slot, - connection->device_name, apple_hid_joypad.ident, dev_vid, dev_pid); + connection->device_name, hid_joypad.ident, dev_vid, dev_pid); error: return;