From 467c7b0456b3b402f4b63aa1b4a578476b7e9177 Mon Sep 17 00:00:00 2001 From: Joshua Tam <297250+joshuatam@users.noreply.github.com> Date: Wed, 14 Dec 2022 01:58:06 +0800 Subject: [PATCH] Correct plus and minus input index --- nxbt/controller/input.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nxbt/controller/input.py b/nxbt/controller/input.py index 6b27749..0c28b2d 100644 --- a/nxbt/controller/input.py +++ b/nxbt/controller/input.py @@ -250,9 +250,9 @@ class InputParser(): # Shared byte if controller_input["MINUS"]: - shared[7] = '1' - if controller_input["PLUS"]: shared[6] = '1' + if controller_input["PLUS"]: + shared[7] = '1' if controller_input["R_STICK"]["PRESSED"]: shared[5] = '1' if controller_input["L_STICK"]["PRESSED"]: