Page 2 of 2

Re: Help with jumping

Posted: Fri Sep 24, 2021 3:52 pm
by grump
Gunroar:Cannon() wrote: Fri Sep 24, 2021 10:06 am Okay, thnx. So I can use getKeyFromScancode and getScancodeFromKey to still display the correct controls in settings, is that correct?
Always use scancodes for all non-text input and internal use. To display the key, use getKeyFromScancode. You usually need another translation step there, unless you want to show cryptic identifiers like "ralt" or "lctrl" on screen.