Search found 14 matches
- Wed Nov 18, 2020 6:46 pm
- Forum: General Discussion
- Topic: Understanding maths behind axis values / how to calculate axis values by given angles?
- Replies: 5
- Views: 9788
Re: Understanding maths behind axis values / how to calculate axis values by given angles?
I've looked into sine and cosine functions and tried to calculate the controller X and Y values for a given angle / motion. Example calculation: * angle / motion: 140 * 140° in radians: 2.44 * max axis values: 128 * LX = 128 * cos(2.44) = -97.768345866 * LY = 128 * sin(2.44) = 82.6156797868 Unfortun...
- Wed Nov 18, 2020 12:11 pm
- Forum: General Discussion
- Topic: Understanding maths behind axis values / how to calculate axis values by given angles?
- Replies: 5
- Views: 9788
Re: Understanding maths behind axis values / how to calculate axis values by given angles?
I wrote a simple program which shows current X and Y values of my controllers left stick and the angle the current current motion is representing. I noticed somewhere around 60° the X value starts to decrease until by 0° it is 0. Between like 58° and like 121° the X value is maxed. Here are some exa...
- Tue Nov 17, 2020 10:44 am
- Forum: General Discussion
- Topic: Understanding maths behind axis values / how to calculate axis values by given angles?
- Replies: 5
- Views: 9788
Understanding maths behind axis values / how to calculate axis values by given angles?
Hi guys I hope you are all healthy and well. Im working on my project and need help understanding how the axis values are calculated for a given motion, like when we move our thumb into a certain angle. To give an actual use case / illustrate what I want to calculate I made a picture with two arrows...
- Sun Jan 12, 2020 12:07 pm
- Forum: Development
- Topic: Help me using ginput library in C++ Visual Studio
- Replies: 2
- Views: 11443
Re: Help me using ginput library in C++ Visual Studio
I see matlo, thx for the reply! I started implementing my own solution based on gimx concepts. I can't thank you enough - gimx guides and simpliefies so many things for me. At this stage I have some mouse movement jerkiness I'm working on. I will open a new topic if I can't solve it myself. Once aga...
- Sat Jan 11, 2020 7:04 pm
- Forum: Development
- Topic: Help me using ginput library in C++ Visual Studio
- Replies: 2
- Views: 11443
Help me using ginput library in C++ Visual Studio
Hi all :) Thx to the wiki (https://gimx.fr/wiki/index.php?title=Development_on_Windows) I build gimx on my local machine. I was able to change functions mainly for debugging purposes to understand how gimx works. I could build and use gimx.exe successfully. The next step for me is to use some of the...
- Thu Jan 09, 2020 12:01 am
- Forum: Support
- Topic: Sending axis values via UDP don't work as expected (straight axis movement not possible)
- Replies: 8
- Views: 5843
Re: Sending axis values via UDP don't work as expected (straight axis movement not possible)
Thank you very much matlo. I have been reading the source code for the past 2 days with my very little C knowledge and I'm amazed by your work! Really appreciate all the effort you put into this. Also I wanted to start the donations for 2020 with a little contribution ;) For now all my questions are...
- Mon Jan 06, 2020 11:44 pm
- Forum: Support
- Topic: Sending axis values via UDP don't work as expected (straight axis movement not possible)
- Replies: 8
- Views: 5843
Re: Sending axis values via UDP don't work as expected (straight axis movement not possible)
Hi Matlo, thx for answering I greatly appreciate your time. Gimx is working fine. It was naive to think I could just pass the xinput values to the gimx and the game will behave like manual input. My thought was: if I use a similar joystick as the ds4 sending the values from the axis as I read them w...
- Mon Jan 06, 2020 5:52 pm
- Forum: Support
- Topic: Sending axis values via UDP don't work as expected (straight axis movement not possible)
- Replies: 8
- Views: 5843
Re: Sending axis values via UDP don't work as expected (straight axis movement not possible)
Will there be any support for this issue please?
- Sun Dec 15, 2019 9:52 am
- Forum: Support
- Topic: How to delete ip:port entries from the dropdown in gimx launcher with input type network?
- Replies: 2
- Views: 3001
- Sat Dec 14, 2019 6:35 pm
- Forum: Support
- Topic: Sending axis values via UDP don't work as expected (straight axis movement not possible)
- Replies: 8
- Views: 5843
Re: Sending axis values via UDP don't work as expected (straight axis movement not possible)
My bad for not following the rules Matlo, I'm sorry. Cronus device PS4 pro Its not game relevant I guess but e.g. fifa 20 Full log file: https://pastebin.com/kPCta28D Interesting parts in my view: 0 1576347777.335010, lstick x (32765), lstick y (282) 0 1576347777.347642, lstick x (32766), lstick y (...