Saving last used input device as a global variable
Hi all, I played a few games, where the on-screen interaction text changes based on the last used input device (for example if the last user input was a mouse or keyboard event, the screen will display `Interact [LMB]`, but if the user decides to switch to a controller, and the game detects a contro...