use arci::gamepad::GamepadEvent;
use async_trait::async_trait;
use auto_impl::auto_impl;
#[async_trait]
#[auto_impl(Box)]
pub trait ControlMode: Send + Sync {
fn handle_event(&self, event: GamepadEvent);
async fn proc(&self);
fn mode(&self) -> &str;
fn submode(&self) -> String;
}