Long story short, I’m trying to make a sort of “Typing of The Dead” mini-game for a project I’m in the middle of, and I’m looking for a way to register raw keyboard inputs. More specifically, I’m hoping for some kind of Event that can fire off of any keyboard input, and then I can get that keyboard input, so I can compare it to the current text inside of a text box and then change the color of the text in the textbox.
You can also create an Input Action (Enhanced Input System) and bind it to ‘Any Key’, this unfortunately does not pass the key that was pressed though, and according to this thread there may be issues with mixing Enhanced Input and legacy:
Referring to the priority and input consumption things in that thread, any key does work (5.4.2) but without the actual key is no good for your purposes anyway.