Added emscripten compatiblity fix for all Steam API changes. Fix bug where walking direction took priority over manual aim when using controller aiming. Release Build 8465.
This commit is contained in:
@@ -64,7 +64,7 @@ const InputType InputHelper::InputMode()const{
|
||||
|
||||
void InputHelper::Draw(){
|
||||
InputType mode=InputMode();
|
||||
if(mode==CONTROLLER&&SteamInput())mode=STEAM;
|
||||
STEAMINPUT(if(mode==CONTROLLER){mode=STEAM;})
|
||||
if(mode==MOUSE)mode=KEY; //We're going to make it so the keyboard controls always show up when navigating using a mouse.
|
||||
|
||||
auto OriginalGameIcon=[](std::optional<Input>input)->bool{
|
||||
|
||||
Reference in New Issue
Block a user