I've been able to successfully connect GIMX to my PS4 and it works fine. The GIMX server is a Raspberry Pi 3 running Raspian. When I connect a keyboard to the machine, it works.
However, I've also installed GIMX on Windows and I'm trying to get Remote GIMX to work. It connects to the server but no buttons (keystrokes) actually work.
I think the problem is in my configuration files. Is there a explanation of them somewhere? Also, why do I need a config file on the server (Linux) and the client (Windows) ?
Remote GIMX connects but no buttons work? (re: Windows vs Linux config files?)
Re: Remote GIMX connects but no buttons work? (re: Windows vs Linux config files?)
Please post your configuration.
GIMX creator
Re: Remote GIMX connects but no buttons work? (re: Windows vs Linux config files?)
Matlo,
I've tried using both the default 'Dualshock4.xml' and the 'PS4_Battlefield4_foxy.xml'.
However, the debian package for my Raspberry Pi (server) didn't include any configuration files so I download the Linux version for Github. (https://github.com/matlo/GIMX-configura ... ster/Linux)
For my Windows machine (client), I installed the x86_64 installation package and then selected 'Help -> Get Configs' to download the configuration files.
The Windows and Linux configuration files (from Github) do not match though.
Can you help me understand which place I need to copy the config files to? (client vs server)
Here is my command-line on the server (with the DIY USB adapter connected):
Here is my client (Windows):
...and here is the Windows log:
If I press the 'Z' keyboard key (mapped to the PS button?), it correctly shows on the server:
...but nothing happens on the PS4.
However, if I run gimx in 'standalone' mode (ie. no SRC parameter), then it does work. (when I run it over SSH using something like gimx --config PS4_Battlefield4_foxy.xml --port /dev/ttyUSB0 --type DS4 --status, and then press keyboard keys over the SSH terminal)
I've tried using both the default 'Dualshock4.xml' and the 'PS4_Battlefield4_foxy.xml'.
However, the debian package for my Raspberry Pi (server) didn't include any configuration files so I download the Linux version for Github. (https://github.com/matlo/GIMX-configura ... ster/Linux)
For my Windows machine (client), I installed the x86_64 installation package and then selected 'Help -> Get Configs' to download the configuration files.
The Windows and Linux configuration files (from Github) do not match though.
Can you help me understand which place I need to copy the config files to? (client vs server)
Here is my command-line on the server (with the DIY USB adapter connected):
Spoiler: show
Spoiler: show
Spoiler: show
Spoiler: show
However, if I run gimx in 'standalone' mode (ie. no SRC parameter), then it does work. (when I run it over SSH using something like gimx --config PS4_Battlefield4_foxy.xml --port /dev/ttyUSB0 --type DS4 --status, and then press keyboard keys over the SSH terminal)
Re: Remote GIMX connects but no buttons work? (re: Windows vs Linux config files?)
Phew! With all of that said, I think my server command-line was wrong?
When I use the following, it appears to work:
Does that look like what my problem was the whole time?
When I use the following, it appears to work:
Code: Select all
gimx --status --src 192.168.10.184:51914 --type DS4 --port /dev/ttyUSB0
Re: Remote GIMX connects but no buttons work? (re: Windows vs Linux config files?)
The --type argument is useless when using a DIY USB adapter, and you should remove --status while playing.
This command should be enough:
This command should be enough:
Code: Select all
gimx --src 192.168.10.184:51914 --port /dev/ttyUSB0
GIMX creator
Re: Remote GIMX connects but no buttons work? (re: Windows vs Linux config files?)
Thanks so much, that works perfectly!
By the way, is there any disadvantage to using network communication? Obviously there is a slight (very very slight) latency because of the network but when using wired it's typically under 1ms. I'm wondering if you lose precision from the mouse, etc.
By the way, is there any disadvantage to using network communication? Obviously there is a slight (very very slight) latency because of the network but when using wired it's typically under 1ms. I'm wondering if you lose precision from the mouse, etc.