]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - SuperPolarity/InputController.cs
Update project to work on VS Code mac
[rbdr/super-polarity] / SuperPolarity / InputController.cs
index c92bb9c37b8bc7500d8762d35d3c2fcf068428f3..2047ef011b570a120ac011f8cf2af2835fbe6f91 100644 (file)
@@ -1,4 +1,4 @@
-using System;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -55,7 +55,7 @@ namespace SuperPolarity
         {
             // OK THIS IS ALL KINDS OF WRONG. THIS IS A PLACEHOLDER BECAUSE DEMO!
             var keyPressed = false;
         {
             // OK THIS IS ALL KINDS OF WRONG. THIS IS A PLACEHOLDER BECAUSE DEMO!
             var keyPressed = false;
-            if ((InputKeyboardState.IsKeyDown(Keys.Enter) || InputGamePadState.IsButtonDown(Buttons.Start))) {
+                       if ((InputKeyboardState.IsKeyDown(Keys.Enter) || InputGamePadState.IsButtonDown(Buttons.RightStick))) {
                 keyPressed = true;
                 if(!BlockedButtons.Contains("pause") && !BlockedKeys.Contains("pause"))
                 {
                 keyPressed = true;
                 if(!BlockedButtons.Contains("pause") && !BlockedKeys.Contains("pause"))
                 {