Analog Input for the Gamepad Add-on by using Variables with Prefixes #9087
Unanswered
Ninjatintin
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have an idea for a possible way to have analog joystick input in vanilla projects that use the gamepad add-on, my idea is to let the gamepad add-on change variables from -1.0 to 1.0 but ONLY global variables that have a specific prefix like
$GP_or something, so developers can determine what variables can have input from the gamepad add-on. I feel like this would be possible to implement because the gamepad add-on can read and write comments to get and store controller mappings, so maybe add-ons can edit variables as well. I don't think it would be used too often considering most projects I see either don't need analog controller input or just use the controller extension instead but I think it would be a great addition for those who'd want it.All reactions