Custom Button Layout C.o.d. Advanced Warfare For Use With Xbox or PS4 Controller on PS4

I wrote out for use on my alternative xbox controller that has both the joysticks on top and directional pad and buttons below. Perfect layout for me with this controller. (: *Most likely button placement won't be suitable with a regular controller joystick design. Here is a nice base layout for buttons so you can see my pattern and replace and test with your choice of button placement. Wish someone else had a layout posted for me so here you go (: (Script says PS4 button names because I am using controller for my PS4 and it was easier for me to recognize while editing. It doesn't matter which system though, as long as you know PS4 button names; Triangle=Y Circle=B Cross=A Square=X L1,L2,L3=LT,LB,LS R1,R2,R3=RT,RB,RS I switched from having share button compatible with Touch Pad Press. (I felt it necessary because it was a choice between the two on my controller and there are certain menu options you need access to the touch pad for.) ***Here we have A(Cross) as B(Circle), -To Jump B(Circle) as Y(Triangle), -To Crouch X(Square) as A(Cross), -To Reload RS(R3) as X(Square), -To Punch (Punch on joystick is stupid IMO) RS(R3) as RT(R1), -To Run & Boost (I like this setting a lot better than default to be honest, give it a try and if you don't like it just erase this line in the script. *TIP: You must click it and move the joystick forward or sideways as normal to activate exo dashing. In your GTunes options enable/activate auto-run or press-sensitivity run! Well enough said, Here it is...
Version2.17
Authormissesrosecakes
Publish DateThu, 16 Apr 2015 - 04:32
Last UpdateThu, 16 Apr 2015 - 04:32
Downloads166
RATE


1

0

Code: Select all
/* *
* GPC SCRIPT
*
*  GPC is a scripting language with C-like syntax.
*  To learn more access GPC Language Reference on Help menu.
* *********************************************************** */

 
main
{ swap ( PS4_CIRCLE, PS4_TRIANGLE )
swap ( PS4_CROSS, PS4_TRIANGLE )
swap ( PS4_R3, PS4_SQUARE )
swap ( PS4_SQUARE, PS4_TRIANGLE )
swap ( PS4_L1, PS4_L3 )
swap ( PS4_SHARE, PS4_TOUCH )
 
 
    // TODO: handle/change values of buttons, analog stick and/or sensors
    //
 
}