Reshade keys don't work when pressed together with modifier keys
- brussell
- Topic Author
Less
More
3 years 11 months ago #1
by brussell
Reshade keys don't work when pressed together with modifier keys was created by brussell
I've noticed that with recent ReShade versions the keys (Screenshot, Toggle Effects etc.) don't work when pressed together with Alt, Ctrl and Shift.
Is this intentional or a bug?
It's main nuisance for me is is the impossibility for taking screenshots in games while using these keys, e.g. when running (Shift), looking around (Alt), or crouching (Ctrl).
Is this intentional or a bug?
It's main nuisance for me is is the impossibility for taking screenshots in games while using these keys, e.g. when running (Shift), looking around (Alt), or crouching (Ctrl).
Please Log in or Create an account to join the conversation.
- crosire
Less
More
3 years 11 months ago #2
by crosire
Replied by crosire on topic Reshade keys don't work when pressed together with modifier keys
That is intentional. Since you can bind different actions to key + modifier combinations.
Please Log in or Create an account to join the conversation.
- brussell
- Topic Author
Less
More
3 years 11 months ago #3
by brussell
Replied by brussell on topic Reshade keys don't work when pressed together with modifier keys
Ok. But why does this worked well for ReShade 3, where you can also set keys with modifier? Why disable the key, when you don't actually use a modifier?
Please Log in or Create an account to join the conversation.
- brussell
- Topic Author
Less
More
3 years 11 months ago #4
by brussell
Replied by brussell on topic Reshade keys don't work when pressed together with modifier keys
Was this introduced with this commit?:
github.com/crosire/reshade/commit/811ebf...6ca93e35941438788c8f
Then what did it fix? If it's nothing serious I would strongly prefer the old behavior.
github.com/crosire/reshade/commit/811ebf...6ca93e35941438788c8f
Then what did it fix? If it's nothing serious I would strongly prefer the old behavior.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
3 years 11 months ago - 3 years 11 months ago #5
by crosire
Replied by crosire on topic Reshade keys don't work when pressed together with modifier keys
It is that commit. Say you have two shortcuts set: "Space" and "Shift + Space". Pressing Shift and Space would previously activate both shortcuts, when really it should only activate the latter.
This was especially annoying if you had set multiple effect toggles to shortcuts with different modifiers.
This was especially annoying if you had set multiple effect toggles to shortcuts with different modifiers.
Last edit: 3 years 11 months ago by crosire.
The following user(s) said Thank You: brussell
Please Log in or Create an account to join the conversation.
- brussell
- Topic Author
Less
More
3 years 11 months ago - 3 years 11 months ago #6
by brussell
Replied by brussell on topic Reshade keys don't work when pressed together with modifier keys
Ok. So there is either the problem with multiple shortcuts with different modifiers for the same key not working together (old way), or the problem with not usable shortcuts when pressed together with modifier keys, even if they aren't used (new way).
Could there be a middleground, like allow the multipliers for a shortcut, if they are not used for another one?
So Shift+Space would work fine for a "Space"-only Shortcut, as long as there is no other shortcut defined with "Shift+Space".
Would this be much hassle to implement?
Could there be a middleground, like allow the multipliers for a shortcut, if they are not used for another one?
So Shift+Space would work fine for a "Space"-only Shortcut, as long as there is no other shortcut defined with "Shift+Space".
Would this be much hassle to implement?
Last edit: 3 years 11 months ago by brussell.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
3 years 11 months ago - 3 years 11 months ago #7
by crosire
Replied by crosire on topic Reshade keys don't work when pressed together with modifier keys
It would be nice. But it's not really feasibly from both a performance and implementation perspective to search for and check every other shortcut every time one is pressed, just to decide on behavior.
Last edit: 3 years 11 months ago by crosire.
Please Log in or Create an account to join the conversation.
- brussell
- Topic Author
Less
More
3 years 11 months ago #8
by brussell
Replied by brussell on topic Reshade keys don't work when pressed together with modifier keys
Yeah, I understand the objection.
But (), I see one last, less ugly solution: Making the two methods switchable via ReShade.ini setting, like:It doesn't necessarily have to be visible in the GUI, and standard behavior would be the current one.
What do you think?
But (), I see one last, less ugly solution: Making the two methods switchable via ReShade.ini setting, like:
[INPUT]
InputModifierBehavior=2
...
What do you think?
Please Log in or Create an account to join the conversation.
- crosire
Less
More
3 years 11 months ago #9
by crosire
Replied by crosire on topic Reshade keys don't work when pressed together with modifier keys
Added in
github.com/crosire/reshade/commit/32613f...635b3447c6a298345654
.
Use the following to regain old behavior:
Use the following to regain old behavior:
[INPUT]
ForceShortcutModifiers=0
The following user(s) said Thank You: brussell
Please Log in or Create an account to join the conversation.
- brussell
- Topic Author
Less
More
3 years 11 months ago - 3 years 11 months ago #10
by brussell
Replied by brussell on topic Reshade keys don't work when pressed together with modifier keys
Awesome, thank you very much!
Last edit: 3 years 11 months ago by brussell.
Please Log in or Create an account to join the conversation.