Hi Matlo,
Thank you for your response. I am sorry to take this much time from you. But now I am on a point, that I am not sure if this is a possible solution for me. I made the Byte-Array and I am sending it via UDP-Socket to the IP:Port (127.0.0.1:51914) . But it seems to have the same latency issue like my other method. I think the remote function on the Raspberry Pi is too slow and can't refresh fast enough. Or do I create a new GIMX-Process each time I send the package? I am confused.
Steps I made:
1. Implement Joystick Function like the documentation from the Joystick-API
2. Switch-case for differentiate between all axes and buttons. Also filling the Byte-Array looking at the Network-API and Controller Maps Section.
3. Sending this Array via UDP Socket to the IP:Port recommended from GIMX.
It works, but the latency is a huge problem. How am I able to fix this problem? Or is there any other way to go for me at this point?
If you need the source code you only have to say it. It is just a short and easy program.
Thanks in advance and thanks for your time
AND_1