- Posts: 7
Keyboard toggle of technique doesn't work, but..
- Ruuttu
-
Topic Author
- Offline
Less More
1 year 9 months ago #1 by Ruuttu
Keyboard toggle of technique doesn't work, but.. was created by Ruuttu
I'm seeing a problem where setting a technique toggleable like this doesn't work (pressing the key doesn't do anything):
However, a uniform like this will properly update:
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.
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.
- brussell
-
- Offline
Less More
- Posts: 305
1 year 9 months ago - 1 year 9 months ago #2 by brussell
Replied by brussell on topic Keyboard toggle of technique doesn't work, but..
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).
Last edit: 1 year 9 months ago by brussell.
Please Log in or Create an account to join the conversation.
- Ruuttu
-
Topic Author
- Offline
Less More
- Posts: 7
1 year 8 months ago #3 by Ruuttu
Replied by Ruuttu on topic Keyboard toggle of technique doesn't work, but..
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.
- seri14
-
- Offline
Less More
- Posts: 154
1 year 8 months ago #4 by seri14
Replied by seri14 on topic Keyboard toggle of technique doesn't work, but..
Please Log in or Create an account to join the conversation.