Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by Colbra View Post

    You have to use the disable virtual cursor function from the player controller, basically turn it off when you want movement back on the player
    It doesn't answer the questions I asked...

    I still have the issue where the sticks do not work the second time I Play. I'm not sure if it has something to do with the Game Mode, which is set to None ; but the FirstPersonGameMode stuff spawns anyway...

    Comment


      Originally posted by SB1985 View Post
      In case somebody needs it, I ported it over to 4.24, same link as before
      https://sb1985.com/other-2/gameplay/...g-the-gamepad/
      Many thanks to you SB1985 for updating the plugin!

      Victory to You!



      Rama
      UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

      ♥ Rama

      Comment


        Rama no problem
        FPS Game Starter Kit
        Retro Game Starter Kit
        Quiz Game Starter Kit
        Twin Stick Game Starter Kit

        Comment


          I've been using this for a project, and I can move the cursor fine, and left clicking with the A button works fine, but I can't figure out how to emulate a right click with this plugin. Anybody know how to do this?

          Comment


            Originally posted by TheFangless View Post
            I've been using this for a project, and I can move the cursor fine, and left clicking with the A button works fine, but I can't figure out how to emulate a right click with this plugin. Anybody know how to do this?
            Not 100%, but I don't think that functionality has been exposed.

            Comment


              I'm still having problems with the plugin to work properly. A Button press works, but not the Left stick. I followed the tutorial on SB1985's website.
              Last edited by YukiTaiyo; 06-08-2020, 05:12 PM.

              Comment


                Originally posted by YukiTaiyo View Post

                It doesn't answer the questions I asked...

                I still have the issue where the sticks do not work the second time I Play. I'm not sure if it has something to do with the Game Mode, which is set to None ; but the FirstPersonGameMode stuff spawns anyway...
                I am running into the same issue as you. He did answer your question, but perhaps not very clearly. It looks like if the function Disable Virtual Cursor isnt called it will not let you properly call the Enable Virtual Cursor. Even though you may have exited the level and started the level over again, If it wasn't explicitly Disabled it will still be Enabled.

                My solution for this is calling Disable Virtual Cursor at the start of the Event before I'm Calling Enable Virtual Cursor

                I hope this helps you understand whats happening

                Comment


                  Why are you suggesting a solution if you report having the same problem ?... I already have a button disabling the Virtual Cursor, just like in the SB1985's tutorial.

                  The issue with the stick not working after exiting happened some months ago. Now it doesn't work at all. I precise I have the correct update for the version of UE4 I'm using. I'm using an 8BitDo SN30 Pro controller.
                  Last edited by YukiTaiyo; 06-09-2020, 12:00 PM.

                  Comment


                    Hey Guys, I just updated to 4.25 and the plugin works fine, but the size went up (when build) from 81MB to 1,4GB!! What happened here? Is this a different build or how can I prevent it from being this large?

                    Comment


                      Hello, I went and modified the plugin to support 4.25 and fixed a few issues I saw with how it was setup to understand how to modify it more easily. Let me know if it doesnt work
                      https://github.com/Oldsiren/UE4GamepadUMG

                      Comment


                        So, I just re-installed the Plugin cleanly and it works again, but I still have the issue of the left stick not working when I Play again.

                        It only happens in the Editor. I've tried with a Build and everything works fine when the Virtual Cursor is called multiple times fortunately.
                        Last edited by YukiTaiyo; 07-11-2020, 10:16 PM.

                        Comment


                          Originally posted by YukiTaiyo View Post
                          So, I just re-installed the Plugin cleanly and it works again, but I still have the issue of the left stick not working when I Play again.

                          It only happens in the Editor. I've tried with a Build and everything works fine when the Virtual Cursor is called multiple times fortunately.
                          I just disabled it for the player character on begin play and that solved all my editor issues.

                          All - Is there a solution for right clicking yet?

                          Comment


                            Who get stucked by the issue to get Button A instead of Mouse Left , after you trigger the Input Key Selector for Remapping a Key use these Blueprint in the link below ,Actualy there are no problems with that i test it today and its Working good , you will see just the Left Mouse but it will save the Button A if the Left Mouse was pressed i try to get it work after 10 Hours ,as it was a present from Rama thanks again all and this Solution is my Present to all Unreal Game Developer.

                            https://blueprintue.com/blueprint/137xhsey/

                            Comment


                              Anyone having trouble with dragging in 4.25? (DetectDrag)

                              @Oldsiren I'm using your version of the plugin.

                              I can see that if (IsWidgetInteractable(Widget)) is only valid when using Buttons. Other widgets (images etc) don't work but they are needed to create DragAndDrop operation.
                              Last edited by intoxicat3; 08-28-2020, 07:25 AM.
                              How to create first person shooter game from scratch. Lots of tutorials: http://www.shootertutorial.com - celebrating 50th Tutorial!

                              My Marketplace Assets

                              Comment


                                intoxicat3 YES. Oddly enough if I move the mouse and 'click' using the gamepad it registers, but not when I click while moving the pointer with the analog sticks. Needs more investigation. Did you figure it out?
                                Last edited by Fleece_Cardigan; 09-01-2020, 11:10 PM.

                                Comment

                                Working...
                                X