Given that those functions do nothing but copy data between internal arrays, I can't imagine why they'd have any effect here.
Someone on PureZC just had this issue, and changing joystick_index fixed it, suggesting the problem was indeed some device (like an accelerometer) incorrectly being treated like a controller.