let_there_be_flight icon indicating copy to clipboard operation
let_there_be_flight copied to clipboard

How to invert flight controls?

Open r0gler opened this issue 3 years ago • 5 comments
trafficstars

I'd like to make it so that when I pull down on the left joystick, the car goes up instead of down.

I have tried changing a few of the things in the flight_controls.xml file but nothing seems to work.

Thanks in advance :)

r0gler avatar Jun 09 '22 12:06 r0gler

I'm using a PS5 controller, and half the controls don't work. Doing the stunt moves is not an option on PS5 controller. Testing it today with a X-Box Series X controller.

Burnout122812 avatar Jun 09 '22 12:06 Burnout122812

I'm using an Xbox controller, stunts do not work for me either but basic car movement does.

r0gler avatar Jun 09 '22 12:06 r0gler

Sorry, tricks are disabled for now - I'll be polishing them up & adding them back later on.

Does inverting the input axes in the settings work for you? I'm not sure if the code I'm using grabs those changes. You might be able to add preset="invertAxis" to the Flight_Lift mapping in the xml file, so it'll look like this:

<mapping name="Flight_Lift" type="Axis" preset="invertAxis">
    <button id="IK_Pad_LeftAxisY" />
    <button id="IK_Space" val="1.0" overridableUI="vehicleFlightLiftUp" />
    <button id="IK_LControl" val="-1.0" overridableUI="vehicleFlightLiftDown" />
</mapping>

@Burnout122812 You can customize your controller setup by modifying r6/input/let_there_be_flight.xml (renamed in the latest release). There are more button/axis examples in r6/config/inputUserMappings.xml.

jackhumbert avatar Jun 09 '22 13:06 jackhumbert

Thank you @jackhumbert. I will be playing around with modifying the controller setup today when testing PS5, XBox Series X and XBox One controllers.

Burnout122812 avatar Jun 09 '22 13:06 Burnout122812

I'm using an Xbox controller, stunts do not work for me either but basic car movement does.

What button do stunts on keyboard?

orangpelupa avatar Jun 16 '22 15:06 orangpelupa