Button for local video recording

Maybe I am to stupid, but I do not find how to configure a button to record video on the RC.
Can anybody help me?

You may have a look at the ardupilot wiki

Or you can directly assign mavlink message to button if you use Solex

Thanks Alvin!

Im not looking for a solution to start recording in the aircraft. I am looking how to start recording in the ground station.
I can do that by using OGS and the touch screen, but this is not very convenient.

Best regards

In this case I don’t think it is possible to start screen recording with button. Even if you need a screen capture, you will need another app to do that