[PATCH 4/4] xinput1_3: Return correct slot indices for existing devices in find_opened_device().