From da84031141652087676e04244a1d6c3c5395c21f Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sat, 23 Sep 2023 01:58:56 -0400 Subject: [PATCH] exvs2: fix inputs --- exvs2io/exvs2io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exvs2io/exvs2io.c b/exvs2io/exvs2io.c index 15c6b3e..2552d41 100644 --- a/exvs2io/exvs2io.c +++ b/exvs2io/exvs2io.c @@ -63,15 +63,15 @@ HRESULT exvs2_io_jvs_poll(uint8_t *opbtn, uint16_t *gamepad) *gamepad |= EXVS2_IO_GAMEBTN_1; } - if (GetAsyncKeyState(najv4_cfg.btn1) & 0x8000) { + if (GetAsyncKeyState(najv4_cfg.btn2) & 0x8000) { *gamepad |= EXVS2_IO_GAMEBTN_2; } - if (GetAsyncKeyState(najv4_cfg.btn1) & 0x8000) { + if (GetAsyncKeyState(najv4_cfg.btn3) & 0x8000) { *gamepad |= EXVS2_IO_GAMEBTN_3; } - if (GetAsyncKeyState(najv4_cfg.btn1) & 0x8000) { + if (GetAsyncKeyState(najv4_cfg.btn4) & 0x8000) { *gamepad |= EXVS2_IO_GAMEBTN_4; }