Keyboard toggle of technique doesn't work, but..

  • Posts: 7
1 year 16 hours ago #1 by Ruuttu
I'm seeing a problem where setting a technique toggleable like this doesn't work (pressing the key doesn't do anything):
technique MyTechnique <int toggle = 0x67;> { ... }

However, a uniform like this will properly update:
uniform bool enabled <source = "key"; keycode = 0x67; mode = "toggle";>;

I'm trying to detect the very same keycode within the same app, but one method works and the other doesn't.
The app runs on DirectX 10.

Please Log in or Create an account to join the conversation.

  • Posts: 262
1 year 11 hours ago - 1 year 11 hours ago #2 by brussell
The first method gets ignored by ReShade since a recent update. I assume thats intended since it's in conflict with hotkeys assigned for techniques within the gui (or .ini respectively).

Please Log in or Create an account to join the conversation.

  • Posts: 7
11 months 1 week ago #3 by Ruuttu
Hmm I can't find a way to toggle individual techniques from the GUI side.

Please Log in or Create an account to join the conversation.

  • Posts: 154
11 months 1 week ago #4 by seri14
1. Right click the tequnique.
2. Set the toggle key.
3. Press key to toggle techniques.

Please Log in or Create an account to join the conversation.