KEY_BACK was not referencing steam input's BACK enum but KEY's BACK enum. Release Build 8283.

This commit is contained in:
2024-03-24 03:27:20 -05:00
parent 1d1929a1cc
commit 6a7b40dd67
4 changed files with 5 additions and 7 deletions
+3 -3
View File
@@ -116,7 +116,7 @@ void Input::UpdateSteamInput(){
}
bool Input::Pressed(){
//if(!game->IsFocused())return false;
if(!game->IsFocused())return false;
bool inputPressed=false;
switch(type){
case KEY:{
@@ -150,7 +150,7 @@ bool Input::Pressed(){
}
bool Input::Held(){
//if(!game->IsFocused())return false;
if(!game->IsFocused())return false;
bool inputHeld=false;
switch(type){
case KEY:{
@@ -184,7 +184,7 @@ bool Input::Held(){
}
bool Input::Released(){
//if(!game->IsFocused())return false;
if(!game->IsFocused())return false;
bool inputReleased=false;
switch(type){
case KEY:{