diff --git a/pcsx2/USB/usb-hid/raw/rawinput.cpp b/pcsx2/USB/usb-hid/raw/rawinput.cpp index 0529d2afaa..d636f86977 100644 --- a/pcsx2/USB/usb-hid/raw/rawinput.cpp +++ b/pcsx2/USB/usb-hid/raw/rawinput.cpp @@ -140,11 +140,7 @@ namespace usb_hid { if (hs->kind != HID_KEYBOARD || !hs->kbd.eh_entry) return; - static uint32_t nr = 0; - nr++; - if (nr > 10) - nr = 0; if (KEYBOARD_OVERRUN_MAKE_CODE == k.MakeCode) return; @@ -165,7 +161,7 @@ namespace usb_hid InputEvent ev{}; ev.type = INPUT_EVENT_KIND_KEY; - ev.u.key.down = !k.Flags; + ev.u.key.down = !(k.Flags & RI_KEY_BREAK); ev.u.key.key.type = KEY_VALUE_KIND_QCODE; ev.u.key.key.u.qcode = qcode;