Make keyboard volume control control the volume of a different audio output

What i want to do is have my keyboard’s volume knob control another audio output and not the selected audio output

for example AUDIO OUTPUT A is selected but i want to control AUDIO OUTPUT B that is not selected

How can i do this?

I am using pipewire if that is relevant.