Read Keyboard/Gamepad input keys?

I would think something like this could work.