Alice Cecile
e4e32598a9
Cargo fmt with unstable features ( #1903 )
...
Fresh version of #1670 off the latest main.
Mostly fixing documentation wrapping.
2021-04-21 23:19:34 +00:00
François
4c1099a77f
add documentation on Input
( #1781 )
...
related to #1700
This PR:
* documents all methods on `Input<T>`
* adds documentation on the struct about how to use it, and how to implement it for a new input type
* renames method `update` to a easier to understand `clear`
* adds two methods to check for state and clear it after, allowing easier use in the case of #1700
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2021-04-13 03:13:48 +00:00
Amber Kowalski
ef99e59469
Test more areas of the codebase ( #953 )
...
Test more areas of the codebase
2020-11-30 22:58:49 -08:00
Jonas Matser
3a4eacbdee
Adds derive for missing debug implementations ( #597 )
2020-10-01 10:58:21 -07:00
Utkarsh
19d4694d24
Added gamepad support using Gilrs ( #280 )
...
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-09-18 14:43:47 -07:00
Marcel Müller
08dc1c1936
Add access to pressed/just_pressed/just_released to Input<T> ( #428 )
...
Add access to pressed/just_pressed to Input<T>
2020-09-03 17:32:17 -07:00
Robbie Davenport
4aabe983ec
Switch usage of std HashMap/HashSet default hasher, to aHash algo ( #258 )
...
switch to ahash for HashMaps and HashSets via a new bevy_utils crate
2020-08-28 17:08:51 -07:00
Carter Anderson
3d09459813
add more doc comments and clean up some public exports
2020-08-09 16:13:04 -07:00
Carter Anderson
5b6f24d6a2
input: make new Input resource generic and add Input<MouseButton>
2020-06-04 23:34:21 -07:00
Carter Anderson
b3a57c21a7
input: simpler input interface via an Input
resource
2020-06-04 22:48:53 -07:00