Managed to get a PS5 controller working with it by adding it as an unofficial steam game and then enabling steam input for Playstation controllers.