Could someone who knows how to script on the logitech gaming software make a script where as i press the side 'G-Shift' button it moves mouse down(recoil)

Ive treid doing this but cannot get it to work, hoping its really simple for someon who knows how to code thanks