I have a python code (Running on a raspbian OS) which reads the value of a joystick axis and then sends the value to an arduino.
At the start of the code I have typed:
I can then use functions defined inside pygame, such as get_axis(). This all works fine.
My problem is that the get_axis() function prints the value on the python shell and LXTerminal, which is not what I want.
All of the pygame files are located in the folder:
And I know that the function I want is located inside:
But how do I open and edit this shared object file?