diff --git a/input/drivers_hid/apple_hid.c b/input/drivers_hid/apple_hid.c index 57331a861a..15bc04ee26 100644 --- a/input/drivers_hid/apple_hid.c +++ b/input/drivers_hid/apple_hid.c @@ -342,7 +342,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, hid_joypad.ident, dev_vid, dev_pid); + connection->device_name, apple_hid.ident, dev_vid, dev_pid); error: return;