Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HID Keyboard emulation completely stops working after savestate is loaded #73

Open
SlyCooperReloadCoded opened this issue Sep 4, 2022 · 0 comments

Comments

@SlyCooperReloadCoded
Copy link

SlyCooperReloadCoded commented Sep 4, 2022

Steps to recreate:

  • Enable HID Keyboard emulation and set it to Raw Input.
  • Launch PCSX2 1.6.0.
  • Get to a point in a game that uses the keyboard.
  • Make a savestate.
  • Stop emulation.
  • Start emulation.
  • Load the savestate.

The game will still work as expected, but despite printing "usbkeybd1: attached (port=2)" to the console, the plugin will have no effect, the keyboard will do absoultely nothing until the emulator is fully shut down and restarted. PCSX2 as a whole will crash when pressing keyboard keys after loading the savestate. This used to work perfectly, and I have a special game-specific case where I need to load a savestate and immediately use USB keyboard emulation, but this issue is preventing me from doing that.

Windows 10 x64 Build 19043
Intel Core i9-10900K
NVIDIA RTX 2080 Super
64 GB DDR4 Memory
Just in case that stuff matters.
PCSX2's emuLog:
emuLog.txt

Additionally, while it's not directly related to this issue, Forward Slash (/) on the numpad is no longer recognized as a key by the plugin. Games that use it act as if no key is being pressed. I also need this for my game-specific situation.

Edit: Neither of these issues exist on prerelease 0.10.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant