exvs2: fix inputs
This commit is contained in:
parent
ea60cc4a18
commit
da84031141
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user