Gamepad support for Mac Catalyst

My old Objective-C game converted to Mac Catalyst almost perfectly, even including keyboard support!


Only 1 thing does not seem to work: gamepad. The game does support gamepad on iPad (and I just tested it with SteelSeries MFi controller), but the same controller does not work on the same converted game using the same controller connected to Mac (the controller works fine when tested with Apple Arcade game on Mac).


Do I need to do anything special to enable gamepad support on Mac?