KEY_BACK was not referencing steam input's BACK enum but KEY's BACK enum. Release Build 8283.
This commit is contained in:
parent
1d1929a1cc
commit
6a7b40dd67
@ -2924,7 +2924,7 @@ void AiL::InitializeDefaultKeybinds(){
|
||||
KEY_BACK.AddKeybind({KEY,X});
|
||||
KEY_BACK.AddKeybind({KEY,SHIFT});
|
||||
KEY_BACK.AddKeybind({KEY,ESCAPE});
|
||||
KEY_BACK.AddKeybind({STEAM,BACK});
|
||||
KEY_BACK.AddKeybind({STEAM,Steam::BACK});
|
||||
KEY_BACK.AddKeybind({CONTROLLER,static_cast<int>(GPButtons::FACE_D)});
|
||||
KEY_MENU.AddKeybind({KEY,ESCAPE});
|
||||
KEY_MENU.AddKeybind({CONTROLLER,static_cast<int>(GPButtons::START)});
|
||||
@ -3299,8 +3299,6 @@ void AiL::RenderVersionInfo(){
|
||||
DrawShadowStringDecal({4.f,4.f},"Save Complete.",{255,255,255,alpha},{0,0,0,alpha});
|
||||
}
|
||||
|
||||
DrawShadowStringDecal({0.f,0.f},"Holding down A: "+std::to_string(KEY_CONFIRM.Held()));
|
||||
|
||||
std::string versionStr("v" + std::to_string(VERSION_MAJOR) + "." + std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH) + "." + std::to_string(VERSION_BUILD));
|
||||
DrawShadowStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.4f,versionStr,WHITE,BLACK,{0.4f,0.4f},std::numeric_limits<float>::max(),0.4f);
|
||||
}
|
||||
|
@ -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:{
|
||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
||||
#define VERSION_MAJOR 0
|
||||
#define VERSION_MINOR 5
|
||||
#define VERSION_PATCH 1
|
||||
#define VERSION_BUILD 8281
|
||||
#define VERSION_BUILD 8283
|
||||
|
||||
#define stringify(a) stringify_(a)
|
||||
#define stringify_(a) #a
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user