pub fn one_shot_alt(held_timeout: u16, released_timeout: u16) -> Box<OneShot<ActionHandler, ActionNone, ActionNone>> {
    Box::new(OneShot::new(
        KeyCode::LAlt,
        KeyCode::RAlt,
        ActionHandler {
            id: Alt as HandlerID,
        },
        ActionNone{},
        ActionNone{},
        held_timeout,
        released_timeout,
    ))
}
/// make the alt keys behave as a OneShot
/// 
/// hint: use before space cadet
make the alt keys behave as a OneShot
hint: use before space cadet
make the alt keys behave as a OneShot hint : use before space cadet
pub fn one_shot_alt(held_timeout: u16, released_timeout: u16) -> Box<OneShot<ActionHandler, ActionNone, ActionNone>> {
    Box::new(OneShot::new(
        KeyCode::LAlt,
        KeyCode::RAlt,
        ActionHandler {
            id: Alt as HandlerID,
        },
        ActionNone{},
        ActionNone{},
        held_timeout,
        released_timeout,
    ))
}
pub fn one_shot_alt ( held_timeout : u16 , released_timeout : u16 ) -> Box < OneShot < ActionHandler , ActionNone , ActionNone > > { Box :: new ( OneShot :: new ( KeyCode :: LAlt , KeyCode :: RAlt , ActionHandler { id : Alt as HandlerID , } , ActionNone { } , ActionNone { } , held_timeout , released_timeout , ) ) }
make the alt keys behave as a OneShot
hint: use before space cadet
make the alt keys behave as a OneShot hint : use before space cadet
held_timeout
u16
released_timeout
u16