1
0
mirror of synced 2024-11-13 17:31:01 +01:00

exvs2: fix inputs

This commit is contained in:
Kevin Trocolli 2023-09-23 01:58:56 -04:00
parent ea60cc4a18
commit da84031141

View File

@ -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;
}