Browse Source

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
Daniel Cecil 4 years ago
parent
commit
41729a4b2a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sys.py/UI/foot_bar.py

+ 2 - 2
sys.py/UI/foot_bar.py

@@ -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):