Hi Frode, I am using a PS4 controller, through the DS4Windows software. Everything works fine. But the touchpad works like a mouse, and touching it mid-game causes the input to change to mouse automatically. I have entered automatic_input_grab = 0 in the configuration file but no luck. The relevant part of my configuration file looks like this:
joystick_port_0 = xinput controller
joystick_port_0_mode = joystick
joystick_port_1 = xinput controller #2
joystick_port_1_mode = joystick
automatic_input_grab = 0