How to intercept all player input?

Also very interested in this, would like to be able to handle all the input myself instead of this auto behavior.