Native Trainer's c++: Difference between "IsKeyDown" and "IsKeyJustUp"
There are other hud shortcut mods but the hud often flicker. But Native Trainer can perfectly hide hud like vanilla setting so, I decided to make "Hide hud shortcut" mod. Native Trainer uses "IsKeyDown" for control keys except F4 with "IsKeyJustUp". What is difference?
IsKeyDown checks if the key is pressed. If the key is held it will return true. It returns false when the key is not pressed.
IsKeyJustUp only returns true when the key was pressed down a moment ago and is now unpressed.