Remap buttons on *one* mouse only under Wayload?

I’m currently still using Xorg for one reason, I can use xinput to remap the buttons on the trackball I have on my left side without remapping the buttons with the mouse I have on the right side.

Is there an equivalent way to do this under Wayland?

Thanks!