Last of Us Remastered PS4 Flashlight Recharge

GPC1 script programming for Titan One. Code examples, questions, requests.

Re: Last of Us Remastered PS4 Flashlight Recharge

Postby TacticalBacon00 » Thu Apr 23, 2015 6:48 am

Yep, I just tried it with a real DS4 over USB going through the Titan One. None of the gyro data is passed through. It works with the DS4 plugged directly into the PS4, but I have no way to check if that is sending the data over bluetooth or USB.

*Waits for firmware update*
User avatar
TacticalBacon00
Sergeant
Sergeant
 
Posts: 7
Joined: Wed Apr 22, 2015 6:42 am

Re: Last of Us Remastered PS4 Flashlight Recharge

Postby J2Kbr » Sun Apr 26, 2015 1:36 pm

TacticalBacon00 wrote:*Waits for firmware update*

A simple firmware update it is not enough, unless Sony make changes on PS4 side to accept those inputs over USB. I'm currently working in a Bluetooth based solution for that, it will be a extra piece of hardware connected into the Titan One by the PCPROG port.
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: Last of Us Remastered PS4 Flashlight Recharge

Postby mariareese » Fri Jul 14, 2017 12:39 pm

I am also using PS4 with my XBone controller.. having similar issue about script .. :(
User avatar
mariareese
Private
Private
 
Posts: 1
Joined: Fri Jul 14, 2017 12:36 pm

Re: Last of Us Remastered PS4 Flashlight Recharge

Postby J2Kbr » Fri Jul 14, 2017 8:54 pm

This is an old post, but glad you brought it back.

Since last year, the Titan One have full support for the PS4 motion sensors. :smile0517: As well as lightbar and touchpad.

For support to PS4 controller headsets, please take a look on our new device, the Titan Two.

mariareese wrote:I am also using PS4 with my XBone controller.. having similar issue about script .. :(

The Xbox One controller -unfortunately- does not have motion sensor.
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: Last of Us Remastered PS4 Flashlight Recharge

Postby Psebcool » Fri Oct 06, 2017 6:25 pm

Is it possible to simulate the gyro sensors with the Right Stick axis ?

It would be a solution to recharge the Flashlight in TLOU.
Psebcool
Sergeant Major
Sergeant Major
 
Posts: 73
Joined: Mon Jun 22, 2015 7:41 pm

Re: Last of Us Remastered PS4 Flashlight Recharge

Postby J2Kbr » Sun Oct 08, 2017 8:57 pm

yep, it is possible. :)

Assuming you want simulate motion on the Z axis, this will to the trick using the right analog up/down:
Code: Select all
main {
    set_val(PS4_ACCZ, get_val(PS4_RY));
}
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: Last of Us Remastered PS4 Flashlight Recharge

Postby Psebcool » Sun Oct 08, 2017 9:03 pm

J2Kbr wrote:yep, it is possible. :)

Assuming you want simulate motion on the Z axis, this will to the trick using the right analog up/down:
Code: Select all
main {
    set_val(PS4_ACCZ, get_val(PS4_RY));
}



Thanks :smile0517:
Psebcool
Sergeant Major
Sergeant Major
 
Posts: 73
Joined: Mon Jun 22, 2015 7:41 pm

Re: Last of Us Remastered PS4 Flashlight Recharge

Postby gman1212 » Tue Mar 22, 2022 12:39 am

Psebcool wrote:
J2Kbr wrote:yep, it is possible. :)

Assuming you want simulate motion on the Z axis, this will to the trick using the right analog up/down:
Code: Select all
main {
    set_val(PS4_ACCZ, get_val(PS4_RY));
}



Thanks :smile0517:



What would the Titan 2 version of this look like? I used the code but it popped up with errors and I realized it was for the Titan one.
User avatar
gman1212
First Sergeant
First Sergeant
 
Posts: 44
Joined: Sat Apr 11, 2020 4:14 pm

Re: Last of Us Remastered PS4 Flashlight Recharge

Postby Mad » Tue Mar 22, 2022 2:55 am

gman1212 wrote:What would the Titan 2 version of this look like?

put this line at the top
Code: Select all
#include <ps4.gph>
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am

Re: Last of Us Remastered PS4 Flashlight Recharge

Postby gman1212 » Tue Mar 22, 2022 5:02 pm

Mad wrote:
gman1212 wrote:What would the Titan 2 version of this look like?

put this line at the top
Code: Select all
#include <ps4.gph>



That did the trick, thanks!
User avatar
gman1212
First Sergeant
First Sergeant
 
Posts: 44
Joined: Sat Apr 11, 2020 4:14 pm

Previous

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 66 guests