Trouble using DIY device

Need help? Ask here and someone will help
Post Reply
MrKii
Posts: 2
Joined: Mon Nov 21, 2016 8:36 pm

Trouble using DIY device

Post by MrKii »

Hi, I bought the TIAO GBoard which has a review in the GIMX blog. After some tweaking I finally been able to "use" it on the PC.

I've done the following:

* Installed GIMX and all drivers
* Installed AtmelFlip and uploaded the atmega32u4.hex file of the EMUPS4 folder
* Connected a PS4 pad to the PC (it works, I can use it with any game/emulator I've tested)
* Run gimx-launcher, selected config "DualShock4.xml" (port COM3, input physical device), and then press Start.

The problem appears when I press the PS button on the connected DS4 controller. The PS4 seems not to recognize it. I've checked the "messages - debug" combobox and the DS4 data seems to be read (I get some "start", "option" or "PS" when pressing those buttons). The DIY board seems to get that data, there is a green led that is lit when I press a key. However, the PS4 does recognize the PAD and thus I can't use it from PC.

I've doublechecked the firmware and (I think) it's correct. I've even also programmed the DIY to emulate PS3 and tried to control the PS3 with the PS4 controlled in the PC but the problem is the same: the PS button doesn't make the PS3/PS4 detect it.

What am I doing wrong?

Thanks!




p.s I purchased the DIY board to play with my G25 on the PS4, however I'd love to control the PS4 from my computer by sending commands from it. I'm a diehard FFX player but I hate doing the Thunder Plains "jump 200 lightnings" to get Lu's weapon each time I play, so I was thinking of getting a webcam looking at the TV and pressing 'x' each time a lightning is detected. I already have the lighting detection code done but... is there any easy tutorial out there on how to control the PS4 programmatically?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Trouble using DIY device

Post by Matlo »

Hi,
Please post a log file: viewtopic.php?f=5&t=691
GIMX creator
MrKii
Posts: 2
Joined: Mon Nov 21, 2016 8:36 pm

Re: Trouble using DIY device

Post by MrKii »

Hello Matlo, sorry for not posting the log.

Weird thing is that I had all the setup tidied up, and I set up it again in order to generate the logs. For some reason it is working now! Maybe there was a loose cable on the PS3/PS4 side. It is weird because I doublechecked it, I fear the USB jack may be a bit loose :(

So, luckily no support required to get it working :) Could you please answer me the "p.s." part of the message though?

thanks a lot!
K
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Trouble using DIY device

Post by Matlo »

Start a GIMX instance with the --src argument, and use one of the following methods to send controls to GIMX:
  • run GIMX commands with the --event and --dst arguments (beware of the argument order)
  • send UDP packets using the network API
http://gimx.fr/wiki/index.php?title=Com ... er_options
http://gimx.fr/wiki/index.php?title=Com ... emote_GIMX
http://gimx.fr/wiki/index.php?title=Network_API

And use macros if you need to have precise event scheduling:
http://gimx.fr/wiki/index.php?title=Macros
GIMX creator
Post Reply