Enum input::Button 
            
                [−]
            
        [src]
pub enum Button {
    Keyboard(Key),
    Mouse(MouseButton),
    Controller(ControllerButton),
}Models different kinds of buttons.
Variants
| Keyboard | A keyboard button. | |
| Mouse | A mouse button. | |
| Controller | A controller button. |