An open API service indexing awesome lists of open source software.

https://github.com/reloaded-project/reloaded.universal.dinputpleasecooperate

Does it annoy you when you play a game, take a screenshot ... and nothing happens? Here's a fix.
https://github.com/reloaded-project/reloaded.universal.dinputpleasecooperate

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          


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](https://thenounproject.com/browse/icons/term/controller/).