Skip to main content

pfx_input/
lib.rs

1pub mod action;
2pub mod backend;
3pub mod device;
4pub mod event;
5pub mod family;
6pub mod glyph;
7pub mod layout;
8#[cfg(feature = "gilrs")]
9pub mod pads;
10pub mod precedence;
11pub mod record;
12pub mod rumble;
13pub mod state;
14#[cfg(feature = "winit")]
15pub mod winit;
16
17pub use action::{
18    ActionId, ActionKind, ActionSpec, Actions, ActionsError, Binding, BindingMap, Conflict,
19    OnConflict, RebindError, Repeat, Set, Slot, Source,
20};
21pub use backend::{Backend, Script};
22pub use device::{
23    Axis, Button, Control, DeviceKind, Key, Motors, MouseButton, PadId, PadInfo, Sign, Stick, Wheel,
24};
25pub use event::InputEvent;
26pub use family::{Family, GlyphStyle};
27pub use glyph::keycap::KeycapLabel;
28pub use glyph::{Glyph, GlyphAtlas, GlyphCell, glyph, glyph_for};
29#[cfg(windows)]
30pub use layout::WindowsLayout;
31pub use layout::{KeyLabels, LayoutSource, Us};
32pub use precedence::SteamPrecedence;
33pub use record::{Player, Recording, Start};
34pub use rumble::{MotorCommand, Rumble, Rumbler};
35pub use state::{ActionState, Active, Input, Pointer, Step};