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

Minor fixes before release #268

Merged
merged 154 commits into from
Oct 14, 2022
Merged

Minor fixes before release #268

merged 154 commits into from
Oct 14, 2022

Conversation

alice-i-cecile
Copy link
Contributor

No description provided.

alice-i-cecile and others added 25 commits July 31, 2022 03:07
* Add better module-level docs

* Make input streams non-optional

* InputStreams::from_world does not need &mut World

* Satisfy borrow checker in tests

* Fix lifetime of MutableInputStreams -> InputStreams method

* Fix integration test

* Update release notes

* Add mockable_world builder function
* Documentation improvements to input mocking

* (Mostly) implement InputMocking trait for MutableInputStreams

* Use InputStreams::guess_gamepad internally

* Allows conversion by reference from MutableInputStreams
* Documentation improvements to input mocking

* (Mostly) implement InputMocking trait for MutableInputStreams

* Use InputStreams::guess_gamepad internally

* Allows conversion by reference from MutableInputStreams

* Correctly release input

* Swap to a RawInputs struct

* Update docs for UserInput::chord

* Add tests for RawInputs
* Re-enable tests

* Actually add axislike inputmanagerplugin XD

* Move actionstate init to test setup

* Improve axis-like input mocking tests

* Reorganize MutableInputStreams::send_input

* Actually send discrete mouse motion events

* Add more tests for axislike inputs

* Improve gamepad status handling for axislike gamepad inputs

* Ignore failing tests

* Actually register a gamepad for tests

* Disable tests that are still failing
* Add more fields to mutable input streams

* Rename InputStreams fields for clarity

* Send raw events when doing input mocking

* Don't guess gamepad in send_input_to_gamepad; handled upstream

* Enable fixed gamepad mocking tests

* Always enable bevy_gilrs

* Fix failing tests

* Fix failing gamepad axis tests
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
* Improve ToggleActions, closes #227

- Make `_phantom` field public and rename into `phantom`.
- Add `ToggleActions::new`.
- Add `ToggleActions::ENABLED` and `ToggleActions::DISABLED`.

* Remove ToggleActions::new
…n action. (#214)

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
* Fix clippy warnings to also derive Eq

* Add implementation of Eq for Timing and InputMap to changelog

* Move derive Eq changelog to Usability section
* Run clippy on examples in CI

* Fix example lint command
* Change CI workflow to run on ubuntu-latest

* Install required libraries on Linux for CI workflow

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
* Add negative_only and positive_only constructors to SingleAxis

* Update changelog
* Add very simple cooldowns

* Add cooldowns to ActionState and ActionData

* Add trigger and can_trigger methods to `ActionState`

* Clean up and demo API for ActionState cooldowns

* Update release notes
* Store Cooldowns as a component

* Revise RELEASES

* Add simple integration tests

* Actually tick the cooldowns

* Fix tests

* Add cooldown ticking system to plugin
Authored by @Pulau-Komodo; this is just a rebase
* Docs clarity

* Add global cooldowns

* Add tests for GCDs

* More tests

* Fix tests
* Add cooldown charges

* Remove zero duration cooldown from tests

* Fix bugs

* Fix broken test

* Avoid overflows
* Add Modifier type and InputKind variant

* Add convenience method to create modifier + button inputs

* Add InputMap::insert_modified

* Update release notes

* Compile errors

* Add unit tests

* Fix broken doc links

* Fix unit test
@alice-i-cecile alice-i-cecile enabled auto-merge (squash) October 14, 2022 16:24
@alice-i-cecile alice-i-cecile merged commit 4fc3978 into main Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants