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.
- Host: GitHub
- URL: https://github.com/reloaded-project/reloaded.universal.dinputpleasecooperate
- Owner: Reloaded-Project
- License: gpl-3.0
- Created: 2020-05-16T20:14:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-10T03:22:03.000Z (over 3 years ago)
- Last Synced: 2025-04-12T04:37:29.142Z (10 months ago)
- Language: PowerShell
- Size: 227 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
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/).