Page 1 of 1

Grabbing controller input data

Posted: Thu Oct 05, 2017 11:23 am
by lex
Hi everybody,

somehow I found this wonderful emulator, which may work for my project. I build a gaming chair, able to rotate clock and counter clockwhise (left/right). The motor is driven by 2 h bridges controlled by the raspberry Pi and currently a DS4 Controller. The input data is collected by ds4drv, currently.

My problem: As soon as I connect the DS to the Pi the DS loses connection to the PS4.

Now I found GIMX and I wonder if that is the right choice for me to control my chair and still transfer the controller/wheel data to the PS4. So my question is: Am I able to grab the controller input data on my raspberry and use that data to control my chair, let's say in my python or a C script?

Hoping for good news and thanks in advance.
Alex

Re: Grabbing controller input data

Posted: Fri Oct 06, 2017 8:40 am
by Matlo
Hi,

Something to try is to start GIMX with the --status argument, and then read the output of the process to get the inputs.