mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Finish documenting bevy_gilrs
(#10010)
# Objective Finish documenting `bevy_gilrs`. ## Solution Document the remaining items, add a `warn(missing_docs)` attribute for the crate.
This commit is contained in:
parent
9086e60c20
commit
86f7ef1bd7
2 changed files with 8 additions and 1 deletions
|
@ -1 +1 @@
|
|||
doc-valid-idents = ["sRGB", "NaN", "iOS", "glTF", "GitHub", "WebGPU"]
|
||||
doc-valid-idents = ["sRGB", "NaN", "iOS", "glTF", "GitHub", "WebGPU", "GilRs"]
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
//! Systems and type definitions for gamepad handling in Bevy.
|
||||
//!
|
||||
//! This crate is built on top of [GilRs](gilrs), a library
|
||||
//! that handles abstracting over platform-specific gamepad APIs.
|
||||
|
||||
#![allow(clippy::type_complexity)]
|
||||
#![warn(missing_docs)]
|
||||
|
||||
mod converter;
|
||||
mod gilrs_system;
|
||||
|
@ -12,6 +18,7 @@ use gilrs::GilrsBuilder;
|
|||
use gilrs_system::{gilrs_event_startup_system, gilrs_event_system};
|
||||
use rumble::{play_gilrs_rumble, RunningRumbleEffects};
|
||||
|
||||
/// Plugin that provides gamepad handling to an [`App`].
|
||||
#[derive(Default)]
|
||||
pub struct GilrsPlugin;
|
||||
|
||||
|
|
Loading…
Reference in a new issue