Hot swapping/plugging controllers now working. Refresh action sets of all active controllers. Release Build 8298.
This commit is contained in:
@@ -197,6 +197,7 @@ void Input::UpdateSteamInput(){
|
||||
InputDigitalActionHandle_t inputHnd=SteamInput()->GetDigitalActionHandle(data.first.c_str());
|
||||
InputDigitalActionData_t buttonData=SteamInput()->GetDigitalActionData(steamControllers[i],inputHnd);
|
||||
if(!buttonData.bActive)continue; //Ignore inputs that are not active.
|
||||
if(buttonData.bActive){std::cout<<input<<" is active"<<std::endl;}
|
||||
data.second.bPressed=data.second.bReleased=false;
|
||||
|
||||
if(!data.second.bHeld&&buttonData.bState){
|
||||
|
||||
Reference in New Issue
Block a user