Welcome, Guest.
Username: Password: Remember me

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

Keyboard toggle of technique doesn't work, but.. 2 weeks 6 days 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.. 2 weeks 6 days 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: 2 weeks 6 days ago by brussell.
The administrator has disabled public write access.