Gamepad-Friendly UMG ~ Control Cursor with Gamepad Analog Stick! Easily Click Buttons!

I found an amazing plugin on the unreal marketplace. :eek:

With gamepad, keyboard and mouse support. You can move mouse with any analog stick with it.
And the best part for me - all in blueprints!

https://www.unrealengine.com/marketp…mouse-support#

img51920x108098262e3a571f2170d89a0864354ab834.jpg

THANK YOU. Hit that bug right off the bat. One PIE session would work, the next wouldn’t. Was a little worried as that is usually hard to figure out.

Does this need to be modified for ‘press and hold’ to work? It seems like 1 time clicks are all I can do…

Edit: yeah, unfortunately it looks like Drag and Drop is not supported : ( I’m still learning C++ so if anyone could let me know what needs to be implemented for this to work, that would be awesome. If I could even disable the auto use of the (face button down) I might be able to override it in BP

Edit2: Also, I guess it’s self evident but this won’t work in co-op as Unreal and Windows can only handle one mouse. Guess I have to learn C++ heh

Hey, I really love this plugin, although I’ve been banging my head against the wall for a few hours.

Anyway I modified my project to support splitscreen and the gamepad axis no longer worked.

For anyone that runs into this problem:

It seems that EnableAnalogCursor and DisableVirtualCursor call SetInputToGameMode (while the current mode is SetInputToGameAndUI)

SetInputToGameMode does not allow GamePad Axis to function.

The workaround is to just call SetInputGameAndUI after each EnableAnalogCursor and DisableVirtualCursor call.


Note: A permanent solution should just check input mode and use that instead.
Note 2: If you decided to fix this, you might want to include the ‘HideCursorDuringCaptureFlag’ as well for full consistency.

Anyone else having an issue where button hover events are getting called twice? They only get called once with my mouse like expected but with the gamepad virtual mouse they are getting called twice. Also when hovering over a button, clicking and holding, then moving with the gamepad the hovered events only get called once, until button is released, then they go back to getting called twice.

I noticed this because of UI hover sounds playing twice. So far the only work around I have figured out is to not use the hovered sound default, and instead use the on hovered event that goes through a do once, then plays a sound, then the on unhovered event to reset the do once.

Would be really awesome if somebody has a better solution or fix?

I’m running into this same problem. In specific the error window says: “the following modules are missing or built with a different engine version – GamepadUMGPlugin – would you like to rebuild them now?”

I hit “yes” and I get another error message saying the project couldn’t be compiled, and to try rebuilding from source manually.

I do have VS2017. This is all a little beyond me, so any advice to helpful.

Is there any reason no one has/can put this amazing and needed plugin on the Marketplace as a free community asset? It would make it so much easier and reliable to use. I just can not get it to work in 4.21 but like Cinebeast I am not very familiar with actual coding,

In the end says can’t build it.

Would anyone be so awesome as to package this up for 4.21 and make a google drive file or something? Please

I am also having the same issue.

Here is a copy of the plugin for UE4.21. Let me know if you all have issues with it. I’ve only tested it for a few minutes. I included the fix from serioussam909, thanks!
https://downloads.metahusk.com/dev/GamepadUMGPlugin_11-18-2018_421.zip

You can find or review the code changes here ->
GitHub - metahusk/UE4GamepadUMG: Unreal Engine 4 gamepad plugin so you can use a gamepad like a mouse in UMG

Thank you so much Parvan I really appreciate it.

Thanks Parvan!

I’m not sure there’s any purpose to this asset any more, is there? Virtual cursors should be supported natively and have been for a few versions?

I can’t find any documentation to support that… are you sure?

Honestly, I haven’t looked into it. I’ve just been updating it as I used it in Cardinal Menu many engine versions ago. There still seems to be a few people who still use it on their projects. Does anyone else know? I did a quick search but found nothing.

​​​​​​
There doesn’t seem to be aby information about this on documentation or google.

Hi @,

Can you make this Plugin compatible for Console (PlayStation 4)?

Is there a version that does have Console Support?

I reeeeeally need this for my current game. It works amazingly for me.

Can you please help? It’d be greatly appreciated.

Thank You.

I tried to import the 4.21 update into my project but I get a serie of errors where all script extensions are “unknown”.

The .cs, .cpp and .h files does not appear in the Content Browser when copy/pasted in my project’s content folders.

I need something like this for co-op. 2 Virtual cursors. Forget flying cars in 2020, I just want native support for 2 gamepad cursors on-screen at once in Unreal Engine.

I wish I could find anything like that because the plugin is not working for me when I build. Something about binaries.
Anyone around here found a workaround? Something added in newer versions we could use for this?