Remapping PS4 Share Button

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

Remapping PS4 Share Button

Postby slayerage » Thu Apr 21, 2016 10:56 pm

I play Destiny and I'm trying to use an xbox one controller to do so. However, I need to use the touchpad "button" for gamplay reasons, and I can't seem to remap the Xbox_View button to PS_TOUCH.

I found code on the forum as follows

unmap PS4_SHARE;
remap PS4_SHARE -> PS4_TOUCH;

main {

}

but I apparently cannot figure out how to use that. I have absolutely no experience with coding, GPC, etc., so I apparently need an explanation like I am five years old. What I have tried so far was to open the gpc compiler, create a new file, copy the above code as oriented (with the mapping above the main function), save, compile, program device, and then build and run (which, on the gtuner software, shows my xbox_view input as a ps_touch output), but the changes do not work on my console when I plug the controller back into the console.

What am I doing wrong, how can I fix this?
User avatar
slayerage
Corporal
Corporal
 
Posts: 5
Joined: Thu Apr 21, 2016 10:52 pm

Re: Remapping PS4 Share Button

Postby UK_Wildcats » Thu Apr 21, 2016 11:16 pm

First, take a look at the topic below. The PS4_Share should map to the same as XB1_View. Unfortunately, the PS4_Touch does not map to any other XBox buttons; however, you should be able to use them for combos.

Data Representation
https://www.consoletuner.com/forum/viewtopic.php?f=18&t=3505
User avatar
UK_Wildcats
Brigadier General
Brigadier General
 
Posts: 2243
Joined: Thu Jan 08, 2015 6:53 pm

Re: Remapping PS4 Share Button

Postby bonefisher » Thu Apr 21, 2016 11:26 pm

Code: Select all

remap XB1_VIEW -> PS4_TOUCH;
unmap PS4_SHARE;

main {

    //
    // The main procedure is called before every report be sent to
    // console, you can think in this procedure as a loop which only
    // ends when the script is unloaded.
    //
    // TODO: handle/change values of buttons, analog stick and/or sensors
    //

}


Here you go!
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Remapping PS4 Share Button

Postby slayerage » Fri Apr 22, 2016 12:29 am

bonefisher wrote:
Code: Select all

remap XB1_VIEW -> PS4_TOUCH;
unmap PS4_SHARE;

main {

    //
    // The main procedure is called before every report be sent to
    // console, you can think in this procedure as a loop which only
    // ends when the script is unloaded.
    //
    // TODO: handle/change values of buttons, analog stick and/or sensors
    //

}


Here you go!



Ok, tried to put this in the GPC compiler exactly as you stated, but the xbox one controller view button input is still giving me the share button output when on the console. It does show that it's "translating" correctly when I do build and run, but on the actual console I'm not getting the right output as if nothing has changed at all.

I'm pretty confident, but not 100% sure, I'm using the compiler correctly. Any further suggestions..?
User avatar
slayerage
Corporal
Corporal
 
Posts: 5
Joined: Thu Apr 21, 2016 10:52 pm

Re: Remapping PS4 Share Button

Postby slayerage » Fri Apr 22, 2016 12:43 am

...And just to reiterate, I am a total novice and could use a very easy to understand explanation.
User avatar
slayerage
Corporal
Corporal
 
Posts: 5
Joined: Thu Apr 21, 2016 10:52 pm

Re: Remapping PS4 Share Button

Postby bonefisher » Fri Apr 22, 2016 12:52 am

Do you have the output to PS4? It works on my end.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Remapping PS4 Share Button

Postby slayerage » Fri Apr 22, 2016 12:54 am

Yeah I do have it set to output to ps4. Everything works fine now, aside from the every 8 minute or so authentication momentary disconnect and the share button being unwilling to remap so I can actually use the "touchpad button."

I just want the touchpad button functionality on the xbox view button.
User avatar
slayerage
Corporal
Corporal
 
Posts: 5
Joined: Thu Apr 21, 2016 10:52 pm

Re: Remapping PS4 Share Button

Postby bonefisher » Fri Apr 22, 2016 12:57 am

1) Open new GPC script.
2) Delete everything off of that page.
3) Select all on this script I made you and COPY.
4) Paste script on that new clean page.
5) Click compile to make sure there is no errors
6) click build and run
7) make sure output is on PS4.
8) TEST
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Remapping PS4 Share Button

Postby slayerage » Fri Apr 22, 2016 1:02 am

I don't know what exactly that changed, but it definitely works now. Thank you very much for the help!
User avatar
slayerage
Corporal
Corporal
 
Posts: 5
Joined: Thu Apr 21, 2016 10:52 pm

Re: Remapping PS4 Share Button

Postby bonefisher » Fri Apr 22, 2016 1:03 am

Your Welcome!
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Next

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 101 guests