Edit the file that the log says it loads instead of input.map, other than that the docs will get you there.
https://docs.rigsofrods.org/gameplay/controls-config/#joystick-wheel-or-gamepad
https://docs.rigsofrods.org/gameplay/controls-config/#truck-generic
It might take some trial and error to...