Which KVM will be compatible for my setup?

I’ve got a gaming PC and a Mac Mini that I’d like to share a single monitor, mouse, and keyboard with. Currently my PC is connected through by DisplayPort into an AW3423DW QD-OLED display at 3440x1440 @ 175Hz. Would the 1.4 Display Port KVM Switch - Single Monitor - Two Computer and the Moshi USBC to DP work for that setup and keep my current resolution/refresh rate on my PC? I’m guessing I’ll probably need a shorter DP cable and two USB A to B cables as well?

sounds like you’re on the right track, yep.

So I’ve been running this setup for about a week now and it’s been working almost flawlessly. The only small issue I have is occasionally the extra buttons on my mouse won’t work after switching between computers. Unplugging and re-plugging the mouse back in seems to fix it for now. Otherwise I’m very happy with this product!