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

GamePad.SimulateTrigger does not exist even though docs say it does #67

Closed
LinearNoodle opened this issue Nov 3, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@LinearNoodle
Copy link

image
I'm just trying to add a simple script to convert shift + w to a half input trigger so you can accelerate slowly in certain games. I am an experienced Lua developer. After my own script didn't work I tried copy pasting the documentation example and it still gave the same error of SimulateTrigger being a nil value.

@luttje luttje added the documentation Improvements or additions to documentation label Nov 3, 2023
@luttje luttje added this to the Launch stable (1.0.0) milestone Nov 3, 2023
@luttje luttje self-assigned this Nov 3, 2023
@luttje luttje added bug Something isn't working and removed documentation Improvements or additions to documentation labels Nov 3, 2023
@luttje
Copy link
Owner

luttje commented Nov 3, 2023

Hi there! Thanks for reporting this.

After a few tests it looks like there's a problem with how the arguments are converted. Or rather they aren't converted to the types they should be converted to. I'll see if I can fix this tonight.

@luttje
Copy link
Owner

luttje commented Nov 3, 2023

I believe I've fixed the issues (there were several) causing the documentation example not working with this update: https://github.com/luttje/Key2Joy/releases/tag/0.7.0-alpha.606db1bb42

Please do note that there are other outstanding issues that may cause problems (e.g.: those being fixed in #66)

Feel free to re-open this issue if you still have problems. Thanks for reporting in.

@luttje luttje closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants