Crate action_maps

Source

Modules§

actions
controls
input
multiplayer_prelude
prelude

Macros§

make_controls
Eases the creation of large control schemes by accepting any number of tuples with with the type (A: Into<Action>, I: Into<UniversalInput>).
make_multi_input
Eases the setup process for binding keys for multiplayer. The first argument is a MultiInput object, the second is a MultiScheme object, and the remaining objects are tuples containing one or more tuples of type (A: Into<Action>, I: Into<UniversalInput>).

Enums§

KeyError

Functions§

get_key
Outputs a UniversalInput given a scancode
get_scan_code
Rudimentary helper function to get the scan code for a key. This will hopefully be rendered obsolete in Bevy 0.13 with this PR.