In my experience Apex Legends should be able to detect the PS4 controller automatically. Do you have any other USB devices connected to your laptop at the moment? If so, would you mind disconnecting them to test and see if that makes any difference at all?