How to set up DualSense controller input on macOS?

I would like to take input from my DualSense controller on macOS. How could I achieve that?

After changing MacPlatform.bUseDSUMFiles to MacPlatform.bUseDSYMFiles and uncommenting the line

ISOPlatform.bGeneratedSYM = true;

in both Source/Game.Target.cs and Source/GameEditor.Target.cs I seem to get a notification when the controller is connected.

However, both the Platform User ID and Device ID seem to be 0.