Connecting game controller to a Mac and play D3?

I have an iMac with Monterey 12.7.3 iOS and am trying to play D 3 using a game controller as the mouse. I have tried 1 from Amazon with no luck and just bought the newest X-Box controller again no luck. Both are said to be able to work on Mac but it seems to be beyond me. Without the game on I can connect via blue tooth but it does not move the cursor. I then started the game and tried to use the controller still no luck, so if any has fingered this out already I would be most grateful!!!

Only the console version of D3 supports controllers at this time.