Module nze_game_sdl::input

source ·
Expand description

Used to get input from the Keyboard, Mouse, or controllers

Controls manages all of the input state and is used to query the current state.

If you want to use input, create a Controls variable and update it each frame using Controls::update. It processes sdl2 events and update structs that can be queried using the members of Controls

Modules

Structs