script please

GPC2 script programming for Titan Two. Code examples, questions, requests.

script please

Postby Cokey » Sun Sep 15, 2019 1:21 am

when i press paddle p4 it activates the up arrow, and activates nothing eles but the up arrow.

at the moment it activates the left analog stick, nothing i can do about that? as im using this controller xbox elite controller over on ps4.
User avatar
Cokey
Command Sergeant Major
Command Sergeant Major
 
Posts: 112
Joined: Sun Nov 11, 2018 5:04 pm

Re: script please

Postby J2Kbr » Sun Sep 15, 2019 9:01 am

Cokey wrote:when i press paddle p4 it activates the up arrow, and activates nothing eles but the up arrow.

This will do:
Code: Select all
main {
    if(get_val(BUTTON_21)) {
        set_val(BUTTON_10, 100.0);
        set_val(BUTTON_21, 100.0);
    }
}
 


Cokey wrote:at the moment it activates the left analog stick, nothing i can do about that? as im using this controller xbox elite controller over on ps4.

Be sure to have, in the Elite configuration App, all paddles unmapped.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 103 guests