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

input.getConnectedControllers() returns empty table #50

Open
carlreedw opened this issue Nov 7, 2024 · 0 comments
Open

input.getConnectedControllers() returns empty table #50

carlreedw opened this issue Nov 7, 2024 · 0 comments

Comments

@carlreedw
Copy link

I'm able to successfully initialize luasteam as well as the input module (e.g., Steam.input.init()). I'm even able to get the action set and digital/analog action handles.

However, I can't figure out how to get 'getConnectedControllers' to return controller handles. I've even tried calling Steam.input.runFrame() right before Steam.input.getConnectedControllers(), to no avail. Do you have any clues as to what's preventing luasteam or Steamworks from returning the handles?

Some extra context:
I have 1 Xbox 360 controller connected to my Windows 10 machine for testing and I'm using Love2D. The love.gamepadpressed(joystick, button) callback is working -- it can identify the controller connected and which buttons are being pressed (however I'd still like to fully support SteamInput API).

Thank you!!

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

1 participant