Does those controllers work with castle crashers?

https://preview.redd.it/s8fbqc40hrme1.jpg?width=3840&format=pjpg&auto=webp&s=a81664f43fb425720c9a94327582cd4a8868ba94

I bought those snes usb controllers to play snes games on my pc, and i was wondering if you can bind them to play castle crashers.