Skip to content
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

Add input.getAnalogValue #1967

Merged
merged 3 commits into from
Jan 12, 2025
Merged

Add input.getAnalogValue #1967

merged 3 commits into from
Jan 12, 2025

Conversation

ZH-Hristov
Copy link
Contributor

Gets value of specified axis. Not sure what the wiki means by (set up via convars) controllers.

@Xandertron
Copy link

there is some ancient xbox 360 controller configs you can enable via convars to get basic controller support, probably related

@ZH-Hristov
Copy link
Contributor Author

I just tested it with my ancient PS1 controller and it seems to detect the analog values fine despite me not really doing anything with convars.

@thegrb93 thegrb93 merged commit 6a6efc1 into thegrb93:master Jan 12, 2025
1 check passed
github-actions bot added a commit that referenced this pull request Jan 12, 2025
* Update input.lua

* remove check

* Update lua/starfall/libs_sh/input.lua

Co-authored-by: thegrb93 <[email protected]>

---------

Co-authored-by: thegrb93 <[email protected]> 6a6efc1
@ZH-Hristov ZH-Hristov deleted the patch-2 branch January 12, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants