A universal remote can be used to operate your soundbar. There are several fixes for this.  While some devices use infrared to communicate, others rely on hardwired connections like HDMI ARC or a digital fiber optic cable to simplify controls.