Skip to content

input.getConnectedControllers() returns empty table #50

@carlreedw

Description

@carlreedw

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions