Triggering button input with gamepad stick #605
-
Hello, Converting my game to 0.15 and really like the API clarity. One thing I'm struggling with, though, is how to convert some button-like actions that use gamepad sticks. Here, for instance, is some non-functional code partway ported to 0.15:
This code is configuring an Is there any way to configure this action such that flicking the right stick up triggers a button press? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
alice-i-cecile
Aug 24, 2024
Replies: 2 comments
-
You want |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alice-i-cecile
-
Perfect, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You want
GamepadControlDirection
:) I'd link you the docs.rs page, but evidently it's not showing up there because of #606!