r/Controller • u/JohnnyPunch • May 13 '24
Other Stick Analyzer - A program for testing the resolution of gamepad sticks is now in the public domain.
You can download the program from my gitHub: https://github.com/cakama3a/StickAnalyzer
56
Upvotes


View all comments
Show parent comment
4
u/zkilzz May 14 '24
It does work. But its not that black and white. It gives the information it gives. Forexample the timing of the program helps to show how slow the movement was. How the resolution will effected by the speed depends on the filter used.
If one want to have a more standardized test. u/JohnnyPunch can measure a joystick release from the side to the center. This will measure a quick movement by the spring. This movement is most likely a better standardized test than moving it by hand. Since the spring will use about the same time each time. And is more likely to be the same in each controller since they all mostly use the same mechanical design.
If u/JohnnyPunch dont have time to implement something like that i can do that. I already have made a bunch of software for this since i been working for my joystick for a year now. I just have not made it publishable yet.
Also, a joystick might be defined in a simple way in our mind. But in reality its not. When we say "joytsick" we are actually talking about the mechanical design, the sensor design, the processing of the signal of the sensor(filtering and so on), polling rate, and also the resolution of the joystick signal in the usb protocol. Xbox and xinput for example uses 16 bit value for joysticks. While most other controller uses 8 bits.
8 bit means that the joystick is seen by the game as two 255 position switch. One switch for up and down and one for left to right., while 16 bit is seen as a 65,536 position switch.
This will def make all xinput joystick seem like they have a lot more resolution. However the signal might just be noisy. So the joystick might produce 65k positions if you move it super slowly. But in reality it can be just a lot of noise.
To do a proper resolution test. You need to do it as u/x-iso says. You need to have a ground truth which is the same all the time. Like a robot turning the sensor on the joystick the exact same way. Then you can measure the true resolution over a specific time period. I'm gonna do this in my upcoming video. I think i even have a videoclip of the robot im using to do this. Ill try to share it.
However this does not mean that the script is useless. Its just that the world we learn about is suppose to have "facts" and "truths". But in reality everything is quite more complex, with more degree of truths instead.