Nice job!
That is really helpful, and I’ll make sure to implement it.
Could you explain me that and how it works?
This module’s APIs are clearly documented in OP.
local GamepadCursor = require(script.GamepadCursor)
GamepadCursor:HideCursor()
wait(3)
GamepadCursor:ShowCursor()
You just call those functions when your state requires it, like when a player begins dragging a slider.
100% Scrolling Frame support aswell?
Natively! This module simply sets the GuiService’s selected object automatically, meaning default game pad keybinds automatically work.
Interesting. I’m trying it here, doesn’t seem to be scrolling all the way down to the bottom (using a Scrolling Frame with a UIListLayout along with multiple buttons):
https://gyazo.com/66060c8c6c2aaaa6c2a380d0b028b2a8
(fantastic contribution btw)
Hmm. I’ll look into that. I remember running into that issue and fixing it a while ago. Probably got lost in the open sourcing.
I don’t require outside modules… lol. Pretty sure that’s not even possible anymore.
How can it not be trusted if all of the code required is there…
Please do your research before making such claims.
As for your module, I’ve got to admit that it does allow a lot more control than mine does, but it doesn’t appeal to the basic developer. My system is more of a one-size-fits-most approach.
I just tested in studio and scrolling frames seem to be working perfect. You have to use the right thumbstick as that’s roblox’s default keybind. If this doesn’t work, I don’t know what the issue is
Ah right, It seems that you need to find and hover over an empty-space in the Scrolling Frame for it to scroll properly.
Hmmm. Let me check. I didn’t observe that behavior when I tested but I’ll fix it
Sorry for being almost exactly four months late, but I just wanted to share a fork I made of this module that fixes the aforementioned ScrollingFrame bug! I also found that the speed of the cursor was tied to FPS, so I fixed that up too. Check it out if you’d like: GamepadCursor (+) - Roblox
I also put the source onto Pastebin, 'cause why not?
It’d be cool if these fixes could be put into the real module! That way, we can have a better cursor experience for everyone.
p.s. i am extremely sorry for reviving a 4 month old thread
If you want to open a Pull Request on the GitHub repo, I’d be happy to merge it in.
I’m gonna be honest here, I… have no idea how to make a pull request… I’ve never done it before…
update: i have no idea what i’m doing but im still trying don’t worry
Alright, I think I managed to do it correctly. Let me know if I didn’t, as I wouldn’t be very surprised. Thank you!
How do I use it? I have a ps4 controller and it doesnt work.
Even though you stated the original module was updated on your published version, it appears the original model hasn’t been updated to adapt your changes, since I’ve compared the two versions and the original one doesn’t contain your changes. I also noticed the original hasn’t been updated since April last year.
Hi, I’m trying to use this but every time I try to use ShowCursor() I get this error. I’m using the updated version but it also happens on the original one.
Fixed it myself, using “self” in the module was causing issues so I replaced all uses of it with “me” and it works again!
I’d love to know how you replaced the default hovering indicator with your own, I’m trying to do that but I have no clue how.