From bbfaf4edf62f0cd6f018cc85bee2bfd4397fc817 Mon Sep 17 00:00:00 2001 From: FeralAI <13342258+FeralAI@users.noreply.github.com> Date: Mon, 18 Oct 2021 22:29:09 -0500 Subject: [PATCH] Change input mode selection buttons --- README.md | 8 ++++---- src/main.cpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1391ea25..ee948464 100644 --- a/README.md +++ b/README.md @@ -73,11 +73,11 @@ If you do not have a dedicated Home button, you can activate it via the **`BACK ### Input Modes -To change the input mode, **hold one of the following buttons as the controller is plugged in:** +To change the input mode, **hold one of the following buttons as the controller is plugged in (Arcade mapping in parentheses):** -* **`RS`** for DirectInput/PS3 -* **`BACK`** for Nintendo Switch -* **`START`** for XInput +* **`X (P1)`** for DirectInput/PS3 +* **`A (K1)`** for Nintendo Switch +* **`B (K2)`** for XInput Input mode is saved across power cycles. diff --git a/src/main.cpp b/src/main.cpp index 0ac9d262..4cadb704 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -64,11 +64,11 @@ void setup() // Check for input mode override gamepad.read(); InputMode newInputMode = gamepad.options.inputMode; - if (gamepad.pressedR3()) + if (gamepad.pressedB3()) newInputMode = INPUT_MODE_HID; - else if (gamepad.pressedS1()) + else if (gamepad.pressedB1()) newInputMode = INPUT_MODE_SWITCH; - else if (gamepad.pressedS2()) + else if (gamepad.pressedB2()) newInputMode = INPUT_MODE_XINPUT; if (newInputMode != gamepad.options.inputMode)