larsiusprime / SteamWrap

Haxe native extension for the Steam API
MIT License
106 stars 44 forks source link

Incorrect controller indices from getConnectedControllers #36

Open Continuities opened 11 months ago

Continuities commented 11 months ago

Controller.getConnectedControllers returns an array of controller indices, but they're always zero. Where we should see something like [0, 1, 2] we see [0, 0, 0]. This is due to a little mistake in the SteamWrap.cpp implemention of SteamWrap_GetConnectedControllers.

Fix incoming.