Microstepping stepper driver without dip switches

I'm using a rotary encoder and stepper motor to remotely adjust a capacitor that tunes a magnetic loop antenna. I've got that part figured out. What I don't have nailed down yet is switching between the microstepping modes for control resolution. All of the motor controllers I have looked at use dip switches to set the microstepping. This does not lend itself to having it on the control surface with the encoder wheel. Is there a controller that allows for remote changes to resolution, or do I need to remove the dip switch and build that functionality myself?

A relay bank to replace the dip switches comes to mind. Maybe even some logic-level MOSFETS or transistor switches.

"TMC" drivers from Trinamic, like the TMC2209 can be configured via serial (UART) from MCU (Arduino).
https://www.electronicshub.org/tmc2209-stepper-motor-driver-ic/

Actually, is there a reason you don;t just extend the switch by adding longer wires?

I would most likely use a rotary switch for the resolution control options I want. How that works really depends on what those switches are switching. Maybe they're ground/no ground, maybe it's 5v on or off. There are ways. I was just hoping some motor controller manufacturer had already implemented it so I don't have to.

Drivers like the Pololu DRV8825 have 3 pins, M0, M1, M2, that control microstepping, could be connected with multi pole rotary switch or connected to 3 Arduino output pins and controlled via software.
https://www.pololu.com/product/2133

EDIT

Thanks. Their Tic T825 looks like it fits the bill.