Using Qgroundcontrol (cube) to control naked gopro

I want to use my pixhawk cube with the latest firmware flashed via Qgroundcontrol to control my naked gopro. For doing taht I need two pins to act as GPIO pins but I cannot find a parameter that can be used for that, the only thing I can do is send my RC_in signal through but that is a PWM signal and will not word.

In Betaflight we do it with the Pinio pins.

Can anybody help me to get the GPIO pins working on my pixhawk? Thanks a lot in advance.

Best regards,