UE4 how can I get any key that was pressed without having to program for every key?

I want to be able to get all of the keys that were pressed as integers. I want to be able to simulate a computer.

There is Any Key