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

Implement gamepad vendor and id attributes in Krom and HL backends #1443

Open
MoritzBrueckner opened this issue Dec 17, 2022 · 4 comments
Open

Comments

@MoritzBrueckner
Copy link
Contributor

gamepad.vendor and gamepad.id currently always return unknown on Krom and empty strings on Hashlink, even though the functionality seems to be implemented in Kinc, at least on Windows and Linux.

Some more context and potentially a Kinc issue (still need to investigate more): https://forums.armory3d.org/t/problem-with-gamepad-sticks-logic-nodes/5087

@Kode Kode deleted a comment from Onek8 Jun 17, 2023
@RobDangerous
Copy link
Member

Hey @Onek8, feel free to post comments with code or better yet send pull requests. But I'll delete zips posted without comment without looking into them.

@Onek8
Copy link
Contributor

Onek8 commented Jun 17, 2023

Sorry, I was just sharing the patch that works for linux tested with xbox generic controller, ps4 and ps5. Basically just added the extra axis when triggers + dpad come in as axis and not buttons to trigger the actual button index. It didnt seem like a real fix so I figured it would be best to archive it until it was further investigated. Thank you for explaining the deletion, no zips :)

@RobDangerous
Copy link
Member

That's appreciated but please use uncompressed text. You can simply do a git diff and upload that for example - that way everyone can directly see what they get.

@MoritzBrueckner
Copy link
Contributor Author

Linking to #1473, the HL part is implemented now.

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

No branches or pull requests

3 participants