Welcome, Guest.
Username: Password: Remember me

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

Keyboard toggle of technique doesn't work, but.. 3 months 2 weeks ago #1

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.
The administrator has disabled public write access.

Keyboard toggle of technique doesn't work, but.. 3 months 2 weeks ago #2

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: 3 months 2 weeks ago by brussell.
The administrator has disabled public write access.

Keyboard toggle of technique doesn't work, but.. 2 months 3 weeks ago #3

Hmm I can't find a way to toggle individual techniques from the GUI side.
The administrator has disabled public write access.

Keyboard toggle of technique doesn't work, but.. 2 months 3 weeks ago #4

1. Right click the tequnique.
2. Set the toggle key.
3. Press key to toggle techniques.

The administrator has disabled public write access.