Battlefront 2

Titan One general support. Questions, firmware update, feature request.

Re: Battlefront 2

Postby crunchybedsheets » Fri Nov 02, 2018 3:01 pm

Definitely interested - please do!
User avatar
crunchybedsheets
Private First Class
Private First Class
 
Posts: 2
Joined: Tue Oct 30, 2018 9:24 pm

Re: Battlefront 2

Postby J2Kbr » Sat Nov 03, 2018 8:09 pm

crunchybedsheets wrote:Definitely interested - please do!

PM replied. :smile0517:
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Battlefront 2

Postby alanmcgregor » Sat Nov 03, 2018 8:35 pm

J2Kbr is there a way or similar function to replicate time_release on GPC1.0 I need it for finish the port :)
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am

Re: Battlefront 2

Postby J2Kbr » Mon Nov 05, 2018 10:58 am

alanmcgregor wrote:J2Kbr is there a way or similar function to replicate time_release on GPC1.0 I need it for finish the port :)

The Titan One does not tracks the release time of the inputs, however you can implement this logic in GPC code, example:
Code: Select all
int tr;
 
main {
    if(event_release(PS4_CROSS)) {
        tr = 0;
    } else if(!get_val(PS4_CROSS) && tr < 30000) {
        tr = tr + get_rtime();
    }
    // Check for double tap
    if(event_press(PS4_CROSS) && tr < 180) {
        //
        // CROSS double tap
        //
    }
}
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Battlefront 2

Postby alanmcgregor » Mon Nov 05, 2018 7:27 pm

Awesome!, Thanks J2Kbr. :smile0517:
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am

Previous

Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 123 guests