Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to map AirSim actions to steering wheel buttons? #2940

Open
ahmedkrmn opened this issue Aug 16, 2020 · 2 comments · May be fixed by #4489
Open

How to map AirSim actions to steering wheel buttons? #2940

ahmedkrmn opened this issue Aug 16, 2020 · 2 comments · May be fixed by #4489

Comments

@ahmedkrmn
Copy link

I'm using the RawInput Plugin to add Unreal action mappings for a generic steering wheel. I'm using the Engine-Input UI settings menu for doing so.

I want to also map AirSim specific actions to the steering wheel as well.

For example, "Recording" into the log file would be mapped to "GenericUSBController Button 7" as shown below:

Capture

So does AirSim provide a list of unique mapping names that can be used for achieving this?

Thanks in advance.

@jonyMarino
Copy link
Collaborator

https://github.com/saihv/AirSim/blob/master/Unreal/Plugins/AirSim/Source/ManualPoseController.cpp
Closed due to inactivity. Please, feel free to ask for it to be reopened if you wish to continue posting.

@niwc-jamelc
Copy link

niwc-jamelc commented Apr 18, 2022

@jonyMarino I'd like to reopen this issue as a feature request to add the UE4 editor Input Mapping system in UE4's Project Settings and Config ini file.

Making changes to any of the inputs required digging through the plugin code and recompiling it anytime you wanted to make a keybinding change. Also, any Keybinding changes would not take effect on the HUD.

I've been working on a branch that allows users to remap the default controls to any keyboard and gamepad key, fixed movement issues with the Manual Camera controls, fixed the mislabeling of the car pawn's forward and backward cameras, and to automatically update the HelpText with the new keybindings in the HelpHUD and Weather Options Menu.

While I don't have a steer wheel controller to test the raw input plugin, the change to use the Input Mapping system should be compatible with usage of the Raw Inputs plugin.

I'd like to submit a Pull Request with these changes and bug fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants