Welcome, Guest.
Username: Password: Remember me

TOPIC: A question about ToogleKey in reshade 1.1

A question about ToogleKey in reshade 1.1 1 year 4 months ago #1

How to bind toogling some shader to a key? For example, I remove the text "RFX ToogleKey" near "BloomToogleKey" and type "g" instead. Then when I launch game with that effect shader doesn't load, and I got error text in left screen corner. Am I doing something wrong?
The administrator has disabled public write access.

A question about ToogleKey in reshade 1.1 1 year 4 months ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2749
  • Thank you received: 1570
Use keycodes or the "VK_" defines. The keycode for "g" is "0x47".
Cheers, crosire =)
The administrator has disabled public write access.

A question about ToogleKey in reshade 1.1 1 year 4 months ago #3

How can I check out what keycode matches which key?
Last Edit: 1 year 4 months ago by That_aint_working42.
The administrator has disabled public write access.

A question about ToogleKey in reshade 1.1 1 year 4 months ago #4

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 840
That_aint_working42 wrote:
How can I check out what keycode matches which key?

Check /ReShade/KeyCodes.h ;)

EDIT: In 1.1 it might be in /ReShade/Common/KeyCodes.h
Last Edit: 1 year 4 months ago by Ganossa.
The administrator has disabled public write access.

A question about ToogleKey in reshade 1.1 1 year 4 months ago #5

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2749
  • Thank you received: 1570
Cheers, crosire =)
The administrator has disabled public write access.

A question about ToogleKey in reshade 1.1 1 year 4 months ago #6

All right, thanks for help guys.
The administrator has disabled public write access.

A question about ToogleKey in reshade 1.1 1 year 4 months ago #7

  • Golgotha
  • Golgotha's Avatar
  • Offline
  • Posts: 20
  • Thank you received: 8
Quick tip on this that has saved me loads of time --> so much so that I've been able to do a lot more experimenting with shaders without the hassle of referring to that keycodes.h file all of the time.

There are2 sets of codes that correspond to all the keys on the keyboard. I don't know why everyone sticks to the VK..... series of codes, as they seem unnecessarily complicated when you compare it to the next keyboard diagram in the keycodes.h file which assigns a simple number to each of the keys arranged sequentially.

The proverbial lightening bolt struck me when I realized the num pad 0-9 codes were sequential from 96-105. I keep the default global reshade toggle at 96 for num pad 0 and can quickly assign hotkeys for 9 other shaders without ever looking at that keycodes.h
The administrator has disabled public write access.