RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.03k stars 178 forks source link

New input event `EV_TRUCK_CYCLE_GEAR_RANGES` #3187

Open ohlidalp opened 1 month ago

ohlidalp commented 1 month ago

Fixes #3179 No binding by default - intended for controllers.

@Goetterescu Please download test build from the "Checks" tab above - find it under the "Artifacts" dropdown (ror-win.ZIP) UPDATE: Direct download link (you must be signed in).

Goetterescu commented 1 month ago

@ohlidalp I am sadly not too familiar with RoR's input maps as for the current version. I know that in the past you had to paste your input map into the config folder of root. I am unable to find such a folder in the current version. Did something change? Can you help me, since the current documentation is not up to date, as far as I am concerned?

ohlidalp commented 1 month ago

@Goetterescu Try the Controls UI panel on main menu - IDK if it works for controllers, but the field will be there, in the "truck" tab. Just click it to bind a key or button.

Goetterescu commented 1 month ago

The entry is not in the UI. I manually added the line in the input-file in the config directory. The code seems to work as expected. Thanks. Also, I noticed there is a log-like message that pops up together with the one telling you the current range that you are in. Is that just a debug thing? If yes, I'd advise to remove it later on

ohlidalp commented 1 month ago

Yes there's an extra debug message in the chat box, I will remove it.

IIRC the controls UI should display it, I'll look into that.