Hey! I’ve only tested the game on Xbox Wireless Controllers and PlayStation 5 controllers, so I can only vouch for those personally. Apple even has official instructions on connecting them to your Mac (1, 2)
I realize that these aren’t super cheap, but unfortunately I can’t guarantee that the game will work with other makes. However, the input system that I use in the game claims to support some more devices. Looking through the list of controllers that are supposed to work, cheaper options might include “8BitDo Zero 2” ($20) or “8BitDo SN30 Pro” ($40). However, I’ve never tested the game on those, so purchase them at your own risk!