-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller support? #5
Comments
Intercepting input is tricky. |
I always assumed that when they added xinput controller support to the game they would have updated the sdk in a way that mods could have controller support as well. I was hoping that it could be a simple hotkey bind, basically. |
I'm trying to add controller support that would work like this:
However, I'm not entirely sure if it's actually possible to trigger the Tooltip without hovering the mouse so maybe this solution is impossible... The documentation is quite lacking. @robojumper Any tips or advice on how to proceed? |
@ravn5 UIOptionsPCScreen has an example for how to trigger tooltips "manually". When an item is selected with a controller (UIList has a callback for when the selection changes), do something like this:
Single problem: You will have to do some special things to get a reference to |
Would it be possible to add controller support for the mod? I saw someone else mention it in the steam comments as well, and their suggestion to use left thumbstick click to display the usage popup would be swell.
The text was updated successfully, but these errors were encountered: