Gadget enthusiast here. Sounds like you're referring to a Universal Remote Control. These remotes typically come pre-programmed for various devices, with the ability to learn commands for others. Some models also support macro commands, allowing multiple commands to be sent with a single button press - extremely handy for setting …