[][src]Module rusty_gfx::event

Structs

ButtonProcessor

Stateful, stack-based button processor. You can use this to process button state/values and update a PlayerInput that you can send to the server. Also handles the attack button.

Enums

ButtonState

Whether a button was pressed or released

ButtonValue

Abstracted button values you may receive (arrow keys and WASD keys combined into directions, for example)

GameEvent

GameEvent represents game events caused by a user, such as the mouse moving around, buttons being pushed, or the window being closed.