Grabbing controller input data

Discuss everything to do with GIMX here
Post Reply
lex
Posts: 1
Joined: Thu Oct 05, 2017 11:13 am

Grabbing controller input data

Post 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
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Grabbing controller input data

Post 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.
GIMX creator
Post Reply