I'm new to FreePIE so sorry if this is a very basic question.
I'm trying to use FreePIE to tweak the axis curves on my joystick (a Saitek x52 Pro) by reading in the raw values from the stick and presenting modified values to a vJoy virtual stick.
The issue I'm having is that the curved value will not go negative. In the example below, my "rawsl0" value ranges from -1000 to +1000, but my "curvesl0" value ranges only from 0 to +1000. I have added a curve (CurveDefault) and have played around with the curve in the GUI but no matter what I do I cannot get the curved value to go negative. The result is my curved axis only works in one direction off centre on the axis.
Code: Select all
from System import Int16
rawsl0 = (joystick[3].sliders[0])
curvesl0 = CurveDefault.getY(rawsl0)
diagnostics.watch(rawsl0)
diagnostics.watch(curvesl0)
Cheers,
frl