hi,
- i have attached a script that im using.
- im trying to add the touchpad mvmt to this script.
- im using axb1 controller.
- right now, i have the back button as the touchpad press.
- could I get help on adding the touchpad mvmt on xb1 controller.

thanks


/*
- once the sticks are swapped, i would like to be able to toggle UP movement which moves the player forward.
*/
int movement_toggle;
int LT_toggle;
int movement_var;
main {
swap(1,27);//
if(event_press(7)){
LT_toggle=!LT_toggle;
}
if(LT_toggle){
set_val(7,100);
}
if(get_val(12) <-95 && movement_var==FALSE){
movement_var=TRUE;
movement_toggle=!movement_toggle;
}
if(get_val(12) >-20){
movement_var=FALSE;
}
if(get_val(11) >20 || get_val(11) <-20 || get_val(12) >20){
movement_var=FALSE;
movement_toggle=FALSE;
}
if(movement_toggle){
set_val(12,-100);
}

}