PrismaticFlower / shaderpatch

Improved shaders (and fun stuff for modders) for Star Wars Battlefront II (2005) - Incompatible with Classic Collection
MIT License
39 stars 2 forks source link

How to map new key? #135

Open creyes200 opened 2 years ago

creyes200 commented 2 years ago

How to map a new key to show controls?

PrismaticFlower commented 2 years ago

In shader patch.yml look for Screen Toggle: 0xDC, it'll be under Developer:. The values are virtual-key codes: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes Find the value on that page for the key you'd like to use and paste it there.

So if you want backspace for instance, image you'd put 0x08 as the value.

Sorry that it's not that user friendly to change. Changing it is a rare enough that developing a better way has never really been that high priority.