[Question] Connecting Keyboard and Mouse to T2 - PS4-Solved

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

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby jelly44 » Mon Jul 15, 2019 7:45 am

Good day, folks!

Would I be able to change the script slots using the keyboard's numeric keypad in this kb/m setup? Keeping in mind I wouldn't have a PC connected to the T2 and that the input translator would be in play.

If so, could someone please point me to a forum thread with a script code to do so? I'm struggling to find it.
- My recommendation for learning C programming: 'C Programming Absolute Beginner's Guide'
- Create your own scripts with GPC2 Scripting
User avatar
jelly44
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 220
Joined: Tue Feb 05, 2019 3:49 pm

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby Mad » Mon Jul 15, 2019 8:08 am

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: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby jelly44 » Mon Jul 15, 2019 8:11 am

thank you - what a difference some keywords make!
- My recommendation for learning C programming: 'C Programming Absolute Beginner's Guide'
- Create your own scripts with GPC2 Scripting
User avatar
jelly44
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 220
Joined: Tue Feb 05, 2019 3:49 pm

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby iBreatheTrees » Mon Jul 15, 2019 3:37 pm

Question‽ Would this OTG adapter work?

https://www.amazon.com/dp/B06XD73SCH/re ... lDb9VYSJW1

Thanks in advance for answers to this question.
User avatar
iBreatheTrees
Private
Private
 
Posts: 1
Joined: Sun Jul 14, 2019 10:04 pm

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby jelly44 » Mon Jul 15, 2019 3:46 pm

I really don't know. I haven't tried the one I have yet.
- My recommendation for learning C programming: 'C Programming Absolute Beginner's Guide'
- Create your own scripts with GPC2 Scripting
User avatar
jelly44
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 220
Joined: Tue Feb 05, 2019 3:49 pm

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby Scachi » Mon Jul 15, 2019 4:02 pm

iBreatheTrees wrote:Question‽ Would this OTG adapter work?

https://www.amazon.com/dp/B06XD73SCH/re ... lDb9VYSJW1

Thanks in advance for answers to this question.

Hubs are not supported as far as I know.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby jelly44 » Wed Jul 17, 2019 4:36 am

Scachi wrote:
jelly44 wrote:...
Another question, I currently use my T2 in full-passthru so that I can connect my headset to the DS4 controller.

Will I still be able to use the headset?

As far as I know the "full-passthru" depends on the controller, the connection and the console used.

For a ps4 console it requires a ds4v2 controller connected via usb to the T2 and the T2 via usb to the console.
I don't know if all ports T2 usb-ports support the full-passthru mode or only Input-A and Input-B do this.
I think this should work:
Mouse to input-A, your current controller (with headset) to Input-B and the keyboard via OTG to prog.
But wait for someone who does this, can test this or knows this for sure. This is just me guessing how it works :innocent_smile_1:

The ds4v2 are the ones with the lightbar visible through the touchpad, they are the only sony ds4 type that supports sound via usb. I don't know about other officially licensed ps4 controller brands and their usb audio support by the T2.


I've tested it and it works. The mic does stop working far often than before, so I need to unplug and plug the output USB from the console so that the mic gets back to work.

Just trying to solve script usage together wish bonefisher. After I dragged and dropped the input translator the AR values stopped working.
Last edited by jelly44 on Wed Jul 17, 2019 8:12 am, edited 1 time in total.
- My recommendation for learning C programming: 'C Programming Absolute Beginner's Guide'
- Create your own scripts with GPC2 Scripting
User avatar
jelly44
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 220
Joined: Tue Feb 05, 2019 3:49 pm

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby jelly44 » Wed Jul 17, 2019 5:31 am

Mad wrote:Have you tried this? https://www.consoletuner.com/greslib/?w123


It didn't work. I added the header to the scripts but it didn't change. Not sure why.

If I added as the instructions says, I get an error when compiling.

Code: Select all
#include <numpadprofilechanger.gph>


GPC error: BFV - Jelly - 1.4 - No EMP.gpc(244): Can't open include file 'numpadprofilechanger.gph'

So I added as:

Code: Select all
#include "numpadprofilechanger.gph"
- My recommendation for learning C programming: 'C Programming Absolute Beginner's Guide'
- Create your own scripts with GPC2 Scripting
User avatar
jelly44
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 220
Joined: Tue Feb 05, 2019 3:49 pm

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby Scachi » Wed Jul 17, 2019 7:46 am

Code: Select all
#include <somefile.gph>

The one with < > will only work with files that are placed in the GTuner IV own include directory.
Don't copy your own header files in the gtuner IV include directory.
I am not sure how the Publish wizard will handle own include files that are placed there..if it will still upload those to the Online Resource too or if the user that downloads your script can't compile it then because of missing header files.
If the publish wizard can handle that you should still keep the gtuner/include directory clean...or you won't know what is a "gtuner provided header file" or one of your custom ones.

Code: Select all
#include "somefile.gph"

For custom header files placed in the same directory as your script you have to use " "

Code: Select all
#include "../_somedirUP/somefile.gph"
#include "c:/some/absolute/path/documents/t2/_somefile/somefile.gph"
 

you can use absolute or relative paths too if you want to keep the custom header files in some place.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: [Question] Connecting Keyboard and Mouse to T2 - PS4

Postby jelly44 » Wed Jul 17, 2019 7:50 am

Hi Scachi,

Yes, I figured that was the case so I changed to the " " format.

It's just not working. Can't change the scripts with the numeric keypad on the keyboard.
- My recommendation for learning C programming: 'C Programming Absolute Beginner's Guide'
- Create your own scripts with GPC2 Scripting
User avatar
jelly44
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 220
Joined: Tue Feb 05, 2019 3:49 pm

PreviousNext

Return to Titan Two Device

Who is online

Users browsing this forum: No registered users and 80 guests