From 106fb03bb04a38b7836408a47d3163d0c83d26fe Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 12 Jan 2020 14:43:25 -0500 Subject: [PATCH] Fix build issue. --- dll/steam_controller.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dll/steam_controller.h b/dll/steam_controller.h index f999987f..5b9240a1 100644 --- a/dll/steam_controller.h +++ b/dll/steam_controller.h @@ -661,8 +661,8 @@ int GetAnalogActionOrigins( InputHandle_t inputHandle, InputActionSetHandle_t ac if (a == map->second.active_analog.end()) return 0; int count = 0; - for (auto a: a->second.first) { - switch (a) { + for (auto b: a->second.first) { + switch (b) { case TRIGGER_LEFT: originsOut[count] = k_EInputActionOrigin_XBox360_LeftTrigger_Pull; break;