fix foot bar button layouts being swapped

When using SNES it shows the button actions for XBOX
When using XBOX it shows the button actions for SNES
This commit is contained in:
Daniel Cecil 2019-07-06 12:14:47 -07:00
parent 954f158f73
commit 41729a4b2a

View File

@ -137,9 +137,9 @@ class FootBar(Widget):
def SetLabelTexts(self,texts):
if config.ButtonsLayout == "xbox":
barr = ["nav","y","x","b","a","select"]
else:
barr = ["nav","x","y","a","b","select"]
else:
barr = ["nav","y","x","b","a","select"]
texts2 = texts + [""] if len(texts) == 5 else texts
for idx,x in enumerate(barr):