Hello
, I’m having an annoying issue with my keypad widget, the story is I was trying to make my gamepad analog stick control the cursor in my keypad widget, so I can choose between mouse and analog stick, but for some reason it seems to be focusing twice at the same time so when I click one button another gets pressed help would be greatly appreciated. @ClockworkOcean
Hi there, hard to know but can you show your logic bp or c especially the place where the focus or desired focus changes or set.
As far as I understand you making analog->control mouse pos however it doesn’t requires to be snapped on the keypad seems so probably things going off with either mouse position logic or more likely focus logic.
sorry about the extremely late reply, here are some screenshots one is the mouse move logic, and the other is the way how my widget is set up not sure what exactly you want to see but you can just ask.
never actually had any widget blueprints like this, so I wouldn’t even know where to start on it, I just want a straightforward logic on how to use my gamepad analog stick to control the cursor whenever I want, I did try a plugin called virtual cursor, but it didn’t work out it was extremely laggy and the buttons took too long to press.
i think you can solve this task without using SetInputMode, SetKeyboardFocus functions. Maybe your problem caused with these functions. Also you can use GridPanel widget for place your keypad buttons.
As mentioned by @SavageSoap with focus method something like this should ease the pain.
Wrap normal button into a widget, Set Focusable.
Create clicked event for ease of access.
Make grid and add buttons
Get buttons assign them and bind to clicked, SetTextField on Interacteds. Make sure your focus backgrounds and other elements visibility set to NonHitTestAbleSelf Snippet Link if Image is not readable
For Custom GamePad navigation you can write or below bp stuff available
Think you can cultivate the rest logic like unlock, limit, tryouts whatever device needs, and audio, visual feedbacks.

It is also possiblle to use a custom FNavigationConfig if you want custom inputs like above rather than arrow keys and dpad. A community user demonstrated it nicely over here. That also unlocks you to do on focus snap mouse to widget center type of GamepadCursor stuff (If you want UX wise not really necessary)
Besides all these technical design aspects, would like to deliver some Game Desing and UX Interaction aspects of these numpads that maybe you want to consider.
- Numpads are hard and fundamentally not a very good design for humans however we use it everywhere
. Numbers are hard to remember, our memories are limited, try keep it simple as possible. - If you have an alternative as combination like symbols or patterns in buttons can be usefull. There are some players who really can’t orderly do arrange numbers or remember (Dyscalculia)
- Try to be less punishing at wrong entries. Players will try do that even we don’t have a key will try to guess. We all do that.
- If you will block guesses on it, try to have more indicators like, clearance reqired, not a valid ID whatever so player can know that they can not proceed without the actual step required.
- You can do audio feedback patterns to overcome accessibility issues. Using different pitch sounds or patterns can be helpfull for player to remember and unlock the device.
- Consider giving alternative solutions or hints like finger prints, additional device or skill to discover fingerprints, any tool to explode it, lock pick it, punch it that way can be a bit more fun and not a hard gate for player unless you want it to be. After all this is a Door type that can require more work than expected like in world display etc.
I don’t want to overwhelm you with this last part however nailing these aspects with the device is always harder so wanted to mention, hope it is something valuable.
Yeah, your right, but your images are too blurry, so I can’t see the codes correctly and I did try removing the set keyboard focus, but sadly it seems it needs it so the numbers will register
No worries, here is some more nicer ss
I also zip game and deployed into my discord general since you asked. You can find my discord at my profile. It’s 5.6 and can be easier for you to replicate what you see however feel free to grab zip from discord if you like to give a try if it’s going to solve the problems you encounter and serve the design that you want to deliver.













