Pcsx2 controller

in pcsx2 the latest version and a few versions ago my xbox one controller dose not work it shows up under gamepad configuration but then refuses to map to any buttons on the virtual controller and it worked fine in version 1.6.x and 1.5.x and i have changed nothing since then thanks.