pub fn get() -> Input
Available on crate feature client only.
Expand description

Gets the local player’s most recent raw input state.

To determine if the player just supplied an input, compare it to get_previous or use get_delta.