larsiusprime / SteamWrap

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

Incorrect controller indices from getConnectedControllers #36

Open Continuities opened 1 year ago

Continuities commented 1 year 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.