Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add access to pressed/just_pressed/just_released to Input<T> #428

Merged

Conversation

TheNeikos
Copy link
Contributor

This then allows developers to get access to all pressed/just_pressed keys in the input.

crates/bevy_input/src/input.rs Show resolved Hide resolved
crates/bevy_input/src/input.rs Outdated Show resolved Hide resolved
@TheNeikos TheNeikos changed the title Add access to pressed/just_pressed to Input<T> Add access to pressed/just_pressed/just_released to Input<T> Sep 3, 2020
@TheNeikos TheNeikos force-pushed the feature/add_access_to_pressed_for_input branch from b9ce896 to f84a832 Compare September 3, 2020 09:35
@karroffel karroffel added C-Feature A new feature, making something new possible A-Input Player input via keyboard, mouse, gamepad, and more labels Sep 3, 2020
@cart
Copy link
Member

cart commented Sep 4, 2020

This is a nice usability win. Thanks!

@cart cart merged commit 08dc1c1 into bevyengine:master Sep 4, 2020
@TheNeikos TheNeikos deleted the feature/add_access_to_pressed_for_input branch September 4, 2020 05:32
mrk-its pushed a commit to mrk-its/bevy that referenced this pull request Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Feature A new feature, making something new possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants