mika-n / NGPCarMenu

Custom "Select Car in-game menu" for Richard Burns Rally (RBR v1.02 SSE) game. The plugin supports custom car preview images (the real RBR 3D rendered custom car images), car specs from NGP physics model (engine, transmission, FIA category, year, etc), longer car menu names (up to 30 chars in a menu) and even more chars in the car specs window. New car preview images are created through in-game menu of the plugin.
37 stars 4 forks source link

multiple commands #14

Open maxbaiardi opened 3 years ago

maxbaiardi commented 3 years ago

Hi, I wanted to know if you can implement a function where you can assign multiple buttons for the same function, for example: Shift up: button1-Joy1 + button12-Joy2 Shift down: button2-Joy1 + button13-Joy2

it is useful if you want to use the steering wheel shift with paddles and the sequential stick shift at the same time without changing the settings every time, for example WRC with paddle and R5 with stick.

thanks

mika-n commented 3 years ago

Hi. Yes, this would be possible for both dinput and xinput type of controllers. The plugin already does custom things with xinput controllers to split the combined trigger key in xbox gamepads. This customization could be extended to support more versatile logic (for example to map many controllers and keys/axis into the same RBR event).

I need to think about this and try to see what would be the best (or easiest) way to integrate the logic into RBR user interface. Easiest way would be to use an external app to create a controller re-map schema definitions and then NGPCarMenu would use this controller schema description at runtime. It would open more possibilities to visualize deadzone/antideadzone/output curve controller tweaks and to do tweaks currently not even supported by RBR.

Or quick-and-dirty way would be to use NGPCarMenu.ini file to describe alternative shift keys (controller# and button#). This probably would serve the purpose in most cases because I guess shift keys are the prime candidate for alternative mapping.

maxbaiardi commented 3 years ago

Hi, thank you very much, I hope you will soon find a way to insert more keys for the same function, the best solution would be to integrate the logic in the RBR user interface with the possibility of mapping a "Shifter 2", perhaps with the logic of the "H-Shifter"

Thanks and I'll wait for the new version Ciao max

maxbaiardi commented 3 years ago

Hi Mika, have you find the way to map two imput for one action?

Thank you max

mika-n commented 3 years ago

Sorry. Haven't had time to look into this. But I will do it at some point, but no ETA landing time yet.

mika-n commented 3 years ago

@maxbaiardi Just to let you know that NGPCarMenu V1.17.2 is out and it has support for a secondary gear up/down controls. Feel free to test it and see if it works with your setup.

maxbaiardi commented 3 years ago

@mika-n Hi Mika, very good news, I'm out of home for jobk, but as soon as I come back home I'll do some tests !!! Thanks so much I let you know

maxbaiardi commented 3 years ago

WOW, very good!!!! now I can use my WRC paddle shifter and Gear stick at the same time!!!!

mika-n commented 3 years ago

I don't have both paddle shifter and gear stick, so I couldn't test this new feature with "the real thing". But, great that it seems to work in the real case also.