PadRIO: pod stick convention is opposite XInput on both axes
Playtest feedback: X and Y from the Xbox controller were both inverted. Negate both by default (pad and WASD go through the same assignment, so they stay consistent); L4PADFLIP now flips back toward raw XInput orientation per axis. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -347,8 +347,11 @@ void
|
|||||||
Throttle = throttleAccum;
|
Throttle = throttleAccum;
|
||||||
LeftPedal = Clamp01(left_pedal);
|
LeftPedal = Clamp01(left_pedal);
|
||||||
RightPedal = Clamp01(right_pedal);
|
RightPedal = Clamp01(right_pedal);
|
||||||
JoystickX = invertX ? -x : x;
|
// The pod's stick convention is opposite the XInput axes on both X and
|
||||||
JoystickY = invertY ? -y : y;
|
// Y (confirmed in playtest), so the default is negated; L4PADFLIP
|
||||||
|
// flips back per axis.
|
||||||
|
JoystickX = invertX ? x : -x;
|
||||||
|
JoystickY = invertY ? y : -y;
|
||||||
|
|
||||||
//---------------------------------------------------------------
|
//---------------------------------------------------------------
|
||||||
// Emit an analog event when asked to, or when anything moved
|
// Emit an analog event when asked to, or when anything moved
|
||||||
|
|||||||
Reference in New Issue
Block a user