Also. Better than using third party you can use this adapter to use a PSone or PS2 controller.
I can personally tell you it works.
I haven’t tried with Mac but this has worked perfectly for me: https://www.amazon.com/dp/B0089OBLDO/ref=cm_sw_r_cp_api_glt_fabc_BKB1HA3FWX1C47XPDQ0P
I originally got one of those blue triangle ones, but I think it had some defect where it wouldn’t light up when I plugged in a dance pad. Both Windows and Linux had no problems recognizing it, though.