Crate bevy_archie

Crate bevy_archie 

Source
Expand description

§Bevy Archie - Controller Support Module

A comprehensive game controller support module for Bevy engine.

§Features

  • Input device detection (mouse, keyboard, gamepad)
  • Controller icon system with automatic layout detection
  • Input action mapping with customizable bindings
  • Controller remapping at runtime
  • Virtual keyboard for controller text input
  • Configurable deadzones and sensitivity
  • Haptic feedback and rumble patterns
  • Input buffering and combo detection
  • Multiplayer controller ownership
  • Gyroscope and accelerometer support
  • PlayStation touchpad support
  • Action modifiers (hold, double-tap, long-press)
  • Controller profiles and auto-detection
  • Debug tools and input visualization

§Quick Start

use bevy::prelude::*;
use bevy_archie::prelude::*;

App::new()
    .add_plugins(DefaultPlugins)
    .add_plugins(ControllerPlugin::default())
    .run();

Modules§

action_modifiers
Action modifiers for advanced input detection.
actions
Input action mapping system.
build_helpers
Build script helpers for controller asset management.
chords
Button chords and input clash detection.
conditions
Input condition modifiers for contextual action triggering.
config
Controller configuration and settings.
constants
Hardware constants and specifications for controller support.
debug
Developer debugging tools for input visualization and testing.
detection
Input device detection and state tracking.
gyro
Gyroscope and accelerometer support.
haptics
Haptic feedback and rumble support.
icons
Controller icon system.
input_buffer
Input buffering and combo detection.
motion
Motion control backends for gyroscope, accelerometer, and touchpad data.
multiplayer
Multiplayer input management.
networking
Network synchronization for action states.
plugin
Main controller plugin.
prelude
Convenient imports for common use cases.
profiles
Controller profiles and auto-detection.
state_machine
State machine integration for input-driven state transitions.
testing
Testing utilities for mocking controller input.
touch_joystick
Touch-screen virtual joystick for mobile and touchpad controls.
touchpad
PlayStation controller touchpad support.
virtual_cursor
Virtual cursor for gamepad-controlled mouse emulation.
virtual_input
Virtual input composites for creating complex input bindings.