Move button macros to include/controller.h (#2138)

* Move button macros to include/controller.h

* Fix z_mag button ordering
This commit is contained in:
cadmic
2024-09-06 01:24:19 -07:00
committed by GitHub
parent bb6177e936
commit 3faa1c6acc
11 changed files with 43 additions and 38 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ void Regs_UpdateEditor(Input* input) {
s32 increment;
s32 i;
dPadInputCur = input->cur.button & (BTN_DUP | BTN_DLEFT | BTN_DRIGHT | BTN_DDOWN);
dPadInputCur = input->cur.button & (BTN_DUP | BTN_DDOWN | BTN_DLEFT | BTN_DRIGHT);
if (CHECK_BTN_ALL(input->cur.button, BTN_L) || CHECK_BTN_ALL(input->cur.button, BTN_R) ||
CHECK_BTN_ALL(input->cur.button, BTN_START)) {