Joystick Axis 6 & 7 to control Gimbal

Hi , Im in the middle of a project.
I have a Joystick working perfectly all modes buttons ect. But i would like to control my Gimbal with the D-Pad on the joystick. The D-pad is recognized as axis 6 and axis 7 in Qgroundcontrol . How do i couple the axis 6/7 to RC/Servo 10 and 11 on the Pixhawk ( these are connected to the Gimbal and working with Radio control )?.