Skip to content

Does it annoy you when you play a game, take a screenshot ... and nothing happens? Here's a fix.

License

Notifications You must be signed in to change notification settings

Reloaded-Project/Reloaded.Universal.DInputPleaseCooperate

Repository files navigation

Reloaded II: DInput Please Cooperate!



I'm out of ideas.

Please submit a PR with a cringeworthy line to put here..

Id: Reloaded.Universal.DInputPleaseCooperate

About This Project

Ever play a game, try to take a screenshot ... and nothing happens? Game's blocking your hotkeys?

Here's a universal mod for games using DirectInput that should hopefully unblock your precious keys.

Compatibility

In theory this should work with any DirectInput application.

In practice, I have tested it with the following:

  • Sonic Riders
  • Eiyuu Densetsu: Ao no Kiseki

How it Works

This is a very simple mod that works by hooking the SetCooperativeLevel function of DirectInput.

It unsets the Exclusive flag that prevents other applications from reading the keyboard as well as the NoWinKey flag.

The NoWinKey flag is a bit misleading. It actually does a bit more than blocking the Windows key, such as blocking hotkeys registered through Windows API's RegisterHotkey function. Many applications, such as the popular screenshot utility ShareX use that API for receiving hotkeys.

Acknowledgements

Icon: Controller by iconfield from Noun Project.

About

Does it annoy you when you play a game, take a screenshot ... and nothing happens? Here's a fix.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published