aboutsummaryrefslogtreecommitdiff
path: root/SuperPolarity/InputController.cs
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2018-06-26 17:03:58 -0500
committerBen Beltran <ben@nsovocal.com>2018-06-26 17:03:58 -0500
commit9ad526c0233134a928cb5889dccb94458fc6dfd0 (patch)
treefa2282abbde8735b801125bb18294c7ec1847a92 /SuperPolarity/InputController.cs
parentae4f458103f5bfa44c833a147e7852e23cc02217 (diff)
Update source to compile on VS Studio for mac
Diffstat (limited to 'SuperPolarity/InputController.cs')
-rw-r--r--SuperPolarity/InputController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/SuperPolarity/InputController.cs b/SuperPolarity/InputController.cs
index c92bb9c..2047ef0 100644
--- a/SuperPolarity/InputController.cs
+++ b/SuperPolarity/InputController.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
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;
- 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"))
{