Best way to register raw keyboard input with an Event?

Hi there MGRay,

You can use the (legacy input) event Any Key:

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.

1 Like