Need Help Programming IR Controller Custom Code Elegoo EL-KIT-012 UNO Robot CAR

Hi, I have built an Elegoo EL-KIT-012 UNO Project Smart Robot Car Kit V 3.0 with UNO R3, Line Tracking Module, Ultrasonic Sensor, Bluetooth Module

Does anyone know if the IR Controller can be used to activate different capabilities for the uno in the code I write for it?

What I am trying to do: the tutorials for the kit have 5 .ico code examples. One is object avoidance autonomous drive and another is the Bluetooth control and another is IR remote control activation.

The Controller has numbered buttons: I want to click #2 and have the unit go into object avoidance mode then by pressing #3 on the remote, I can activate the Bluetooth or press #4 and go into following black line sensor mode.

I can combine code into one .ico that will compile, but I do not know how to assign buttons on the remote for snippets of .ico code. Can you help?

Can you help?

No, sorry. I dropped my crystal ball. Now, all it does is show "I Love Lucy" reruns. It does show them in color, though.

You have some code, which appears to be a deep dark secret, so the solution will need to be a secret, too.