[Full Project] 's UMG Rebindable Key System, Rebind keys at Runtime!

The problem with the mouse wheel is ‘KeyGetDisplayName’ returns ‘NONE’ for it, no matter if it rolls up or down. I put something in Answer Hub about it, but I hardly ever see Epic address things put there.

I finally added all the stuff I did to the Wiki tutorial (and my Blog)… this is my setup:

https://wiki.unrealengine.com/Blueprint_Building_FPS_from_scratch#Controls_Menu

Ok, I have the Mouse Wheel Working, you can’t get the key, so you have to use the Mouse Wheel Delta to determine if its up/down. And I think your already using this, but for anyone reading this, to get when you use the Wheel, you have to get the Override OnMouseWheel.
6af946fcd2963d4d06e5b5e66616ffd88cf03034.jpeg

Nice work, clever. Having trouble figuring out what you set the pin type to in the second one to get it to have the mouse key pair as output.

Nevermind, it is type Key.

Thank you for helping people out in my thread gmc!

Much appreciated!

:slight_smile:

Anytime! Especially since the question was about one of my posts! I’m always available to help if anyone needs it! (As long as it’s BP only :D)

Quick question i hope! I used your rebinding library, which works very well. I am having issues with combinations of keys in a mapping though, such as CTRL + F etc… It does work in your example, but my key down event already gets triggered before i can press anything besides CTRL… It does work if i press the keys before i press the rebind button… Do you have anything special configured in your example project that i should know of? I am on version 4.8.3 by the way. I already tried using GetInputKeyTimeDown to give it time to get the additional keys as well, which i check in the keydown event, but it doesn’t get triggered often enough which makes the time for binding way too long.

Thanks for any help!

If I’m reading this correctly, you’re trying to get a double binding right? (IE. RMB + G,) Or are you just trying to get CTRL, SHIFT, ALT, or CMD with a separate button? (G + ALT) If it’s the second, there are separate buttons you click to get those (to the right of the binding) As for the first, I don’t know if you can do a double binding (at least I can’t with my setup since I can only have one Key for the Make VictoryInput and there is no Append or anything to combine multiple Keys); although it sounds like you have it working sometimes

Mind posting, and I’ll see if I can fix it in BPs, or we may need to re-code the Input to allow multiple keys/add a way to combine Keys! (Which I don’t even know if that’s possible since in the Project Settings, you’re only allowed to have one Key, unless I’m missing something!)

If Im reading this correctly, you’re trying to get a double binding right? (IE. RMB + G,) Or are you just trying to get CTRL, SHIFT, ALT, or CMD with a separate button? (G + ALT) If it’s the second, there are separate buttons you click to get those (to the right of the binding) As for the first, I don’t know if you can do a double binding (at least I can’t with my setup since I can only have one Key for the Make VictoryInput and there is no Append or anything to combine multiple Keys); although it sounds like you have it working sometimes

Mind posting, and I’ll see if I can fix it in BPs, or we may need to re-code the Input to allow multiple keys/add a way to combine Keys!

I am only looking into combinations of CTRL, SHIFT, ALT, or CMD and another key, which is supported by’s plugin. Note: you can push the button and press CTRL + F and it correctly marks the keybinding as being CTRL + F, no need for doing checking the checkbox. Somehow every UMG example i make myself doesn’t work as explained above. It suspect it has to do with the way combinations of keys are handled by UE4

I think i found out what is the problem with my code compared that of. He keeps the binding widget active after the initial key press until you either close the menu or try to bind another key. This ensures that if i press ctrl + F it might not be registered correctly the first event, but afterwards its recognized. Its kind of lame that UE4 doesn’t recognize the combination keys within menu’s though and i now have to build in some delay to give the user the to press a combination instead.

Update: i now have added a 0.5 second delay when ctrl, alt, shift or cmd is pressed to register a possible combination instead… Afterwards you have to reclick the button again if you want to rebind again, in’s implementation you can keep rebinding, but i don’t like this since you have to be able to navigate through my menu using keyboard/controllers as well.

Hey, would you mind upgrading this? The full Victory Plugin is ~956mb compared to ~1.9MB with the bindings by them self, so it would save a lot of space for people only using the Bindings, like my self :slight_smile:

My original project uses my Victory plugin though :slight_smile:

The solution is to delete the intermediate folder of the plugin if you find the size of the plugin suddenly jumped. Intermediate is often about 1 GB

But if you package and get an error, and have VS, you should do a full recompile of the plugin only during packaging phase.

Or if you dont have VS, you can use my packaged binaries from the wiki or my media fire version.

:slight_smile:

I

That worked! However, for some reason, if I deleted the intermediate folder itself, it gave me an error, so I just deleted everything inside :slight_smile:
Now its only ~100mb!
Thanks!

You’re welcome gmc!

Whoa that’s a neat idea, to not delete the Intermediate folder itself, thanks for letting me know!

:slight_smile:

4.10 Upgrade completed, Action and Axis Mappings Are Both Supported!

Dear Community,

I’ve upgraded my Rebindable Keys UMG system (which uses my Victory Plugin) to 4.10!

Here’s the download link so you can get the version that is right for you!

**Wiki Download Link **


**Video**


Hj969IfWhVc


Axis Mappings


**Action Mappings**

![4b996f7710fbd5c76274a9a62eda2d72df9776b9.jpeg|1280x960](upload://aMMxJEx5JIhK597MhCvxRiIV05b.jpeg)

The Nodes


Have fun today!

♥

Thanks so much for this!

I’m having an issue, though, that I’m not sure if it’s actually doable or if I’ve just missed it somehow. Is there any way to bind click events? For example if I use the left mouse button to shoot a gun and then for some reason change that to shift, I can’t change it back to the left mouse button. Or can I simply disable the ability to change the binding of certain events?

Thanks!!

Hello Halokllr! If you scroll up, I have 3 pictures on how to bind mouse clicks, mouse X, mouse Y, and Mouse Wheel! (the Wheel is a little further down than the others) As for your second Q, do you want to make certain keys not bindable? (like locking space to only jump)

Mouse Button Presses and MouseX and MouseY Are Now Supported!

Dear Community,

My Rebindable Keys project now officially supports mouse input events!

Community Member gmc has integrated his support for MouseX, MouseY, LMB, RMB, and MMB into my Rebindable Keys project!

**:heart: Thank you gmc! :heart: **

Here’s the download link so you can get the latest version:

**Wiki Download Link **


**List of Project Features**

1. **Action Remapping** during runtime, such as from an in-game key re-binding menu
2. **Axis Remapping** during runtime, any time!
3. Support for Mouse input events to be binded to actions or axis mappings!

Video


Have fun today!

♥

why you are good at every thing … and u make it free . such a generous person … for the best

From what I see these don’t persist over map changes, correct? I have to do something in the new map for it to trigger there?