well the driver for g27 it has API's ,. but to be sure i have no idea about the program language it can do that !!
down is an image of what I want to adjust
the last bar Degrees of rotations I want to have key functions to control it without open and go to settings just simple program to change the value of rotations